ModelsOpenAI

GPT-4o

Context

128K

tokens

Released

May 13, 2024

on OpenRouter

Pricing

Price per million tokens

Input $/MTok

$0.1594%

OpenRouter · Jul 8, 2026

Output $/MTok

$0.694%

OpenRouter · Jul 8, 2026

Current GPT-4o prices per million tokens across tracked sources.
SourceTracked slugIn $/MTokOut $/MTokCache readCache writeContextEffectiveLast Δ (in)
OpenRouteropenai/gpt-4o-mini-search-preview$0.15$0.6128KJul 8, 202694%
models.devnano-gpt/openai/gpt-4o-mini$0.15$0.59128KJul 8, 202689.8%
llm-prices.comgpt-4o-mini$0.15$0.6$0.075Jul 8, 202694%

latest tracked price per source · Δ = most recent input-price move within that source

3 sources tracking

Input $/MTok

Output $/MTok

per-source step lines · $/MTok

history since Jan 1, 2023

Specs

Context & availability

GPT-4o specifications.
ProviderOpenAI
Context window128K tokens
Listed on OpenRouterMay 13, 2024
Tracked price sourcesllm-prices.com · OpenRouter · models.dev
OpenRouter slugsopenai/gpt-4o

source: OpenRouter model catalog + tracked price feeds

id: gpt-4o

Usage

Share of OpenRouter tokens

90-day daily

usage share pending — this model isn't in the tracked OpenRouter model rankings yet

Benchmarks

Benchmark results

Benchmark scores for GPT-4o.
BenchmarkConfigurationScoreDateSource
swe-bench-multimodalGUIRepair gpt4o30.8%May 31, 2025swebench-experiments
Aider Polyglotgpt-4o-2024-08-0623.1%Dec 30, 2024aider-repo
Aider Polyglotgpt-4o-2024-11-2018.2%Dec 30, 2024aider-repo
Aider Polyglotgpt-4o-mini-2024-07-183.6%Dec 21, 2024aider-repo
aider-o1-polyglotgpt-4o-2024-11-2015.1%Dec 21, 2024aider-repo
aider-o1-polyglotgpt-4o-mini-2024-07-183.6%Dec 21, 2024aider-repo
aider-editgpt-4o-2024-11-2071.4%Nov 20, 2024aider-repo
SWE-bench Litecodeshelltester gpt4o31.3%Nov 11, 2024swebench-experiments
SWE-bench Liteagentless 1.5 gpt4o32%Oct 28, 2024swebench-experiments
SWE-bench Verifiedepam ai run gpt 4o27%Oct 16, 2024swebench-experiments
swe-bench-multimodalSWE agent M gpt4o12.3%Oct 6, 2024swebench-experiments
swe-bench-multimodalRAG gpt4o6.1%Oct 6, 2024swebench-experiments
swe-bench-multimodalAgentless gpt4o3.1%Oct 6, 2024swebench-experiments
swe-bench-multimodalSWE agent JS gpt4o9.4%Oct 6, 2024swebench-experiments
swe-bench-multimodalSWE agent gpt4o12.2%Oct 6, 2024swebench-experiments
SWE-bench Verifiedepam ai run gpt 4o24%Aug 20, 2024swebench-experiments
SWE-bench LiteRepoGraph gpt4o29.7%Aug 8, 2024swebench-experiments
aider-editgpt-4o-2024-08-0671.4%Aug 6, 2024aider-repo
aider-refactorgpt-4o-2024-08-0649.4%Aug 6, 2024aider-repo
swe-bench-testsweagent gpt4o12%Jul 28, 2024swebench-experiments
SWE-bench Litesweagent gpt4o18.3%Jul 28, 2024swebench-experiments
SWE-bench Litemarscode agent dev34%Jul 23, 2024swebench-experiments
aider-editgpt-4o-mini55.6%Jul 18, 2024aider-repo
SWE-bench Litesima gpt4o27.7%Jul 6, 2024swebench-experiments
SWE-bench Liteagentless gpt4o27.3%Jun 30, 2024swebench-experiments
swe-bench-testautocoderover v2024062018.8%Jun 28, 2024swebench-experiments
SWE-bench Liteabanteai mentatbot gpt4o38%Jun 27, 2024swebench-experiments
SWE-bench Liteautocoderover v2024062030.7%Jun 21, 2024swebench-experiments
SWE-bench Litemoatless gpt4o24.7%Jun 17, 2024swebench-experiments
SWE-bench Liteappmap navie gpt4o21.7%Jun 15, 2024swebench-experiments
swe-bench-testappmap navie gpt4o14.6%Jun 15, 2024swebench-experiments
SWE-bench LiteMASAI gpt4o27.3%Jun 12, 2024swebench-experiments
aider-refactorgpt-4o62.9%May 13, 2024aider-repo
aider-editgpt-4o-2024-05-1372.9%May 13, 2024aider-repo
AA Coding Indexopenai/gpt-4o-2024-05-1324.2indexor-embedded-aa
AA Coding Indexopenai/gpt-4o-mini11.4indexor-embedded-aa
AA Agentic Indexopenai/gpt-4o-mini1indexor-embedded-aa

scores as published by each benchmark; configurations differ — compare within a row's benchmark only

latest result May 31, 2025

Alternatives

Similar models

Alternatives to GPT-4o by OpenRouter usage-rank proximity.
#ModelTokens/day7d ΔHead-to-head
1
Hy3Tencent
857.5Bvs GPT-4o
2806.2B6.6%vs GPT-4o
3
MiniMax M3MiniMax
665.9B9.8%vs GPT-4o
5530.6B50.5%vs GPT-4o

ranked by OpenRouter usage-rank proximity

snapshot Jul 7, 2026

FAQ

GPT-4o FAQ

How much does GPT-4o cost per token?
GPT-4o is priced at $0.15 per million input tokens and $0.6 per million output tokens, per OpenRouter as of Jul 8, 2026.
What is GPT-4o's context window?
GPT-4o supports a context window of up to 128K tokens, per OpenAI.
How good is GPT-4o at coding?
GPT-4o scores 30.8% on swe-bench-multimodal (May 31, 2025). Its full benchmark table is above.
What are the alternatives to GPT-4o?
By OpenRouter usage, comparable models include Hy3, DeepSeek V4 Flash, and MiniMax M3. Side-by-side comparisons are linked in the alternatives table.
Alerts

Track GPT-4o

Email me when GPT-4o's price moves or it gets deprecated.

price moves, plan changes, and the weekly tape. no spam.