GPT-6 API Pricing: Luna, 6.1 Sol and 6.2 Sol Costs

GPT-6 API pricing per 1M tokens for GPT-6 Luna, 6.1 Sol and 6.2 Sol: input, output and cache rates in USD, plus worked costs for a chatbot and a coding session.

GoiAPI · · 12 min read

Ask AI and more
View as Markdown

Cover card showing the model names gpt-6-luna, gpt-6.1-sol and gpt-6.2-sol, each with input, output, cache read and cache write labels, priced per 1M tokens in USD

GPT-6 API pricing is per million tokens, billed separately for input, output, cache reads and cache writes. OpenAI lists gpt-6-luna at $0.10 input and $0.50 output per million tokens, and gpt-6.1-sol and gpt-6.2-sol at $2 and $10, for prompts up to 272,000 tokens. On GoiAPI, GPT-6 Luna costs $0.0208 input and $0.1248 output, and both Sol models cost $0.13 and $0.78 (all prices checked on December 5, 2026).

This page puts both price lists side by side, explains why GPT prices you find online disagree, and works through four examples, from a single short question to an hour-long coding session, so you can estimate a real monthly bill instead of guessing from per-token rates.

GPT-6 API pricing at a glance (December 2026)

OpenAI list prices for GPT-6 Luna, 6.1 Sol and 6.2 Sol

From the OpenAI API pricing page, Standard tier, checked on December 5, 2026, in USD per million tokens:

ModelInputCached input30-minute cache write12-hour cache writeOutput
gpt-6-luna, prompt up to 272K tokens$0.10$0.01$0.125$0.25$0.50
gpt-6-luna, prompt over 272K tokens$0.20$0.02$0.25$0.50$0.75
gpt-6.1-sol / gpt-6.2-sol, up to 272K$2.00$0.10$2.50$5.00$10.00
gpt-6.1-sol / gpt-6.2-sol, over 272K$4.00$0.20$5.00$10.00$15.00

Other details on the same page that change the bill:

  • Long prompts cost more. Requests with more than 272,000 input tokens are priced at the long-context rates in the second and fourth rows.
  • Batch is 50% off. gpt-6.1-sol drops to $1 input and $5 output; gpt-6-luna to $0.05 and $0.25. Batch jobs run asynchronously, so they only suit work that does not need an immediate answer.
  • Flex is being wound down. OpenAI says it will not add Flex to new models.

GoiAPI prices for the GPT-6 models

GoiAPI offers exactly three GPT models today: gpt-6-luna, gpt-6.1-sol and gpt-6.2-sol. GPT-5.x and the Astra models are not available, so ignore those if you are comparing tables. Rates from GoiAPI pricing, checked on December 5, 2026, in USD per million tokens:

Token typeGPT-6 LunaGPT-6.1 SolGPT-6.2 Sol
Input$0.0208$0.13$0.13
Output$0.1248$0.78$0.78
Cache read$0.002106$0.013026$0.013026
Cache write$0.026$0.1625$0.1625

How to read it:

  • Output costs six times as much as input on all three models, so long answers drive the bill more than long questions.
  • Sol costs 6.25 times as much as Luna for input and output.
  • 6.1 Sol and 6.2 Sol cost the same. The choice between them is about results, not price.
  • One rate per model. GoiAPI has no 272K long-context tier and one cache-write column instead of two.

Billing rules from the same page: you pay for the tokens each request actually uses, each request that returns content has a small minimum charge that only matters for very short requests, and a request that fails without returning any content is not charged unless you cancel it yourself. There is no monthly fee.

What $1 buys on each GPT-6 model

Computed from the GoiAPI table above, before per-request minimums:

Model$1 of input only$1 of output only
GPT-6 Lunaabout 48 million tokensabout 8 million tokens
GPT-6.1 Sol / GPT-6.2 Solabout 7.7 million tokensabout 1.3 million tokens

Real requests mix both, so your number lands somewhere between the two columns.

How GPT-6 API billing works

The cost of one request is:

