OpenAI API pricing
As of October 20, 2026, the OpenAI API prices run from $0.09 to $600.00 per million output tokens across 65 models, as listed on OpenRouter. gpt-oss-20b is the cheapest paid model at $0.018 input and $0.09 output per million tokens, and o1-pro the most expensive at $150.00 input and $600.00 output.
GPT-6 Astra ranks first among OpenAI models in our Vibe Coding Index, at 88.7 on 2 benchmarks. 33 of 65 OpenAI models have any benchmark score. Cost per solved task is known for 19 of 65 models.
| Model | Input $/Mtok | Output $/Mtok | Context | Evidence | Index | Cost per solved task |
|---|---|---|---|---|---|---|
| GPT-6.1 Sol | $2.00 | $10.00 | 1.05M | 88.7 | No run cost | |
| GPT-6.1 Sol Pro | $2.00 | $10.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-6 Luna | $0.10 | $0.50 | 1.05M | 71.4 | No run cost | |
| GPT-6 Luna Pro | $0.10 | $0.50 | 1.05M | Not benchmarked | No run cost | |
| GPT-6 Sol | $2.00 | $10.00 | 1.05M | 82.8 | No run cost | |
| GPT-6 Sol Pro | $2.00 | $10.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-6 Astra | $10.00 | $50.00 | 1.05M | 88.7 | No run cost | |
| GPT-6 Astra Pro | $10.00 | $50.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-5.6 Luna | $0.20 | $1.20 | 1.05M | 61.5 | $0.04 | |
| GPT-5.6 Luna Pro | $0.20 | $1.20 | 1.05M | Not benchmarked | No run cost | |
| GPT-5.6 Sol | $4.00 | $20.00 | 1.05M | 76.7 | $1.20 | |
| GPT-5.6 Sol Pro | $4.00 | $20.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-5.6 Terra | $2.00 | $12.00 | 1.05M | 69.0 | $0.42 | |
| GPT-5.6 Terra Pro | $2.00 | $12.00 | 1.05M | Not benchmarked | No run cost | |
| GPT Chat Latest | $5.00 | $30.00 | 400K | Not benchmarked | No run cost | |
| GPT-5.5 | $5.00 | $30.00 | 1.05M | 67.8 | $1.65 | |
| GPT-5.5 Pro | $30.00 | $180.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-5.4 Image 2 | $8.00 | $15.00 | 272K | Not benchmarked | No run cost | |
| GPT-5.4 Mini | $0.75 | $4.50 | 400K | 28.2 | $0.70 | |
| GPT-5.4 Nano | $0.20 | $1.25 | 400K | Not benchmarked | $0.14 | |
| GPT-5.4 | $2.50 | $15.00 | 1.05M | 37.7 | $1.02 | |
| GPT-5.4 Pro | $30.00 | $180.00 | 1.05M | Not benchmarked | No run cost | |
| GPT-5.3-Codex | $1.75 | $14.00 | 400K | 29.5 | $0.59 | |
| GPT Audio | $2.50 | $10.00 | 128K | Not benchmarked | No run cost | |
| GPT Audio Mini | $0.60 | $2.40 | 128K | Not benchmarked | No run cost | |
| GPT-5.2-Codex | $1.75 | $14.00 | 400K | 55.1 | $0.43 | |
| GPT-5.2 | $1.75 | $14.00 | 400K | 58.9 | $1.91 | |
| GPT-5.2 Chat | $1.75 | $14.00 | 128K | Not benchmarked | No run cost | |
| GPT-5.2 Pro | $21.00 | $168.00 | 400K | Not benchmarked | No run cost | |
| GPT-5.1-Codex-Max | $1.25 | $10.00 | 400K | Not benchmarked | No run cost | |
| GPT-5.1 | $1.25 | $10.00 | 400K | 53.3 | $1.02 | |
| GPT-5.1-Codex | $1.25 | $10.00 | 400K | 50.5 | $0.892 | |
| GPT-5.1-Codex-Mini | $0.25 | $2.00 | 400K | 6.2 | No run cost | |
| gpt-oss-safeguard-20b | $0.075 | $0.30 | 131K | Not benchmarked | No run cost | |
| GPT-5 Image Mini | $2.50 | $2.00 | 400K | Not benchmarked | No run cost | |
| GPT-5 Image | $10.00 | $10.00 | 400K | Not benchmarked | No run cost | |
| GPT-5 Pro | $15.00 | $120.00 | 400K | Not benchmarked | No run cost | |
| GPT-5 | $1.25 | $10.00 | 400K | 72.2 | $0.39 | |
| GPT-5 Mini | $0.25 | $2.00 | 400K | 59.8 | $0.08 | |
| GPT-5 Nano | $0.05 | $0.40 | 400K | 34.8 | $0.109 | |
| gpt-oss-120b | $0.15 | $0.60 | 131K | 34.5 | $0.51 | |
| gpt-oss-20b | $0.018 | $0.09 | 131K | Not benchmarked | No run cost | |
| o3 Pro | $20.00 | $80.00 | 200K | 84.9 | No run cost | |
| o3 | $2.00 | $8.00 | 200K | 70.7 | $0.571 | |
| o4 Mini | $1.10 | $4.40 | 200K | 68.6 | No run cost | |
| o4 Mini High | $1.10 | $4.40 | 200K | Not benchmarked | No run cost | |
| GPT-4.1 | $2.00 | $8.00 | 1.05M | 46.5 | $0.37 | |
| GPT-4.1 Mini | $0.40 | $1.60 | 1.05M | 28.5 | $1.818 | |
| GPT-4.1 Nano | $0.10 | $0.40 | 1.05M | 8.9 | No run cost | |
| o1-pro | $150.00 | $600.00 | 200K | Not benchmarked | No run cost | |
| o3 Mini High | $1.10 | $4.40 | 200K | Not benchmarked | No run cost | |
| o3 Mini | $1.10 | $4.40 | 200K | 52.1 | No run cost | |
| o1 | $15.00 | $60.00 | 200K | 61.7 | No run cost | |
| GPT-4o (2024-11-20) | $2.50 | $10.00 | 128K | 18.2 | No run cost | |
| GPT-4o (2024-08-06) | $2.50 | $10.00 | 128K | 23.1 | No run cost | |
| GPT-4o-mini | $0.15 | $0.60 | 128K | Not benchmarked | No run cost | |
| GPT-4o-mini (2024-07-18) | $0.15 | $0.60 | 128K | 3.6 | No run cost | |
| GPT-4o | $2.50 | $10.00 | 128K | 38.8 | No run cost | |
| GPT-4o (2024-05-13) | $5.00 | $15.00 | 128K | Not benchmarked | No run cost | |
| GPT-4 Turbo | $10.00 | $30.00 | 128K | Not benchmarked | No run cost | |
| GPT-3.5 Turbo (older v0613) | $1.00 | $2.00 | 4K | Not benchmarked | No run cost | |
| GPT-3.5 Turbo Instruct | $1.50 | $2.00 | 4K | Not benchmarked | No run cost | |
| GPT-3.5 Turbo 16k | $3.00 | $4.00 | 16K | Not benchmarked | No run cost | |
| GPT-3.5 Turbo | $0.50 | $1.50 | 16K | Not benchmarked | No run cost | |
| GPT-4 | $30.00 | $60.00 | 8K | 22.4 | No run cost |
Price changes
No price change recorded since we started tracking on October 15, 2026. We keep a snapshot of every OpenRouter price each time the data refreshes, and a change appears here the day it happens.
OpenAI API pricing questions
- How much does the ChatGPT API API cost?
- The OpenAI API charges per token, with input and output priced separately. On October 20, 2026, gpt-oss-20b cost $0.018 input and $0.09 output per million tokens and o1-pro cost $150.00 input and $600.00 output, as listed on OpenRouter.
- Which OpenAI model is best for coding?
- GPT-6 Astra ranks first among OpenAI models in our Vibe Coding Index, at 88.7 on 2 benchmarks. The index combines public coding benchmarks. We do not run our own.
- What does a working OpenAI answer cost?
- GPT-5.6 Luna costs $0.04 per solved SWE-bench task, the lowest known for OpenAI. Cost per solved task is known for 19 of 65 models.
- Has OpenAI changed its API prices?
- We have no recorded change. Price tracking started on October 15, 2026, and a change appears on this page the day a snapshot shows one.
- Is this the price of the OpenAI subscription?
- No. These are API prices, billed per token. Consumer and team subscriptions are billed per seat and are not in our data.