model comparison

vs

Claude Sonnet 5.5 vs Gemini 3.1 Pro

Anthropic against Google AI, compared on listed price, real workload cost, context and capabilities.

our take

Gemini takes audio, video and PDFs alongside text. for a tool loop on Sonnet, the between_tools setting at high effort or below skips up-front thinking; remove sampling parameters such as temperature, which the Claude api rejects.

pick Claude Sonnet 5.5 if

  • want to suppress thinking before the first tool call

pick Gemini 3.1 Pro if

  • pass an audio recording or video directly to the Gemini api

checked 2026-12-03. sources: Anthropic: Claude Sonnet 5.5,Google: Gemini 3.1 Pro

the short answer

  • Claude Sonnet 5.5 lists the lower output price; input prices match.
  • Claude Sonnet 5.5 reads cached input for less ($0.1/M against Gemini 3.1 Pro's $0.2/M), which decides the bill for agents that resend long context.

side-by-side specs

specClaude Sonnet 5.5Gemini 3.1 Pro
providerAnthropicGoogle AI
input price$2/M$2/M
output price$10/M$12/M
cached input$0.1/M$0.2/M
blended price (3:1)$4/M$4.5/M
context window1M tokens1M tokens
max output128k tokens65.536k tokens
inputtext, imagestext, images, video, audio, pdf
structured outputyesyes
weightsclosedclosed
releasedSeptember 28, 2026February 19, 2026

same work, both models

workloadClaude Sonnet 5.5Gemini 3.1 Pro
one chat reply3,000 tokens in, 500 outGemini 3.1 Pro costs 1.1× as much as Claude Sonnet 5.5$0.01$0.01
summarise a 100-page report50,000 tokens in, 1,500 out, one requestwithin 5%$0.12$0.12
1,000 classification calls500 tokens in, 20 out, per call$1.20$1.24
coding-agent session2M tokens in across ~60 turns, 60,000 out, no cache$4.60$4.72
same session, cached85% of input read from the prompt cache, the rest written to itGemini 3.1 Pro costs 1.1× as much as Claude Sonnet 5.5$1.52$1.66

at listed rates. token counts are typical sizes, not measurements.

Claude Sonnet 5.5 pricing notes

  • the full 1M-token window bills at the standard rate, with no long-context surcharge.
  • cache writes bill at $2.50 per 1M tokens (5-minute tier); cache hits at $0.10, half Sonnet 5's $0.20.

Gemini 3.1 Pro pricing notes

  • once a request passes 200K input tokens, the whole request bills at $4 input, $18 output and $0.40 cache read per 1M; the listed price is the sub-200K rate.
  • output price includes thinking tokens.

when to pick which

Claude Sonnet 5.5

Anthropic's mid-tier Claude model, which Anthropic describes as its best combination of speed and intelligence. it succeeds Sonnet 5 at the same $2 / $10 rate, with a 1M-token context and half the cache-read price, and sits below Opus 5.5.

pick it if

  • you want Claude at half of Opus 5.5's per-token price
  • you resend long prompts; cache hits bill at 5% of input
  • your prompts need a 1M-token window at the standard rate

skip it if

  • Haiku 5.5 handles your high-volume classification or routing more cheaply
  • your code forces tool use or sets temperature; both return errors

Gemini 3.1 Pro

Google's Pro-tier Gemini model, released in preview as the reasoning-focused successor to Gemini 3 Pro at the same $2 / $12 rate. it takes text, images, video, audio and PDFs into a 1M-token window and returns text.

pick it if

  • you need audio, video or PDF input alongside text and images
  • you resend long prompts; cache hits bill at 10% of input
  • you want Google's Pro tier rather than a Flash model

skip it if

  • your prompts often exceed 200K tokens, where input doubles and output rises 1.5x
  • the cheaper Gemini 3.8 Flash covers your workload

faq

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

Claude Sonnet 5.5 lists the lower output price; input prices match. on a coding-agent session (2M tokens in, 60,000 out) Claude Sonnet 5.5 costs $4.60 and Gemini 3.1 Pro $4.72.

can i switch between Claude Sonnet 5.5 and Gemini 3.1 Pro mid-task?

yes. in an octomind session, /model octohub:claude-sonnet-5-5 and /model octohub:gemini-3.1-pro switch models without losing the conversation, so you can draft on one and review on the other.

try either model

switch between models inside the same octomind session.

prices from the catalog of 2026-12-03