# 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.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Cached input |
Cache writes are billed at $0.1625 / 1M tokens. Coming soon on AI/ML API.
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
GPT-6 Luna This page | Coming soon — fast, high-volume tasks | |||
| Agentic workflows and computer use | ||||
| Fast, high-volume tasks | ||||
| Everyday coding + agents |
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.