OpenAI

gpt-5.6-luna

OpenAIToken-based
Create API Key

OpenAI 的 gpt-5.6-luna 模型,支持文本、图像输入和文本输出。支持推理、工具调用、结构化输出。

textimagestreamingfunction_callingtoolsstructured_outputjson_modevisionweb_searchcachingreasoningcode_interpretercontext:1050000
Starting price
Input / Output · 1M
Context
1.1M
Maximum input window
Max output
128K
Maximum tokens per response
Modalities
→
Knowledge cutoff
Feb 2026
Released
Jul 2026

Pricing by Supplier

OpenAI
-40%
Openai官方接口
Input$0.2$0.12/ 1M
Output$1.2$0.72/ 1M
Cache Read$0.02$0.012/ 1M
Cache Write (5m)$0.25$0.15/ 1M
Cache Write (1h)$0.4$0.24/ 1M
Azure
-45%
微软云API直连,稳定可靠
Input$0.2$0.11/ 1M
Output$1.2$0.66/ 1M
Cache Read$0.02$0.011/ 1M
Cache Write (5m)$0.25$0.1375/ 1M
Cache Write (1h)$0.4$0.22/ 1M
GPT官+AZ 混合
-45%
适合生产环境,az 和官 key 混合渠道
Input$0.2$0.11/ 1M
Output$1.2$0.66/ 1M
Cache Read$0.02$0.011/ 1M
Cache Write (5m)$0.25$0.1375/ 1M
Cache Write (1h)$0.4$0.22/ 1M
GPT特价
-40%
适合vibe coding自用,gpt pro 号池
Input$0.2$0.12/ 1M
Output$1.2$0.72/ 1M
Cache Read$0.02$0.012/ 1M
Cache Write (5m)$0.25$0.15/ 1M
Cache Write (1h)$0.4$0.24/ 1M

Capabilities / Supported modalities

StreamingFunction callingToolsStructured outputJSON modeVisionWeb searchPrompt cachingReasoningCode interpreter
Input
Output

Provider & data privacy

Provider
OpenAIDocs
Tokenizer
o200k_base
License
Proprietary (commercial)Proprietary
Data retention30 daysNot used for upstream training by default

Performance

About gpt-5.6-luna

OpenAI 的 gpt-5.6-luna 模型,支持文本、图像输入和文本输出。支持推理、工具调用、结构化输出。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

API access

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
Azure720289K15K
GPT官+AZ 混合880351K18K
GPT特价440174K8.7K
OpenAI940376K19K

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.

Frequently asked questions about gpt-5.6-luna

What is gpt-5.6-luna?

OpenAI 的 gpt-5.6-luna 模型,支持文本、图像输入和文本输出。支持推理、工具调用、结构化输出。

How do I call gpt-5.6-luna?

Create an API key with access to gpt-5.6-luna, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gpt-5.6-luna priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of gpt-5.6-luna?

The model catalog lists a context window of 1050000 tokens. Check the selected endpoint for request limits.

What is the maximum output of gpt-5.6-luna?

The model catalog lists a maximum output of 128000 tokens. Your request settings may set a lower limit.

How should I evaluate gpt-5.6-luna for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.