# Gemini API cost and why output length dominates > Gemini API cost runs $0.25 to $2.00 per million input, with output spreads up to 8.3x. Why answer length is the lever on this provider. URL: https://getculpa.com/gemini-api-cost Last reviewed: 2026-08-01 Rates effective: 2026-07-02 ## Answer Gemini API cost runs from $0.25 per million input tokens on Flash Lite to $2.00 on the Pro preview, with output spreads reaching 8.3 times input. That makes answer length the dominant lever here. Culpa, a local-first LLM cost, margin, and forecast ledger, splits input and output per call, so you can see which side is actually growing. ## Why this happens Gemini has the cheapest input rates in this book and the widest output-to-input spreads, which pulls in two directions. Cheap input makes long context genuinely affordable, so teams retrieve more. Expensive output relative to that input means every token of narration costs what eight input tokens would. Teams arrive with prompt-trimming habits from other providers, apply them here, and find the bill barely moves. ## What this usually looks like - Trimming your prompt produced almost no change in spend. - Output tokens are a small share of your token count and a large share of your bill. - Retrieved context has grown steadily because input felt close to free. - Cost per call varies widely between requests, tracking response length rather than input size. ## Common mistakes - Applying prompt-trimming habits from a different provider. Why it hurts: Input starts at $0.25 per million here, so halving a long prompt saves very little. Do instead: Constrain output first. Set max tokens and request a compact format, then measure the change. - Retrieving more context because input is cheap. Why it hurts: Cheap isn't free, and across a batch a large context is a real number. Do instead: Measure retrieval precision. Cutting unused context improves quality and cost together. - Asking the model to narrate its reasoning in every response. Why it hurts: Narration is output tokens at up to 8.3 times the input rate, and it's rarely read. Do instead: Request the answer only, and sample reasoning on a subset when you genuinely need it. ## Self-check - Split your Gemini spend into input and output. The output share is usually the surprise. - Measure median and 90th percentile output tokens per call. A wide gap means the format is uncontrolled. - Check whether max tokens is set at all. On an eight-to-one spread it's the cheapest control available. - Recompute your bill with output halved, then with input halved. Compare which is easier to achieve. - Confirm cached input is in use. Every Gemini model here carries a roughly tenfold cached discount. ## Five Gemini models, same tokens, different shapes (illustrative) 1 million input and 200,000 output tokens priced across the Gemini line. gemini-3.1-flash-lite: (1 x $0.25) + (0.2 x $1.50) = $0.25 + $0.30 = $0.55, ratio 6x gemini-2.5-flash: (1 x $0.30) + (0.2 x $2.50) = $0.30 + $0.50 = $0.80, ratio 8.3x gemini-2.5-pro: (1 x $1.25) + (0.2 x $10.00) = $1.25 + $2.00 = $3.25, ratio 8x gemini-3.5-flash: (1 x $1.50) + (0.2 x $9.00) = $1.50 + $1.80 = $3.30, ratio 6x gemini-3.1-pro-preview: (1 x $2.00) + (0.2 x $12.00) = $2.00 + $2.40 = $4.40, ratio 6x 2.5 Flash costs less than half of 3.5 Flash on identical work, yet carries the wider output ratio. The tier and the shape are separate decisions here, unlike on Anthropic. ## Cost figures Every figure carries its confidence and its source. No figure on this site is provider-reported. - 8.3x — widest output-to-input ratio across the Gemini line, on 2.5 Flash [calculated] Source: $2.50 output divided by $0.30 input per million on gemini-2.5-flash, from the price book, effective 2026-07-02. - $0.55 to $4.40 — cost of one million input and 200,000 output tokens across the five Gemini models [calculated] Source: Five calculations shown in the teardown, all from price-book rows effective 2026-07-02. ## FAQ Q: Which Gemini model has the widest output spread? A: Gemini 2.5 Flash, at 8.3 times input, followed by 2.5 Pro at 8 times. The 3.x models sit at 6 times. So the newer line is flatter, and the older Flash tier is where response length matters most. Q: What is the cheapest Gemini model? A: Gemini 3.1 Flash Lite at $0.25 per million input and $1.50 output, verified 2026-07-02. It's the cheapest input rate of any hosted model in this price book outside the open-weight tiers. Q: Do Gemini models charge for cache writes? A: Not in this price book. Every Gemini model records a cached read rate at roughly a tenth of input, with no separate write charge, so caching here has no downside beyond the effort of ordering the prompt correctly. ## Sources - Gemini API pricing: https://ai.google.dev/gemini-api/docs/pricing Run the free Cost Leak Scan: https://app.getculpa.com/scan?source=pseo&slug=gemini-api-cost&cluster=provider_cost Machine-readable index of every guide: https://getculpa.com/api/pages Human-readable index of every guide: https://getculpa.com/guides Site overview: https://app.getculpa.com/llms.txt Privacy: Culpa runs on your infrastructure. Your prompts and responses never leave it. Culpa counts calls to run your plan, and it fails open, so if it ever breaks your app keeps running.