FreeBrain / Pricing / GPT-6 Astra

GPT-6 Astra API

Use GPT-6 Astra by OpenAI with the client you already have: change the base URL to FreeBrain and the model ID to gpt-6-astra. $1.00 per 1M input tokens, 90% below the list price.

Model IDgpt-6-astra
ProviderOpenAI
Context window1.05M tokens
Maximum output128K tokens
Inputtext, image, pdf
Input price$10.00 $1.00 per 1M tokens
Output price$50.00 $5.00 per 1M tokens
EndpointsOpenAI Chat Completions https://api.thefreebrain.com/v1/chat/completions
OpenAI Responses https://api.thefreebrain.com/v1/responses

Call it

Replace YOUR_API_KEY with a key from the FreeBrain console. More setups are in the quick start.

OpenAI Python SDK (Responses)

from openai import OpenAI

client = OpenAI(base_url="https://api.thefreebrain.com/v1", api_key="YOUR_API_KEY")
reply = client.responses.create(model="gpt-6-astra",
    input="Say hello from the gateway.")
print(reply.output_text)

Codex (~/.codex/config.toml)

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

[model_providers.freebrain]
name = "FreeBrain"
base_url = "https://api.thefreebrain.com/v1"
env_key = "FREEBRAIN_API_KEY"
wire_api = "responses"

curl (Chat Completions)

curl https://api.thefreebrain.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6-astra", "messages": [{"role": "user", "content": "Hello"}]}'

Questions

How much does GPT-6 Astra cost on FreeBrain?
$1.00 per 1M input tokens and $5.00 per 1M output tokens (snapshot 2026-10-08), compared with OpenAI's list price of $10.00 and $50.00. You pay as you go from a prepaid balance.
Which endpoints support GPT-6 Astra?
OpenAI Chat Completions (https://api.thefreebrain.com/v1/chat/completions), OpenAI Responses (https://api.thefreebrain.com/v1/responses).
Can I use GPT-6 Astra with Codex and the OpenAI SDK?
Yes. Keep the tool, set its base URL to FreeBrain and use the model ID gpt-6-astra. The examples on this page show the exact settings.
Do I need an OpenAI account?
No. A FreeBrain API key is enough; the same key calls every model in the catalog.

More OpenAI models

Prices are per 1 million tokens in US dollars, from the catalog snapshot of 2026-10-08. Rates can change; the console shows the price of every call. Endpoints as listed in the model plaza on 2026-10-08. Contact: info@thefreebrain.com