Use it in Code, Chat or your editor
- In Chat: ask anything, attach files, see what each reply cost.
- In your editor or scripts: model id
gemma-3n-e4b-itwith your Nerdly key onhttps://api.nerdly.us/v1(setup guides).
Call it from the API
curl
1
curl https://api.nerdly.us/v1/chat/completions \2
-H "Authorization: Bearer $NERDLY_API_KEY" \3
-H "Content-Type: application/json" \4
-d '{"model": "gemma-3n-e4b-it", "messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]}'Python
1
from openai import OpenAI2
3
client = OpenAI(base_url="https://api.nerdly.us/v1", api_key="YOUR_NERDLY_KEY")4
reply = client.chat.completions.create(5
model="gemma-3n-e4b-it",6
messages=[{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}],7
)8
print(reply.choices[0].message.content)Models like it
- Gemini 4 Argon (Google)
- Gemini 4 Carbon (Google)
- Gemini 3.8 Flash (Google)
- DeepSeek V4 Flash 0731 (DeepSeek)
- DeepSeek V4.1 Flash 1017 (DeepSeek)
- Claude Opus 5.5 (Anthropic)
Every model and its price: the models page. The coding models people use most: best AI models for coding.
Questions.
Something else? Email hello@nerdly.us
$0.20 per million tokens in and $0.16 per million out, paid per prompt from your Nerdly balance. A typical chat turn (about 2,000 tokens in, 500 out) is about 0.048¢. Nothing renews by itself.
It does not call tools, so it cannot drive the agent in Code. Use it in Chat, or pick a model that calls tools for agent work.
Use your Nerdly key with the OpenAI-compatible base URL https://api.nerdly.us/v1 and the model id gemma-3n-e4b-it. It works in Claude Code, Codex CLI, Cursor, Cline, OpenCode and Aider; the setup guides on /docs have the exact lines.
No. Add funds once and pay per prompt on any model. Plus and Pro add a set of included models each day.
Build something with Gemma 3n E4B.
Describe the app; the agent writes it, runs it and fixes what fails.
Chat with Gemma 3n E4B