GPT-5.6 Luna
openai/gpt-5.6-lunaGPT-5.6 Luna is the smallest, fastest tier of OpenAI's GPT-5.6 reasoning family, with text and image input; OpenAI says it roughly corresponds to the nano tier of earlier GPT-5 families. It is designed for high-volume workloads such as classification, extraction, routing, chat and lightweight agent steps where throughput and latency matter. Pick GPT-5.6 Terra or GPT-5.6 Sol when tasks need more capability, and the pro variant when a hard request needs more reasoning work.
- Precio de entrada
- $0.18
$0.20USD / 1M tokens - Precio de salida
- $1.08
$1.20USD / 1M tokens - Lectura de caché
- $0.02
$0.02USD / 1M tokens - Escritura de caché
- $0.23
$0.25USD / 1M tokens - Ventana de contexto
- 1.1M
- Salida máxima
- 128K
Especificaciones
- Entrada
- Texto, imagen
- Salida
- Texto
Acerca de este modelo
GPT-5.6 Luna is the smallest and fastest tier of OpenAI's GPT-5.6 reasoning family. OpenAI says it matches the nano tier of earlier GPT-5 families. It reads text and images, writes text, and has a 1.05M-token context window at $0.20 per 1M input tokens.
When to use it
- Classification, extraction and routing at high volume.
- Lightweight agent steps that need tools and JSON, not deep reasoning.
- Long-context lookups where the price per token matters.
Call it
The model works on Chat Completions (/v1/chat/completions) and on OpenAI's Responses API (/v1/responses).
from openai import OpenAI
client = OpenAI(base_url="https://api.sandbase.ai/v1", api_key="$SANDBASE_API_KEY")
resp = client.chat.completions.create(
model="openai/gpt-5.6-luna",
messages=[{"role": "user", "content": "Explain what an API gateway does."}],
reasoning_effort="low",
max_tokens=512,
)
print(resp.choices[0].message.content)
What works on SandBase
Checked with real calls through SandBase on October 28, 2026.
| Feature | Works | Notes |
|---|---|---|
| Streaming | Yes | stream: true, with usage in the last chunk when stream_options.include_usage is set. |
| Tool calling | Yes | tools and tool_choice; returns tool_calls. |
| Structured output | Yes | response_format: {"type": "json_schema", …} returned valid JSON. |
| Image input | Yes | image_url parts with an https URL or a data: URI. |
| Reasoning | Adjustable | Set reasoning_effort on Chat Completions or reasoning: {"effort": …} on Responses. In our checks "low" used no reasoning tokens on a short question and "high" did. |
Limits and parameters
- Context window: 1,050,000 tokens.
- Maximum output: 128,000 tokens per request (
max_tokens). - The request schema accepts
temperatureandseed; it has notop_porstop.
Example response
Real response to "In two sentences, explain what an API gateway does." through Chat Completions, trimmed.
{
"id": "e578284d-bf7…",
"object": "chat.completion",
"model": "openai/gpt-5.6-luna",
"choices": [
{
"index": 0,
"finish_reason": "stop",
"message": {
"role": "assistant",
"content": "An API gateway acts as a single entry point for client requests, routing them to the appropriate backend services. It can also handle cross-cutting concerns…"
}
}
],
"usage": {
"completion_tokens": 48,
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_tokens": 17,
"prompt_tokens_details": {
"cache_write_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 65
}
}
Pricing
| Tokens | Price per 1M |
|---|---|
| Input | $0.20 |
| Output | $1.20 |
| Cached input (read) | $0.02 |
| Cache write, 5-minute | $0.25 |
Requests with 272,000 or more prompt tokens are billed at $0.40 per 1M input and $1.80 per 1M output tokens.
Reasoning tokens are part of completion_tokens and are billed at the output price.
Related models
- GPT-5.6 Terra: the middle tier of the same family.
- GPT-5.6 Sol: the most capable tier of the same family.
- GPT-5.6 Luna Pro: Luna with more reasoning work per request.
Evaluaciones independientes
Benchmarks
Puntuaciones en evaluaciones estandarizadas, comparadas con otros modelos en SandBase.
Métricas obtenidas de Artificial Analysis · Índice de inteligencia v5 · Actualizado 2026-11-16
Probar el modelo
Entorno de pruebas
Escribe un prompt para probar este modelo. El uso se factura según los precios mostrados.
Pruebe un prompt
Añadir una imagen (opcional)
Su respuesta aparecerá aquí
Elija un ejemplo o escriba un prompt y luego haga clic en Ejecutar.
Empiece a construir
Envíe su primera solicitud
Elija cualquiera de las APIs compatibles con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/responses" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.6-luna",
"input": "Hello",
"max_output_tokens": 2048
}'Los campos a continuación describen la Chat Completions API. Responses API usa el formato nativo de solicitud y respuesta del proveedor, como se muestra en el ejemplo anterior.
Esquema de entrada
8 parámetros · 1 obligatorios · 7 opcionales
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
messages | object[] | Obligatorio | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | Opcional | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
tools | array | Opcional | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
stream | boolean | Opcional | Stream the response as server-sent events instead of returning it in one piece. · Valor predeterminado: false |
max_tokens | integer | Opcional | Maximum number of tokens to generate in the response. · Máx.: 128000 |
temperature | number | Opcional | Sampling temperature. Higher values make output more random; lower values make it more focused. · Mín.: 0 · Máx.: 2 · Valor predeterminado: 1 |
tool_choice | string | Opcional | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | Opcional | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
Esquema de salida
| Campo | Tipo | Descripción |
|---|---|---|
id | string | Identificador único de la finalización |
object | string | Tipo de objeto, por ejemplo "chat.completion" |
model | string | Modelo usado para la finalización |
choices | array | Lista de opciones de finalización |
choices[].message.content | string | Texto generado |
choices[].finish_reason | string | Motivo por el que se detuvo la generación |
usage.prompt_tokens | integer | Número de tokens en el prompt |
usage.completion_tokens | integer | Número de tokens en la finalización |
usage.total_tokens | integer | Total de tokens utilizados |
Preguntas
FAQ
¿Cómo llamo a OpenAI GPT-5.6 Luna a través de SandBase?
Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "openai/gpt-5.6-luna" a Responses API (/v1/responses) o Chat Completions API (/v1/chat/completions) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.
¿Cuánto cuesta OpenAI GPT-5.6 Luna?
$0.18 por 1M tokens de entrada y $1.08 por 1M tokens de salida con el descuento actual del 10% (precio de lista $0.20 / $1.20), facturado por solicitud desde tu saldo de SandBase.
¿Cuál es la ventana de contexto de OpenAI GPT-5.6 Luna?
1.1M tokens de contexto, con hasta 128K tokens de salida por respuesta.
¿Qué puntuación obtiene OpenAI GPT-5.6 Luna en benchmarks?
OpenAI GPT-5.6 Luna obtiene 23.8 en el Artificial Analysis Intelligence Index (v5), ocupando el puesto #26 de 33 modelos en SandBase. Fuente: Artificial Analysis, medido como GPT-5.6 Luna (Max).
¿Qué funciones admite OpenAI GPT-5.6 Luna?
OpenAI GPT-5.6 Luna admite visión (entrada de imagen), razonamiento, llamadas a funciones, salida estructurada. Consulta las Especificaciones arriba para ver la lista completa.
¿Necesito una cuenta separada de OpenAI?
No. Una sola clave API y saldo de SandBase te dan acceso a OpenAI GPT-5.6 Luna y a los demás modelos del catálogo; no necesitas registrarte aparte en OpenAI.
