How to Reduce Vertex AI Costs

A Vertex AI Gemini bill is input, cached input and output tokens, with thinking billed as output, multiplied by the model, the traffic type and the endpoint. The promotional Gemini 4 Argon and Carbon prices end on November 30, 2026 and double on December 1, and the Gemini 3.6 to 3.8 Flash introductory prices double on January 1. Find out which workload and token type are spending the money first. Then work through eight levers in order: budget at the standard price, keep the prefix stable so implicit caching hits, move work that can wait to Batch or Flex PayGo, use the global endpoint, pick the model per request, set thinking_level per request, cap the output and trim the input, and use Priority PayGo, grounding and Provisioned Throughput only where they earn it before adding a router. No savings percentage, because the result depends on your traffic.

Published 2026-11-30 by Dor Amir on the Nadir blog.

Filed under Pricing & Models.

To reduce Vertex AI costs for Gemini, first find out which workload, which token type and which traffic type are spending the money. Then work through eight levers in order: budget at the standard price rather than the promotional one, keep the prompt prefix stable so implicit caching hits, move work that can wait to Batch or Flex, send requests to the global endpoint, pick the model per request, set thinking_level per request, use Priority PayGo, grounding and Provisioned Throughput only where they earn it, and add a router last. On Vertex AI the first lever is the urgent one: the promotional prices on Gemini 4 Argon and Gemini 4 Carbon end on November 30, 2026, and both list at double that rate from December 1.

This is a checklist, not a benchmark. It contains no savings percentage, because the result depends on your traffic. Prices, caching rules, tiers and thinking defaults come from Google Cloud's own pricing page and documentation as read on November 30, 2026. Vertex AI is now documented as the Gemini Enterprise Agent Platform; the API, the `aiplatform.googleapis.com` endpoints and the Gen AI SDK with `vertexai=True` are unchanged. Check the [pricing page](https://cloud.google.com/vertex-ai/generative-ai/pricing) before you plan around a number.

Where a Vertex AI Gemini bill comes from.

Vertex AI bills Gemini per token, with separate rates for input, cached input and output, and reasoning tokens bill as output. The standard rate card on the global endpoint:

Per 1M tokens, global endpoint (Nov 30, 2026)InputCached inputOutput (incl. reasoning)
Gemini 4 Neon$3.00$0.15$15.00
Gemini 4 Argon, Gemini 4 Carbon (through Nov 30)$2.00$0.10$10.00
Gemini 4 Argon, Gemini 4 Carbon (from Dec 1)$4.00$0.20$20.00
Gemini 4 Hydrogen$1.50$0.075$7.50
Gemini 3.8, 3.7, 3.6 Flash (through Dec 31)$0.75$0.075$3.75
Gemini 3.8, 3.7, 3.6 Flash (from Jan 1, 2027)$1.50$0.15$7.50
Gemini 3.5 Flash$1.50$0.15$9.00
Gemini 3.5 Flash-Lite$0.30$0.03$2.50
Gemini 3.1 Flash-Lite$0.25$0.025$1.50
Gemini 3.1 Pro Preview, prompt up to 200K / over 200K$2.00 / $4.00$0.20 / $0.40$12.00 / $18.00

Six things set the price of a given request:

Two billing rules are worth knowing before you change anything. Requests that return an error are not charged, with one exception: from November 13, 2026, a Gemini 4 completion longer than 32K tokens is charged for the tokens generated even if the request then fails on a client or server timeout. And Gemini app or Google Workspace subscriptions do not cover Vertex AI calls.

Step 0: measure before you change anything.

If uncached input is the largest share, start with levers 2 and 7. If thinking tokens are a large share of output, start with levers 5 and 6. If work that can wait is a large share, start with lever 3.

The eight levers.

1. Budget at the standard price, not the promotional one

