OpenAI API exposes GPT-6 Luna through model ID gpt-6-luna. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-23. Next refresh: weekly.
Quick Start
- 1
- 2
- 3
Code Examples
pip install openaiOPENAI_API_KEYgpt-6-lunaUse the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-6-luna",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on OpenAI API
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.10 |
| Output tokens | $0.50 |
Capabilities
About GPT-6 Luna
OpenAI GPT-6 Luna, announced September 22, 2026 with GPT-6 Sol, is the most efficient GPT-6 tier for focused high-volume tasks below Sol and flagship Astra. First-party OpenAI API id gpt-6-luna. Docs: 1,050,000 context, 128,000 max output, knowledge cutoff May 18, 2026, text and image input to text output, reasoning effort none/low/medium/high/xhigh/max, function calling, structured outputs, prompt caching, Batch and Flex at 50% of Standard, Fast mode at 2x, and computer use and code interpreter via Responses tools.