// docs

Live in two minutes.

Point your editor at BroCode and start coding with Claude. Pick your tool below — or just run the wizard and let it do the work.

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
terminal
npx brocodelive
macOS / Linux
curl -fsSL https://brocode.live/setup.sh | bash
Windows (PowerShell)
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

  1. 1Run npx brocodelive and pick Claude Code — that’s it.
  2. 2Or configure it by hand:
~/.claude/settings.json
{
  "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.

Authentication
x-api-key: YOUR_API_KEY
# or
Authorization: Bearer YOUR_API_KEY
Example request
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"}]}'
POST/v1/messagesAPI key

Create a message. Set stream:true for SSE streaming. Anthropic-compatible request and response.

GET/v1/modelsnone

List every available model with its context_window. Public — this page is built from it.

POST/v1/messages/count_tokensAPI key

Count the tokens in a message without sending it.

GET/api/key-status?key=none

Check status, usage and limits for an API key.

GET /v1/models — response
{
  "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.

Fable 5newclaude-fable-5

Frontier reasoning and long-horizon agentic runs — the one you point at a whole codebase and walk away from.

1M
Opus 5newclaude-opus-5

The 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.

1M
Sonnet 5newclaude-sonnet-5

Frontier-class intelligence at Sonnet speed. The new default for everyday building.

1M
Opus 4.8claude-opus-4-8

Adaptive thinking and agentic coding. Whole-repo refactors that need it to actually hold the plot.

1M
Opus 4.7claude-opus-4-7

Still a monster. Keep pinning it if your prompts are tuned to it.

1M
Opus 4.6claude-opus-4-6

Deep reasoning on big, gnarly problems.

1M
Sonnet 4.6claude-sonnet-4-6

The everyday sweet spot — most of what you build, most days.

1M
Opus 4.5claude-opus-4-5

A known quantity for pipelines you don’t want to re-tune.

200K
Sonnet 4.5claude-sonnet-4-5-20250929

Solid general-purpose work when you want the older behaviour.

200K
Haiku 4.5claude-haiku-4-5-20251001

Autocomplete, quick edits, classification, anything high-volume where latency is the whole game.

200K
Opus 4.1claude-opus-4-1-20250805

Pinned for reproducibility.

200K
Opus 4claude-opus-4-20250514

Pinned for reproducibility.

200K
Sonnet 4claude-sonnet-4-20250514

Pinned for reproducibility.

200K

Troubleshooting

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.

Start free — ₹999