Pricing comparison

Anthropic vs Google Vertex AI Pricing

Per-million-token pricing for Anthropic and Google Vertex AI, with side-by-side flagship models, cheapest tiers, and context windows. Pricing data syncs weekly from the open-source litellm catalog — last updated May 4, 2026.

Who wins on what

Cheapest input tokens

$0.02/1M

Google Vertex AI

Gemma 3 4B — $0.02/1M input

Cheapest output tokens

$0.04/1M

Google Vertex AI

Gemma 3n 4B — $0.04/1M output

Longest context window

2.0M

Google Vertex AI

Gemini 3/3.1 (> 200k context) — 2.0M input tokens

Lowest average output cost

$3.98/1M

Google Vertex AI

Provider-wide average across 48 models

Largest model catalog

48 models

Google Vertex AI

More options to match cost vs capability

Side-by-side

32 models

Anthropic

Cheapest input

$0.250

Claude 3 Haiku

Cheapest output

$1.25

Claude 3 Haiku

Longest context

1.0M

Claude 4 Sonnet (2025-05-14)

Avg output / 1M

$25.94

Across catalog

ModelIn/1MOut/1MCtx
Claude 3 Opus (2024-02-29)$15.00$75.00200K
Claude 4 Opus (2025-05-14)$15.00$75.00200K
Claude Opus 4$15.00$75.00200K
Claude Opus 4 (2025-05-14)$15.00$75.00200K
Claude Opus 4.1$15.00$75.00200K
Claude 3 Haiku$0.250$1.25200K
48 models

Google Vertex AI

Cheapest input

$0.017

Gemma 3 4B

Cheapest output

$0.040

Gemma 3n 4B

Longest context

2.0M

Gemini 3/3.1 (> 200k context)

Avg output / 1M

$3.98

Across catalog

ModelIn/1MOut/1MCtx
Gemini 3/3.1 (> 200k context)$4.00$18.002.0M
Gemini 3 Pro Preview$2.00$12.001.0M
Gemini 3.1 Pro Preview$2.00$12.001.0M
Gemini 3.1 Pro Preview Customtools$2.00$12.001.0M
Gemini 3/3.1 (≤ 200k context)$2.00$12.00200K
Gemma 3n 4B$0.020$0.04033K

All prices in USD per 1 million tokens. Showing top 6 models per provider, sorted by output cost.

Run the numbers for your workload

Calcaas multiplies per-token costs by your real usage patterns — inputs, outputs, retries, and conversation history — across both providers in one model.