OpenAI · Checked October 13, 2026

How do I run GPT-6 Luna in Codex, OpenCode, Cline or Aider?

GPT-6 Luna runs on Standard Compute with the model ID openai/gpt-6-luna on every monthly plan from $19, drawing on a fixed compute budget that answers new requests with HTTP 402 at 100%. The same key works in Codex, OpenCode, Cline and Aider, and GPT-5.6 Luna is served too, as openai/gpt-5.6-luna.

ModelOpenAI's GPT-6 model for focused, high-volume work; OpenAI calls it its most efficient model.
Model IDopenai/gpt-6-lunaShort form gpt-6-luna also works
Base URLhttps://api.stdcmpt.com/v1
Context1.05M tokens at OpenAI, with 128K max outputA request here takes up to about 850K input and 50K output tokens
InputText, images and files
Reasoninglow, medium, high, xhigh or max, per request or as a Models page default

Copy a working config

Codex is OpenAI's own agent and speaks the Responses API natively; OpenCode, Cline and Aider work with the same key. Pinning Luna keeps every request on it; leave the model as standardcompute if you want harder steps to go to a stronger model you selected.

terminal/v1/responses
# Install Codex and the Standard Compute launcher once
npm install -g @openai/codex
curl -fsSL https://standardcompute.com/cli/install.sh | sh

# Start Codex pinned to openai/gpt-6-luna
standardcompute launch codex -- --model openai/gpt-6-luna

Replace YOUR_API_KEY with a key from the dashboard. This config reads your key from STANDARDCOMPUTE_API_KEY; export it with a key from the dashboard. Full setup: Codex CLI, OpenCode.

What it costs

Per 1M tokensPrompt up to 272KPrompt over 272K
Input$0.10$0.20
Cached input$0.01$0.02
Cache write$0.125$0.25
Output$0.50$0.75

OpenAI standard API rates. Regional data-residency endpoints add 10%. Source: OpenAI API pricing, checked October 13, 2026.

A 150K-token Codex turn on GPT-6 Luna
19,500 fresh input × $0.10/M$0.0019
130,500 cache hits × $0.01/M$0.0013
700 output × $0.50/M$0.0003
One turn$0.0036

Averages from coding-agent traffic on our gateway, Sep 13 to Oct 12, 2026: 87% of prompt tokens are cache hits and a turn returns about 700 tokens. Vendor list prices. About 9 in 10 coding-agent requests never reach Luna's long-prompt rate.

At that rate the $19 budget in the $19 Starter plan goes a long way on Luna alone. A plan pays off when Luna shares the month with heavier models.

What works differently here

  • Codex's built-in web search is off on this connection, and the launcher refuses --config, --profile and --oss so it can keep the connection settings it writes.
  • The Responses API here is stateless: previous_response_id returns 400. Codex sends the full conversation and works as shipped; a custom Responses client must do the same.
  • Luna is the efficient tier. GPT-6 Sol is not on Standard Compute yet, so for harder steps select GPT-6 Astra or GPT-5.6 Sol next to Luna and let routing decide.

Other ways to run GPT-6 Luna

OpenAI APIPay per tokenFirst-party, with the long-prompt rate above 272K.
ChatGPT plans with CodexSubscriptionCodex's native login. Usage runs within the plan's limits rather than a token bill.
OpenRouter / AzurePay per tokenPer-token billing through another account, for fallback or procurement.
Standard ComputeMonthly planOne key for Codex, OpenCode and Claude Code, with Luna next to Claude, Gemini and open models.

FAQ

Does GPT-6 Luna work in Claude Code?

Yes. Standard Compute serves every catalog model on the Messages API, so standardcompute launch claude -- --model openai/gpt-6-luna works. Codex is the closer fit: it is OpenAI's own agent and speaks the Responses API natively.

What is the cheapest way to run Luna in Cline or Aider?

A monthly plan that includes it: Standard Compute serves openai/gpt-6-luna and openai/gpt-5.6-luna on every plan, so Cline and Aider draw on the plan's compute budget. If Luna alone covers a light month, OpenAI's per-token API can cost less.

Is Luna good enough for day-to-day Cline work?

For routine edits, tool calls and code search, usually yes; OpenAI positions Luna for focused, high-volume work. For the steps where it stalls, select GPT-5.6 Sol next to Luna on the Models page and set Cline's model to standardcompute, so routing sends only the hard requests to Sol instead of escalating by hand.

Is GPT-6 Sol or GPT-6.1 Sol available?

Not yet. On the OpenAI side, GPT-6 Sol lists at $2 / $10 per million tokens. On Standard Compute the stronger OpenAI options today are GPT-6 Astra and GPT-5.6 Sol.

GPT-6 Luna or Claude Haiku 5.5?

Same list price on short prompts, but Haiku 5.5 charges five times more past 100K tokens while Luna's step comes much later. On a month of real coding-agent traffic Luna was about three times more efficient.

Sources: OpenAI API pricing; OpenAI: GPT-6 Luna model page

Create your key

Sign in, create a key in the dashboard and paste it into the config above.

Get your API key