OpenAI API · per 1M tokensFull OpenAI API pricing →
Codex API pricing: $0.50–$50.00 per 1M output tokens
| Model | Input | Output | Cached input | Context |
|---|---|---|---|---|
| GPT-6 Astra | $10.00 | $50.00 | $1.00 | — |
| GPT-6.1 Sol | $2.00 | $10.00 | $0.10 | — |
| GPT-6.1 Terra | $1.00 | $5.00 | $0.05 | — |
| GPT-6 Luna | $0.10 | $0.50 | $0.01 | — |
Subscription or API? Codex in ChatGPT plans covers interactive use; scripts and CI pay the OpenAI API per token.