OpenAI
OpenAI API pricing per million tokens for GPT-6, GPT-5.6, GPT-5.5 and earlier GPT-5 models.
| Name | Provider | Input, $ per 1M tokens | Output, $ per 1M tokens | Sample request (10K in, 2K out), $ | Context window, tokens | Status |
|---|---|---|---|---|---|---|
| GPT-5 nano | OpenAI | $0.05 | $0.40 | $0.0013 | 400K | Deprecated |
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | $0.002 | 1.05M | Current |
| GPT-5.6 Luna | OpenAI | $0.20 | $1.20 | $0.0044 | 1.05M | Previous generation |
| GPT-5.4 nano | OpenAI | $0.20 | $1.25 | $0.0045 | 400K | Deprecated |
| GPT-5 mini | OpenAI | $0.25 | $2.00 | $0.0065 | 400K | Deprecated |
| GPT-5.4 mini | OpenAI | $0.75 | $4.50 | $0.0165 | 400K | Previous generation |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | $0.02 | 1.05M | Current |
| GPT-5 | OpenAI | $1.25 | $10.00 | $0.0325 | 400K | Deprecated |
| GPT-5.1 | OpenAI | $1.25 | $10.00 | $0.0325 | 400K | Deprecated |
| GPT-6 Sol | OpenAI | $2.00 | $10.00 | $0.04 | 1.05M | Previous generation |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | $0.04 | 1.05M | Current |
| GPT-5.6 Terra | OpenAI | $2.00 | $12.00 | $0.044 | 1.05M | Previous generation |
| GPT-5.2 | OpenAI | $1.75 | $14.00 | $0.0455 | 400K | Older |
| GPT-5.3 Codex | OpenAI | $1.75 | $14.00 | $0.0455 | 400K | Deprecated |
| GPT-5.4 | OpenAI | $2.50 | $15.00 | $0.055 | 1.05M | Previous generation |
| GPT-5.6 Sol | OpenAI | $4.00 | $20.00 | $0.08 | 1.05M | Previous generation |
| GPT-Rosalind | OpenAI | $5.00 | $25.00 | $0.10 | Current | |
| GPT-Rosalind Discovery | OpenAI | $5.00 | $25.00 | $0.10 | Current | |
| GPT-5.5 | OpenAI | $5.00 | $30.00 | $0.11 | 1.05M | Previous generation |
| GPT-6 Astra | OpenAI | $10.00 | $50.00 | $0.20 | 1.05M | Current |
| GPT-5.6 Cyber | OpenAI | $12.50 | $75.00 | $0.275 | 400K | Current |
| GPT-6 Rosalind | OpenAI | $15.00 | $75.00 | $0.30 | Current | |
| GPT-5.4 Pro | OpenAI | $30.00 | $180.00 | $0.66 | 1.05M | Previous generation |
| GPT-5.5 Pro | OpenAI | $30.00 | $180.00 | $0.66 | 1.05M | Previous generation |
Prices come from OpenAI’s pricing page. GPT-6 models have a separate long-context rate and a 50% batch discount; data-residency endpoints add 10% for models released from March 5, 2026. OpenAI’s current models in the table are GPT-6.1 Sol, GPT-6 Astra and GPT-6 Luna. GPT-5.1, GPT-5.3 Codex, GPT-5.4 nano and the GPT-5, GPT-5 mini and GPT-5 nano snapshots are deprecated.
Questions
Which OpenAI API models are current? GPT-6.1 Sol, GPT-6 Astra and GPT-6 Luna. GPT-6 Luna is the cheapest of them, at about $0.002 for a request with 10,000 input and 2,000 output tokens.
Does OpenAI offer a batch discount? Yes. GPT-6 models get 50% off standard rates through batch processing.
Which OpenAI models are deprecated? GPT-5.1, GPT-5.3 Codex, GPT-5.4 nano and the GPT-5, GPT-5 mini and GPT-5 nano snapshots. Each model page gives the shutdown date and the replacement OpenAI recommends.
Sources
Prices are read from each provider’s official pricing page: OpenAI, Anthropic, Google Gemini API, xAI, DeepSeek and Mistral AI. Context and output limits that a provider does not publish come from OpenRouter’s model listing. Each model’s Sources field lists the pages used and the date each was checked. How we check prices · Price change log
