Blog

GPT-5.6 Sol API Pricing (2026): Token Costs and Code

Unicorn API Team · · 10 min read

GPT 5.6 Sol API pricing compared with Terra and Luna as three bars of credit cost per million tokens

GPT 5.6 Sol API pricing comes down to four numbers: what you pay per million input tokens, per million output tokens, per million cached input tokens and per million cache-write tokens. Once you know those four rates and roughly how many tokens your requests use, you can predict your bill to the cent. This post gives you the rates, shows how GPT 5.6 Sol compares with its cheaper siblings and with the newer GPT 6.2 models, walks through a worked cost estimate, and ends with code that prices every call from the usage the model reports.

A quick definition first. A token is the unit language models read and write: a chunk of text that is often a short word or part of a longer one. Input tokens are everything you send (system prompt, conversation history, documents, tool definitions). Output tokens are everything the model generates back.

What is GPT 5.6 Sol API pricing?

GPT-5.6 Sol is the top-priced tier of OpenAI’s GPT-5.6 family, which launched on July 10, 2026 alongside GPT 5.6 Terra and GPT 5.6 Luna. On Unicorn API you pay for it in credits, and the GPT 5.6 Sol API pricing looks like this:

Token typeCredits per 1M tokensAt plan rate ($0.01/credit)At top-up rate ($0.015/credit)
Input280$2.80$4.20
Output1,680$16.80$25.20
Cached input28$0.28$0.42
Cache write350$3.50$5.25

Two things about how this works in practice:

  • Credits, not invoices per model. Monthly plans (Starter $25, Creator $50, Studio $100, Pro $200) give you credits at $0.01 each. Top-ups cost $0.015 per credit and never expire. The same balance pays for chat, image, video and audio models. Details are on the pricing page.
  • You pay for what the model reports. After each request, the exact cost is debited from the token usage the model returns. If you send a short prompt and get a short answer, you pay for exactly that, with no rounding up to a minimum.

Why other GPT-5.6 Sol price pages disagree

If you searched for GPT 5.6 Sol API pricing before landing here, you probably saw several different figures. There are three reasons. OpenAI has changed its own list price for Sol since launch, so older pages show older numbers. Some pages quote batch rates, which apply to delayed, bulk processing and are lower than real-time rates. And some quote cached input as if it were the headline price. When you compare, make sure you are comparing real-time input with real-time input, and output with output. Output is where most of the money goes.

GPT-5.6 Sol vs Terra vs Luna: how the tiers compare

All three GPT-5.6 models accept the same request fields: messages, tools, tool_choice, stream, max_tokens, temperature, top_p, stop, response_format and reasoning_effort. Switching tiers is a one-word change to the model field. What changes is the price.

ModelInput (credits/1M)Output (credits/1M)Cached input (credits/1M)Cache write (credits/1M)
GPT 5.6 Sol2801,68028350
GPT 5.6 Terra11267211.2140
GPT 5.6 Luna11.267.21.1214

The ratios are clean and consistent across every token type:

  • Sol costs exactly 2.5x Terra.
  • Terra costs exactly 10x Luna.
  • Sol therefore costs 25x Luna.

That 25x gap is the most useful fact in the whole GPT 5.6 Sol API pricing picture. It means a task that Luna can handle reliably should almost never go to Sol. Classification, extraction, short rewrites and routing decisions are good candidates for testing on Luna first. Sol earns its price on the requests where cheaper tiers produce wrong or unusable answers in your own testing, not on the requests where they merely produce slightly different ones.

Output is 6x the input rate on all three tiers (1,680 / 280 = 6). If your workload is “read a lot, write a little”, like summarising long documents into a few bullet points, input dominates the bill. If it is “read a little, write a lot”, like drafting long reports or generating code, output dominates.

Bar chart comparing input and output credit rates for GPT-5.6 Sol, Terra and Luna
Sol costs 2.5x Terra and 25x Luna on every token type.

How to estimate the cost of a GPT-5.6 Sol request

The formula is simple:

credits = (input_tokens   × input_rate
         + output_tokens  × output_rate
         + cached_tokens  × cached_rate
         + cache_writes   × cache_write_rate) / 1,000,000

