Versus · AI tools
Claude Opus 4.6 vs Gemini 3.1 Pro
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Gemini 3.1 Pro for mixed media, long documents and cost per call.
- a Claude Opus model for long agentic coding runs and very long outputs, but pick Opus 5.5, not 4.6: Anthropic lists it at $4 and $20, cheaper than 4.6, with a June 2026 knowledge cutoff.
Compared here
- 01Claude Opus 4.6
- 02Gemini 3.1 Pro
Short answer
Gemini 3.1 Pro is the cheaper and wider model: $2 per million input tokens and $12 output for prompts up to 200k, against Claude Opus 4.6 at $5 and $25 at any length. Gemini also takes video, audio and PDF on top of text and images. Claude Opus 4.6 writes longer in one go (128K output tokens against 65,536) and has a dated status: Anthropic calls it legacy, with retirement not sooner than 5 February 2027.
Pick Gemini 3.1 Pro for mixed media, long documents and cost per call. Pick a Claude Opus model for long agentic coding runs and very long outputs, but pick Opus 5.5, not 4.6: Anthropic lists it at $4 and $20, cheaper than 4.6, with a June 2026 knowledge cutoff. Gemini 3.1 Pro is still a preview model, so do not build anything you cannot re-point.
At a glance
| Claude Opus 4.6 | Gemini 3.1 Pro | |
|---|---|---|
| Model ID | claude-opus-4-6 | gemini-3.1-pro-preview |
| Released | 5 February 2026 | 19 February 2026 |
| Status | Active, legacy; retires not sooner than 5 Feb 2027 | Preview; no shutdown date announced |
| Input price | $5 | $2 up to 200k prompt; $4 above |
| Output price | $25 | $12 up to 200k prompt; $18 above (thinking included) |
| Cache read | $0.50 | $0.20 up to 200k; $0.40 above, plus storage per hour |
| Batch | 50% off: $2.50 in / $12.50 out | Batch API listed; batch price not read for this page |
| Free API tier | None; $5 minimum credit purchase | Not available for this model |
| Context | 1M tokens | 1,048,576 tokens |
| Max output | 128K (300K on Batch, beta) | 65,536 |
| Inputs | Text and images | Text, image, video, audio, PDF |
| Knowledge cutoff | May 2025 (reliable) | Not stated on the model page |
| Built-in search grounding | Web search tool, $10 per 1,000 searches | Google Search: 5,000 free a month, then $14 per 1,000 |
Two heavyweights from February 2026, two weeks apart. Anthropic shipped Claude Opus 4.6 on 5 February, Google put Gemini 3.1 Pro out as a preview on 19 February. Ten months later one is legacy and the other is still a preview. That tells you something before we even get to the price list.
Money note: neither Anthropic nor Google pays us anything, and there are no affiliate links on this page. We read every official model and pricing page on 3 December 2026. We did not run our own benchmark, so we quote nobody's leaderboard as gospel. Where an aggregator's view helps, we say whose view it is.
The short answer at the bar
Gemini 3.1 Pro is cheaper, reads more kinds of file and has about the same context window. Claude Opus 4.6 writes much longer answers and is the one people fed long coding sessions to in early 2026. If you are choosing today, neither is the obvious buy: Anthropic itself points Opus 4.6 users to Opus 5.5, which costs less. Google has newer Gemini models too, but its deprecations page shows no shutdown date for 3.1 Pro.
Price: what a real job costs
List prices per million tokens, standard tier:
| Input | Output | Cache read | |
|---|---|---|---|
| Claude Opus 4.6 | $5 | $25 | $0.50 |
| Gemini 3.1 Pro, prompt up to 200k | $2 | $12 | $0.20 |
| Gemini 3.1 Pro, prompt over 200k | $4 | $18 | $0.40 |
Two notes that change the maths:
- Gemini's output price includes thinking tokens. Google says so on the pricing page. A model that thinks a lot before answering bills you for the thinking.
- Opus 4.6 has one price across the full 1M window. Anthropic says Claude 4.6 and later models include the 1M context "at standard pricing", so a 900k-token prompt pays the same rate as a 9k one. Gemini doubles its input price over 200k.
A worked example, just arithmetic on list prices. Say a job sends 50,000 tokens in and gets 5,000 tokens back:
- Opus 4.6: 0.05 x $5 + 0.005 x $25 = $0.25 + $0.125 = $0.375
- Gemini 3.1 Pro: 0.05 x $2 + 0.005 x $12 = $0.10 + $0.06 = $0.16
Gemini comes in at well under half. Do that ten thousand times a month and the gap is about $2,150. Real bills depend on caching, retries and how much each model thinks, so run your own prompts before you trust any per-call figure, ours included.
Neither has a free API tier for these models. Anthropic says the API has no free tier and a $5 minimum credit purchase. Google's pricing page marks the free tier for Gemini 3.1 Pro "Not available".
Context window and output length
On paper the context is a tie: 1M tokens for Opus 4.6, 1,048,576 for Gemini 3.1 Pro. Either can swallow a big codebase or a stack of contracts.
Output is not a tie. Opus 4.6 can return up to 128K tokens in one synchronous call, and up to 300K through the Batch API with a beta header. Gemini 3.1 Pro stops at 65,536. If you ask for a whole long report, a full translation of a big document or a large generated file in one go, Opus keeps going after Gemini has had to stop.
What each one can read
- Claude Opus 4.6: text and images in, text out.
- Gemini 3.1 Pro: text, image, video, audio and PDF in, text out.
This is Gemini's clearest win. Hand it a screen recording of a bug, a lecture video, a podcast episode or a scanned PDF and it works on the file itself. With Opus 4.6 you would extract frames or transcribe audio first, which means another tool and another bill.
Neither model generates images or audio. Google lists image generation, audio generation and the Live API as not supported for 3.1 Pro.
Tools, search and agent work
Both handle function calling and structured output. The differences:
- Gemini 3.1 Pro lists grounding with Google Search and Google Maps, code execution, context caching, URL context and file search. Search grounding gets 5,000 free requests a month across Gemini 3 and newer models, then $14 per 1,000, with a daily cap of 1,500. There is also a
gemini-3.1-pro-preview-customtoolsvariant for workflows that mix bash and custom tools. - Claude Opus 4.6 uses Anthropic's tool set: web search at $10 per 1,000 searches, web fetch at no extra charge beyond tokens, code execution, bash and text editor tools. Its thinking mode is adaptive: the model decides how much to think, steered by an effort setting that defaults to high.
For coding agents, the output limit matters more than people expect. An agent that writes a 2,000-line file in one reply needs room. Opus has more.
Benchmarks: whose numbers?
Neither official model page we read carries a head-to-head score. Aggregators do. Artificial Analysis rates Gemini 3.1 Pro Preview above Claude Opus 4.6 on its intelligence index and cheaper per token on its blended price. Other aggregator pages show mixed results by test.
Our take: a benchmark tells you which model is better at the benchmark. Take ten real tasks from your own week, run both, and read the answers. It costs a few dollars and it is the only test that matters to you.
Status: legacy vs preview
This is the bit most comparison pages skip, and it can bite.
- Opus 4.6 is legacy. Anthropic's lifecycle page says legacy models "will no longer receive updates and might be deprecated in the future". Retirement is "not sooner than February 5, 2027". Anthropic gives at least 60 days' notice before retiring a public model.
- Gemini 3.1 Pro is a preview. The model ID literally ends in
-preview. Google's deprecations page lists it with "No shutdown date announced".
If you are building a product, wrap the model name in a setting you can change in one place. You will change it.
What to use instead in December 2026
Since both of these are older models, here is the honest next step:
- Claude side: Anthropic lists Claude Opus 5.5 at $4 input and $20 output, cheaper than Opus 4.6, with a June 2026 knowledge cutoff against Opus 4.6's May 2025. Claude Sonnet 5.5 is $2 and $10. Our Gemini 3.1 Pro vs Sonnet 5 page covers the Sonnet match-up.
- Gemini side: for cheap volume, see Opus 4.6 vs Gemini 3.5 Flash. For an open-weights rival, see DeepSeek V4 vs Gemini 3.1 Pro.
Who should pick which
- Pick Gemini 3.1 Pro if you work with video, audio, PDFs or screenshots, you run lots of calls and price matters, or you want Google Search grounding built in.
- Pick Claude Opus 4.6 if you already have it wired in and tested, and you need replies longer than 65K tokens. Plan your move to Opus 5.5 before February 2027.
- Pick neither if you are starting fresh: test Claude Opus 5.5 against the newest Gemini Pro on your own tasks. Our best AI model for coding page keeps that shortlist current.
How we checked
We read Anthropic's Opus 4.6 overview, pricing and model deprecations pages, and Google AI Studio's Gemini 3.1 Pro model page, pricing page and deprecations page, all on 3 December 2026. Prices are list prices in US dollars. We did not run benchmarks, and we did not read Google's batch price for this model, so we print none. More AI tool comparisons live on the AI tools hub.
Questions people ask
Is Gemini 3.1 Pro better than Claude Opus 4.6?
On price and input types, yes: Gemini costs $2 and $12 per million tokens against $5 and $25, and it reads video, audio and PDFs. Aggregator benchmarks such as Artificial Analysis also rate Gemini 3.1 Pro higher. Claude Opus 4.6 writes far longer single answers. For coding agents, test both on your own repo.
Which is cheaper, Opus 4.6 or Gemini 3.1 Pro?
Gemini 3.1 Pro, by a lot. For prompts under 200k tokens it costs 40% of Opus 4.6 on input and about half on output. Above 200k tokens Gemini's price rises to $4 and $18, still under Opus. Neither has a free API tier for these models, and Anthropic asks for a $5 minimum credit purchase.
Is Claude Opus 4.6 still available?
Yes. Anthropic lists claude-opus-4-6 as active but legacy, which means no more updates, with retirement not sooner than 5 February 2027. Its own page suggests moving to Claude Opus 5.5, which is cheaper at $4 input and $20 output and has a newer knowledge cutoff of June 2026.
Which has the bigger context window?
About the same. Claude Opus 4.6 lists 1M tokens and Gemini 3.1 Pro lists 1,048,576 input tokens. The real difference is output: Opus 4.6 can write up to 128K tokens in one synchronous reply, Gemini 3.1 Pro stops at 65,536. Long reports and big code files favour Opus.
Can Claude Opus 4.6 read video or audio?
No. Anthropic's page lists text and images in, text out. Gemini 3.1 Pro takes text, image, video, audio and PDF in, and returns text. If your work is meeting recordings, screen captures or lecture videos, Gemini handles them natively and you skip a separate transcription step.
Which is better for coding?
Both are top-tier coding models and aggregator scores swing by test. Opus 4.6 has the longer output limit, which helps when an agent writes big files. Gemini 3.1 Pro has a custom-tools variant for mixed bash and tool workflows. In December 2026, though, the newer Opus 5.5 is the Claude to compare.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Anthropic: Claude Opus 4.6 overview, checked 3 Dec 2026
- Anthropic: Pricing, checked 3 Dec 2026
- Anthropic: Model deprecations, checked 3 Dec 2026
- Google AI Studio: Gemini 3.1 Pro model page, checked 3 Dec 2026
- Google AI Studio: Gemini API pricing, checked 3 Dec 2026
- Google AI Studio: Deprecations, checked 3 Dec 2026