~/docs

Documentation

Bedrock Cloud is an Anthropic-compatible API gateway. Point any Claude-capable tool at it by changing one base URL — your code, SDKs and prompts stay exactly as they are.

base_urlhttps://api.bedrock.com.de
01 // quick_setup

The wizard configures Claude Code, Cursor, VS Code, Windsurf, Cline and Roo Code for you:

terminal
$npx bedrockcloud

it asks for your key, lets you pick your IDE, and writes the config.

02 // manual_config

claude code · ~/.claude/settings.json

json
{ "env": { "ANTHROPIC_AUTH_TOKEN": "sk-ant-bdr-...", "ANTHROPIC_BASE_URL": "https://api.bedrock.com.de", "ANTHROPIC_MODEL": "claude-fable-5-2", "CLAUDE_CODE_AUTO_MODE_SERVER": "0" } }

the optional [1m] suffix — e.g. claude-fable-5-2[1m] — is a hint for Claude Code itself, telling it to size its own context budget at 1M. The gateway strips it and serves the same model either way.

cursor / windsurf · openai-compatible

config
base_url: https://api.bedrock.com.de/v1 api_key: sk-ant-bdr-... model: claude-sonnet-5

cline / roo code · vscode settings.json

json
{ "cline.apiProvider": "anthropic", "cline.anthropicBaseUrl": "https://api.bedrock.com.de/v1", "cline.apiKey": "sk-ant-bdr-..." }
03 // direct_api
curl
curl https://api.bedrock.com.de/v1/messages \ -H "x-api-key: sk-ant-bdr-..." \ -H "content-type: application/json" \ -d '{ "model": "claude-fable-5-2", "max_tokens": 1024, "messages": [{"role":"user","content":"Hello!"}] }'

auth via x-api-key: KEY or Authorization: Bearer KEY — both work.

04 // models

18 models on one key. Send any id below as model — switching costs you a string change, nothing else.

Sonnet 5.5claude-sonnet-5-51M
Haiku 5.5claude-haiku-5-5200K
Fable 5.2newclaude-fable-5-21M
Fable 5.1claude-fable-5-11M
Fable 5claude-fable-51M
Opus 5.5newclaude-opus-5-51M
Opus 5claude-opus-51M
Sonnet 5newclaude-sonnet-51M
Opus 4.8claude-opus-4-81M
Opus 4.7claude-opus-4-71M
Opus 4.6claude-opus-4-61M
Sonnet 4.6claude-sonnet-4-61M
Opus 4.5claude-opus-4-5200K
Sonnet 4.5claude-sonnet-4-5-20250929200K
Haiku 4.5claude-haiku-4-5-20251001200K
Opus 4.1claude-opus-4-1-20250805200K
Opus 4claude-opus-4-20250514200K
Sonnet 4claude-sonnet-4-20250514200K

The catalog is public — no key needed to read it:

curl
curl https://api.bedrock.com.de/v1/models { "data": [ { "id": "claude-sonnet-5-5", "display_name": "Claude Sonnet 5.5", "context_window": 1000000 }, { "id": "claude-haiku-5-5", "display_name": "Claude Haiku 5.5", "context_window": 200000 }, { "id": "claude-fable-5-2", "display_name": "Claude Fable 5.2", "context_window": 1000000 }, ... ], "has_more": false }
05 // tokens

› A key is a wallet of tokens. It is created with a fixed grant and spends it as you work — there is no monthly reset and no rolling window.

› Every dimension counts: input, output, cache-write and cache-read are added up as the request total. One upstream token spends one of yours, whichever model you call.

› When the balance reaches zero the gateway answers with a plain refusal instead of a model reply. Ask whoever issued the key to add tokens and it resumes immediately.

› A top-up only raises the grant — the used counter keeps climbing, so the history stays readable.

› Each key can carry its own rate limit (requests per minute) as abuse protection; the token balance is the only usage gate.

› Check any key on the homepage — granted, used, remaining, recent requests and every top-up, no login required.

bedrock docsgateway online