openai/gpt-5.6-luna
Date de publication: 2026-07-09
1,050,000 context · $1.00/M input tokens · $6.00/M output tokens
GPT-5.6 Luna is the lightweight model in OpenAI's GPT-5.6 series, designed for cost-efficient reasoning, coding, and agentic workflows at scale. It is well suited for high-throughput production workloads, lightweight automation, and large-volume application traffic where responsiveness and efficiency matter most.
Paiement à l'usage
Aucun coût initial, payez uniquement ce que vous utilisez
Utilisez les exemples de code suivants pour intégrer notre API :
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="openai/gpt-5.6-luna",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)GPT-5.6 Luna is the lightweight model in OpenAI's GPT-5.6 series. It is designed for cost-efficient reasoning, coding, and agentic workflows where throughput and responsiveness matter more than using the highest-capability tier.
WaveSpeed AI exposes openai/gpt-5.6-luna through an OpenAI-compatible API, so it can be used with standard OpenAI SDKs and existing chat-completions-based application flows.
| Specification | Value |
|---|---|
| Provider | OpenAI |
| Model ID | openai/gpt-5.6-luna |
| Model Family | GPT-5.6 |
| Positioning | Lightweight model |
| Context Window | 1,050,000 tokens |
| Max Output | 128,000 tokens |
| Vision | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Recommended Workloads | cost-sensitive reasoning, coding, agentic workflows, high-throughput tasks |
| Token Type | Cost |
|---|---|
| Input | $1 per million tokens |
| Cached Input | $0.10 per million tokens |
| Cache Write | $1.25 per million tokens |
| Output | $6 per million tokens |
Pricing should still be reviewed against your active upstream configuration before publishing.
Use Chat Completions when you want a straightforward OpenAI-compatible integration path for standard conversational and coding workflows.
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="openai/gpt-5.6-luna",
messages=[
{"role": "user", "content": "Summarize this issue in one paragraph."}
]
)
print(response.choices[0].message.content)
cURL
curl https://llm.wavespeed.ai/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": "Summarize this issue in one paragraph."}
]
}'
GPT-5.6 Luna supports a stronger reasoning path through Pro mode.
Pro mode is not a separate core model that you need to configure independently. Instead, use the same base model, openai/gpt-5.6-luna, and enable Pro mode in the Responses API with:
{
"reasoning": {
"mode": "pro"
}
}
Use Pro mode when you want the model to spend more effort on difficult reasoning, planning, and tool-using tasks. It is a better fit for complex coding, high-stakes decision logic, and multi-step agent workflows where answer quality matters more than speed or token efficiency.
In practice, Pro mode usually means:
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.responses.create(
model="openai/gpt-5.6-luna",
input="Review this automation design and identify the main reliability risk.",
reasoning={
"mode": "pro",
"effort": "medium"
}
)
print(response.output_text)
cURL
curl https://llm.wavespeed.ai/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "openai/gpt-5.6-luna",
"input": "Review this automation design and identify the main reliability risk.",
"reasoning": {
"mode": "pro",
"effort": "medium"
}
}'
Choose Pro mode for:
Use standard mode when:
openai/gpt-5.6-luna
GPT-5.6 Luna is the lightweight model in OpenAI's GPT-5.6 series, designed for cost-efficient reasoning, coding, and agentic workflows at scale. It is well suited for high-throughput production workloads, lightweight automation, and large-volume application traffic where responsiveness and efficiency matter most.
Entrée
$1 /M
Sortie
$6 /M
Contexte
1050K
Sortie max.
128K
Vision
Pris en charge
Utilisation d'outils
Pris en charge
Accédez à GPT 5.6 Luna via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.
Tarification sur WaveSpeedAI : $1.00 par million de tokens d'entrée et $6.00 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.
GPT 5.6 Luna prend en charge jusqu'à 1050K tokens de contexte et jusqu'à 128K tokens de sortie par requête.
Oui. WaveSpeedAI expose GPT 5.6 Luna via un endpoint compatible OpenAI à https://llm.wavespeed.ai/v1. Pointez le SDK officiel d'OpenAI vers cette base URL avec votre clé API WaveSpeedAI — aucune autre modification de code requise.
Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l'id du modèle affiché ci-dessus. Les nouveaux comptes reçoivent des crédits gratuits pour évaluer GPT 5.6 Luna.