gpt-5.6-luna — price, context and performance
gpt-5.6-luna is a OpenAI model with a 1.1M context window supporting Reasoning, Tools, Files, Vision. Input $0.20, output $1.20 per 1M tokens.
Overview
| Vendor | OpenAI |
|---|---|
| Context | 1.1M |
| Capabilities | Reasoning, Tools, Files, Vision |
| API formats | openai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search |
| Billing formula | p * 0.2 + cr * 0.02 + cc * 0.25 + c * 1.2) : tier("272k_plus", p * 0.4 + cr * 0.04 + cc * 0.5 + c * 1.8 |
Cost-efficient GPT-5.6 model for fast, high-volume workloadsPricing
| Plan | Multiplier | Input | Output | Cached input | Note |
|---|---|---|---|---|---|
| Base price | 1× | $0.20 | $1.20 | $0.02 | |
| Test | 0.1× | $0.02 | $0.12 | $0.002 | Limited — degraded reasoning, unstable. Test only. |
| Eco | 0.3× | $0.06 | $0.36 | $0.006 | Standard — standard reasoning, moderate stability. |
| default | 0.6× | $0.12 | $0.72 | $0.01 | Standard — standard reasoning, moderate stability. |
| Plus | 1× | $0.20 | $1.20 | $0.02 | High — strong reasoning, stable. |
| Pro | 2× | $0.40 | $2.40 | $0.04 | Enterprise — full reasoning, high stability. |
| Max | 4× | $0.80 | $4.80 | $0.08 | Premium — max reasoning & stability. |
Only groups enabled for this model are listed.
Performance
| API endpoint | https://api.airai.cc/v1 |
|---|---|
| OpenAI-compatible | OpenAI-compatible |
FAQ
How much does gpt-5.6-luna cost?
Input $0.20, output $1.20 per 1M tokens.
What is the context window of gpt-5.6-luna?
gpt-5.6-luna has a 1.1M context window: the combined token limit for input and output in a single request.
How do I call gpt-5.6-luna from code?
Point base_url to https://api.airai.cc/v1 and set model to gpt-5.6-luna. The API is fully OpenAI compatible.
Why does gpt-5.6-luna return error 429?
429 is a rate limit response. Lower your concurrency, retry with backoff, or switch to a plan with a larger quota.
Model comparison
| Model | Vendor | Input | Output | Context |
|---|---|---|---|---|
| gpt-5.6-luna | OpenAI | $0.20 | $1.20 | 1.1M |
| gpt-image-2.5-flare-c | OpenAI | Per request $0.16 | — | not specified |
| gpt-5.6-sol-max | OpenAI | Price not published | — | not specified |
| gpt-5.3-chat | OpenAI | $1.75 | $14.00 | not specified |
| gpt-4-1106-preview | OpenAI | $10.00 | $30.00 | not specified |
| gpt-5-chat-latest | OpenAI | $1.13 | $9.00 | not specified |
| gpt-realtime-1.5 | OpenAI | Price not published | — | not specified |
| gpt-image-2 | OpenAI | $5.00 | $30.00 | not specified |
| whisper-1 | OpenAI | $30.00 | $30.00 | not specified |
| gpt-5.5-2026-04-23 | OpenAI | Price not published | — | not specified |
| gpt-3.5-turbo | OpenAI | $0.50 | $1.50 | 16.4K |
| gpt-5.5-pro | OpenAI | $30.00 | $180.00 | 1.1M |
| text-embedding-3-small | OpenAI | $0.02 | — | 8.2K |
Troubleshooting
429 is a rate limit response. Lower your concurrency, retry with backoff, or switch to a plan with a larger quota.
Common causes
- Too many concurrent requests
- Quota of the current plan exhausted
- Retrying immediately without backoff
How to fix
- Limit concurrency and retry with exponential backoff
- Switch to a plan with a larger quota
- Cache repeated requests
How to connect
curl https://api.airai.cc/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(
api_key="<YOUR_API_KEY>",
base_url="https://api.airai.cc/v1"
)
response = client.chat.completions.create(
model="gpt-5.6-luna",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
const response = await client.chat.completions.create({
model: "gpt-5.6-luna",
messages: [{ role: "user", content: "Hello" }]
});
console.log(response.choices[0].message.content);const OpenAI = require("openai");
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
client.chat.completions.create({
model: "gpt-5.6-luna",
messages: [{ role: "user", content: "Hello" }]
}).then((r) => console.log(r.choices[0].message.content));Replace <YOUR_API_KEY> with the API Key from your token settings.
Compatible endpoints
openaiopenai-responseopenai-response-compactanthropicgeminiopenai-alpha-search
Gemini SDK · TypeScript
import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI("<YOUR_API_KEY>");
const model = genAI.getGenerativeModel({ model: "gpt-5.6-luna" });
const result = await model.generateContent(
"Explain quantum entanglement in one paragraph."
);
console.log(result.response.text());Authentication
All requests must include the Authorization: Bearer <TOKEN> header. Anthropic-format endpoints also accept the x-api-key header. Generate your API Key on the Tokens page, where you can scope access by model, group, IP, and rate limits.
Supported parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
temperature | float | 1 | 0–2 | Sampling temperature; lower is more stable |
top_p | float | 1 | 0–1 | Nucleus sampling cumulative probability |
max_tokens | integer | — | — | Maximum tokens in the response |
frequency_penalty | float | 0 | −2–2 | Penalizes repeated high-frequency tokens |
presence_penalty | float | 0 | −2–2 | Encourages introducing new topics |
stop | string[] | null | ≤ 4 | Up to 4 strings that stop generation |
seed | integer | null | — | Seed for more reproducible sampling |
n | integer | 1 | — | Number of candidate completions |
stream | boolean | false | — | Stream tokens via SSE |
response_format | object | — | — | Force JSON output or schema-conformant results |
tools | array | — | — | Function/tool declarations the model can call |
tool_choice | string | object | auto | — | Tool selection strategy or specific tool name |
logprobs | boolean | false | — | Return log probabilities for each token |
top_logprobs | integer | null | 0–20 | Number of top probabilities returned per token |
logit_bias | map | — | — | Logit bias mapping per token |
user | string | — | — | End-user identifier for risk auditing |
Rate limits
| Tier | RPM | TPM | RPD |
|---|---|---|---|
| Eco | 990 | 398K | 20K |
| Test | 980 | 393K | 20K |
Data updated: 2026-10-10 12:10