gemma-3n-e4b-it
gemma-3n-e4b-it with budget-friendly pricing. focused AI solutions.
Quick Start Guide
import OpenAI from "openai";
const openai = new OpenAI({
baseURL: "https://api.okrouter.com/v1",
apiKey: "<YOUR_OKROUTER_KEY>",
});
async function main() {
const completion = await openai.chat.completions.create({
model: "gemma-3n-e4b-it",
messages: [
{ role: "user", content: "Hello! What can you do?" }
],
});
console.log(completion.choices[0].message);
}
main();Getting started with gemma-3n-e4b-it is easy. Since OkRouter is fully compatible with the OpenAI SDK, you can use existing libraries to access this model immediately. gemma-3n-e4b-it is fully compatible with the OpenAI Chat Completions API. distinctive features include Standard context handling and Text support.
Frequently Asked Questions
?How much does gemma-3n-e4b-it cost?
gemma-3n-e4b-it costs $1.00 per 1M input tokens and $4.00 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.
?Is gemma-3n-e4b-it compatible with OpenAI SDK?
Yes! gemma-3n-e4b-it works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.
?What is gemma-3n-e4b-it best used for?
gemma-3n-e4b-it excels at content generation and copywriting, question answering systems, conversational ai applications. It's budget-friendly and perfect for high-volume production workloads.