Last refreshed 2026-07-09. Next refresh: weekly.
Why use GPT-5.6 Luna on OpenAI API?
OpenAI API offers GPT-5.6 Luna with pay-as-you-go pricing at $1.00/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.
Compare GPT-5.6 Luna across 2 providers to find the best fit for your use caseSetup recipe
Python + curlpip install openaiexport OPENAI_API_KEY=...import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(gpt-5.6-lunaRequest example
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-5.6-luna",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
- The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.
Compare GPT-5.6 Luna Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenAI API | $1.00 | $6.00 |
| OpenRouter | $1.00 | $6.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.00 |
| Output tokens | $6.00 |
Capabilities
About GPT-5.6 Luna
OpenAI's fast, low-cost GPT-5.6 model. Luna is the affordable tier in the Sol, Terra, and Luna lineup, optimized for latency-sensitive applications such as summarization, drafting, autocomplete, and routine automation. Generally available July 9, 2026 across ChatGPT, Codex, and the OpenAI API (model ID gpt-5.6-luna). Supports text and image inputs, reasoning, tool use, prompt caching, and Batch API with a 1,050,000-token context window and 128K max output.
FAQ
What does GPT-5.6 Luna cost on OpenAI API?
On OpenAI API, GPT-5.6 Luna costs $1.00 per 1M input tokens and $6.00 per 1M output tokens.
What is the context window for GPT-5.6 Luna on OpenAI API?
GPT-5.6 Luna supports a 1.05m token context window on OpenAI API.
How does OpenAI API compare to other GPT-5.6 Luna providers?
GPT-5.6 Luna is available from 2 providers. The cheapest input pricing is $1.00/1M tokens from OpenAI API.
What API model ID do I use for GPT-5.6 Luna on OpenAI API?
Use the model ID gpt-5.6-luna when calling OpenAI API's API.
Who created GPT-5.6 Luna?
GPT-5.6 Luna was created by OpenAI as part of the GPT-5.6 model family.
Is GPT-5.6 Luna open source?
GPT-5.6 Luna is not open source; the seed data lists it as proprietary.