GPT-6 Luna API

openai/gpt-6-luna
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.
Context
1M tokens
Input
$0.13 / 1M tokens
Output
$0.65 / 1M tokens
Released
Sep 22, 2026

Overview

What Is GPT-6 Luna?

GPT-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.

Technical Reference

  • Developer: OpenAI
  • Model ID: openai/gpt-6-luna
  • Release date: 22 September 2026
  • Endpoint: POST /v1/chat/completions
  • Context window: 1,050,000 tokens
  • Max output: 128,000 tokens
  • Modalities: Image, Text → Text
  • Reasoning effort: none, low, medium (default), high, xhigh, max

API Pricing

  • Input: $0.13 / 1M tokens
  • Output: $0.65 / 1M tokens
  • Cached input: $0.013 / 1M tokens
  • Cache write: $0.1625 / 1M tokens

What GPT-6 Luna Brings to the Table

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.

Where GPT-6 Luna Makes the Most Sense

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.

The GPT-6 Family

GPT-6 Astra is the flagship at $13 / $65 per 1M tokens, GPT-6 Sol is the mid tier at $2.6 / $13, and GPT-6 Luna is the cheapest at $0.13 / $0.65. All three share the same 1,050,000-token context window.

Uptime and performance

  • Uptime (24h): 67.0%
  • Uptime (7d): 95.0%
  • Availability (24h): 65.0%
  • Error rate (24h): 35.0%
  • End-to-end latency (24h median): 3.0s
  • Time to first token (24h median): 1.1s
  • Throughput (24h median): 48.9 tok/s

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

  • High-volume classification, extraction and routing
  • Routine coding tasks and automated code review
  • Monitoring and background jobs
  • Latency-sensitive features inside the request path

How to use GPT-6 Luna API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/gpt-6-luna.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/gpt-6-luna",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = 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": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST 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":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

GPT-6 Luna API Pricing

TypePrice
Input
$0.13 / 1M tokens
Output
$0.65 / 1M tokens
Cached input
$0.013 / 1M tokens

Cache writes are billed at $0.1625 / 1M tokens.

GPT-6 Luna Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
37.3
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 24, 2026

GPT-6 Luna vs other models

ModelInputOutputContextBest for
GPT-6 Luna
This page
$0.13 / 1M tokens
$0.65 / 1M tokens
1M tokens
Fast, high-volume tasks
$13 / 1M tokens
$65 / 1M tokens
1M tokens
Agentic workflows and computer use
$0.26 / 1M tokens
$1.56 / 1M tokens
1M tokens
Fast, high-volume tasks
$2.6 / 1M tokens
$15.6 / 1M tokens
1M tokens
Everyday coding + agents

Frequently asked questions

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.

On AI/ML API, GPT-6 Luna costs $0.13 per million input tokens, $0.65 per million output tokens and $0.013 per million cached input tokens. Cache writes are billed at $0.1625 per million.

GPT-6 Luna is the fast, low-cost tier at $0.13 / $0.65 per million tokens, for routine and high-volume work. GPT-6 Sol is the everyday model above it at $2.6 / $13, for tasks that need more capability. Both share the same 1,050,000-token context window.

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.

Start building with GPT-6 Luna

Get API Key
1000+ models, one API.