GPT-6 Luna API

The fastest and most affordable model in OpenAI's GPT-6 family, for routine, high-volume work.

Modalities
Text, ImageText
In / Out price
$0.1/$0.5per 1M
Context window
1.05M tokens
Released
Sep 22, 2026

GPT-6 Luna overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by GPT-6 Luna through AI/ML API

GPT-6 Luna by OpenAI

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.

GPT-6 Luna specs

Model ID
openai/gpt-6-luna
Developer
OpenAI
Context window
1,050,000 tokens
Max output
128,000 tokens
Input
Text, Image
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

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

  • Release date: 22 September 2026
  • Endpoint: POST /v1/chat/completions
  • Context window: 1,050,000 tokens
  • Modalities: Image, Text → Text
  • Reasoning effort: none, low, medium (default), high, xhigh, max

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.

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

Capabilities

  • Reasoning
  • Function calling
  • Vision
  • Structured outputs
  • Streaming

GPT-6 Luna benchmarks by Artificial Analysis

See how GPT-6 Luna compares in intelligence, generation speed and cost per task. Data retrieved Nov 3, 2026.

Intelligence

Index v5.0

Speed

Output tokens / second

Cost per task

USD / benchmark task

Benchmark results

Compare 5 models available on AI/ML API across 4 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

GPT-6 Luna API pricing

GPT-6 Luna pricing in US dollars
UsagePriceUnit
Input$0.11M tokens
Output$0.51M tokens
Cached input$0.011M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

GPT-6 Luna vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
GPT-6 Luna$0.1$0.5
GPT-6.1 Terra$1$5
GPT-6.1 Sol$2$10
GPT-6 Sol$2$10
GPT-6.1 Terra Pro$2.12$10.58

How to use the GPT-6 Luna API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'

GPT-6 Luna FAQ

Is GPT-6 Luna available on AI/ML API?

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.

How much does GPT-6 Luna cost?

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.

What is GPT-6 Luna for?

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.

What is the GPT-6 Luna model ID?

Use openai/gpt-6-luna as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.

What is the context window of GPT-6 Luna?

GPT-6 Luna accepts up to 1,050,000 tokens of context and returns up to 128,000 output tokens.

Start building with GPT-6 Luna

GPT-6 Luna API

openai/gpt-6-luna

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'