Gemini 4 Argon and Gemini 4 Carbon move from $2.00 input and $10.00 output per million tokens to $4.00 and $20.00 on December 1, 2026, on the global endpoint. Gemini 3.6, 3.7 and 3.8 Flash move from $0.75 and $3.75 to $1.50 and $7.50 on January 1, 2027. The Provisioned Throughput credit follows the same calendar: 50% of eligible spend credited back through November 30 for Argon and through December 31 for the three Flash models. Rerun your cost model at the standard prices now, and decide per workload whether the model still pays for itself at double the rate. The per-task math for Carbon is in Carbon on Every Diff?, and for Hydrogen in Twice the Rate, Quarter the Task.

2. Keep the prompt prefix stable so implicit caching hits

All Google Cloud projects have implicit caching on by default, and the discount is applied automatically when a request shares a prefix with a recent one. It needs at least 4,096 tokens of shared prefix on most Gemini 3 and Gemini 4 models, and 6,144 on Gemini 3.7 Flash, 3.8 Flash, 3 Flash Preview and 3.1 Pro Preview. Google's own advice is to put large, common content at the start of the prompt and to send requests with a similar prefix close together in time. In practice:

Cached prefixes live in memory and, on Gemini 4 models and Gemini 3.8 Flash, also in a durable tier, which keeps hits coming over longer gaps. Entries expire within 24 hours of creation at most. Explicit caching, where you create a cache and reference it by name, is available on Gemini 3.x and 2.5 models, not on Gemini 4. It guarantees the 90% discount but adds storage: $1.00 per million tokens per hour on Flash and Flash-Lite, and $4.50 on Pro, with a default TTL of 60 minutes. Use it only when a large context is reused more often than implicit caching catches. From January 12, 2027, Gemini 4 Hydrogen and later models add cache controls with a TTL, and cache writes on them bill at 1.25x the input price by default. Why caching comes first is in The Closest Thing to Free Money.

3. Move work that can wait to Batch or Flex PayGo

Batch inference costs half the standard rate on Gemini 4 and Gemini 3 models: Gemini 4 Neon input is $1.50 instead of $3.00, and Hydrogen output is $3.75 instead of $7.50. Evaluations, backfills, enrichment and nightly classification are the usual candidates.

Flex PayGo gives the same 50% discount on synchronous requests that can wait longer and tolerate more throttling. Add the header X-Vertex-AI-LLM-Shared-Request-Type: flex and set a timeout of up to 30 minutes. It is in Preview, it works only on the global endpoint, and it supports Gemini 3.8 Flash and earlier models, not Gemini 4. For Gemini 4 work that can wait, use Batch. Batch discounts across providers are compared in Half Price, One Day Late.

4. Send requests to the global endpoint

For Gemini 3 and later, every rate on a regional or multi-regional endpoint is 10% higher than on the global endpoint: Gemini 4 Neon input is $3.30 instead of $3.00, and Hydrogen output is $8.25 instead of $7.50. The difference applies to cached input, Batch and Priority too. If a workload has no data-residency requirement, set the location to global. If it does, keep it regional and price the 10% in. Residency costs across providers are covered in The Residency Tax.

5. Pick the model per request

Gemini 3.1 Flash-Lite costs $0.25 input and $1.50 output per million tokens. Gemini 4 Neon costs $3.00 and $15.00, twelve times more on input and ten times more on output. Run classification, extraction, short summaries and most chat on Flash-Lite or Flash, and send a request type up only when you have measured that the cheaper model fails on it. Compare cost per completed task, not per token: a model with a higher rate that finishes in fewer tokens or fewer retries can cost less. Gemini 3.1 Pro Preview is the one current model with a long-context rule. Once a prompt goes over 200,000 tokens, every token in the request bills at the higher rate, input and output both. In a multi-turn conversation, choose the model at the start, because a switch re-sends the whole prefix uncached. That cost is worked through in Your Router Is Fighting Your Prompt Cache.

6. Set thinking_level per request

Thinking is on by default in supported models, thinking tokens bill at the output rate, and the default level is what you pay for if you never set it:

No Gemini 4 model accepts MINIMAL, so a lookup sent to Neon or Hydrogen pays for HIGH thinking unless you set LOW. Often the cheaper fix is to send it to a Flash-Lite model, which defaults to MINIMAL. Gemini 3 and later use thinking_level; sending thinking_budget in the same request returns an error, and Gemini 2.5 models accept only thinking_budget. Watch thoughtsTokenCount per feature and use XHIGH only where you have measured that the task needs it. Cross-provider settings are in The Overthinking Tax.

