Switching from Braintrust

Braintrust alternative.
Evals + replay, with a real gateway underneath.

Braintrust is an AI eval platform. AIgateway runs the same eval-driven routing pattern on the gateway itself — no glue code between eval results and routing decisions.

Get your key →See pricingClaim credit match
Migration

One-line diff.

Change the base URL and the key. Every other line of your integration stays the same.

Before — Braintrust proxy
# pip install braintrust openai
from braintrust import init_logger
from openai import OpenAI

init_logger(project="my-proj")

client = OpenAI(
    base_url="https://api.braintrust.dev/proxy/v1",
    api_key="bt-...",
)

r = client.chat.completions.create(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Hello"}],
)
After — AIgateway
# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

r = client.chat.completions.create(
    model="openai/gpt-5.4",
    messages=[{"role": "user", "content": "Hello"}],
)
Why switch

What AIgateway ships that Braintrust doesn't.

WINS
  • Evals are a gateway primitive — eval results bind to a routing alias directly.
  • Every modality, not just text LLM evals.
  • Replay + shadow A/B on any past request, zero extra wiring.
  • Sub-account API, cost tags, caching — an actual production gateway, not just eval infra.
  • No seat tax, no subscription.
HONEST
What Braintrust does better, per their public docs.
  • Braintrust has a richer eval-authoring UI for complex rubrics; we match on programmatic + CLI flows.
Credit match

Send your last Braintrust invoice.
We match it.

Forward last month's Braintrust invoice to switch@aigateway.sh and we apply matching AIgateway credit (up to $1,000) within 24 hours. Same base URL change. No migration tax.

Other migrations

Switching from something else?

Switch from OpenRouter →Switch from Portkey →Switch from Helicone →Switch from LiteLLM →Switch from Together AI →Switch from Fireworks AI →Switch from Requesty →