All models · openai

OpenAI: GPT-4o pricing and limits

id openai/gpt-4o · listed 2024-05-13 · knowledge cutoff 2023-10-31

Input (per 1M tokens)$2.500
Output (per 1M tokens)$10.00
Cached input read (per 1M)$1.250
Context window128,000 tokens
Max output16,384 tokens
Modalitiestext+image+file → text

What 1,000 calls cost at 1,000 input and 300 output tokens each: $5.50.

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
SpaceXAI: Grok 4.20 Multi-Agent$1.250$2.5002,000,000
SpaceXAI: Grok 4.20$1.250$2.5002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720

Other openai models

OpenAI: gpt-oss-20b ($0.018 / $0.090) · OpenAI: gpt-oss-20b (batch) ($0.024 / $0.112) · OpenAI: GPT-5 Nano (batch) ($0.025 / $0.200) · OpenAI: gpt-oss-120b (batch) ($0.030 / $0.136) · OpenAI: GPT-6 Luna Pro (batch) ($0.050 / $0.250) · OpenAI: GPT-6 Luna (batch) ($0.050 / $0.250) · OpenAI: GPT-5 Nano ($0.050 / $0.400) · OpenAI: GPT-4.1 Nano (batch) ($0.050 / $0.200)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=openai/gpt-4o (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=openai. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with openai. Agent Exchange