gpt-6-luna with the OpenAI-compatible Responses API at POST /v1/responses or Chat Completions at POST /v1/chat/completions.
Prefer the Responses API for built-in tools, function calling with reasoning, image input, Structured Outputs, and prompt caching. Chat Completions function calling is supported only when
reasoning_effort is none.Model specifications
When to use GPT-6 Luna
- Focused, high-volume text processing
- Classification, extraction, and structured output
- Cost- and throughput-sensitive agent workflows
- Large-context summarization and analysis
- Vision tasks that combine text and image input
- Routine coding and automation tasks
Quick start
- Responses API
- Chat Completions
cURL
Tool calling
Use the Responses API when the model needs to reason and call tools:cURL
function object:
Built-in tools
OpenAI lists the following Responses API tools for GPT-6 Luna: Web search, File search, Image generation, Code Interpreter, Hosted shell, Apply patch, Skills, Computer use, MCP, and Tool search. Each tool has its own request fields and may require supporting resources such as files, vector stores, remote servers, or a computer-use loop.Reasoning and sampling rules
Core parameters
In raw Responses API JSON, read generated text from message items in
output[].content[].text. Some official SDKs expose an aggregated output_text convenience property, but clients should not require a top-level output_text field in the raw HTTP response.API Reference
View the GPT-6 Luna API reference.