← Compare all APIs

GPT-4o API prices

Compare routes under the same recorded conditions.

Official pricing source ↗

Channel choices

API: openai/gpt-4o-2024-08-06 · USD · Standard · unknown · 128K · Global

Reference: 1M input + 1M output tokens; no cache or extras. Not a bill.

Only 1 channel in this scope. Configuration is incomplete; equivalent replacement and savings are unverified.

View recorded configuration conditions

Context limit: 128000

Input/output limits: Unrecorded / 16384

Regions: global

Billing scope: Unrecorded

Parameter declarations: frequency_penalty, logit_bias, logprobs, max_completion_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options

Native tool declarations: Source lists no entries

Implicit caching declaration: Yes

Account restriction: Unrecorded

Subroute label: No extra label

These are recorded source fields; actual capability, performance and account access remain unverified.

Change billing and configuration scope

Azure

azure

Purchased through OpenRouter

$12.50

1M input + 1M output token subtotal

Input / output per 1M tokens: $2.50 / $10.00

Lowest reference rate in this group; verify output and access.

Use this endpoint
Official API docs ↗

Create a provider API key and set the local environment variable OPENROUTER_API_KEY, then run the example below.

Request URL
https://openrouter.ai/api/v1/chat/completions
Connection settings
Base URL: https://openrouter.ai/api/v1
Catalog model: openai/gpt-4o-2024-08-06
Request API model: openai/gpt-4o-2024-08-06
Protocol: openai
Provider routing: azure
API key env: OPENROUTER_API_KEY
Docs: https://openrouter.ai/docs
curl
curl "https://openrouter.ai/api/v1/chat/completions" -H "Authorization: Bearer $OPENROUTER_API_KEY" -H "Content-Type: application/json" -d '{
  "model": "openai/gpt-4o-2024-08-06",
  "messages": [
    {
      "role": "user",
      "content": "Read this support ticket and return a JSON object with \"summary\", \"urgency\" (low, medium, or high), and \"next_step\". Use null for missing details.\n\nTicket: I paid for the Pro plan yesterday, but my account still shows Free. My team needs access before tomorrow’s demo."
    }
  ],
  "provider": {
    "order": [
      "azure"
    ],
    "only": [
      "azure"
    ],
    "allow_fallbacks": false
  }
}'
Prompt for your coding agent
Use the OpenAI-compatible API at https://openrouter.ai/api/v1 with model "openai/gpt-4o-2024-08-06". Set provider.only to ["azure"] and allow_fallbacks to false. Apply the recorded quantization filter. A base slug can match multiple endpoints, so confirm the served route before using the reference price. Read the API key from the OPENROUTER_API_KEY environment variable; never hardcode it. Pricing observed on 2026-11-22: $2.50 / 1M input tokens, $10.00 / 1M output tokens, $1.25 / 1M cache read tokens.  API integration docs: https://openrouter.ai/docs. Billing scope and conditions: Served by Azure through OpenRouter, not a direct-provider contract. Published rates for route azure; unknown quantization. Other fees, tier conditions and regional access must be checked before use.. Source: https://openrouter.ai/api/v1/models/openai/gpt-4o-2024-08-06/endpoints.
Task test prompt
Read this support ticket and return a JSON object with "summary", "urgency" (low, medium, or high), and "next_step". Use null for missing details.

Ticket: I paid for the Pro plan yesterday, but my account still shows Free. My team needs access before tomorrow’s demo.
Price facts
Input: $2.50 / 1M tokens
Output: $10.00 / 1M tokens
Cache read: $1.25 / 1M tokens
Currency: USD
Regions: global
Unit source: api
Checked: 2026-11-22T09:20:25.070Z
Source: https://openrouter.ai/api/v1/models/openai/gpt-4o-2024-08-06/endpoints

Source check: 2026-11-22 · valid no later than 2026-11-23 09:21 UTC

Billing evidence and sources

openai/gpt-4o-2024-08-06 · azure

Billing conditions

Served by Azure through OpenRouter, not a direct-provider contract. Published rates for route azure; unknown quantization. Other fees, tier conditions and regional access must be checked before use.

Cache read / 1M
$1.25
Cache write / 1M
Not published
Per request
Not published
Route
azure · unknown

Declared parameters: frequency_penalty, logit_bias, logprobs, max_completion_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options

Price source ↗
Compare saved channels →
All quotes, filters and usage tools
History · Billing and conditions

GPT-4o API pricing: official and providers: 6 current published quote records across 4 exact API IDs and 2 providers. Compare API versions, currencies, regions and billing conditions separately; prices do not prove task quality or account access.

Latest recorded source check: 2026-11-22

Recorded changes

No changes recorded yet. The first successful check establishes a baseline; it does not count as a price drop or a newly launched endpoint.

Showing up to 100 recent events. Prices for unavailable endpoints are retained for reference. Failed source checks do not establish that a price stayed unchanged.

Open a quote’s billing details for cache reads/writes, request fees and endpoint instructions. Batch, free, promotional and off-peak tiers are selected separately. Context-tier, storage, search, tax and platform fees may be excluded.

Find lower-cost alternatives

Find lower-cost alternatives

Choose your existing model to find lower reference costs with matching declared technical constraints. Output quality remains unverified.

Loading verified quotes…

Users’ choices · GPT-4o

Describe your work to find related tasks.

Public scores by use

The same model scores differently by use. Once you pick a use, the site applies that use’s quality gate before comparing cost.

Vision & research

  • Search grounding10063392 votes · 2026-11-19

Scores come from Arena public-preference leaderboards (CC BY 4.0), latest published 2026-11-19. They describe the model, not your task’s success rate or a quantized channel. Arena ↗

View independent evaluation on Artificial Analysis ↗ · external link; we do not copy its scores or prices.

Declared model facts

Declared fields from the OpenRouter model catalog, bound to exact API IDs; not our tests, price approval or account availability.

Input
Text · Image · File
Output
Text
Context
128K
Reasoning parameter
Not offered
Knowledge cutoff
2023-10-31
Open-weights clue
Not declared
Per-API facts · 5 versions
  • openai/gpt-4o · text / image / file → text · 128K · non-reasoning
  • openai/gpt-4o-2024-05-13 · text / image / file → text · 128K · non-reasoning
  • openai/gpt-4o-2024-08-06 · text / image / file → text · 128K · non-reasoning
  • openai/gpt-4o-2024-11-20 · text / image / file → text · 128K · non-reasoning
  • openai/gpt-4o:batch · text / image / file → text · 128K · non-reasoning

Source: https://openrouter.ai/api/v1/models, captured 2026-11-21T09:20:20.905Z, raw SHA-256: 19214ba490361282… . Unstated facts stay unknown and are not inferred from names or sibling models.

Classification sources

Source declarations for registered versions; not task quality, current account availability or price approval. Unknown versions do not inherit sibling classifications.

Model variants

Snapshots and routing variants remain distinct. Choose an exact ID in the comparison before deciding; model quality and access conditions need your own review.

More from this maker

OpenAI →