TokenSave logo TokenSave

All comparisons · Prices checked 2026-10-14

Gemini 3.1 Pro vs Claude Sonnet 5.5: API cost comparison

For a typical chatbot reply, Gemini 3.1 Pro costs $0.0078 and Claude Sonnet 5.5 costs $0.0097 per request: Gemini 3.1 Pro is 19% cheaper. Gemini 3.1 Pro is cheaper in every workload below.

API prices

Gemini 3.1 ProClaude Sonnet 5.5
MakerGoogleAnthropic
Input / 1M tokens$2$2
Output / 1M tokens$12$10
Output vs input price+500%+400%
Context window1.05M tokens1M tokens
Tokens for the same English textbaseline (GPT o200k count)~138% of GPT's count (estimate)

Capability

On the Epoch Capabilities Index, Gemini 3.1 Pro scores 156.2 and Claude Sonnet 5.5 166.6: Claude Sonnet 5.5 is 10.3 points higher. See capability vs price for all models.

Capability scores: Epoch Capabilities Index by Epoch AI, used under CC BY 4.0.

Counting tokens for Claude? Use the Claude token counter: in our test Claude used 38% more tokens than GPT for the same English prompt (data).

Cost by workload

Workload (per 1,000 requests)Gemini 3.1 ProClaude Sonnet 5.5Cheaper
Chatbot reply
short question plus some chat history · 1,500 in / 400 out
$7.80$9.66Gemini 3.1 Pro 19% cheaper
Document Q&A (RAG)
retrieved passages plus a question · 8,000 in / 500 out
$22.00$28.98Gemini 3.1 Pro 24% cheaper
Coding agent step
large working context, short edit · 25,000 in / 800 out
$59.60$80.04Gemini 3.1 Pro 26% cheaper
Summarize a long report
long input, short summary · 20,000 in / 300 out
$43.60$59.34Gemini 3.1 Pro 27% cheaper
Write an article
short brief, long draft · 800 in / 2,000 out
$25.60$29.81Gemini 3.1 Pro 14% cheaper
Bar chart: Gemini 3.1 Pro vs Claude Sonnet 5.5 API cost per 1,000 requests for chatbot, RAG, coding agent, summary and article workloads
Gemini 3.1 Pro vs Claude Sonnet 5.5: cost per 1,000 requests by workload (USD).

Gemini 3.1 Pro is cheaper on both input and output, so it costs less for every kind of request. It is 28% cheaper on input and 13% cheaper on output once the tokenizer difference is included.

Same text, different token counts. Each company uses its own tokenizer. By our estimate Claude Sonnet 5.5 counts about 38% more tokens than Gemini 3.1 Pro for the same English text, and the costs above already include that. Paste your own prompt into the token counter to see both counts.

Monthly cost

Monthly volumeGemini 3.1 ProClaude Sonnet 5.5
10,000 chatbot replies / month$78.00$96.60
100,000 chatbot replies / month$780$966
1,000,000 chatbot replies / month$7,800$9,660

Calculate your own

Enter your typical request size and volume.

Token counts are for English text measured with GPT's tokenizer; each model's own tokenizer difference is applied automatically.

Questions

Which is cheaper, Gemini 3.1 Pro or Claude Sonnet 5.5?

For a typical chatbot reply (1,500 input and 400 output tokens), Gemini 3.1 Pro costs $0.0078 and Claude Sonnet 5.5 costs $0.0097 per request, so Gemini 3.1 Pro is 19% cheaper. Gemini 3.1 Pro is cheaper in every workload below.

How much do Gemini 3.1 Pro and Claude Sonnet 5.5 cost per million tokens?

Gemini 3.1 Pro costs $2 per 1M input tokens and $12 per 1M output tokens. Claude Sonnet 5.5 costs $2 input and $10 output. Prices checked 2026-10-14.

Do both models count the same text as the same number of tokens?

No. Each model family has its own tokenizer, so the same text can be a different number of tokens. The costs on this page already include that difference (estimated from GPT's tokenizer).

Related comparisons

Paste a real prompt to see its exact tokens and cost on Gemini 3.1 Pro, Claude Sonnet 5.5 and 30+ other models.

Open the token counter →

Standard API list prices, short-context tier, no caching or batch discounts. Prices change; check each provider's pricing page before large jobs.