CalculateTokens

GPT-4o Pricing — Token Costs & API Calculator

Official API pricing for GPT-4o by OpenAI, with context window, tokenizer details, and a plain-English cost estimate.

Pricing Details

AttributeValue
ProviderOpenAI
Input cost (per 1M tokens)$2.50
Output cost (per 1M tokens)$10.00
Context cachingNot supported
Batch API discount50% off
Context window128k tokens
Tokenizero200k_base (GPT-4o / o-series)
ⓘ Introductory pricing: Deprecated by OpenAI. API access shuts down 2026-10-23; calls will error after that date. Prices are no longer listed on OpenAI's pricing page and could not be re-verified from a vendor source.

Cost example

1,000 requests × 500 input tokens × 200 output tokens costs $3.25/month with GPT-4o at OpenAI's published rates.

Based on $2.5/1M input tokens and $10/1M output tokens.

Calculate your exact costs with GPT-4o

Compare GPT-4o with other models

Pricing last verified OpenAI pricing page

prices.jsondata is human-verified and updated automatically by CI.