BedrockRouter is an OpenAI- and Anthropic-compatible proxy that runs entirely in your AWS account. Integrate Anthropic Claude, MiniMax, and every other Bedrock model through a single endpoint.
Drop-in replacement
If your code already uses the OpenAI or Anthropic SDK, you only need to change the base URL. Every feature works the same: streaming, tool use, vision, function calling.
from openai import OpenAI
client = OpenAI(
base_url="https://YOUR_PROXY_URL/v1",
api_key="YOUR_BEDROCK_KEY",
)
response = client.chat.completions.create(
model="anthropic.claude-sonnet-4-5",
messages=[{"role": "user", "content": "Hi!"}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content, end="")Featured models
Best balance of intelligence and cost. Industry-leading on coding benchmarks. Drop-in replacement for most production workloads.
Fastest and most affordable Claude model. Near-Sonnet quality at a fraction of the cost — perfect for high-volume tasks.
MiniMax's flagship reasoning model. Strong on coding, agents, and tool calling — competitive with frontier models at lower cost.
Open-weight reasoning model with 1M-token context. Strong long-document understanding and agentic workflows.
How it works
One click in the AWS console. The stack provisions a Lambda, IAM role, Function URL, and a Bedrock API key.
Grab ProxyURL and ApiKey from the stack Outputs tab. That's your OpenAI-compatible base URL.
Point your existing OpenAI or Anthropic client at the proxy. Every request runs through your AWS account.
Why BedrockRouter
The proxy Lambda lives in your account. Requests never leave your infrastructure.
No SigV4, no IAM credentials. Single bearer token tied to your IAM permissions.
Drop-in replacement for any OpenAI or Anthropic SDK. Works with Claude Code and Cursor.
Pay AWS Bedrock's on-demand rates directly. We add nothing on top.
Token-by-token streaming for both Anthropic and OpenAI response formats.
One CloudFormation stack, two outputs, ready in 60 seconds.
Deploy in 60 seconds. Cancel any time by deleting the stack.