OpenAI · GPT
GPT-6 Luna API
The lightest tier of the GPT-6 series, for high-volume simple tasks.
GPT-6 Luna is made by OpenAI. On PixCode it is billed at the upstream official list price with zero markup: $0.10 input and $0.50 output per million tokens, with a 1.05M context window.
It speaks the OpenAI protocol only (/v1/chat/completions), so it cannot be plugged into Claude Code directly; use it in opencode, Cline, Roo Code or any OpenAI SDK.
Mind the tiered price: when a request’s prompt (including cache) exceeds 272k tokens, the whole request is billed at $0.20 input / $0.75 output.
Explicit prompt caching is supported: cache reads at $0.01, cache writes at $0.125 (5 min).
1.05M
Context window
$0.10
Input / 1M tokens
$0.50
Output / 1M tokens
OpenAI only
Protocols
Rates
USD per million tokens, read live from the gateway — the same data your charges come from.
| Item | Standard | Above 272k | (R) |
|---|---|---|---|
| Cache read | $0.01 | $0.02 | $0.005›272k $0.01 |
| Input | $0.10 | $0.20 | $0.05›272k $0.10 |
| Output | $0.50 | $0.75 | $0.25›272k $0.375 |
| Cache write (5 min) | $0.125 | $0.125 | $0.0625›272k $0.0625 |
What the (R) version is
gpt-6-luna-r is the (R) version of the same model. It is served through a reverse-engineered channel rather than the vendor’s official API, which is why it costs about half as much. The trade-off: stability, availability and data-handling terms are not covered by the official API, and it may change or be withdrawn at any time. For reliability, use gpt-6-luna.
Which tools can use it
It depends on the protocol. Claude Code only speaks Anthropic; Roo Code, Kilo Code and Goose use OpenAI; opencode, Cline, Zed and Factory Droid can be configured either way.
- Claude CodeNot supported
- opencodeOpenAI endpoint
- ClineOpenAI endpoint
- Roo CodeOpenAI endpoint
- Kilo CodeOpenAI endpoint
- Factory DroidOpenAI endpoint
- ZedOpenAI endpoint
- GooseOpenAI endpoint
Setup
Replace sk-px-... with the API key from your dashboard. Other tools are covered in the docs.
{
"provider": {
"pixcode": {
"npm": "@ai-sdk/openai-compatible",
"name": "PixCode",
"options": {
"baseURL": "https://api.pixcode.ai/v1",
"apiKey": "sk-px-..."
},
"models": {
"gpt-6-luna": { "name": "GPT-6 Luna" }
}
}
},
"model": "pixcode/gpt-6-luna"
}curl https://api.pixcode.ai/v1/chat/completions \
-H "Authorization: Bearer sk-px-..." \
-H "Content-Type: application/json" \
-d '{"model": "gpt-6-luna", "messages": [{"role": "user", "content": "Hello"}]}'Across the family
Every GPT model on PixCode, in USD per million tokens.
| Model | Context | Input | Output |
|---|---|---|---|
| gpt-6-astra | 1.05M | $10.00 | $50.00 |
| gpt-5.6-sol | 1.05M | $4.00 | $20.00 |
| gpt-5.6-terra | 1.05M | $2.00 | $12.00 |
| gpt-6.1-sol | 1.05M | $2.00 | $10.00 |
| gpt-6-sol | 1.05M | $2.00 | $10.00 |
| gpt-5.1-2025-11-13 | 128K | $1.25 | $10.00 |
| gpt-5-2025-08-07 | 400K | $1.25 | $10.00 |
| gpt-5.4-mini | 400K | $0.75 | $4.50 |
| gpt-5-mini-2025-08-07 | 400K | $0.25 | $2.00 |
| gpt-5.4-nano | 400K | $0.20 | $1.25 |
| gpt-5.6-luna | 1.05M | $0.20 | $1.20 |
| gpt-6-lunathis page | 1.05M | $0.10 | $0.50 |
| gpt-5-nano-2025-08-07 | 400K | $0.05 | $0.40 |
One base URL, 60 models.
A monthly Pass converts 1:1 into crystals, billed at the upstream official list price with zero markup. Purchased crystals never expire.