Calculate Tokens

GPT-4oPricing — 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)

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