7. Cap the output and trim the input

Output costs five times input on every Gemini 4 model and on Gemini 3.6 to 3.8 Flash, and six times on Gemini 3.1 Flash-Lite. Set max_output_tokens to what the feature needs, and ask for the format you will parse, a label or a JSON object with only the fields you read, so a malformed answer does not cost a retry. On Gemini 4, a long completion that times out is still billed, so a cap also limits what a failure costs. More patterns are in The Expensive Half. On input, send the relevant chunk instead of the whole document, as covered in Twenty Chunks, Three Read, drop tool declarations the request cannot use, and clear old tool results in agent loops. Trimming inside the cached prefix changes the prefix, so trim when you deploy, not on each request.

8. Use Priority PayGo, grounding and Provisioned Throughput only where they earn it, then add a router last

Priority PayGo bills 1.8x the standard rate, for example $5.40 instead of $3.00 per million input tokens on Gemini 4 Neon. Traffic above your organization's priority limit is not automatically downgraded: when capacity is available it is still served at priority and billed at priority rates. Check trafficType in the response, and use the priority header on user-facing paths that need it, not on a whole client.

Grounding with Google Search includes 5,000 grounding queries a month at no charge across Gemini 3 and Gemini 4 models, then bills $14 per 1,000 queries. A single prompt can trigger several queries, and each is charged. The search results added to the prompt are not charged as input tokens. Turn grounding on only for features that need fresh web facts.

Provisioned Throughput bills per GSU-hour, from $2.74 on a one-year commitment to $7.14 on a one-week commitment on the global endpoint, whether or not you send traffic. It buys assured capacity, not a lower token price. Size it from measured peak load, not forecast growth. Spend-based Flexible Savings Plans are a separate commitment discount. Google has also announced project-level spend caps that pause API traffic at a budget, in private preview.

A router helps once choosing the model and thinking level in code (levers 5 and 6) stops scaling, because request types blur and nobody can say which ones need Neon at HIGH. It helps when traffic is a real mix of easy and hard requests. It does not help when Flash already passes nearly everything, or when a switch would throw away a warm cache. We published our own negative results in When LLM Routing Does Not Help, and compared the products in How to Choose an LLM Router.

Where Nadir fits.

Nadir covers the router in lever 8 and part of lever 6. On Vertex AI it works beside your traffic, not in front of it.

Nadir costs $0.002 per request, with the first 50 a month free, and takes no markup on model spend. It also runs beside an existing gateway, including LiteLLM as the native nadir/auto provider.

Nadir does not do levers 1, 2, 3, 4 or 7 for you. Price dates, cache layout, Batch and Flex, endpoint location, output size, grounding and capacity commitments are yours to change, and on Vertex AI they are often the larger share of the bill. Nadir publishes no universal savings rate. Measure first, then decide whether a router is worth adding.

The same checklist for the Gemini API on AI Studio is How to Reduce Gemini API Costs. For the other platforms it is How to Reduce OpenAI API Costs, How to Reduce Claude API Costs, How to Reduce Amazon Bedrock Costs, How to Reduce Azure OpenAI Costs, How to Reduce Mistral API Costs, How to Reduce DeepSeek API Costs and How to Reduce Grok API Costs. The provider-neutral version is How to Reduce LLM API Costs.

Conclusion.

First find out which workload, which token type and which traffic type are spending the money. Rerun the budget at the standard Argon, Carbon and Flash prices. Keep the prefix stable so implicit caching hits, move work that can wait to Batch or Flex, and use the global endpoint unless residency requires otherwise. Use Flash-Lite or Flash by default, set thinking_level instead of inheriting HIGH, cap the output and trim the input. Turn on Priority PayGo, grounding and Provisioned Throughput only where they pay for themselves. Add a router once the model choice needs to happen without anyone maintaining it by hand.

More on pricing & models

Pages on this site

Machine-readable summaries of this site: llms.txt and llms-full.txt.