Diperbarui
What is the GPT 5.6 Luna API?
The GPT 5.6 Luna API is live on UnificAlly as openai/gpt-5.6-luna, at $0.15/1M tokens for input and $0.90/1M tokens for output. GPT 5.6 Luna is the fast, high-throughput model in OpenAI's GPT 5.6 family, previewed on June 26, 2026 and generally available since July 9, 2026. It takes text and image input and returns text, with a 1,050,000-token context window, a 128,000-token max output, and knowledge up to February 16, 2026. Luna is tuned for high-volume and latency-sensitive workloads, and it still holds its own on real work: 50.3 on Agents' Last Exam, ten points above Claude Fable 5, and 74.6 on the Coding Agent Index, above Claude Opus 4.8. Terra sits above it for everyday work and Sol at the top for the hardest problems.
GPT 5.6 Luna API specs
| Model ID | openai/gpt-5.6-luna |
| Endpoint | POST https://direct-api.unifically.com/v1/chat/completions |
| Other formats | POST /v1/responses, POST /v1/messages |
| Request types | Chat completion, streaming, tool calls |
| Response | Synchronous JSON, or server-sent events with "stream": true |
| Input rate | $0.15/1M tokens |
| Output rate | $0.90/1M tokens |
| Cache read rate | $0.015/1M tokens |
| Cache creation rate | $0.1875/1M tokens |
Billing is per token, with no subscription. These are the standard rates; a prompt over 272,000 tokens bills the whole request at the long-context rate. The OpenAI API pricing guide covers the rates across the GPT line.
How to use the GPT 5.6 Luna API
The GPT 5.6 Luna API uses /v1/chat/completions, the OpenAI-compatible endpoint shared by every language model on UnificAlly.
- Create an API key on the API keys page.
- Send a POST request to
https://direct-api.unifically.com/v1/chat/completionswith the model ID and amessagesarray. - Read the reply from
choices[0].message.contentin the same response.
curl -X POST https://direct-api.unifically.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-5.6-luna",
"messages": [
{ "role": "user", "content": "Classify this support ticket: billing, bug, or feature request?" }
]
}'
The response comes back synchronously with the completion:
{
"id": "3f8e2a1c-7b4d-4e9a-9c2f-5d1e8b7a6c40",
"object": "chat.completion",
"created": 1710000000,
"model": "openai/gpt-5.6-luna",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "billing"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 28,
"completion_tokens": 64,
"total_tokens": 92,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}
}
}
The usage object holds the token counts the request is billed on. Set "stream": true to receive tokens as they generate. Send requests to direct-api.unifically.com so long replies finish in full.
GPT 5.6 Luna API parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
model | string | required | Model identifier. Use openai/gpt-5.6-luna |
messages | array | required | Non-empty array of message objects with role and content. Roles: system, developer, user, assistant, tool, function |
stream | boolean | false | Streams the response as server-sent events |
stream_options | object | none | Set { "include_usage": true } to get a final chunk with token usage. Only used when stream is true |
temperature | number | none | Sampling temperature between 0 and 2. Higher values produce more random output |
max_tokens | integer | none | Maximum number of tokens to generate |
max_completion_tokens | integer | none | Accepted as an alias for max_tokens |
reasoning_effort | string | none | How much the model reasons before answering |
top_p | number | none | Nucleus sampling. An alternative to temperature |
stop | string or array | none | Up to four sequences where the model stops generating |
tools | array | none | Tools the model may call. Each needs a type and a function definition |
tool_choice | string or object | none | none, auto, required, or a specific tool |
response_format | object | none | Set { "type": "json_object" } for JSON mode |
The GPT 5.6 Luna API documentation lists every supported endpoint and request format for this model.
Key features of GPT 5.6 Luna
Beats Fable 5 on Agents' Last Exam
Luna scores 50.3 on Agents' Last Exam, which tests long-running professional workflows across 55 fields. That is ahead of GPT-5.5 at 46.9, Claude Opus 4.8 at 45.2, and Claude Fable 5 at 40.5, from the fastest model in the family.
Built for throughput
Luna is the fastest GPT 5.6 model, made for the calls you fire thousands of times a day. It still scores 74.6 on the Coding Agent Index, above Claude Opus 4.8 at 72.5, and 82.5% on Terminal-Bench 2.1 at max effort.
Reasoning effort you can tune
Luna runs from no reasoning up to max effort. Keep it low for instant replies; raise it when a batch job deserves more thinking. On GeneBench v1 the range moves it from 1.6% to 14.4% pass@1.
Text and image input
Luna reads screenshots and scanned pages alongside short text prompts, so high-volume pipelines can mix the two in one request.
Holds up on CursorBench 3.2
On Cursor's coding-agent benchmark, Luna scores 61.1% at max effort, level with Sonnet 5 at 61.5% and ahead of Composer 2.5 at 56.1%. Strong for the fastest model in the family.
Predictable prompt caching
Explicit cache breakpoints and a 30-minute minimum cache life reuse a stable prompt across a batch instead of resending it on every call. For template-heavy pipelines, that is spend control you set once per run.
What GPT 5.6 Luna is best for
High-volume pipelines
Classification, extraction, summarization, and routing at the family's fastest turnaround.
Latency-sensitive apps
The fast option for chat frontends and agent steps that need instant replies.
Bounded agent steps
Tool-calling subtasks and quick checks inside larger agent loops.
Vision at scale
Screenshots and scanned pages read inline for high-volume document jobs.
Cached repeated prompts
Cache breakpoints reuse a shared template across a whole batch.
GPT 5.6 Luna use cases
Route the bulk of your traffic through Luna: ticket tagging, entity extraction, summaries, and short assistant replies where fast turnaround decides the architecture. Use it as the worker model inside agent systems, handling bounded subtasks while Terra or Sol does the planning. It reads screenshots and scanned pages inline, so it fits high-volume document jobs that mix images with short text. It is also a sensible coding helper for draft patches and quick explanations, since it beats the previous Opus generation on terminal work. For template-heavy batch jobs, cache breakpoints reuse the shared prompt across the whole run.
GPT 5.6 Luna limitations
Luna trades reasoning depth for speed. On GeneBench v1 it tops out at 14.4% pass@1 versus 28.4% for Terra, and on ExploitBench it reaches 33.2% versus Terra's 52.9%. When a task needs deep multi-step reasoning, move up to Terra or Sol.
GPT 5.6 runs behind layered safeguards. Real-time cyber and biology classifiers can pause or withhold higher-risk generations, and some legitimate dual-use security work may be blocked or slowed.
Arena has not published an Elo for Luna yet. A ranked position is pending while the public rollout is this new.
Long prompts cost more. Once a request's prompt passes 272,000 tokens, the whole request bills at the long-context rate: double on input, cache read, and cache write, and 1.5x on output. Keep prompts under that line where you can, and reuse a stable system prompt through cache breakpoints instead of resending it.
When to use GPT 5.6 Luna
Use Luna when volume and latency are the constraint: the calls you make thousands of times a day, the agent steps that must return fast, and the batch jobs where turnaround decides feasibility. If output quality on hard reasoning starts to bind, step up to Terra for GPT-5.5-class results; save Sol for the work that needs the strongest model.
FAQ
Pertanyaan yang sering diajukan tentang GPT 5.6 Luna
openai/gpt-5.6-luna, called through the OpenAI-compatible POST /v1/chat/completions endpoint with your UnificAlly API key.
Luna is billed per token from a prepaid balance, and access starts with a key made on the API keys page after signup. Send that key as Authorization: Bearer <key> to https://direct-api.unifically.com/v1/chat/completions with the model openai/gpt-5.6-luna; OpenAI SDKs work there after a base URL change.
Classification and routing calls are a plain chat completion: model: openai/gpt-5.6-luna, a messages array (screenshots allowed as image input), and a low reasoning_effort when fast answers matter most. The reply sits in choices[0].message.content of the same response, with billed tokens in usage, or it streams as server-sent events with "stream": true.
High-volume, latency-sensitive work: classification, extraction, routing, summaries, and short replies where fast turnaround matters most.
For the fastest model in the family, yes. It scores 74.6 on the Artificial Analysis Coding Agent Index, above Claude Opus 4.8 at 72.5, and 82.5% on Terminal-Bench 2.1 at max effort.
1,050,000 tokens, with a max output of 128,000 tokens and a knowledge cutoff of February 16, 2026.
Billing switches to the long-context rate for the whole request once the prompt passes 272,000 tokens. Input, cache read, and cache write bill at double the standard rate and output at 1.5x. Both rates are listed on the pricing page.
Text and image input, with text output. Good for high-volume jobs that mix short text with screenshots or scanned pages.
Yes, from no reasoning up to max. Low efforts return fast answers; max effort lifts benchmark scores by producing more output tokens.
Luna trades reasoning depth for speed. Terra scores higher on nearly every published eval, and Sol adds the most depth at max effort plus ultra mode. Luna wins on turnaround and throughput.
GPT 5.6 runs with real-time cyber and biology misuse classifiers. Higher-risk generations can pause for review, and some dual-use security requests may be blocked.
Panduan dan perbandingan GPT 5.6 Luna
Tinjau harga, batasan, dan hasil pengujian sebelum menjalankan model ini.
Model yang mirip dengan GPT 5.6 Luna
Jelajahi semua modelAPI GPT 6 Luna
OpenAI's cheapest GPT-6, 1M context, 66.6% DeepSWE for $0.22 a task, 93% less than Opus 5.
- Teks ke Teks
API GPT 5.6 Terra
1M context, 128k output, 77.4 Coding Agent Index, beats Fable 5 on Agents' Last Exam.
- Teks ke Teks
API GPT 5.6 Sol
1M context, 128k output, 88.8% Terminal-Bench 2.1, 80 Coding Agent Index, ultra subagent mode.
- Teks ke Teks
API GPT 5.4 Mini
400k context, 128k output, 54.4% SWE-Bench Pro, 72.1% OSWorld, over 2x faster than GPT-5 mini.
- Teks ke Teks
