Use it in Code, Chat or your editor
- In Code: describe an app and the agent builds it on Gemini 4 Hydrogen, with a live preview and every step priced.
- In Chat: ask anything, attach files, see what each reply cost.
- In your editor or scripts: model id
gemini-4-hydrogenwith your Nerdly key onhttps://api.nerdly.us/v1(setup guides).
Race it against another model
Model race in Code gives one prompt to Gemini 4 Hydrogen and DeepSeek V4 Flash 0731 at once, each in its own copy of the project with a live preview and its cost so far. Keep the build you like. Race Gemini 4 Hydrogen against DeepSeek V4 Flash 0731.
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": "gemini-4-hydrogen", "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="gemini-4-hydrogen",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.95 per million tokens in and $4.74 per million out, paid per prompt from your Nerdly balance. A typical chat turn (about 2,000 tokens in, 500 out) is about 0.43¢, and one agent step in Code (20,000 in, 2,000 out) about 2.8¢. Nothing renews by itself.
Yes. It calls tools, which is what Nerdly’s agent in Code needs to write the files, run them in your browser and fix what fails. Its context is large enough for long agent runs.
Use your Nerdly key with the OpenAI-compatible base URL https://api.nerdly.us/v1 and the model id gemini-4-hydrogen. 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 Gemini 4 Hydrogen.
Describe the app; the agent writes it, runs it and fixes what fails.
Build with Gemini 4 Hydrogen