Skip to main content

Head-to-head comparison

Claude Haiku 4.5 vs. Gemini 3.1 Pro Preview

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
0
distinct benchmarks
0
latest retrieval
No data

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for Claude Haiku 4.5 and Gemini 3.1 Pro Preview
AttributeClaude Haiku 4.5Gemini 3.1 Pro Preview
ProviderAnthropicGoogle
ReleasedOct 2025Feb 19, 2026
AvailabilityActivePreview
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window200,000 tokens1,048,576 tokens
Knowledge cutoffFebruary 2025Not published
Technical sourcesModelModel

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for Claude Haiku 4.5 and Gemini 3.1 Pro Preview
Price typeClaude Haiku 4.5Gemini 3.1 Pro Preview
API input$1$2 ≤200K / $4 >200K
API output$5$12 ≤200K / $18 >200K
Cache read$0.1$0.2 ≤200K / $0.4 >200K
Cache write (5 min.)$1.25Not listed
Cache write (1 hr.)$2Not listed
Price verified07/30/2026 Source07/30/2026 Source
Claude Haiku 4.5Gemini 3.1 Pro Preview
API inputUSD per 1M tokens, base tier
Claude Haiku 4.5Lower price$1
Gemini 3.1 Pro Preview$2
API outputUSD per 1M tokens, base tier
Claude Haiku 4.5Lower price$5
Gemini 3.1 Pro Preview$12
Cache readUSD per 1M tokens, base tier
Claude Haiku 4.5Lower price$0.1
Gemini 3.1 Pro Preview$0.2

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for Claude Haiku 4.5 and Gemini 3.1 Pro Preview
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Haiku 4.5AnthropicDirect from developerStandard APILowest listed price: $1Lowest listed price: $5Source07/30/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$1.1$5.5Source09/12/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $1Lowest listed price: $5Source09/12/2026
Amazon BedrockVia OpenRouteramazon-bedrock/us$1.1$5.5Source09/12/2026
AnthropicVia OpenRouteranthropicLowest listed price: $1Lowest listed price: $5Source09/12/2026
AzureVia OpenRouterazure/globalLowest listed price: $1Lowest listed price: $5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/europe$1.1$5.5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $1Lowest listed price: $5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/us-east5$1.1$5.5Source09/12/2026
Gemini 3.1 Pro PreviewGoogleDirect from developerUp to 200,000 context tokens$2$12Source07/30/2026
GoogleDirect from developerAbove 200,000 context tokens$4$18Source07/30/2026
GoogleVia OpenRoutergoogle-vertex/global$2$12Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/global/flexLowest listed price: $1Lowest listed price: $6Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/global/priority$3.6$21.6Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio$2$12Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/flexLowest listed price: $1Lowest listed price: $6Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/priority$3.6$21.6Source09/12/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

Not enough directly matched categories for a reliable radar

Only 0 of at least 5 categories have comparable, direct model measurements. The benchmark tables below show the available evidence without filling missing axes.

No directly comparable result series yet

No published benchmark for Claude Haiku 4.5 and Gemini 3.1 Pro Preview currently matches in version, task, metric, and comparison cohort. We therefore show no estimated or blended values.

Our model tests

Community tests you can inspect

Compare how the models respond to the same prompt. Each test shows the first attempt, with no subsequent fixes to the generated code. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Claude Haiku 4.5

Not tested yet

Gemini 3.1 Pro Preview

API access was unavailable for this run. The model was not evaluated.

First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
google/gemini-3.1-pro-preview
Pinned endpoint
Google AI Studio | google/gemini-3.1-pro-preview-20260219
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Not run

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare Claude Haiku 4.5 and Gemini 3.1 Pro Preview with other leading models using the same data and benchmark logic.

View the complete LLM comparison