GPT-4o: Pricing, Context, and Benchmarks
GPT-4o is OpenAI's GPT-4 model released on 2024-05-13. It runs on a 128K-token context window, priced at $2.50/M input and $10.00/M output. GPT-4o ("omni") supports text, image, and audio inputs in a single model. Half the cost of GPT-4 Turbo.
Specifications
| Provider | OpenAI |
|---|---|
| Family | GPT-4 |
| Released | 2024-05-13 |
| Status | active |
| Context window | 128K tokens |
| Max output | 16K tokens |
| Modalities | text image audio |
| Capabilities | function calling json mode vision streaming audio |
| Tokenizer | o200k_base |
| API endpoint | https://api.openai.com/v1/chat/completions |
| Documentation | Official docs ↗ |
| Last updated | 2026-05-29 |
Benchmark scores
| Benchmark | Category | Score | Measured | Source |
|---|---|---|---|---|
| HumanEval | coding | 90.2 | 2024-05-13 | ↗ |
| MMLU | general | 88.7 | 2024-05-13 | ↗ |
| MMMU | multimodal | 69.1 | 2024-05-13 | ↗ |
Scores reflect single measurements on the date shown. Reproducibility varies; consult the linked source for methodology. Use the comparison tool for side-by-side analysis.
Cost calculator
For 1,000 tokens of input and 1,000 tokens of output per call, this model costs $0.0125 per call. For typical usage:
| Workload | Tokens / call (in/out) | $/call | $/1K calls | $/1M calls |
|---|---|---|---|---|
| Short Q&A | 200 / 100 | $0.001500 | $1.50 | $1,500 |
| Standard chat | 1K / 500 | $0.007500 | $7.50 | $7,500 |
| RAG with retrieval | 4K / 500 | $0.015000 | $15.00 | $15,000 |
| Long doc summary | 20K / 1K | $0.060000 | $60.00 | $60,000 |
| Long context (100K input) | 100K / 2K | $0.265000 | $265.00 | $265,000 |
For more precise estimates including caching discounts, use the LLM API Cost Calculator.
Other OpenAI models
Common comparisons
- GPT-4o vs Command R+ Side-by-side specs, pricing, and benchmarks
- GPT-4o vs Claude Sonnet 4.6 Side-by-side specs, pricing, and benchmarks
- GPT-4o vs Claude 3.5 Sonnet Side-by-side specs, pricing, and benchmarks
- GPT-4o vs Mistral Large 2 Side-by-side specs, pricing, and benchmarks
API setup
curl https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Hello"}]}'
See the official documentation for the full request/response schema. For pre-flight token counting before paying, use the appropriate token counter.