Worked example: a support-reply assistant

Say each request sends 2,000 input tokens (system prompt, a short conversation and some help-centre text) and gets back 800 output tokens. No caching yet. Here is what one call costs on each tier:

ModelInput costOutput costTotal creditsApprox. $ at plan rateCalls per 20,000 credits
GPT 5.6 Sol0.561.3441.904$0.019about 10,500
GPT 5.6 Terra0.2240.53760.7616$0.0076about 26,260
GPT 5.6 Luna0.02240.053760.07616$0.00076about 262,600

20,000 credits is what the $200 Pro plan includes each month. On that budget, this workload gets roughly 10,500 Sol replies, 26,000 Terra replies or 262,000 Luna replies. Notice that output is about 70% of the Sol cost even though the reply is less than half the size of the prompt. That is the 6x output multiplier at work.

Get the exact price before you run it

Estimates are useful for planning, but you do not have to guess. Unicorn API exposes POST /v1/models/price, which returns the exact price of a request before you send it. The request format is in the API documentation. It is handy in a cost dashboard, or as a guard that refuses to run anything above a budget.

Cached input and cache writes: the biggest discount in GPT 5.6 Sol API pricing

Prompt caching means the provider stores the processed form of a long prompt prefix, such as a system prompt or a reference document, so repeat requests that start with the same text do not have to be processed from scratch. You pay a write rate when the cache is created and a much lower read rate when it is reused.

For Sol, cached input costs 28 credits per million tokens versus 280 for normal input: a 90% discount. A cache write costs 350 credits per million, which is 25% more than normal input. So caching costs a little extra once and saves a lot afterwards.

Worked example: a 50,000-token reference document

Imagine a contract-review tool that sends the same 50,000-token policy document with every question.

  • Without caching: 50,000 × 280 / 1M = 14 credits of input per question.
  • First call with caching: 50,000 × 350 / 1M = 17.5 credits to write the cache.
  • Every later call: 50,000 × 28 / 1M = 1.4 credits to read it.

After just the second question you are ahead: 17.5 + 1.4 = 18.9 credits versus 28 without caching. Over 100 questions against the same document, input drops from 1,400 credits to about 156. In real GPT 5.6 Sol API pricing, this is the single biggest lever you control.

To benefit, keep the stable part of your prompt at the start and identical from call to call. Put the system prompt and the reference material first, the user’s specific question last. Changing even a timestamp near the top of the prompt can break the match and send you back to full price. Check the cached token count in the usage the model returns to confirm it is working.

Diagram of a cache write on the first request and cheaper cached reads on repeat requests
Pay a little more once to write the cache, then about 90% less on every repeat read.

Calling GPT-5.6 Sol through Unicorn API (with code)

The chat endpoint is OpenAI-compatible, so existing OpenAI client code usually works with a changed base URL and key. Create a key on the API keys page and export it as UNICORN_API_KEY. If you want to try prompts before writing code, the browser playground runs the same models.

Minimal curl request

curl https://api.unicornapi.net/v1/chat/completions \
  -H "Authorization: Bearer $UNICORN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-6-sol",
    "messages": [{"role": "user", "content": "Write one sentence about unicorns."}],
    "max_tokens": 200
  }'

Python: call any GPT-5.6 tier and price the result

This script sends the same prompt to the tier you choose, reads the reported usage and converts it to credits and dollars using the rates in this post. It reads cached tokens defensively, since a response only includes them when caching applied.

import os
import requests

API_URL = "https://api.unicornapi.net/v1/chat/completions"
HEADERS = {
    "Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
    "Content-Type": "application/json",
}

# Credits per 1,000,000 tokens
RATES = {
    "gpt-5-6-sol":   {"input": 280,  "output": 1680, "cached": 28},
    "gpt-5-6-terra": {"input": 112,  "output": 672,  "cached": 11.2},
    "gpt-5-6-luna":  {"input": 11.2, "output": 67.2, "cached": 1.12},
}

