Refract › Models › Gemini 4 Neon
Gemini 4 Neon API
Use Gemini 4 Neon by Google through Refract's OpenAI-compatible API for $0.90 per 1M input and $0.90 per 1M output tokens, 82% below the official $3 / $15. Pay per token, no subscription.
| Model ID | gemini-4-neon |
|---|---|
| Provider | |
| Input, per 1M tokens | $0.90 (official $3) |
| Output, per 1M tokens | $0.90 (official $15) |
| Context window | 1,048,576 tokens |
About this model
Gemini 4 Neon is Google's Gemini Neon model on Refract, and 3 of the 6 Google models here cost more and 2 cost less. It reads up to 1M tokens of context and writes up to 66K tokens per reply. Repeated prompt prefixes are read from cache at $0.080 per 1M tokens, 91% less than fresh input, which is what makes long agent sessions cheap.
How it compares
- Gemma 4 31B: Gemma 4 31B costs 70% less; context 1M vs 256K; max reply 66K vs 128K; cached input $0.080 vs $0.13.
- Gemma 4 26B A4B: Gemma 4 26B A4B costs 75% less; context 1M vs 262K; max reply 66K vs 131K; cached input $0.080 vs $0.11.
- Gemini 4 Argon: Gemini 4 Argon costs 100% more; cached input $0.080 vs $0.030.
What a request costs
A typical chat message (2,000 tokens in, 400 out) costs about $0.0022. A coding-agent step (60,000 tokens in, 54,000 of them from cache, 800 out) costs about $0.010.
Chat with Gemini 4 Neon · Get an API key
Use it from code
curl https://refracthub.com/v1/chat/completions \
-H "Authorization: Bearer $REFRACT_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-4-neon", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(base_url="https://refracthub.com/v1", api_key="YOUR_REFRACT_KEY")
reply = client.chat.completions.create(model="gemini-4-neon", messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)
Questions
How much does Gemini 4 Neon cost on Refract?
$0.90 per 1M input tokens and $0.90 per 1M output tokens, compared with $3 and $15 on Google's official API. You pay only for the tokens you use, with no subscription.
Gemini 4 Neon or Gemma 4 31B: which should I use?
Gemma 4 31B is cheaper. Both work with the same key and the same API, so you can try one and switch by changing the model name from "gemini-4-neon" to "gemma-4-31b".
Does it work with the OpenAI SDK?
Yes. Point the OpenAI SDK, or any OpenAI-compatible app, at https://refracthub.com/v1 with your Refract key and use the model name "gemini-4-neon". The Anthropic Messages format works too.
Can I use Gemini 4 Neon without writing code?
Yes. Chat with it on the web at https://refracthub.com/chat, or use the Refract desktop app for Windows.
Other Google models
- Gemini 4 Argon: $0.60 / $3.00 per 1M tokens
- Gemini 4 Carbon: $0.91 / $4.55 per 1M tokens
- Gemini 4 Hydrogen: $0.68 / $3.41 per 1M tokens
- Gemma 4 26B A4B: $0.11 / $0.33 per 1M tokens
- Gemma 4 31B: $0.13 / $0.40 per 1M tokens