openai / text-generation API-only released 2024-08-06

GPT-4o (2024-08-06)

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni") is...

Input / 1M
$2.50
Output / 1M
$10.00
Context
128K
AA Intelligence
7.7
Closed weights — available only as a hosted API text + image + file → text Knowledge cutoff Oct 2023 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$2.50
input / 1M
$10.00
output / 1M
$1.25
cached input / 1M
$12.50
1M in + 1M out
Context window
128,000 tokens
Max output
16,384 tokens
Providers
2
Cheapest provider
Azure · $2.50 / $10.00
Best throughput
—
AA Intelligence / Coding / Agentic
7.7 / — / —
✓ Tool calling ✗ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $2.50 input · $10.00 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
7.7
AA Coding Index
—
AA Agentic Index
—

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 128K $2.50 $10.00 100% —
OpenAI unknown 128K $2.50 $10.00 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2024-08-06
Context window
128,000 tokens
Max output
16,384 tokens
Input
text, image, file
Output
text
Knowledge cutoff
October 2023
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-4o-2024-08-06
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.