GPT-6 Luna API

openai/gpt-6-luna
Coming soon. GPT-6 Luna is the fast, low-cost model in OpenAI's GPT-6 family, built for routine coding, monitoring and other high-volume work.
Context
1.05M tokens
Input
$0.13 / 1M tokens
Output
$0.65 / 1M tokens

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.
# GPT-6 Luna — coming soon to AI/ML API
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())
// GPT-6 Luna — coming soon to AI/ML API
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());
# GPT-6 Luna — coming soon to AI/ML API
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. Coming soon on AI/ML API.

GPT-6 Luna vs other models

ModelInputOutputContextBest for
GPT-6 Luna
This page
$0.13 / 1M tokens
$0.65 / 1M tokens
1.05M tokens
Coming soon — fast, high-volume tasks
$13 / 1M tokens
$65 / 1M tokens
1.05M 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

GPT-6 Luna is coming soon to AI/ML API. It will be served through the OpenAI-compatible chat completions endpoint under the model ID openai/gpt-6-luna.

On AI/ML API, GPT-6 Luna will cost $0.13 per million input tokens, $0.65 per million output tokens and $0.013 per million cached input tokens, with cache writes at $0.1625 per million. Coming soon on AI/ML API.

GPT-6 Luna is the fast, low-cost tier of the GPT-6 family, for routine and high-volume work. GPT-6 Sol is the everyday model above it, for tasks that need more capability.

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.