openai/gpt-5.6-luna
วันที่เผยแพร่: 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.
จ่ายตามการใช้งาน
ไม่มีค่าใช้จ่ายล่วงหน้า จ่ายเฉพาะสิ่งที่คุณใช้
ใช้ตัวอย่างโค้ดต่อไปนี้เพื่อผสานรวมกับ 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.
อินพุต
$1 /M
เอาต์พุต
$6 /M
คอนเท็กซ์
1050K
เอาต์พุตสูงสุด
128K
Vision
รองรับ
การใช้เครื่องมือ
รองรับ
เข้าถึง GPT 5.6 Luna ผ่าน API แบบรวมของเรา — เข้ากันได้กับ OpenAI ไม่มี cold start ราคาโปร่งใส
ราคาบน WaveSpeedAI: $1.00 ต่อล้านโทเคนอินพุต และ $6.00 ต่อล้านโทเคนเอาต์พุต Prompt caching และ batch processing คิดค่าบริการแยกและช่วยลดต้นทุนที่แท้จริงสำหรับภาระงานที่ยาวและทำซ้ำ
GPT 5.6 Luna รองรับสูงสุด 1050K โทเคนคอนเท็กซ์ และสูงสุด 128K โทเคนเอาต์พุตต่อคำขอ
ใช่ WaveSpeedAI ให้บริการ GPT 5.6 Luna ผ่าน endpoint ที่เข้ากันได้กับ OpenAI ที่ https://llm.wavespeed.ai/v1 ชี้ OpenAI SDK ทางการมาที่ base URL นี้ด้วย API key ของ WaveSpeedAI — ไม่ต้องแก้ไขโค้ดอื่น
ลงชื่อเข้าใช้ WaveSpeedAI สร้าง API key ใน Access Keys จากนั้นส่งคำขอไปยัง https://llm.wavespeed.ai/v1/chat/completions พร้อม model id ที่แสดงด้านบน บัญชีใหม่จะได้รับเครดิตฟรีสำหรับทดลองใช้ GPT 5.6 Luna