google · GEMINI
Gemini 4 Neon API Pricing
Check the model ID and provider reference rates for Gemini 4 Neon, along with current pricing availability on GEMINI.
How to use Gemini 4 Neon for coding
Use Gemini 4 Neon for complex code changes that require reading several parts of a repository. Ask it to trace the affected callers, propose a focused change, and explain how to verify the result.
Use Gemini CLI with an AI in IDE GEMINI key. View setup guide
Configure the Gemini API key and base URL using the setup guide, then set the model in .gemini/settings.json. Select the same model for helper requests so Gemini CLI uses the configured channel for the conversation and its codebase investigation. Start the client in the project directory.
Example API cost at the provider’s standard rate is $0.195 for 40,000 uncached input tokens and 5,000 output tokens. This example assumes no cache usage or paid tools.
Effective GEMINI API rates
USD per 1M tokens. Quota rates use the current AI in IDE base price × 0.625. Provider prices as of 2026-12-01.
Due to recent official risk controls, the Gemini model service may be unstable. Please choose carefully.
| AI in IDE quota rate | Reference provider rate | |
|---|---|---|
| Input | $1.875 | $3.00 |
| Cache read | $0.09375 | $0.15 |
| Output | $9.375 | $15.00 |
Use Gemini 4 Neon in your client
Create a GEMINI API key in your dashboard, replace YOUR_DASHBOARD_API_KEY, and run this request in a Bash-compatible terminal. The key and its funding source need a positive balance; this request consumes quota.
curl --globoff 'https://api.aiinide.com/v1beta/models/gemini-4-neon:generateContent' \
-H "x-goog-api-key: YOUR_DASHBOARD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents":[{"role":"user","parts":[{"text":"Hello"}]}]}'Example: usage versus a top-up purchase
Each row uses a 3:1 input-to-output mix and no cache reads. Quota consumed is the cost of that mix. The top-up column is a separate purchase.
| Monthly tokens | Reference API cost | Quota this example consumes | Smallest top-up that covers it |
|---|---|---|---|
| 1M | $6.00 | $3.75 | 62.5 dollars of quota, priced at $7.99 |
| 10M | $60.00 | $37.50 | 62.5 dollars of quota, priced at $7.99 |
| 100M | $600.00 | $375.00 | 375 dollars of quota, priced at $45.49 |
The quota column is what this token mix consumes. The top-up column is the smallest purchase the slider accepts: $62.5, then steps of $31.25. A small task does not cost that purchase. Examples round top-up quota up to the next $31.25 with a $62.5 minimum. Actual charges vary by usage, plan, context, speed, and promotions.
Protocol, channels, and tools
- Protocol
- Gemini generateContent
- Path
- /v1beta/models/gemini-4-neon:generateContent
- API key header
- x-goog-api-key
Channels and this model ID
- AWSQ is not compatible with this model ID.
- CCMAX is not compatible with this model ID.
- CODEX is not compatible with this model ID.
- GEMINI is compatible with this model ID and uses 0.625× the configured model price when the model is in the catalog.
Tool limits on this channel
Only client-side function declarations are accepted. Hosted tools, including Google Search, are rejected.
Gemini 4 Neon API FAQ
How much does Gemini 4 Neon API cost?
Reference rates for Gemini 4 Neon are USD 3 input, USD 0.15 cache read, and USD 15 output per 1M tokens. AI in IDE applies 0.625× its configured model price when charging quota.
What is the Gemini 4 Neon model ID?
The model ID is gemini-4-neon.
How do I use Gemini 4 Neon in my IDE?
Create a GEMINI API key, run the setup example on this page, and follow the linked IDE guide.