Intelligence
Index v5.0
Custom pricing for production workloads
The fastest and most affordable model in OpenAI's GPT-6 family, for routine, high-volume work.
GPT-6 Luna is OpenAI's most efficient model for focused, high-volume tasks, the cheapest tier of the GPT-6 family, with the same 1,050,000-token context window as the larger models.
openai/gpt-6-lunahttps://api.aimlapi.com/v1GPT-6 Luna is OpenAI's most efficient model for focused, high-volume tasks and the cheapest tier of the GPT-6 family. It keeps the same 1,050,000-token context window as the larger models, with configurable reasoning effort, tool calling, vision and web search, and is available on AI/ML API today.
Lowest cost in the family
Twenty times cheaper per token than GPT-6 Sol, which is what makes high-volume work affordable.
Same context window
1,050,000 tokens, the same as GPT-6 Sol and GPT-6 Astra, so long inputs do not force a move up a tier.
Configurable reasoning
Effort runs from none through max, so the same model covers quick classification and harder one-off questions.
Vision and tools
Image and file input, parallel tool calls, structured outputs and web search are all available.
High-volume workloads
Classification, extraction and routing across large numbers of requests.
Routine coding
Small, repetitive engineering tasks and automated code review.
Latency-sensitive paths
Features that sit inside the request path and cannot wait for a heavier model.
See how GPT-6 Luna compares in intelligence, generation speed and cost per task. Data retrieved Nov 3, 2026.
Compare 5 models available on AI/ML API across 4 independent benchmarks.
Expert-written questions across academic subjects.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.1 | 1M tokens |
| Output | $0.5 | 1M tokens |
| Cached input | $0.01 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.1 | $0.5 | |
| $1 | $5 | |
| $2 | $10 | |
| $2 | $10 | |
| $2.12 | $10.58 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Yes. GPT-6 Luna is available on AI/ML API through the OpenAI-compatible chat completions endpoint under the model ID openai/gpt-6-luna.
GPT-6 Luna costs $0.1 input and $0.5 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Work that runs at volume and cannot wait: classification, extraction, routing, routine coding tasks, monitoring and background jobs, where latency and cost matter more than reaching for the strongest model.
Use openai/gpt-6-luna as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.
GPT-6 Luna accepts up to 1,050,000 tokens of context and returns up to 128,000 output tokens.