FreeBrain / Pricing / Claude Sonnet 4.6
Claude Sonnet 4.6 API
Use Claude Sonnet 4.6 by Anthropic with the client you already have: change the base URL to FreeBrain and the model ID to claude-sonnet-4-6. $0.225 per 1M input tokens, 92.5% below the list price.
| Model ID | claude-sonnet-4-6 |
|---|---|
| Provider | Anthropic |
| Context window | 1M tokens |
| Maximum output | 128K tokens |
| Input | text, image, pdf |
| Input price | |
| Output price | |
| Endpoints | OpenAI Chat Completions https://api.thefreebrain.com/v1/chat/completionsAnthropic Messages https://api.thefreebrain.com/v1/messages |
Call it
Replace YOUR_API_KEY with a key from the FreeBrain console. More setups are in the quick start.
Anthropic Python SDK
from anthropic import Anthropic
client = Anthropic(base_url="https://api.thefreebrain.com", api_key="YOUR_API_KEY")
reply = client.messages.create(model="claude-sonnet-4-6", max_tokens=1024,
messages=[{"role": "user", "content": "Say hello from the gateway."}])
print(reply.content[0].text)Claude Code
ANTHROPIC_BASE_URL=https://api.thefreebrain.com ANTHROPIC_AUTH_TOKEN=YOUR_API_KEY ANTHROPIC_MODEL=claude-sonnet-4-6 claudecurl (Chat Completions)
curl https://api.thefreebrain.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-4-6", "messages": [{"role": "user", "content": "Hello"}]}'Questions
- How much does Claude Sonnet 4.6 cost on FreeBrain?
- $0.225 per 1M input tokens and $1.125 per 1M output tokens (snapshot 2026-10-08), compared with Anthropic's list price of $3.00 and $15.00. You pay as you go from a prepaid balance.
- Which endpoints support Claude Sonnet 4.6?
- OpenAI Chat Completions (https://api.thefreebrain.com/v1/chat/completions), Anthropic Messages (https://api.thefreebrain.com/v1/messages).
- Can I use Claude Sonnet 4.6 with Claude Code and the Anthropic SDK?
- Yes. Keep the tool, set its base URL to FreeBrain and use the model ID claude-sonnet-4-6. The examples on this page show the exact settings.
- Do I need an Anthropic account?
- No. A FreeBrain API key is enough; the same key calls every model in the catalog.
More Anthropic models
- Claude Fable 5.1 — $2.60 / $13.00 per 1M tokens
- Claude Fable 5 — $2.60 / $13.00 per 1M tokens
- Claude Opus 5.5 — $0.299 / $1.50 per 1M tokens
- Claude Opus 5 — $0.375 / $1.875 per 1M tokens
- Claude Opus 4.8 — $0.375 / $1.875 per 1M tokens
- Claude Opus 4.7 — $0.375 / $1.875 per 1M tokens
- Claude Opus 4.6 — $0.375 / $1.875 per 1M tokens
- Claude Opus 4.5 — $0.375 / $1.875 per 1M tokens
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