Pricing comparison

OpenAI vs Google Vertex AI Pricing

Per-million-token pricing for OpenAI and Google Vertex AI, with side-by-side flagship models, cheapest tiers, and context windows. Pricing data syncs weekly from a continuously-updated model catalog — last updated June 22, 2026.

As of June 22, 2026, Google Vertex AI offers the lowest output-token price at $0.04/1M (Gemma 3n 4B — $0.04/1M output).

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

OpenAI

gpt-5.4 (>272K context length) — 2.0M input tokens

Lowest average output cost

$8.73/1M

Google Vertex AI

Provider-wide average across 50 models

Largest model catalog

138 models

OpenAI

More options to match cost vs capability

Cheapest cached input

$0.03/1M

Google Vertex AI

Gemini 3.1 Flash Lite — $0.03/1M cached read

Most reasoning models

11 models

Google Vertex AI

Models with dedicated reasoning / thinking support

Most vision models

11 models

Google Vertex AI

Models that accept image input

Side-by-side

138 models

OpenAI

Cheapest input

$0.030

gpt-oss-20b

Cheapest output

$0.140

gpt-oss-20b

Longest context

2.0M

gpt-5.4 (>272K context length)

Avg output / 1M

$28.00

Across catalog

Cheapest cached input

$0.125

GPT-5.1 Codex Max

ModelIn/1MOut/1MCtx
GPT-5.5 Pro
VisionReasoningTools
$30.00$180.001.1M
GPT-5.5
VisionReasoningToolsCache
$5.00$30.001.1M
gpt-5.4-mini$0.750$4.50272K
gpt-5.4-nano$0.200$1.25272K
GPT-5.4 Pro
VisionReasoningTools
$30.00$180.001.1M
gpt-oss-20b$0.030$0.140131K
50 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

$8.73

Across catalog

Cheapest cached input

$0.025

Gemini 3.1 Flash Lite

ModelIn/1MOut/1MCtx
Gemini 3.5 Flash
VisionReasoningToolsCache
$1.50$9.001.0M
Gemini 3.1 Flash Lite
VisionReasoningToolsCache
$0.250$1.501.0M
Gemini 3.1 Flash Lite Preview
VisionReasoningToolsCache
$0.250$1.501.0M
Nano Banana 2
VisionReasoning
$0.500$60.0066K
Gemini 3.1 Pro Preview
VisionReasoningToolsCache
$2.00$12.001.0M
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.

Related comparisons

See the full AI model leaderboard — every model ranked by intelligence, real-world usage, and value.

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.