Running an OpenAI model through the API costs a fraction of a cent for most everyday tasks. In my measurements, GPT-6 Luna was the cheapest of the five OpenAI tiers on all five jobs I tested: 0.06¢ for a chat answer and 0.31¢ for a 500-line code review. GPT-6.1 Sol and GPT-6 Astra cost more per task, and the gap widens as the job gets bigger.
These are API costs per task, not consumer subscription prices. For the subscription side, see /plans/.
The five OpenAI tiers
List prices per 1M tokens from the official pricing page, with context window and reasoning mode:
| Model | Input | Output | Cached input | Context | Reasoning |
|---|---|---|---|---|---|
| GPT-5.4 Nano | $0.20 | $1.25 | $0.02 | 400,000 | default |
| GPT-5.4 Mini | $0.75 | $4.50 | $0.075 | 400,000 | default |
| GPT-6 Luna | $0.10 | $0.50 | $0.01 | 1,050,000 | default |
| GPT-6.1 Sol | $2.00 | $10.00 | $0.10 | 1,050,000 | always |
| GPT-6 Astra | $10.00 | $50.00 | $1.00 | 1,050,000 | always |
Nano, Mini and Luna default to reasoning, so the model decides when to think. Sol and Astra reason on every request.
Cost per task by job
Each cell is the cost of one task.
| Job | Nano | Mini | Luna | Sol | Astra |
|---|---|---|---|---|---|
| Chat answer | 0.15¢ | 0.53¢ | 0.06¢ | 0.67¢ | 3.4¢ |
| Email reply | 0.02¢ | 0.06¢ | <0.01¢ | 0.18¢ | 0.89¢ |
| Invoice extraction | 0.08¢ | 0.28¢ | 0.03¢ | 0.52¢ | 2.6¢ |
| RAG answer (5 documents) | 0.12¢ | 0.43¢ | 0.05¢ | 1.2¢ | 5.9¢ |
| Code review (500 lines) | 0.75¢ | 2.7¢ | 0.31¢ | 4.9¢ | 24¢ |
For reference, the median of all 324 models was 0.24¢ for a chat answer and 1.3¢ for a code review. On chat, Nano, Luna and Mini sit below that median, while Sol and Astra sit above it. On code review, Nano, Mini and Luna are also at or below the median, and Sol and Astra are well above it.
Only some of these figures come from actual runs. Luna and Sol are measured on every job. Nano, Mini and Astra are estimated. The code review table for these models:
| # | Model | Cost per task | WebDev score | Tokens in / out | Basis | |
|---|---|---|---|---|---|---|
| 1 | GLM 5.3 FlashZ.ai | ≥0.14¢$1.44 / 1,000 | 1607 | 4,532 / 16,000 | measured best value capped | |
| 2 | GPT-6 LunaOpenAI | 0.31¢$3.08 / 1,000 | 1579 | 4,557 / 5,258 | measured | |
| 3 | DeepSeek V4.1 FlashDeepSeek | ≥0.34¢$3.43 / 1,000 | 1619 | 4,801 / 16,000 | measured best value capped | |
| 4 | Llama 4 MaverickMeta | 0.43¢$4.29 / 1,000 | 1327 | 4,805 / 2,611 | estimated | |
| 5 | MiMo-V2.6-ProXiaomi | 0.44¢$4.36 / 1,000 | 1625 | 4,805 / 2,611 | estimated best value |
Why cost per task rises faster than list price
A task costs the input tokens, plus the output tokens, plus hidden reasoning tokens, each at its own price. Reasoning tokens are billed as output tokens, so a model that thinks a lot costs more than its list price suggests. Output is also priced several times higher than input.
Same tokens, different prices
Sol and Astra used identical token counts on code review: 4,557 input, 1,135 output and 2,843 reasoning. Sol cost 4.9¢ and Astra cost 24¢. Input is $2.00 versus $10.00 per 1M tokens, and output is $10.00 versus $50.00. The price ratio carries straight through to the task.
Nano and Luna show it on chat answers. Both used 45 input, 540 output and 639 reasoning tokens. Nano cost 0.15¢ and Luna 0.06¢, because Nano charges $0.20 input and $1.25 output against Luna's $0.10 and $0.50.
Output-heavy tasks amplify the gap
Chat and code review are dominated by output and reasoning tokens, which carry the higher price. On the email reply, Sol and Astra used no reasoning tokens, yet Sol still cost 0.18¢ against Luna's under 0.01¢. As the task grows, the fixed price multiple turns into a larger absolute gap: Astra costs 24¢ on code review against 0.89¢ on an email reply.
Reasoning mode changes token counts
Token counts differ between tiers, so list price alone does not predict the bill. On code review, Luna used 4,921 reasoning tokens against Sol's 2,843, and still cost only 0.31¢ because its per-token prices are so low. Measure your own task rather than extrapolating from the price page.
Context window is not the cost driver
The RAG task used 3,690 input tokens, far below the 400,000-token window of Nano and Mini and the 1,050,000-token window of Luna, Sol and Astra. Context sets how much you can fit, not what a typical task costs. It matters for whole books or large codebases.
Which OpenAI tier is cheapest for each job
GPT-6 Luna wins every job, and GPT-5.4 Nano is second on each:
- Chat answer: Luna at 0.06¢, then Nano at 0.15¢.
- Email reply: Luna at under 0.01¢, then Nano at 0.02¢.
- Invoice extraction: Luna at 0.03¢, then Nano at 0.08¢.
- RAG answer: Luna at 0.05¢, then Nano at 0.12¢.
- Code review: Luna at 0.31¢, then Nano at 0.75¢.
Luna also has the higher LMArena Text score of the two: 1441 against Nano's 1401. GPT-5.4 Mini scores 1447, Sol 1481 and Astra 1476. Astra costs more per task than Sol on every job yet scores lower on LMArena, so I see little reason to choose it on price or score. Pay for Sol only if your output quality needs it.
Method
Measured tasks ran once with default settings through OpenRouter, with output capped at 16,000 tokens. Reasoning tokens are billed as output. The code review used CPython's textwrap.py (497 lines). For the full method, see /methodology/.
To run your own numbers, use the /calculator/. Task pages: /tasks/code-review/, /tasks/extract-invoice-data/ and /tasks/rag-answer/. Model pages: /models/gpt-6-luna/ and /models/gpt-6-1-sol/.
FAQ
Is this what ChatGPT costs me?
No. ChatGPT subscriptions are priced separately from the API. These numbers are what you pay per task when you call the models directly.
Why is GPT-6 Luna cheaper than GPT-5.4 Nano?
Luna's list prices are lower: $0.10 input and $0.50 output per 1M tokens, against Nano's $0.20 and $1.25. It also has the higher LMArena Text score, 1441 against 1401.
Should I always pick the cheapest tier?
Not necessarily. Sol scores higher on LMArena at 1481, but costs more per task. Test the tier on your own inputs, because reasoning tokens can change the bill.