TEXT
cost = ( uncached input tokens × input price
       + cached input tokens   × cache read price
       + cache write tokens    × cache write price
       + output tokens         × output price ) ÷ 1,000,000

A quick check on GoiAPI rates: 1,000 input tokens on GPT-6 Luna cost $0.0000208 and 1,000 output tokens cost $0.0001248. On GPT-6.1 Sol the same amounts cost $0.00013 and $0.00078. If you want a refresher on what counts as a token, read AI API tokens and what 1M tokens costs.

Three things make the real bill differ from a back-of-the-envelope estimate:

  • Reasoning tokens are billed as output. OpenAI's reasoning guide (checked December 5, 2026) says reasoning tokens are not visible through the API but still take up context and are billed as output tokens. A hard question can produce far more output than the visible answer suggests. You can lower this with reasoning.effort in the Responses API or reasoning_effort in Chat Completions; which values each model accepts is listed in OpenAI's docs (for example, GPT-6.1 Sol does not accept none or minimal).
  • Tools and agents add fixed input. Coding agents send their own instructions and tool definitions with every request. In our December 3, 2026 test, Claude Code running gpt-6.1-sol through GoiAPI reported 14,684 input tokens and 11 output tokens for a one-line arithmetic question, about $0.0019 at GoiAPI prices by our own calculation, with no cached tokens on that turn. The full test is in Claude Code Router: use GPT, DeepSeek and GLM models.
  • The minimum charge can dominate tiny requests. A short question billed at a few dozen tokens costs a tiny fraction of a cent in token terms, so the small per-request minimum may be larger than the token cost.

Why GPT API prices disagree across websites

Search for GPT-6 pricing and you will find several numbers for the same model. On December 5, 2026, the main reasons were:

  1. Batch or Flex rates shown as the headline. Some aggregators list GPT-6.1 Sol "from $1.00 input". That is the Batch rate; the Standard rate is $2.
  2. Short and long context mixed up. Above 272K input tokens, OpenAI doubles the input and cache rates and raises output by 1.5 times.
  3. Outdated or promotional prices. GPT models and prices change with each release, and OpenAI also runs temporary rates (for example Ultrafast on GPT-6.2 until February 28, 2027), so a post from a few months ago may already be wrong.
  4. Model names mixed up. GPT-6 Sol, GPT-6.1 Sol, GPT-6.2 Sol, the Astra models and the GPT-5.x models are different models with different prices.
  5. Different cache-write durations. OpenAI prices 30-minute and 12-hour cache writes differently, and some tables show only one.

That is why every number on this page carries a check date. Confirm on the GoiAPI pricing page or OpenAI's page before you budget.

GPT-6 API cost examples

Every example below is calculated from the two price tables above, not measured, except where it says otherwise. GoiAPI figures exclude the per-request minimum charge. The OpenAI column uses Standard rates for prompts under 272K tokens and 30-minute cache writes.

Example 1: an English paragraph (measured token count)

On December 3, 2026 we sent a 112-word English paragraph (607 characters) to GPT-6 Luna through /v1/chat/completions and the response reported 144 input tokens, about 1.29 tokens per word including message framing. Priced as input only, that is 144 × $0.0208 ÷ 1,000,000 ≈ $0.000003 on GoiAPI, likely less than the per-request minimum charge. For tiny requests, the token price barely matters; check the real amount in Request history.

Example 2: a typical chat turn (assumed)

Each request has 2,000 input tokens (instructions, a few earlier turns and the question) and 500 output tokens, with no caching. This matches the default example on the API cost calculator.

ModelGoiAPI, 1 requestGoiAPI, 1,000 requestsOpenAI list, 1,000 requests
GPT-6 Luna$0.000104$0.104$0.45
GPT-6.1 Sol / 6.2 Sol$0.00065$0.65$9.00

Example 3: a support chatbot with prompt caching (assumed)

Each message re-reads 3,000 tokens of instructions and FAQ from the cache, adds 300 new input tokens and returns 250 output tokens. The few cache writes per day are left out.

