Blog/Gemini 4 Neon API Pricing for Code Review

Gemini 4 Neon API Pricing for Code Review

24 November 2026

At standard Gemini 4 Neon API pricing, the median estimated token cost across 26 completed code reviews was $1.48. The estimates ranged from $0.62 to $2.78. We got those numbers at MegaLens by applying published API rates to usage from actual Antigravity CLI runs. The experiment incurred $0 in API charges because it ran through the CLI, so $1.48 is an estimate of what those runs would cost through the paid API. How much of the input was read from cache made a large difference to the estimate. Google's Gemini 4 Neon pricing

What Google and OpenRouter list

Both Google and OpenRouter list the same token rates for the standard routes shown below. A token is a small piece of text or code that the model reads or generates. Prices in the table are in US dollars per million tokens. These are the rates we used, so the estimate covers token charges for the model itself. Google's Gemini 4 Neon pricing · OpenRouter's Gemini 4 Neon provider pricing

Token categoryGoogle Gemini API StandardOpenRouter Google AI Studio or Google Vertex Standard
Fresh input$3.00$3.00
Cached input read$0.15$0.15
Output$15.00$15.00

Google includes thinking in the output rate. Those tokens record the model's reasoning work, which helps explain why a short final review can come with a much larger output count. Google's Standard pricing also lists implicit caching, where the service decides when it can reuse input. For a budget, count fresh and cached input separately. The amount your own tool can reuse may differ from what Antigravity logged. Google's Gemini 4 Neon pricing

One review from the usage logs

Here is a worked example from one completed run. The Antigravity log counted 36,607 output tokens, of which 30,052 were thinking tokens. We used the full reported output count once. The charge for each category is its token count multiplied by the rate per million, then divided by one million.

Token categoryTokens loggedEstimated charge
Fresh input213,557$0.641
Cached input read2,592,346$0.389
Output including thinking36,607$0.549

The unrounded charges add up to about $1.58. This tool logged far more cached input than fresh input, and most of the output tokens were thinking tokens. The cached count adds up reads across the review, so it can include the same code more than once. For your own API integration, check how your provider reports thinking and cached input before putting the counts into a cost formula.

What a budget can take from the sample

Across the 26 completed reviews, the mean was $1.47 and the estimated total was $38.28. One other case returned repeated HTTP 429 errors and produced no review. It counts as a miss in the bug benchmark and is outside the cost summary for completed reviews. The test ran Gemini 4 Neon through Antigravity at high effort and incurred $0 in API charges. The estimates show what the recorded tokens would cost at the listed rates. Original bug benchmark method

Five cases that MegaLens Standard caught in both runs averaged $1.57, with a range of $0.64 to $2.42. Seven completed cases from a separately selected group averaged $1.67, with a range of $0.66 to $2.78. Both groups used Gemini 4 Neon at high effort. Neither subgroup establishes a typical review size, and the estimates give us no direct measurement of the cost of running MegaLens Standard. The median of $1.48 describes this selected set of 26 completed reviews.

If we price every cached input token in the 26 completed runs as fresh input, the estimated mean rises to $7.89. That calculation holds the recorded token counts fixed. An actual workflow with fewer cache hits could also change what the tool reads or how many calls it makes. Use the $1.48 median as a reference when you start measuring your own reviews.

FAQ

Is Gemini 4 Neon free through the Gemini API?

Google lists Gemini 4 Neon as unavailable on the free Gemini API tier. The Antigravity run's $0 in API spend describes the way we ran that experiment. If you call the paid API, use its rate card for your estimate. Google's Gemini 4 Neon pricing

Should I add thinking tokens to the output count?

For these Antigravity logs, the output count already includes thinking. Adding the separate thinking field would count those tokens twice. Follow the usage format for the tool you actually call. Google's Gemini 4 Neon pricing

Will a review of my pull request cost $1.48?

That is the median estimate for this set of completed Antigravity reviews. To budget for your own pull requests, log fresh input, cached input and output for each completed review. Include the cost of any retries in what you spend on the job.

What MegaLens does

The $1.48 estimate prices one reviewer running on its own. In one scored run, Gemini 4 Neon caught 16 of 27 known bugs judged catchable from the information available at review time (95% Wilson range, 41% to 75%). We selected public pull requests that merged after a CodeRabbit review and received a later bug fix. The original set was frozen before the saved comments were read; this Gemini 4 Neon test came later. We never ran CodeRabbit ourselves. We used its own saved reviews on public pull requests. CodeRabbit had flagged 4 of the 27 bugs (95% Wilson range, 5.9% to 32%). As we wrote in the original benchmark, “These are bugs merged despite a CodeRabbit review, not a count of everything CodeRabbit catches.” Original benchmark and MegaLens Standard results

OpenAI's GPT-6.2 Sol and GPT-6.2 Astra first judged the Gemini 4 Neon reviews. Anthropic's Claude Fable 5.2 has now checked the same 27 cases. All three agreed on which 16 bugs were caught. The separate sample of 60 findings still has only the two OpenAI judges. The MegaLens Standard and CodeRabbit numbers here come from a different judge pair, Anthropic's Claude Fable 5.2 and Google's Gemini 4 Carbon. The selected cases and different judge groups limit what we can say about a head to head result. Original benchmark method and scoring rules

Gemini 4 Neon caught three bugs both MegaLens Standard runs missed. MegaLens Deep had already caught all three. MegaLens Standard also caught bugs that Gemini 4 Neon missed. On the 11 bugs missed by Standard's first run and CodeRabbit's saved reviews, Deep alone and Deep with Gemini 4 Neon each caught 8 of 11 (95% Wilson range, 43% to 90%). That result describes this selected subset, using the different judge groups described above. We are adding Gemini 4 Neon to MegaLens.

MegaLens reviews your code with AI models from different companies, so another model can help cover the first model's blind spots. The GitHub Action can review pull requests automatically. You can also start a review from Claude Code, Cursor or another supported tool. A paid Standard review costs about $1, depending on how you buy credits. Your first 3 Standard reviews are free, with no seat fee. MegaLens pricing and offer details

In a separate sample of 60 Gemini 4 Neon findings judged from the pull request diffs, 37 were called real by both judges (95% Wilson range, 49% to 73%), 0 were called false by both judges (95% Wilson range, 0% to 6%), and 23 were mixed or uncertain (95% Wilson range, 27% to 51%). We consider both added catches and the sampled finding labels when adding a model.

One model is not enough to catch every bug in this test. MegaLens brings reviews from different models together to help cover their blind spots. Because of this performance, we're adding Gemini 4 Neon to MegaLens. Try MegaLens free: 3 reviews