gpt-6-astra pricing and API access

Run gpt-6-astra through Code By AI for $1.33 per 1M input tokens and $6.67 per 1M output tokens. OpenAI lists the same model at $10.00 and $50.00; you pay about 87% less than that, with no monthly subscription.

Official price

$10.00

per 1M tokens, USD

Your price

$1.33

per 1M tokens, USD

Δ

−87%

1/7.5 of official price

gpt-6-astraOfficial priceYour price
Input$10.00$1.33
Cached input$1.00$0.13
Output$50.00$6.67

How to use gpt-6-astra

In config.toml add a [model_providers.codebyai] block with base_url = "https://www.codebyai.net/api/agent", set model_provider = "codebyai", and save your Code By AI key as OPENAI_API_KEY in auth.json, and use the model ID gpt-6-astra. The Codex guide walks through the full configuration.

model_provider = "codebyai"
model = "gpt-6-astra"

[model_providers.codebyai]
name = "codebyai"
base_url = "https://www.codebyai.net/api/agent"
wire_api = "responses"
requires_openai_auth = true
Read the Codex setup guide

Compare other Codex models

gpt-6-astra FAQ

How much does gpt-6-astra cost on Code By AI?
gpt-6-astra costs $1.33 per 1M input tokens, $0.13 per 1M cached input tokens and $6.67 per 1M output tokens. OpenAI lists the same model at $10.00 input and $50.00 output.
Is gpt-6-astra the default Codex model?
No. Requests to Codex without a model parameter use the default model instead; set the model parameter to gpt-6-astra to select this one.
How do I use gpt-6-astra?
In config.toml, add a [model_providers.codebyai] block with base_url = "https://www.codebyai.net/api/agent", set model_provider = "codebyai" and save your Code By AI key as OPENAI_API_KEY in auth.json, then use the model ID gpt-6-astra. The Codex guide covers the full configuration.