// docs
Live in two minutes.
Quickest start
One command. It asks for your key, configures your editors, and verifies the connection before it exits.
- 1Asks for your API key
- 2Configures your chosen IDEs
- 3Web search & vision work automatically
- 4Verifies your connection
npx brocodelive
curl -fsSL https://brocode.live/setup.sh | bash
irm https://brocode.live/setup.ps1 | iex
Set up your editor
Pick your tool — manual config, for when you would rather not run the wizard.
Claude Code
- 1Run npx brocodelive and pick Claude Code — that’s it.
- 2Or configure it by hand:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://api.brocode.live",
"ANTHROPIC_MODEL": "claude-fable-5[1m]",
"ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4-5-20251001",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001"
},
"hasCompletedOnboarding": true
}// Replace YOUR_API_KEY with your BroCode key. The [1m] suffix selects the 1M-context tier.
API reference
Base URL: https://api.brocode.live · Anthropic-compatible.
x-api-key: YOUR_API_KEY # or Authorization: Bearer YOUR_API_KEY
curl https://api.brocode.live/v1/messages \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet-5",
"max_tokens":1024,
"messages":[{"role":"user","content":"Hi"}]}'/v1/messagesAPI keyCreate a message. Set stream:true for SSE streaming. Anthropic-compatible request and response.
/v1/modelsnoneList every available model with its context_window. Public — this page is built from it.
/v1/messages/count_tokensAPI keyCount the tokens in a message without sending it.
/api/key-status?key=noneCheck status, usage and limits for an API key.
{
"data": [
{ "id": "claude-fable-5",
"display_name": "Claude Fable 5",
"type": "model",
"context_window": 1000000 },
{ "id": "claude-opus-5",
"display_name": "Claude Opus 5",
"type": "model",
"context_window": 1000000 },
{ "id": "claude-sonnet-5",
"display_name": "Claude Sonnet 5",
"type": "model",
"context_window": 1000000 }
…
],
"has_more": false
}Web search
Automatic and server-side — no setup. Claude looks things up when it needs current information.
Image analysis
Send a URL, a path or base64 — vision is handled for you, server-side, on every plan.
Available models
Every model is available on every plan. Pass the ID in the model field. Add a [1m] suffix (e.g. claude-opus-4-8[1m]) to select the 1M-context tier where a model offers one.
claude-fable-5Frontier reasoning and long-horizon agentic runs — the one you point at a whole codebase and walk away from.
1Mclaude-opus-5The newest Opus. Thinks before it answers by default, and knows the world up to May 2026 — freshest brain on the list. Point it at the hard stuff.
1Mclaude-sonnet-5Frontier-class intelligence at Sonnet speed. The new default for everyday building.
1Mclaude-opus-4-8Adaptive thinking and agentic coding. Whole-repo refactors that need it to actually hold the plot.
1Mclaude-opus-4-7Still a monster. Keep pinning it if your prompts are tuned to it.
1Mclaude-opus-4-6Deep reasoning on big, gnarly problems.
1Mclaude-sonnet-4-6The everyday sweet spot — most of what you build, most days.
1Mclaude-opus-4-5A known quantity for pipelines you don’t want to re-tune.
200Kclaude-sonnet-4-5-20250929Solid general-purpose work when you want the older behaviour.
200Kclaude-haiku-4-5-20251001Autocomplete, quick edits, classification, anything high-volume where latency is the whole game.
200Kclaude-opus-4-1-20250805Pinned for reproducibility.
200Kclaude-opus-4-20250514Pinned for reproducibility.
200Kclaude-sonnet-4-20250514Pinned for reproducibility.
200KTroubleshooting
Connection errors
Check that your API key is active and not expired on the Check Usage page.
Web search / image tools not working
They are built into the server and work automatically. If problems persist, verify your key is valid.
Model not found
Use an exact model ID from the table above (e.g. claude-sonnet-5), or a friendly name like “Sonnet 5”.
Rate limited
Your 5-hour window may be exhausted — check /api/key-status. It resets automatically.
Changes not applying
Restart your IDE after any config change.
Cursor / Windsurf not routing
Make sure you are pointing at the /v1 endpoint URL.
Got your key? Go build.
Two minutes from here to a working setup. If anything trips you up, the FAQ probably covers it.