OpenAI · gpt-5.6-luna
GPT-5.6 Luna API
A low-cost model for high-volume work, at 86% off list
OpenAI cut GPT-5.6 Luna API prices by 80% on July 30, 2026, to $0.20 input and $1.20 output per 1M tokens. It is built for cost-sensitive, high-volume workloads and, per OpenAI, can use tools and complete multistep workflows. Call gpt-5.6-luna on AnyAIGC from $0.0270 per 1M input tokens.
- Model ID gpt-5.6-luna
- Endpoints /v1/chat/completions · /v1/responses
- Price 86% off list
- Concurrency Unlimited
- Business Self-service invoices
After an 80% price cut, about 13.5% of that again
GPT-5.6 Luna launched on as the entry tier of the GPT-5.6 family, below Sol and Terra. OpenAI calls it its "fastest and lowest-priced model" and positions it for cost-sensitive, high-volume workloads, noting that it "can use tools and complete multistep workflows."
On July 30, 2026, OpenAI permanently cut GPT-5.6 Luna API prices by 80%, from $1 input and $6 output to $0.20 and $1.20, with cached input at $0.02. OpenAI says Luna performs on par with frontier models from a year earlier at about 6% of the cost per task.
It supports six reasoning efforts: none, low, medium, high, xhigh and max. It has a 1,050,000-token context window, up to 128,000 output tokens, text and image input with text output, and a knowledge cutoff of February 16, 2026. On AnyAIGC, gpt-5.6-luna works on both /v1/chat/completions and /v1/responses. With the official OpenAI SDK you only change base_url to https://anyaigc.ai/v1.
- Context window
- 1,050,000
- Max output
- 128,000
- Knowledge cutoff
- 2026-02-16
- Input
- Text, image
- Reasoning effort
- none – max
- Released
- 2026-07-09
GPT-5.6 Luna API pricing
Per-token billing at fixed rates, with no subscription or monthly fee. Input, output and cached input are each about 13.5% of OpenAI's post-cut list price. The three cards show the GPT-5.6 lineup on AnyAIGC.
-
GPT-5.6
Sol
The GPT-5.6 flagship, for complex professional work.
- Input
- $0.2482
$4.00 - Output
- $1.4890
$20.00 - Cached
- $0.0248
$0.40
Per 1M tokens · struck-through is promo list price
-
GPT-5.6
Terra
A balanced model for everyday work, trading off intelligence and cost.
- Input
- $0.0993
$2.00 - Output
- $0.5957
$12.00 - Cached
- $0.0099
$0.20
Per 1M tokens · struck-through is list price
-
This page GPT-5.6
Luna
The fastest, lowest-priced GPT-5.6 tier, for high-volume work.
- Input
- $0.0270
$0.20 - Output
- $0.1620
$1.20 - Cached
- $0.0027
$0.02
Per 1M tokens · struck-through is list price
gpt-5.6-luna price breakdown
- Per tokenInput, output and cache priced separately
- 86% offCompared with OpenAI's post-cut list price
- Unlimited concurrencyIncluded on every account
- USDOne balance for 300+ models
| Item | AnyAIGC | OpenAI list | You save |
|---|---|---|---|
| Inputper 1M tokens | $0.0270 | $0.20 | 86% |
| Outputper 1M tokens | $0.1620 | $1.20 | 86% |
| Cached inputper 1M tokens | $0.0027 | $0.02 | 86% |
Model gpt-5.6-luna. Prices are in USD and billed on tokens actually used. When a request has more than 272K input tokens, the whole request is billed at 2x input and 1.5x output, matching OpenAI's rule. List prices reflect OpenAI's July 30, 2026 cut, per OpenAI's price announcement; model details are in OpenAI's GPT-5.6 announcement. See the AnyAIGC model catalog for live prices.
Cost examples
Estimates for common workloads, with the same usage at list price struck through.
-
One code review
50K input tokens + 5K output tokens
$0.0022
List
$0.016 -
20-turn agent session
Each turn: 20K cached input + 5K new input + 2K output
$0.010
List
$0.076 -
1M input + 1M output
1M input tokens + 1M output tokens
$0.19
List
$1.40
How GPT-5.6 Luna performs across tasks
OpenAI's published results for coding, professional work, computer use and reasoning from the GPT-5.6 launch, compared with Sol, Terra, GPT-5.5 and Claude models.
Agents' Last Exam · professional work
OpenAI says that on Agents' Last Exam, its benchmark for professional work, Luna outperforms Fable 5 at an estimated cost per task nearly 99% lower.
Coding, professional work, computer use and reasoning
| Benchmark | GPT-5.6 Luna | GPT-5.6 Sol | GPT-5.6 Terra | GPT-5.5 | Fable 5 | Opus 4.8 |
|---|---|---|---|---|---|---|
| AA Coding Agent Index v1.1Agentic coding | 74.6 | 80max | 77.4 | 76.4 | 77.2 | 72.5 |
| Terminal-Bench 2.1Terminal tasks | 84.7% | 88.8% | 87.4% | 85.6% | 83.1% | 78.9% |
| SWE-Bench ProSoftware engineering | 62.7% | 64.6% | 63.4% | 59.4% | 80% | 69.2% |
| DeepSWE v1.1Agentic coding | 67.2% | 72.7% | 69.6% | - | 69.7% | - |
| Agents' Last ExamProfessional work | 50.3% | 52.7% | 50.4% | 46.9% | 40.5% | 45.2% |
| OSWorld 2.0Computer use | 45.6% | 62.6% | 50.2% | 47.5% | - | 54.8% |
| BrowseCompWeb research | 83.3% | 90.4% | 87.5% | 84.4% | - | 84.3% |
| GPQA DiamondScience reasoning | 92.3% | 94.6% | 92.9% | 93.6% | 92.6% | 92% |
Source: OpenAI's GPT-5.6 announcement. A dash means OpenAI did not publish that score. OpenAI states GPT-5.6 Sol's AA Coding Agent Index score was at max reasoning effort; the other cells are not labeled with an effort setting. OpenAI also reports a score of 51.2 for GPT-5.6 Luna on the Artificial Analysis Intelligence Index v4.1.
What GPT-5.6 Luna is good for
- 01 · Batch
High-volume classification and extraction
Ticket routing, content moderation, field extraction and converting text between languages: lots of calls, each fairly simple. OpenAI positions Luna for cost-sensitive, high-volume workloads, and on AnyAIGC 1M input plus 1M output costs about $0.19.
- 02 · Automation
Tool calls and multistep flows
OpenAI says Luna "can use tools and complete multistep workflows." Use it to query databases, call internal APIs and work through rule-based steps. Function calling works on both Chat Completions and Responses.
- 03 · Professional work
Document cleanup and first drafts
A 1,050,000-token context fits a large pile of source material. In OpenAI's Agents' Last Exam results Luna scores 50.3%, against 40.5% for Fable 5. Cached input is $0.0027 per 1M tokens, so reusing the same material costs very little.
- 04 · Coding
Light coding and sub-agents
Code completion, unit test generation, log analysis, or the worker tasks in a multi-agent system. In OpenAI's AA Coding Agent Index results Luna scores 74.6 and Claude Opus 4.8 scores 72.5. Hand complex changes to GPT-5.6 Sol.
Call the GPT-5.6 Luna API in three steps
- Sign up and top up: create an account at anyaigc.ai. Your balance works across every model.
- Create an API key: create a token in the console, copy the
sk-key and store it in theANYAIGC_API_KEYenvironment variable. - Send a request: call
https://anyaigc.ai/v1/chat/completionsorhttps://anyaigc.ai/v1/responseswithmodelset togpt-5.6-lunaandAuthorization: Bearerauth.
curl https://anyaigc.ai/v1/chat/completions \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna",
"reasoning_effort": "low",
"messages": [
{"role": "system", "content": "You route support tickets. Reply with one label only: billing, bug, account or other."},
{"role": "user", "content": "I topped up yesterday but my balance never updated"}
]
}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://anyaigc.ai/v1",
api_key=os.environ["ANYAIGC_API_KEY"],
)
reviews = ["Fast shipping, well packed", "Broke after two days", "It's okay, not as described"]
for text in reviews:
resp = client.chat.completions.create(
model="gpt-5.6-luna",
reasoning_effort="none", # none / low / medium / high / xhigh / max
messages=[
{"role": "system", "content": "Classify the review sentiment. Reply with positive, negative or neutral."},
{"role": "user", "content": text},
],
)
print(text, "=>", resp.choices[0].message.content)
import os
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
tools = [{
"type": "function",
"name": "get_order_status",
"description": "Look up shipping status by order ID",
"parameters": {
"type": "object",
"properties": {"order_id": {"type": "string", "description": "Order ID"}},
"required": ["order_id"],
},
}]
resp = client.responses.create(
model="gpt-5.6-luna",
input="Where is my order A20261024?",
tools=tools,
reasoning={"effort": "low"},
)
for item in resp.output:
if item.type == "function_call":
print(item.name, item.arguments) # e.g. get_order_status {"order_id": "A20261024"}
print(resp.output_text)
import os
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
stream = client.chat.completions.create(
model="gpt-5.6-luna",
messages=[{"role": "user", "content": "Turn these meeting notes into 3 action items: send the quote by Friday, book the client call Monday, ship by month end."}],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
if chunk.usage:
print("\n", chunk.usage)
Tool calling works on both endpoints. Per OpenAI, gpt-5.6-luna supports Chat Completions, Responses and Batch, with function calling and structured outputs. Use /v1/chat/completions for plain chat and function calling, and /v1/responses for the Responses API's built-in tools or multistep agent workflows, with the effort in reasoning.effort.
See the Chat Completions reference and the Responses reference for every parameter. Fields match the official OpenAI API.
Use GPT-5.6 Luna in Codex
One command installs the Codex CLI and writes the AnyAIGC config. Or edit the two files under ~/.codex/ yourself.
curl -fsSL https://www.anyaigc.ai/install.sh | bash -s codex
# Windows PowerShell: irm https://www.anyaigc.ai/install.ps1 | iex
model_provider = "anyaigc"
model = "gpt-5.6-luna"
model_reasoning_effort = "medium"
disable_response_storage = true
[model_providers.anyaigc]
name = "anyaigc"
base_url = "https://anyaigc.ai/v1"
wire_api = "responses"
requires_openai_auth = true
{
"OPENAI_API_KEY": "sk-your-api-key"
}
The one-line installer sets the model to gpt-5.5, so change model in ~/.codex/config.toml to gpt-5.6-luna afterwards. Save both files and run codex in your project folder. GPT-5.6 Luna suits light, frequent coding tasks; switch to GPT-5.6 Sol for complex changes. See the Codex setup guide for full steps and common errors.
GPT-5.6 Luna API for teams and enterprises
Top up, issue invoices yourself, and work with a dedicated support and technical contact.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Other GPT models
The same API key works for every GPT model below. Pick by task difficulty and budget, or see the GPT overview and price comparison.
- LatestGPT-6.2 AstraOpenAI's new frontier model for the hardest projects · Input $0.3971 / 1M
- LatestGPT-6.2 SolEveryday go-to model, priced like 6.1 Sol · Input $0.0993 / 1M
- LatestGPT-6 AstraOpenAI's flagship for the hardest work · Input $0.4964 / 1M
- LatestGPT-6.1 SolNear-Astra at one fifth of the price · Input $0.0993 / 1M
- LatestGPT-6.1 TerraFast vision, computer use and writing · Input $0.0496 / 1M
- LatestGPT-6 LunaFastest, lowest cost, high-volume tasks · Input $0.0135 / 1M
- GPT-6 SolFirst GPT-6 Sol, now succeeded by 6.1 · Input $0.0993 / 1M
- GPT-5.6 SolGPT-5.6 flagship at promo price · Input $0.2482 / 1M
- GPT-5.6 TerraGPT-5.6 balanced tier, now 6.1 Terra · Input $0.0993 / 1M
- GPT-5.6 LunaLow-cost GPT-5.6 tier for volume · Input $0.0270 / 1M
- GPT-5.5Previous flagship, still live in the API · Input $0.2482 / 1M
- GPT-5.5 ProMore compute, deeper answers, Responses only · Input $17.8200 / 1M
Specs and how to choose it
OpenAI positions GPT-5.6 Luna as the faster, most cost-effective model in the GPT-5.6 family.
In knowledge-work evaluations, GPT-5.6 Luna came close to GPT-5.5's best results.
This page lists Input at $0.0270, Output at $0.1620, Cached input at $0.0027, matching the pricing table above.
gpt-5.6-luna favors speed and cost, while gpt-5.6-sol is the flagship of the same generation.
Specs come from the vendor's official documentation (openai.com). The table on this page is the price, and the model catalog is authoritative for live rates.
GPT-5.6 Luna API FAQ
How much does the GPT-5.6 Luna API cost?
On AnyAIGC, gpt-5.6-luna is billed per token: $0.0270 per 1M input tokens, $0.1620 per 1M output tokens and $0.0027 per 1M cached input tokens. OpenAI's list price is $0.20 input, $1.20 output and $0.02 cached input, so AnyAIGC is about 13.5% of list (86% off). When a request has more than 272K input tokens, the whole request is billed at 2x input and 1.5x output.
What is the GPT-5.6 Luna model ID?
The model ID is gpt-5.6-luna. Put it in the model field of your request. OpenAI has not published a dated snapshot for it.
How big was the GPT-5.6 Luna price cut?
On July 30, 2026, OpenAI permanently cut GPT-5.6 Luna API prices by 80%: input went from $1 to $0.20, output from $6 to $1.20, and cached input from $0.10 to $0.02 per 1M tokens. AnyAIGC prices are based on the post-cut list price: $0.0270 input, $0.1620 output and $0.0027 cached input.
Is GPT-5.6 Luna deprecated? How long will it be available?
No. OpenAI has released the newer GPT-6 Luna, but GPT-5.6 Luna is still offered in the API. OpenAI has not announced a shutdown date, it is fully callable today, and nothing changes on AnyAIGC. Consider GPT-6 Luna for new projects, and keep using gpt-5.6-luna for batch jobs whose prompts are already tuned for it.
Chat Completions or Responses API? Can I use tools?
Both endpoints work, and both support tool calling. Per OpenAI, gpt-5.6-luna supports Chat Completions, Responses and Batch, with streaming, function calling and structured outputs. Use https://anyaigc.ai/v1/chat/completions for plain chat and function calling, and https://anyaigc.ai/v1/responses for the Responses API's built-in tools or multistep agent workflows, with the effort in reasoning.effort.
Can I use GPT-5.6 Luna in Codex?
Yes. Run curl -fsSL https://www.anyaigc.ai/install.sh | bash -s codex to install and configure it (on Windows, irm https://www.anyaigc.ai/install.ps1 | iex). The installer defaults to gpt-5.5, so change model in ~/.codex/config.toml to gpt-5.6-luna afterwards. Or edit ~/.codex/config.toml yourself: set base_url to https://anyaigc.ai/v1, wire_api to responses and model to gpt-5.6-luna, then put OPENAI_API_KEY in ~/.codex/auth.json.
Are there concurrency or rate limits?
AnyAIGC sets no concurrency limit on gpt-5.6-luna. Every account gets this by default, so large classification, extraction and parallel agent jobs run without queuing.
How do I get a GPT-5.6 Luna API key?
Sign up at anyaigc.ai, top up, and create a token in the console. The same key works for GPT-5.6 Luna and 300+ other models. With the official OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Is my data used for training?
No. Unless the law requires it, AnyAIGC does not persistently store your prompts or outputs or use them for training, and requests are encrypted in transit over HTTPS. See the AnyAIGC Privacy Policy for details. The model's own data policy is governed by OpenAI's official terms.
Run GPT-5.6 Luna at 86% off
Sign up, create an API key, and move your batch jobs to gpt-5.6-luna within minutes.