All modelsOpenAI API documentation
GPT-5.6 Luna
gpt-5.6-lunaPremiumText
GPT-5.6 Luna is a text model by OpenAI. Context: 1,000,000 tokens. Supports reasoning.
VisionThinkingStreamingLong context
- Context window
- 1M
- Maximum output tokens
- 128,000
Pricing
per 1M tokens
- Input / 1M
- $0.04
- Output / 1M
- $0.20
- Cache read / 1M
- $0.02
- Cache write / 1M
- $0.06
GPT-5.6 Luna API pricing and specs
GPT-5.6 Luna is available through the Claudexia API in the Premium channel. Model ID: gpt-5.6-luna.
Price: $0.04 per 1M input tokens and $0.20 per 1M output tokens.
Context window: 1,000,000 tokens.
Capabilities listed in the catalog: vision, thinking, streaming.
How to connect GPT-5.6 Luna via API
Replace sk_cdx_... with your key from the API Keys section. The key must belong to the Premium channel.
OpenAI SDK and compatible clients (Python), base URL with /v1
from openai import OpenAI
client = OpenAI(base_url="https://api.claudexia.tech/v1", api_key="sk_cdx_...")
response = client.chat.completions.create(
model="gpt-5.6-luna",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Anthropic SDK (Python), base URL without /v1
from anthropic import Anthropic
client = Anthropic(base_url="https://api.claudexia.tech", api_key="sk_cdx_...")
message = client.messages.create(
model="gpt-5.6-luna",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)GPT-5.6 Luna API questions
- How much does the GPT-5.6 Luna API cost?
- $0.04 per 1M input tokens and $0.20 per 1M output tokens in the Premium channel.
- Which base URL do I use for GPT-5.6 Luna?
- OpenAI-compatible clients: https://api.claudexia.tech/v1. Anthropic SDK: https://api.claudexia.tech (no /v1). Model ID: gpt-5.6-luna.
- What is the GPT-5.6 Luna context window?
- 1,000,000 tokens, according to the Claudexia catalog.