DevTk.AI

GPT-4o

OpenAI deprecated

GPT-4o by OpenAI: $2.50/M cache-miss input, $10.00/M output tokens. Cached input: $1.25/M. 128K context, 16K max output. Vision & Audio. Price verified 2026-11-18.

Input Price

$2.50

cache miss / 1M tokens

Cached Input

$1.25

per 1M tokens

Output Price

$10.00

per 1M tokens

Context Window

128K

tokens

GPT-4o price history

No price changes recorded for GPT-4o in our AI API price change log (earliest entry: 2026-05-27). Current rates last verified against the official OpenAI pricing page on 2026-11-18. See all AI API price changes

Cheaper ways to use GPT-4o

Current free credits and discounts that apply to OpenAI models.

  • 🧠OpenAI APIFree Trial— Usage-based API billing; new accounts use prepaid credits, free credits are not guaranteed
See all AI deals and free credits →

Specifications

ProviderOpenAI
Model IDgpt-4o
Input Price$2.50 / 1M cache-miss tokens
Cached Input Price$1.25 / 1M tokens
Output Price$10.00 / 1M tokens
Context Window128K tokens
Max Output16K tokens
Capabilities
textvisionaudiofunction_callingstructured_output
Release Date2024-05
Pricing SourceOfficial OpenAI pricing
Price Verified2026-11-18
NotesDeprecated compatibility model. Prefer the current GPT-5 family for new integrations.

Monthly Cost Estimates

Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split). Input estimates use cache-miss pricing, so cache-heavy workloads can be lower.

Daily TokensMonthly CostAnnual Cost
10K $1.88 $22.50
50K $9.38 $112.50
100K $18.75 $225.00
500K $93.75 $1125.00
1.0M $187.50 $2250.00

How GPT-4o Pricing Compares

Standard cache-miss input / output prices per 1M tokens, compared with active, price-verified models priced in USD. Cached, batch and long-context rates are not included.

  • Within OpenAI: 8 of 15 other active OpenAI models have a lower input price, and 4 have a lower output price.
  • Similar context window: among the 16 active models with a 64K–256K token context window, GPT-4o ranks #16 from cheapest at a 50/50 input/output mix. Cheapest: GLM-4.7-Flash ($0.00/$0.00). It is the most expensive in this group.

Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.

GPT-4o Key Details

  • Pricing: $2.50/M cache-miss input tokens, $1.25/M cached input tokens, $10.00/M output tokens
  • Context window: 128K tokens — 86 of 89 active models we track have a larger window
  • Max output: 16K tokens per response
  • Capabilities: text, vision, audio, function_calling, structured_output
  • Highlights: Deprecated compatibility model. Prefer the current GPT-5 family for new integrations.
  • Released: 2024-05

Other OpenAI Models

Similar Price Range

Related Tools

FAQ

How much does GPT-4o cost?

GPT-4o costs $2.50 per million cache-miss input tokens and $10.00 per million output tokens. Cached input costs $1.25 per million tokens. For a typical workload of 100K input tokens/day and 50K output tokens/day, expect approximately $22.50/month before cache-hit savings.

What is GPT-4o's context window?

GPT-4o supports a context window of 128K tokens. This means your combined input prompt and output response can be up to 128K tokens. The maximum output per response is 16K tokens.

Is GPT-4o good for my use case?

GPT-4o supports text, vision, audio, function_calling, structured_output. We track pricing and limits, not output quality, so test it on your own prompts before committing. The price comparison above lists cheaper and pricier models with a similar context window, and the Pricing Calculator estimates your monthly cost across all of them.