OpenAI · Text

GPT-5.6 Luna API

Model IDgpt-5.6-luna

GPT-5.6 Luna is an OpenAI text model. On APIRail you call it with the same Chat Completions or Responses requests you already send to OpenAI: change the base URL to api.apirail.dev, use your ar-live key, and pay 30% of the list price per token.

GPT-5.6 Luna API pricing

Billed itemAPIRailList price
Input tokens per 1M tokens$0.06$0.20
Cached input tokens per 1M tokens$0.006$0.02
Cache write tokens per 1M tokens$0.075$0.25
Output tokens per 1M tokens$0.36$1.20

Specs

Provider
OpenAI
Modality
Text
Context window
922,000 tokens
Max output
128,000 tokens
Endpoints
POST /v1/chat/completionsOpenAI Chat CompletionsPOST /v1/responsesOpenAI ResponsesPOST /v1/messagesAnthropic Messages

Quickstart

Replace ar-live-YOUR_KEY with a key from Dashboard → API keys.

curl https://api.apirail.dev/v1/chat/completions \
  -H "Authorization: Bearer ar-live-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-luna",
    "stream": true,
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
OpenAI · Text

GPT-6.2 Sol

gpt-6.2-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6.2 Astra

gpt-6.2-astra

Context
922K
Input / 1M
$8.00$2.40
Output / 1M
$40.00$12.00
OpenAI · Text

GPT-6.1 Sol

gpt-6.1-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6 Sol

gpt-6-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6 Astra

gpt-6-astra

Context
922K
Input / 1M
$10.00$3.00
Output / 1M
$50.00$15.00
OpenAI · Text

GPT-6 Luna

gpt-6-luna

Context
922K
Input / 1M
$0.10$0.03
Output / 1M
$0.50$0.15

FAQ

How do I get a GPT-5.6 Luna API key?

Sign in to APIRail with Google, create a key under Dashboard → API keys and top up at least $20. The same ar-live key works for GPT-5.6 Luna and every other model in the catalog.

How much does the GPT-5.6 Luna API cost?

$0.06 per 1M input tokens and $0.36 per 1M output tokens, 30% of the list price of $0.20 and $1.20. Cached input costs $0.006 per 1M tokens.

Which endpoints can I use with GPT-5.6 Luna?

POST /v1/chat/completions, POST /v1/responses, POST /v1/messages. Send the model ID gpt-5.6-luna in the request.

Can I use GPT-5.6 Luna with Codex CLI or Cursor?

Yes. For Codex CLI set OPENAI_BASE_URL=https://api.apirail.dev/v1 and OPENAI_API_KEY to your APIRail key; in Cursor enter the same base URL and key in the OpenAI settings, then add gpt-5.6-luna as a custom model.