Head to head

claude-opus-5 vs gemini-3.1-pro-preview: API Pricing Compared

On a typical chat turn of 10K input and 1K output tokens, gemini-3.1-pro-preview costs $0.032 against $0.075 for claude-opus-5, making it 57% cheaper. Both rates are read daily from the providers' own pricing pages.

Side by side

claude-opus-5gemini-3.1-pro-preview
ProviderAnthropicGoogle
Input / 1M tokens$5.00$2.00
Output / 1M tokens$25.00$12.00
Context window1MNot published
Blended cost / chat turn$0.075$0.032
Price verified2026-08-052026-06-11

Cost by workload

The headline rate rarely decides the bill. These are the same four workloads priced against both models.

WorkloadTokensclaude-opus-5gemini-3.1-pro-preview
Single short call2K in, 500 out$0.022$0.010
Typical chat turn10K in, 1K out$0.075$0.032
Long document pass100K in, 2K out$0.550$0.224
1,000 chat turns10M in, 1M out$75.00$32.00

Which one actually wins

gemini-3.1-pro-preview is cheaper on both the input and the output rate, so it never costs more no matter how input-heavy or output-heavy the workload is. There is no crossover point to reason about. Price is only one axis, so weigh it against context window, latency, and the quality difference on your own evaluation set before switching.

Common questions

Which is cheaper, claude-opus-5 or gemini-3.1-pro-preview?

gemini-3.1-pro-preview is cheaper for a typical chat turn of 10K input and 1K output tokens, at $0.032 against $0.075 for claude-opus-5, a difference of 57%.

How much does claude-opus-5 cost per 1M tokens?

Anthropic charges $5.00 per 1M input tokens and $25.00 per 1M output tokens for claude-opus-5, verified 2026-08-05.

How much does gemini-3.1-pro-preview cost per 1M tokens?

Google charges $2.00 per 1M input tokens and $12.00 per 1M output tokens for gemini-3.1-pro-preview, verified 2026-06-11.

Does gemini-3.1-pro-preview stay cheaper for every workload?

Yes. gemini-3.1-pro-preview is cheaper on both the input and the output rate, so it never costs more regardless of how input-heavy or output-heavy the workload is.

Full pricing pages

Maintained by Jordan Hale, TechFastForward. Both prices are read daily from the official provider pages and recorded only when they move. Compare any other pair on the LLM API Pricing Tracker.