StackLift
Google · updated Nov 22, 2026, 4:07 PM UTC

Gemini 3.8 Flash API pricing.

Gemini 3.8 Flash by Google costs $0.825 per million input tokens and $4.13 per million output tokens, with a 1M-token context window. That puts it in the mid-range range of the models we track. A support chatbot handling 10,000 conversations a month would cost about $33.00 a month in API fees.

Price

What Gemini 3.8 Flash costs per token

List prices, checked every hour. Blended assumes three input tokens for every output token. This model sits in the mid-range range of the models we track.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Gemini 3.8 FlashGoogle$0.825$4.13$1.651M

Source: Gemini 3.8 Flash in the OpenRouter model catalog. Check it against Google's Gemini API pricing.

Specs

What Gemini 3.8 Flash can do

From Gemini 3.8 Flash's entry in the OpenRouter model catalog.

Reads
text, images, video, files (PDFs and documents) and audio
Writes
text
Context window
1M tokens
Longest answer
66K tokens
Tool calling
Yes: it can call functions and APIs you define
Structured output
Yes: answers can follow a JSON schema
Reasoning
Yes: it can think through steps before answering
Cached input
$0.083 per 1M tokens (90% off the input price)
Open weights
No: API access only

Monthly cost

What common workloads cost on Gemini 3.8 Flash

API fees only, at list price. The assumptions are shown, so you can scale them to your own volume.

Customer support chatbot

$33.00 / month

10,000 conversations a month, ~1,500 in and ~500 out each: 15M input and 5M output tokens.

Knowledge-base Q&A (RAG)

$99.00 / month

20,000 questions a month, ~4,000 in and ~400 out each: 80M input and 8M output tokens.

Document summaries and extraction

$26.40 / month

2,000 documents a month, ~12,000 in and ~800 out each: 24M input and 1.6M output tokens.

Coding assistant for a team of 10

$49.50 / month

10 developers a month, 3.0M in and 0.6M out each: 30M input and 6M output tokens.

Hosting, a vector database, monitoring and the build itself are extra. The free StackLift estimate adds them for your exact scope.

Per request

What one request costs on Gemini 3.8 Flash

A request costs its input tokens times the input price plus its output tokens times the output price. A typical assistant turn of 2,000 input and 500 output tokens on Gemini 3.8 Flash: 2,000 × $0.825 ÷ 1M + 500 × $4.13 ÷ 1M = $0.0037.

RequestInput / output tokensOne request1,000 requests
Short chat reply500 / 200$0.0012$1.24
Typical assistant turn2,000 / 500$0.0037$3.71
Long document task20,000 / 1,500$0.023$22.69

As you grow

Gemini 3.8 Flash cost at ten times less and ten times more

The same workloads at a tenth and at ten times the volume, at Gemini 3.8 Flash's list price.

WorkloadA tenthTypicalTen times
Customer support chatbot$3.301,000 conversations$33.0010,000 conversations$330100,000 conversations
Knowledge-base Q&A (RAG)$9.902,000 questions$99.0020,000 questions$990200,000 questions
Document summaries and extraction$2.64200 documents$26.402,000 documents$26420,000 documents

Fit

When Gemini 3.8 Flash is the right choice

Gemini 3.8 Flash sits in the middle on price, a common default for assistants and agents that need solid reasoning at a predictable monthly cost.

Its 1M-token context window fits long contracts, codebases or document sets in one request, though sending that much text on every call raises the bill quickly.

Gemini 3.8 Flash reads images, video, files (PDFs and documents) and audio as well as text and can call tools and APIs, return structured JSON and reason through multi-step problems, so it can drive agents that act in your systems.

Many products mix models: a cheaper one for simple steps and a stronger one where quality matters. Test a shortlist on your own examples before you commit.

Save

Ways to pay less for Gemini 3.8 Flash

  1. 1. Cache repeated instructions

    Gemini 3.8 Flash charges $0.083 per million cached input tokens instead of $0.825. A 4,000-token system prompt sent with 10,000 requests a month costs $33.00 at the list price and about $3.30 when cached.

  2. 2. Route by difficulty

    Send simple requests to a cheaper model and keep the stronger one for the steps that need it.

  3. 3. Batch what can wait

    Overnight or bulk jobs often qualify for batch pricing, at a lower rate than live requests.

  4. 4. Ask for shorter answers

    Output costs 5 times as much as input on Gemini 3.8 Flash, so a tight answer format (bullet points, JSON, a word limit) cuts the bill more than a shorter prompt.

Alternatives

Models priced closest to Gemini 3.8 Flash

From other providers, nearest on blended price. Quality and speed differ by task: test the shortlist on your own examples.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Gemini 3.8 FlashGoogle$0.825$4.13$1.651M
GPT-6.1 Terra ProOpenAI$1.00$5.00$2.001.1M
GPT-6.1 TerraOpenAI$1.00$5.00$2.001.1M
Qwen4 MaxQwen$1.43$4.28$2.141M
Mistral Large 4Mistral$0.70$2.10$1.051M
DeepSeek V4 Pro 0423DeepSeek$0.90$1.50$1.051M

Google

Other Google models

The same provider's newest models, for a quicker or more capable option.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Gemini 4 NeonGoogle$3.00$15.00$6.001M
Gemini 4 HydrogenGoogle$1.50$7.50$3.001M
Gemini 4 CarbonGoogle$2.00$10.00$4.001M

Questions about Gemini 3.8 Flash pricing

How much does Gemini 3.8 Flash cost per 1,000 tokens?

$0.0008 per 1,000 input tokens and $0.0041 per 1,000 output tokens, from the list price of $0.825 and $4.13 per million.

Is Gemini 3.8 Flash cheaper than GPT-6.1 Terra Pro?

Yes, on list price. Gemini 3.8 Flash averages $1.65 per million tokens (3 parts input to 1 output) against $2.00 for GPT-6.1 Terra Pro. Quality and speed differ by task, so test both on your own examples.

What is Gemini 3.8 Flash's context window?

1M tokens: the most text the model reads and writes in one request. Long documents beyond that are split, or retrieved in parts with RAG.

How much would a chatbot cost on Gemini 3.8 Flash?

About $33.00 a month for 10,000 conversations a month, ~1,500 in and ~500 out each. Caching repeated instructions and routing simple questions to a cheaper model lower it further.

Does Gemini 3.8 Flash support tool calling?

Yes. Gemini 3.8 Flash can call functions and APIs you describe to it, which is what lets an AI agent look up data or take actions. It can also return answers that follow a JSON schema.

Can Gemini 3.8 Flash read images or documents?

Yes. Besides text, Gemini 3.8 Flash reads images, video, files (PDFs and documents) and audio.

How long can Gemini 3.8 Flash's answers be?

Up to 66K tokens per answer (about 49,000 words), within a 1M tokens context window.

Does Gemini 3.8 Flash have prompt caching?

Yes. Input read from the cache costs $0.083 per million tokens, 90% less than the $0.825 list price, which suits long system prompts and shared context.

How do I estimate the AI cost of my own product?

Count the requests a month and the tokens in and out of each, then multiply by the prices here. StackLift's free estimate does this for your exact scope, alongside the cost to build it.

Build with it

Scope a product on Gemini 3.8 Flash

Pick your features and integrations; the estimate returns the build cost, timeline and team, and the model's monthly running cost. Free, no signup.