TEXT
GPT-6 Luna on GoiAPI, per message:  (3,000 × 0.002106 + 300 × 0.0208 + 250 × 0.1248) ÷ 1,000,000 ≈ $0.0000438
GPT-6.1 Sol on GoiAPI, per message: (3,000 × 0.013026 + 300 × 0.13 + 250 × 0.78) ÷ 1,000,000     ≈ $0.000273
VolumeLuna, GoiAPISol, GoiAPILuna, OpenAI listSol, OpenAI list
1,000 messages/day≈ $0.044/day≈ $0.27/day≈ $0.19/day≈ $3.40/day
1,000 messages/day × 30 days≈ $1.31/month≈ $8.19/month≈ $5.55/month≈ $102/month

Without caching, each Luna message on GoiAPI would cost about $0.0001, roughly 2.3 times as much. We have not measured cache hit rates for GPT models in a long-running chatbot, so treat the cache share as an assumption.

Example 4: a one-hour coding session (assumed)

Assume a session in Codex CLI or Cline of about 40 requests that adds up to 1,200,000 cache-read tokens (the conversation so far, re-read each turn), 150,000 cache-write tokens, 60,000 new input tokens and 40,000 output tokens, reasoning included. Each request stays under 272K tokens.

Token typeTokensLuna, GoiAPISol, GoiAPILuna, OpenAI listSol, OpenAI list
Cache read1,200,000$0.0025$0.0156$0.012$0.12
Cache write150,000$0.0039$0.0244$0.0188$0.375
Input60,000$0.0012$0.0078$0.006$0.12
Output40,000$0.0050$0.0312$0.02$0.40
Total≈ $0.013≈ $0.079≈ $0.057≈ $1.02

Without caching, all 1,410,000 input-side tokens would be billed at the normal input rate: about $0.21 for the Sol session on GoiAPI and about $3.22 at OpenAI list prices. Your sessions may be much larger or smaller depending on the repository and how many files the agent reads. To set up Codex with your own key, see the Codex CLI custom provider guide.

Track your real cost from the usage field

Every OpenAI-format response includes a usage object. This snippet uses the openai Python library pointed at GoiAPI and turns usage into a cost estimate. We have not run this exact snippet end to end for this article; the request shape follows GoiAPI's Chat Completions docs.

PYTHON
import os
from openai import OpenAI

# USD per 1M tokens, from goiapi.com/en/pricing on December 5, 2026
PRICES = {
    "gpt-6-luna":  {"input": 0.0208, "output": 0.1248, "cache_read": 0.002106},
    "gpt-6.1-sol": {"input": 0.13,   "output": 0.78,   "cache_read": 0.013026},
    "gpt-6.2-sol": {"input": 0.13,   "output": 0.78,   "cache_read": 0.013026},
}

client = OpenAI(
    base_url="https://api.goiapi.com/v1",
    api_key=os.environ["GOIAPI_API_KEY"],  # sk-...
)

model = "gpt-6-luna"
resp = client.chat.completions.create(
    model=model,
    messages=[{"role": "user", "content": "Explain prompt caching in two sentences."}],
    max_tokens=300,
)

u = resp.usage
cached = (u.prompt_tokens_details.cached_tokens or 0) if u.prompt_tokens_details else 0
p = PRICES[model]
cost = ((u.prompt_tokens - cached) * p["input"]
        + cached * p["cache_read"]
        + u.completion_tokens * p["output"]) / 1_000_000
print(resp.choices[0].message.content)
print(f"input {u.prompt_tokens} (cached {cached}), output {u.completion_tokens}, ~${cost:.6f}")

In OpenAI's usage format, prompt_tokens already includes the cached tokens, which is why the snippet subtracts them before applying the input rate. The snippet does not count cache-write tokens, so it under-estimates requests that write to the cache. The amount GoiAPI actually deducts, including any minimum charge, is on the Request history page in the dashboard.

Two habits that keep spending predictable:

  • Always set max_tokens. According to limits and balance, GoiAPI reserves funds based on this value before calling the model and releases the unused part afterwards, so a sensible cap keeps requests from being rejected when your balance is low. Leave headroom on reasoning-heavy prompts, because reasoning tokens count toward it.
  • Set a spending limit on each API key so a runaway loop cannot drain your balance.