def ask(model, prompt, max_tokens=800):
    body = {
        "model": model,
        "messages": [
            {"role": "system", "content": "You are a concise support assistant."},
            {"role": "user", "content": prompt},
        ],
        "max_tokens": max_tokens,
    }
    resp = requests.post(API_URL, headers=HEADERS, json=body, timeout=120)
    resp.raise_for_status()
    data = resp.json()

    usage = data.get("usage", {})
    prompt_tokens = usage.get("prompt_tokens", 0)
    output_tokens = usage.get("completion_tokens", 0)
    cached = (usage.get("prompt_tokens_details") or {}).get("cached_tokens", 0)
    uncached = prompt_tokens - cached

    r = RATES[model]
    credits = (uncached * r["input"]
               + cached * r["cached"]
               + output_tokens * r["output"]) / 1_000_000

    return data["choices"][0]["message"]["content"], {
        "input_tokens": prompt_tokens,
        "cached_tokens": cached,
        "output_tokens": output_tokens,
        "credits": round(credits, 4),
        "usd_plan_rate": round(credits * 0.01, 5),
    }

if __name__ == "__main__":
    question = "A customer was charged twice for one order. Draft a reply."
    for model in ["gpt-5-6-luna", "gpt-5-6-terra", "gpt-5-6-sol"]:
        answer, cost = ask(model, question)
        print(f"--- {model}: {cost}")
        print(answer[:300], "\n")

Running all three tiers on the same prompts is the cheapest way to decide whether Sol is worth it for your task. A few hundred representative prompts through all three tiers usually costs far less than one month of sending everything to the wrong tier. If you work inside Cursor or Claude Code, you can also reach these models through the MCP integration for agents.

The reasoning_effort setting

All GPT-5.6 tiers accept reasoning_effort. Higher effort lets the model think longer before answering, which tends to increase the tokens a request uses, and you pay for the usage the model reports. Set it per request: low for simple lookups, higher only where you have seen it improve answers. Also set max_tokens so a single runaway response cannot surprise you.

Is GPT 5.6 Sol worth it, or is a newer model better value?

Since GPT-5.6 launched in July, OpenAI has shipped another generation. GPT 6.2 Sol and GPT 6.2 Astra were released on November 19, 2026 (more in our GPT-6.2 launch coverage), and Google released Gemini 4 Neon on November 20, 2026. Here is how their rates sit next to GPT 5.6 Sol API pricing:

ModelInput (credits/1M)Output (credits/1M)Cached input (credits/1M)
GPT 6.2 Astra4802,40024
GPT 5.6 Sol2801,68028
Gemini 4 Neon2401,20012
GPT 6.2 Sol1206006
GPT 5.6 Terra11267211.2
GPT 5.6 Luna11.267.21.12

The striking row is GPT 6.2 Sol. It costs about 2.3x less than GPT 5.6 Sol on input and 2.8x less on output, and its cached input is under a quarter of the price. On the support-reply example above (2,000 in, 800 out), GPT 6.2 Sol costs 0.72 credits per call versus 1.904 for GPT 5.6 Sol. It is even slightly cheaper than GPT 5.6 Terra on output.

So when is GPT 5.6 Sol still the right call?

  • You have a validated pipeline. If your prompts, evaluations and output parsing were tuned against GPT 5.6 Sol and the results are good, switching models means re-testing. That cost is real, though worth paying once the savings are this large.
  • Your tests show it does better on your task. Newer is not automatically better for every prompt. Measure it.
  • You need stable behaviour for a while. Some teams prefer to stay on a model they know until a planned migration window.

For new projects, the honest advice is to include GPT 6.2 Sol in your evaluation before you commit to GPT-5.6 Sol. Because every model on Unicorn API shares one key and one credit balance, trying both costs nothing extra to set up. Gemini 4 Neon is also available through an OpenAI-compatible endpoint if you want a non-OpenAI option in the same test. For a broader view across providers, see our LLM API price comparison, or browse the full model catalog.

