One API, multiple compatible endpoints
Connect with leading AI clients. Check the model plaza for each model’s supported endpoints and the API docs for integration details.
Up to −92.5%vs official list prices
Connect to a growing catalog through one compatible endpoint.
export OPENAI_BASE_URL=https://api.thefreebrain.com/v1Models in the catalog from
01/Pricing
Use Discount Offers to lower your AI costs: up to 92.5% off list price on selected text models. Each model’s own rate is in the table below.
Price snapshot: 2026-10-08. Input/output prices are per million tokens. Discounts vary by model and billing item. Confirm current rates in the model plaza.
02/Layer
Use one compatible API for every model currently live, with per-key controls, visible usage and pay-as-you-go billing. Add new models without rebuilding your integration.
21
models in the catalog
2
model providers
4
configured API endpoints
1.05M
tokens max published context
Connect with leading AI clients. Check the model plaza for each model’s supported endpoints and the API docs for integration details.
Set quotas, spend caps and rate limits per key, then review usage and billing in the console.
From request to model, usage and bill, every step is recorded in the console so the actual cost never has to be guessed.
Each request goes through one gateway to a configured channel, while the model ID, token usage and billed amount stay visible.
03/Developers
Keep your existing client. Change the base URL and model ID, then move between models without rebuilding your stack.
Works with Cherry Studio, CC Switch and apps that support leading AI API protocols.
Claude Code setupCodex setupMigration checklistPython SDKNode.js SDK
from openai import OpenAI client = OpenAI(base_url="https://api.thefreebrain.com/v1", api_key="YOUR_API_KEY")reply = client.chat.completions.create(model="gpt-6.1-sol", messages=[{"role": "user", "content": "Say hello from the gateway."}])print(reply.choices[0].message.content)
Example model: gpt-6.1-sol. See the model plaza for rates and endpoint availability.
04/Quick start
Paste an API key and every command, config file and one-click import below picks it up. The key stays on this page: it is never uploaded or stored.
No key yet: commands show YOUR_API_KEY and one-click imports stay off.
Paste into a terminal. It applies to this run only, good for a first try.
ANTHROPIC_BASE_URL=https://api.thefreebrain.com ANTHROPIC_AUTH_TOKEN=YOUR_API_KEY claudeMerge into the env block of this file, then just run claude. Opus, Sonnet and Haiku map to models that are online.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.thefreebrain.com",
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001"
}
}With CC Switch installed, add FreeBrain and make it Claude Code's provider in one click.
Add your key above first.
One-click imports need the app installed on this computer. On Windows PowerShell, set variables with $env:NAME="value" instead of export.
05/For everyone
The same low-cost gateway can carry you from the first request to a stable production workload.
Ship faster, pay per use.
Control and reliability at scale.
Three steps
Create a key in the console, top up balance and set a quota.
Point any compatible client at the gateway base URL.
Track usage, cost and latency live, per key and request.
06/Start
Create a key, paste it into the client you already use, and send your first request.