Rates are the upstream official list price — zero markup, published line by line on pricing→
← All models

OpenAI · GPT

GPT-6 Astra API

The top tier of the GPT-6 series.

GPT-6 Astra is made by OpenAI. On PixCode it is billed at the upstream official list price with zero markup: $10.00 input and $50.00 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 $20.00 input / $75.00 output.

Explicit prompt caching is supported: cache reads at $1.00, cache writes at $12.50 (5 min).

1.05M

Context window

$10.00

Input / 1M tokens

$50.00

Output / 1M tokens

OpenAI only

Protocols

Rates

USD per million tokens, read live from the gateway — the same data your charges come from.

ItemStandardAbove 272k(R)
Cache read$1.00$2.00$0.50›272k $1.00
Input$10.00$20.00$5.00›272k $10.00
Output$50.00$75.00$25.00›272k $37.50
Cache write (5 min)$12.50$12.50$6.25›272k $6.25

What the (R) version is

gpt-6-astra-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-astra.

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.

opencode · ~/.config/opencode/opencode.json
{
  "provider": {
    "pixcode": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "PixCode",
      "options": {
        "baseURL": "https://api.pixcode.ai/v1",
        "apiKey": "sk-px-..."
      },
      "models": {
        "gpt-6-astra": { "name": "GPT-6 Astra" }
      }
    }
  },
  "model": "pixcode/gpt-6-astra"
}
OpenAI-compatible · curl
curl https://api.pixcode.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-px-..." \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6-astra", "messages": [{"role": "user", "content": "Hello"}]}'

Across the family

Every GPT model on PixCode, in USD per million tokens.

ModelContextInputOutput
gpt-6-astrathis page1.05M$10.00$50.00
gpt-5.6-sol1.05M$4.00$20.00
gpt-5.6-terra1.05M$2.00$12.00
gpt-6.1-sol1.05M$2.00$10.00
gpt-6-sol1.05M$2.00$10.00
gpt-5.1-2025-11-13128K$1.25$10.00
gpt-5-2025-08-07400K$1.25$10.00
gpt-5.4-mini400K$0.75$4.50
gpt-5-mini-2025-08-07400K$0.25$2.00
gpt-5.4-nano400K$0.20$1.25
gpt-5.6-luna1.05M$0.20$1.20
gpt-6-luna1.05M$0.10$0.50
gpt-5-nano-2025-08-07400K$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.