Common mistakes that inflate a GPT-5.6 Sol bill

  1. Sending every request to the top tier. The 25x gap between Sol and Luna means a simple router, cheap model first, Sol only for hard cases, can cut costs dramatically. Classify requests with Luna, then escalate.
  2. Ignoring output length. Output is 6x input. Asking for “a short answer in under 100 words” or using response_format to return compact JSON often saves more than trimming the prompt.
  3. Breaking the cache. Putting dynamic content (user names, dates, request IDs) at the top of the prompt means every call pays full input price or a fresh cache write. Keep the stable prefix stable.
  4. Resending full conversation history. Chat apps that append every turn grow input linearly. Summarise older turns or drop irrelevant ones.
  5. Leaving max_tokens unset. A model that rambles or loops costs output tokens at 1,680 credits per million on Sol. Cap it.
  6. Using top-up credits for steady workloads. Top-ups are $0.015 per credit; plan credits are $0.01. If your usage is predictable, a monthly plan is about a third cheaper per credit. Keep top-ups, which never expire, for spikes.
  7. Comparing the wrong numbers. When you weigh GPT 5.6 Sol API pricing against another provider, compare the same token type at the same mode. A batch rate or cached rate on one side and a real-time rate on the other will mislead you.

Putting GPT 5.6 Sol API pricing into a budget

A practical way to turn all of this into a monthly number:

  1. Measure a sample. Run 50 to 100 real requests and log prompt_tokens, completion_tokens and cached tokens from the usage field, as the Python script above does.
  2. Average them. Get mean input, cached and output tokens per request.
  3. Multiply by volume. Apply the per-million rates and multiply by expected requests per month.
  4. Pick a plan. Choose the monthly plan whose credits cover your baseline, and keep a top-up balance for overflow.
  5. Re-check after changes. New prompts, longer documents or higher reasoning_effort all move the numbers. Re-measure whenever you change them.

With the support-reply example, 5,000 Sol calls a month comes to about 9,520 credits, which the $100 Studio plan (10,000 credits) covers. The same volume on GPT 5.6 Terra is about 3,808 credits and fits the $50 Creator plan, and on Luna it is about 381 credits. That is the whole of GPT 5.6 Sol API pricing in one decision: know your token mix, cache what repeats, and send each request to the cheapest tier that does the job well.

Frequently asked questions

How expensive is GPT 5.6 Terra?

On Unicorn API, GPT 5.6 Terra costs 112 credits per million input tokens and 672 credits per million output tokens. At plan rates of $0.01 per credit, that is $1.12 and $6.72 per million. Cached input is 11.2 credits per million. Terra is exactly 2.5 times cheaper than GPT 5.6 Sol on every token type and 10 times more expensive than GPT 5.6 Luna.

Is GPT 5.6 Sol worth it?

GPT 5.6 Sol is worth it when you have tested it on your own prompts and Terra or Luna clearly fail at the task. It costs 2.5 times more than Terra per token. Also compare it with GPT 6.2 Sol, released November 19, 2026, which costs less per token on input, output and cached input. Run the same evaluation set through each before committing.

When was GPT-5.6 released?

The GPT-5.6 family, made up of Sol, Terra and Luna, is listed with a release date of July 10, 2026. All three tiers launched together and share the same request fields, including tools, streaming, structured output through response_format and a reasoning_effort setting. OpenAI followed with the GPT 6.2 generation, Astra and Sol, on November 19, 2026.

How much does OpenAI cost to use?

OpenAI's API models are billed per token, with separate rates for input, output and cached input, so cost depends on the model and on how much text you send and receive. Through Unicorn API you pay in credits: monthly plans give credits at $0.01 each and top-ups cost $0.015 per credit. GPT 5.6 Luna starts at 11.2 credits per million input tokens.

What is the difference between OpenAI and ChatGPT?

OpenAI is the company that builds the GPT models. ChatGPT is its consumer chat app, sold mainly as a subscription. The API is a separate product for developers that charges per token used. Subscription usage and API pricing are independent, so a price change on one does not automatically change the other. GPT-5.6 Sol is available through the API.

What is the difference between GPT-5.6 Sol, Terra and Luna?

They are three price tiers of the same GPT-5.6 generation with identical request fields. Sol is the most expensive at 280 credits per million input tokens, Terra costs 112 and Luna costs 11.2. Output follows the same ratios. The practical approach is to start with the cheapest tier that passes your tests and move up only for the requests that need it.