Which GPT-6 model to use: Luna or Sol

Luna has the lowest per-token rates of the three GPT models on GoiAPI. Per-token price is not the same as cost per finished task, though: if Luna gets an answer wrong and you rerun it on Sol, you pay twice.

TaskTry firstWhy
FAQ chatbot, classification, extraction, short translationGPT-6 LunaRepetitive work, short answers, high volume
Summaries and first draftsGPT-6 Luna, move to Sol if quality falls shortTest on your own data first
Multi-file coding, long documents, multi-step reasoningGPT-6.1 Sol or GPT-6.2 SolWrong answers you have to rerun also cost tokens

Between 6.1 Sol and 6.2 Sol, the price is identical on GoiAPI, so pick whichever performs better on your prompts. A practical method: run the same 20 to 30 real prompts through each model, compare the answers, and read the cost of each request in Request history. For the Claude side of the same comparison, see Claude API pricing for Opus 5.5 and Haiku 5.5.

GPT API vs a ChatGPT Plus subscription

OpenAI's Help Center describes ChatGPT Plus as a $20/month plan for the ChatGPT app and states that API usage is separate and billed independently (What is ChatGPT Plus?, checked December 5, 2026). A Plus subscription does not give you an API key, and paying for the API does not unlock Plus. Some tools, including Codex, also accept a ChatGPT sign-in and draw from the Plus allowance instead of API billing. Use the API when you want per-token billing from your own code or from any tool that takes an API key, such as Cline or n8n.

How to pay for GPT-6 API access on GoiAPI

  1. Create a GoiAPI account and open Top up in the dashboard.
  2. Top up with USDT (TRC20 or BEP20) or Binance Pay, from 5 to 4,000 USDT at a time; 1 USDT adds 1 USD to your balance once the payment is confirmed. No credit card and no monthly fee.
  3. Create an API key (it looks like sk-... and is shown once) and, if you like, set a spending limit on it.
  4. Point your client at https://api.goiapi.com/v1 and use gpt-6-luna, gpt-6.1-sol or gpt-6.2-sol as the model name. The quickstart walks through the first request.

Top-ups are final and cannot be refunded or withdrawn (see the refund policy), so top up only what you plan to use: estimate with the examples above, start small, and add more when you need it. If a card is what stops you from using the OpenAI platform, read how to use the OpenAI API without a credit card; if you are seeing "You exceeded your current quota", the insufficient_quota error guide explains the causes.

FAQ

How much does the GPT-6 API cost per million tokens?

On OpenAI's list (checked December 5, 2026): gpt-6-luna is $0.10 input and $0.50 output; gpt-6.1-sol and gpt-6.2-sol are $2 and $10, for prompts up to 272,000 tokens. On GoiAPI (checked the same day): GPT-6 Luna is $0.0208 and $0.1248; both Sol models are $0.13 and $0.78.

Is GPT-6.2 Sol more expensive than GPT-6.1 Sol?

No. Both have the same rates on OpenAI's list and on GoiAPI. Choose based on the results you get on your own tasks.

Are reasoning tokens charged?

Yes. OpenAI bills reasoning tokens as output tokens even though they are not returned in the response. In our short-question test on December 3, 2026, the three GPT models on GoiAPI produced no reasoning tokens, but harder prompts can produce many, so check usage on real requests.

Does a ChatGPT Plus subscription include API credits?

No. OpenAI states that API usage is separate from Plus and billed independently. (ChatGPT Pro and Business plans do include monthly API credits, per OpenAI's API credits benefit for eligible ChatGPT subscriptions page, checked December 5, 2026.)

Why is my real cost higher than the per-token estimate?

Usually one of three reasons: the per-request minimum charge on very short requests, the instructions and tool definitions that agents like Codex send with every turn, or reasoning tokens counted as output. Compare individual requests on the Request history page to find out which.

GoiAPI sells API access to the models mentioned in this article.

Related posts