Seedream 5.0 Pro jest już LIVE | Wypróbuj w Generator obrazów →
openai
openai/gpt-5.6-luna

openai/gpt-5.6-luna

Data publikacji: 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.

Cennik

Płać za użycie

Bez kosztów początkowych, płacisz tylko za to, czego używasz

Wejście$1.00 / M Tokens
Wyjście$6.00 / M Tokens
Cache Read$0.10 / M Tokens
Cache Write$1.25 / M Tokens

Wypróbuj model

openai/gpt-5.6-luna
Online
openai
Cześć! Jestem pomocnym asystentem AI. W czym mogę pomóc?
Gotowe użyć tego modelu w lokalnym coding agent?Konfiguracja agenta

Użycie API

Użyj poniższych przykładów kodu, aby zintegrować się z naszym 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)

Wprowadzenie do modelu

OpenAI: GPT-5.6 Luna

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.


Why Use GPT-5.6 Luna

  • Lightweight GPT-5.6 model for high-volume workloads
  • Cost-efficient reasoning and coding for large-scale production use
  • Well suited for agentic workflows, tool use, and structured outputs
  • Supports long-context workloads such as document analysis and extended multi-turn sessions
  • Works with both Chat Completions and Responses API workflows

Key Features

  • Context Window: 1,050,000 tokens
  • Max Output: 128,000 tokens
  • Vision Input: Supported
  • Function Calling: Supported
  • Structured Outputs: Supported
  • Best Fit: cost-sensitive reasoning, coding, agents, high-throughput tasks

Specifications

SpecificationValue
ProviderOpenAI
Model IDopenai/gpt-5.6-luna
Model FamilyGPT-5.6
PositioningLightweight model
Context Window1,050,000 tokens
Max Output128,000 tokens
VisionSupported
Function CallingSupported
Structured OutputsSupported
Recommended Workloadscost-sensitive reasoning, coding, agentic workflows, high-throughput tasks

Pricing

Token TypeCost
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.


How to Use

Chat Completions

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."}
    ]
  }'

Pro Mode

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:

  • higher reasoning depth
  • better consistency on difficult tasks
  • more token usage
  • higher latency than standard requests

Responses API Example

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"
    }
  }'

When to Use Pro Mode

Choose Pro mode for:

  • multi-step coding and debugging
  • agent workflows with tools or long chains of reasoning
  • tasks that require deeper analysis instead of quick turnaround
  • prompts where higher accuracy is worth additional cost and latency

Use standard mode when:

  • latency matters more than depth
  • the task is simple or repetitive
  • you are optimizing for throughput or cost

Notes

  • Designed as the most cost-efficient option within the GPT-5.6 family
  • Best paired with the Responses API when reasoning, tool use, or multi-turn state matters

Info

Dostawcaopenai
Typllm

Obsługiwane funkcje

Wejście
TekstObraz
Wyjście
Tekst
Kontekst1,050,000
Maks. wyjście128,000
Vision✓ Obsługiwane
Function Calling✓ Obsługiwane

Przewodnik dostępu do API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modeluopenai/gpt-5.6-luna

GPT 5.6 Luna API

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.

Wejście

$1 /M

Wyjście

$6 /M

Kontekst

1050K

Maks. wyjście

128K

Vision

Obsługiwane

Użycie narzędzi

Obsługiwane

Wypróbuj GPT 5.6 Luna w WaveSpeedAI

Uzyskaj dostęp do GPT 5.6 Luna przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.

Najczęstsze pytania o GPT 5.6 Luna

Ile kosztuje API GPT 5.6 Luna?+

Cennik na WaveSpeedAI: $1.00 za milion tokenów wejściowych i $6.00 za milion tokenów wyjściowych. Prompt caching i przetwarzanie wsadowe są rozliczane oddzielnie i obniżają efektywny koszt długich, powtarzalnych obciążeń.

Jakie jest okno kontekstu GPT 5.6 Luna?+

GPT 5.6 Luna obsługuje do 1050K tokenów kontekstu i do 128K tokenów wyjściowych na zapytanie.

Czy GPT 5.6 Luna jest kompatybilny z OpenAI?+

Tak. WaveSpeedAI udostępnia GPT 5.6 Luna przez endpoint kompatybilny z OpenAI pod https://llm.wavespeed.ai/v1. Skieruj oficjalny OpenAI SDK na ten base URL ze swoim kluczem API WaveSpeedAI — bez innych zmian w kodzie.

Jak zacząć z GPT 5.6 Luna?+

Zaloguj się do WaveSpeedAI, utwórz klucz API w Access Keys, a następnie wyślij żądanie na https://llm.wavespeed.ai/v1/chat/completions z id modelu pokazanym powyżej. Nowe konta otrzymują darmowe kredyty na ocenę GPT 5.6 Luna.

Powiązane API LLM

GPT-5.6 Luna | OpenAI Frontier LLM API Pricing | WaveSpeedAI