Gemini 4 Neon: API Pricing and Long Agent Tasks
Gemini 4 Neon is Google’s paid model for multi-file coding, document analysis and long tool-driven tasks. The Gemini API shares a 1M-token window across input, thinking and output. Standard usage costs $3 per million fresh input tokens and $15 per million output tokens, including thinking.
Content reviewed:
Try Gemini 4 Neon in Google AI Studio ↗
Use this model
See access details in the guide below.
Use cases
- Run a repository migration that needs code inspection, coordinated edits and test verification.
- Analyze spreadsheets, PDFs, images, audio or video together, then return a structured text deliverable.
- Use Neon to plan and review a long Antigravity task while Hydrogen handles routine edits and tests.
How to use Gemini 4 Neon
Pick Neon in Google AI Studio or use gemini-4-neon in a paid Gemini Developer API project. The model accepts text, images, video, audio and PDFs and returns text. Function calling and structured outputs are available for workflows that need validated data or tool calls. The Gemini 4 API can also slice documents, spreadsheets, audio and video server-side so Neon processes selected pages, cells or time segments and bills tokens for the inspected content.
Gemini app users can select Neon with Google AI Pro or Ultra. In Antigravity, eligible paid accounts can run Neon directly or choose Orchestrator (Neon), which assigns planning and review to Neon and routine edits and tests to Hydrogen. Antigravity draws from product quota. Direct calls to the Gemini API are billed through the API project.
The LLM CLI can also call Neon through the llm-gemini plugin. Install version 0.38, save a Gemini API key, then select gemini-4-neon with the -m option. The CLI uses your Gemini API project, so the same API rates apply.
curl --fail-with-body https://generativelanguage.googleapis.com/v1beta/interactions -H "x-goog-api-key: $GEMINI_API_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-4-neon","input":"Plan a migration from integer cents to decimal prices. List three acceptance tests.","generation_config":{"thinking_level":"medium","max_output_tokens":4096}}'Which Antigravity plans include Gemini 4 Neon?
In Antigravity, select Gemini 4 Neon when you want one model to own the whole conversation. Select Orchestrator (Neon) to let Neon plan and review while Hydrogen handles routine steps. On a repository migration, the orchestrator can assign test runs and straightforward edits to Hydrogen and bring findings back to Neon for the next decision.
Gemini 4 Neon is available in Antigravity on paid Google AI Pro, Ultra and Gemini Enterprise. It is unavailable on Free and Google AI Plus. On Pro and Ultra, Orchestrator can use Neon as planner with Hydrogen as executor; Enterprise Orchestrator uses the fixed Carbon and Hydrogen pairing. Watch Antigravity quota separately from the token bill in an API project.
Pro quota refreshes every five hours until the weekly limit is reached; Ultra has the highest quota and also refreshes every five hours. Both plans can use purchased AI credits for overages at published Gemini Enterprise rates when enabled.
| Antigravity plan | Gemini 4 Neon | Orchestrator (Neon) |
|---|---|---|
| Free and Google AI Plus | Unavailable | Unavailable |
| Eligible Google AI Pro and Google AI Ultra | Available | Available |
| Enterprise | Available | Unavailable |
Gemini 4 Neon token prices and a task budget
Standard Gemini Developer API rates are flat across the context window. Implicit caching can discount repeated input prefixes starting at 4,096 tokens when Google reports a cache hit.
A request that uses 100,000 fresh input tokens and 20,000 billed output tokens costs $0.60 before tools. If 80,000 of those input tokens are cache hits, the same token mix costs $0.372. For a task with several calls, add the usage from each call, including tool results in subsequent inputs, reasoning tokens and retries. Google Search grounding can add per-query charges.
Simon Willison asked each Gemini 4 model to write SVG for the same illustration on November 18. At high effort, Neon used 9,691 output tokens and cost 14.55 cents in 71 seconds. Carbon used 20,305 tokens and cost 20.31 cents in 4 minutes 11 seconds at the introductory rate. Hydrogen used 5,311 tokens and cost 3.99 cents in 19 seconds. The differences in token use mattered as much as the listed rates for this request.
| Standard usage | USD per 1M tokens |
|---|---|
| Fresh input | $3.00 |
| Cached input | $0.15 |
| Output including thinking | $15.00 |
How much context and output can Gemini 4 Neon use?
The API’s 1,048,576-token window is shared by input, thinking and output. A synchronous request can produce up to 65,536 tokens. For a longer deliverable, use background execution or SDK continuation and leave room for thinking and output within the shared window. Antigravity documents up to 512K tokens for Neon.
Gemini 4 Neon defaults to high and also supports low, medium and xhigh. Start with medium for short edits or quick tool decisions. On complex API requests, max_output_tokens caps thinking and the answer together. If a report stops midway through a section, inspect the output limit and reasoning usage before changing the prompt. A low cap can leave too little answer space even when the input fits comfortably.
For a report that needs more than 65,536 output tokens, set background to true and set max_output_tokens above 65,536. Leave room for the input in the shared window. Without the larger cap, a background request still stops at 65,536 tokens. Poll for completion and retain the usage totals from the completed interaction.
What does each Gemini 4 Neon thinking level cost?
Artificial Analysis reports the following average costs for its Intelligence Index tasks. Raising Gemini 4 Neon from medium to high adds five points in that suite and increases the average task cost from $1.90 to $3.74. The step from high to xhigh adds one point and $2.70 per task. Use these results to pick two settings to test on the same workload.
Gemini 4 Neon high and Carbon high both scored 60. Artificial Analysis currently lists Carbon high at $4.90 per task using the introductory price and quoted $7.76 at its regular rate in the launch analysis. Separate these benchmark averages from your API budget. A setting that completes more jobs on the first attempt can cost less per accepted result even when each call uses more tokens.
Simon Willison tried the same SVG drawing prompt on Neon and Hydrogen at xhigh. Neon used 26,546 output tokens and cost 39.83 cents. Hydrogen used 31,477 and cost 23.61 cents. His llm-gemini plugin supports xhigh for both models from version 0.38.1.
| Model and thinking level | Intelligence Index | USD per task |
|---|---|---|
| Gemini 4 Neon low | 44 | $0.75 |
| Gemini 4 Neon medium | 55 | $1.90 |
| Gemini 4 Neon high | 60 | $3.74 |
| Gemini 4 Neon xhigh | 61 | $6.44 |
| Gemini 4 Carbon medium (introductory price) | 58 | $4.16 |
| Gemini 4 Carbon high (introductory price) | 60 | $4.90 |
What an early Antigravity coding test showed
In a November 18 early-access test, Chubby (@kimmonismus) ran 13 Antigravity sessions at xhigh. Three small program repairs reached 5/5, 14/14 and 16/16 checks, with roughly two to three minutes per repair. The booking checker still missed a leap-second case. The tester also reported 57 capacity errors and four interrupted runs across the sessions.
The author reported aggregate tokens but gave no bill or same-task Carbon run. For your own evaluation, keep retries in the elapsed time and add test cases that cover behavior the agent may have missed.
When to choose Neon, Hydrogen or Carbon
Use Hydrogen for frequent edits and routine tool calls. Move to Neon when the task needs more planning across files or documents. Try Carbon on the hardest architecture or research work if it improves the result enough to justify the runtime and bill. Carbon’s introductory Standard rate is $2 input and $10 output per million tokens through November 30, 2026, rising to $4 and $20 on December 1.
Google reported a 58.6 Coding Agent Index score for Gemini 4 Neon at launch. Artificial Analysis tested xhigh in Antigravity CLI for that score. Compare it with other agents evaluated on the same index and keep the Intelligence Index cost table separate.
To compare them on your own repository, give each model the same revision, tool access and acceptance tests. Record which runs pass, how long they take and the total cost across all calls.
Before you use it
- Gemini 4 Neon supports implicit caching in the Gemini API. Google’s model specification lists explicit caching and Live API as unsupported.
How to get started
Try one representative task in AI Studio or your paid API project. Capture token usage and check the output against a test or rubric before raising the thinking level for longer runs.
Sources
Sources (15)
- Google Gemini API file slicing controls ↗
Source checked:
- Google Antigravity model availability by plan ↗
Source checked:
- Google Antigravity quota refresh and overages ↗
Source checked:
- Simon Willison’s drawing test and llm-gemini release ↗
Source checked:
- Google AI Studio model specification ↗
Source checked:
- Neon pricing and API migration guide ↗
Source checked:
- Current API service tier rates ↗
Source checked:
- Google Antigravity plan and orchestration details ↗
Source checked:
- Google launch benchmarks and access announcement ↗
Source checked:
- Artificial Analysis testing and Carbon rate baseline ↗
Source checked:
- Artificial Analysis high-effort cost figures ↗
Source checked:
- Chubby’s November 18 early-access Antigravity test ↗
Source checked:
- OpenRouter model route ↗
Source checked:
- llm-gemini 0.38 release notes ↗
Source checked:
- Simon Willison’s one-prompt cost comparison ↗
Source checked: