GVGanivra

API price comparison · Updated

Gemini 3.8 Flash vs Claude Haiku 5.5 pricing

Quick answer

Gemini 3.8 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; Claude Haiku 5.5 costs $0.10 and $0.50. For an agent task (80,000 input tokens, 60,000 of them cached, and 6,000 output), Gemini 3.8 Flash costs $0.042 and Claude Haiku 5.5 $0.0056: Gemini 3.8 Flash costs 7.5× as much. Gemini 3.8 Flash's price changes on Jan 1, 2027 to $1.50 input and $7.50 output per million tokens.

Compare your monthly cost on Gemini 3.8 Flash and Claude Haiku 5.5

Estimated monthly cost
Gemini 3.8 Flash$413$0.0041 per request
Claude Haiku 5.5$55.00$0.0006 per request

Claude Haiku 5.5 costs 87% less for this workload. Excludes cache writes, tools and taxes.

Gemini 3.8 Flash vs Claude Haiku 5.5 prices per million tokens

PriceGemini 3.8 FlashClaude Haiku 5.5
Model IDgemini-3.8-flashclaude-haiku-5-5
Input$0.75$0.10
Cache read$0.075$0.01
Cache writeStorage billed per hour$0.125
Output$3.75$0.50
Batch in / out$0.375 / $1.875$0.05 / $0.25
Long promptsSame rateOver 100,000: $0.50 / $2.50
Scheduled changeFrom Jan 1, 2027: $1.50 / $7.50None announced
StatusAvailableAvailable

Prices for each provider’s own API, from Google Gemini’s pricing page and Anthropic’s pricing page. The lower price in each row is highlighted. Ganivra uses these same rates to price Gemini 3.8 Flash and Claude Haiku 5.5 calls.

What one request costs on Gemini 3.8 Flash and Claude Haiku 5.5

Worked out from the prices above at standard rates, with no Batch discount. Long-prompt rates apply where a model has them.

RequestGemini 3.8 FlashClaude Haiku 5.5Per 1,000 requestsDifference
Chat reply3,000 input tokens, 500 output$0.0041$0.0006$4.13 / $0.550Gemini 3.8 Flash costs 7.5× as much
Document summary30,000 input tokens, 1,500 output$0.028$0.0037$28.13 / $3.75Gemini 3.8 Flash costs 7.5× as much
Agent task80,000 input tokens (60,000 cached), 6,000 output$0.042$0.0056$42.00 / $5.60Gemini 3.8 Flash costs 7.5× as much
Long document300,000 input tokens, 2,000 output$0.233$0.155$233 / $155Claude Haiku 5.5 costs 33% less

What changes which one costs less

Prompt caching
Cache reads cost $0.075 per million, 10% of the input price on Gemini 3.8 Flash, and $0.01 per million, 10% of the input price on Claude Haiku 5.5. The more of each prompt you reuse, the more this decides the bill.
Cache writes
Gemini 3.8 Flash charges no write fee; Gemini bills cache storage per million tokens per hour. Claude Haiku 5.5 charges $0.125 per million tokens written to cache.
Long prompts
On Gemini 3.8 Flash, one rate at any prompt length. On Claude Haiku 5.5, prompts over 100,000 tokens cost $0.50 input and $2.50 output for the whole request. A 300 prompt costs $0.233 on Gemini 3.8 Flash and $0.155 on Claude Haiku 5.5.
Batch API
Gemini 3.8 Flash costs 50% less through the Batch API: $0.375 input and $1.875 output. Claude Haiku 5.5 costs 50% less through the Batch API: $0.05 input and $0.25 output.
Price change on Jan 1, 2027
Gemini 3.8 Flash goes from $0.75 input and $3.75 output to $1.50 input and $7.50 output per million tokens. Calls before then keep the old price; the agent task goes from $0.042 to $0.084.
Token counts
Google Gemini and Anthropic use different tokenizers, so the same text becomes a different number of tokens. The model with the lower per-token price can still cost more per request; compare on your own prompts before switching.

Compare them on your own customers, not a sample request.

Ganivra prices every Gemini 3.8 Flash and Claude Haiku 5.5 call you make and adds it up by customer, feature and workflow, next to what each customer pays. Switch a workflow and see what it did to each customer’s margin.

Start free 14-day trial

Gemini 3.8 Flash vs Claude Haiku 5.5 pricing questions

Is Gemini 3.8 Flash cheaper than Claude Haiku 5.5?

Per million tokens, Gemini 3.8 Flash costs $0.75 input and $3.75 output, and Claude Haiku 5.5 $0.10 input and $0.50 output. For an agent task (80,000 input tokens, 60,000 of them cached, and 6,000 output), Gemini 3.8 Flash costs 7.5× as much: $42.00 against $5.60 per 1,000 tasks.

How much does Gemini 3.8 Flash cost per million tokens?

$0.75 input and $3.75 output per million tokens on Google Gemini's API, with cached input at $0.075 and Batch at $0.375 input and $1.875 output. The rate is the same at any prompt length.

How much does Claude Haiku 5.5 cost per million tokens?

$0.10 input and $0.50 output per million tokens on Anthropic's API, with cached input at $0.01 and Batch at $0.05 input and $0.25 output. Prompts over 100,000 tokens cost $0.50 input and $2.50 output.

Which is cheaper for long prompts, Gemini 3.8 Flash or Claude Haiku 5.5?

For a 300,000 input tokens, 2,000 output request, Gemini 3.8 Flash costs $0.233 and Claude Haiku 5.5 $0.155: Claude Haiku 5.5 costs 33% less. On Gemini 3.8 Flash, one rate at any prompt length; on Claude Haiku 5.5, prompts over 100,000 tokens cost $0.50 input and $2.50 output for the whole request.

Is Gemini 3.8 Flash getting more expensive?

Yes. On Jan 1, 2027, Gemini 3.8 Flash goes from $0.75 input and $3.75 output to $1.50 input and $7.50 output per million tokens. After the change, the agent task costs $0.084 on Gemini 3.8 Flash against $0.0056 on Claude Haiku 5.5.

How do I compare Gemini 3.8 Flash and Claude Haiku 5.5 on my own traffic?

Record what each call actually used, then price the same usage on both models. Ganivra does this from your recorded calls: it shows what each customer, feature and workflow would cost on Gemini 3.8 Flash and on Claude Haiku 5.5, next to what each customer pays you.

Every model on one page: Gemini 3.8 Flash pricing · Claude Haiku 5.5 pricing · all model price comparisons · all supported models.