Claude Code model router

Claude Code Aws Gateway

Self-hosted API gateway for Claude Code on Amazon Bedrock — unlock extended thinking, web search & tool use with team budgets, OIDC SSO, and an admin portal

Install

From source
git clone https://github.com/antkawam/claude-code-aws-gateway.git

From the README

Claude Code AWS Gateway (CCAG)

A purpose-built gateway for running Claude Code through Amazon Bedrock. Deploy once, then give every developer on your team a single command to get connected.

For admins: Real-time budget controls, multi-account routing for latency optimization and data sovereignty, OIDC SSO, and a full analytics dashboard — all from a built-in portal.

For developers: One-command onboarding. No AWS credentials, no config files. A self-service portal shows personal usage metrics, budget consumption, and virtual key management.

For automation: A management CLI (ccag) for scripting key provisioning, team setup, budget enforcement, and SCIM provisioning setup. Webhook, SNS, and EventBridge integrations for piping budget alerts and events into your existing tools.

100% open source, every feature included. No enterprise tier, no feature gates, no per-seat pricing.

Why CCAG?

When Claude Code connects to Bedrock directly (CLAUDE_CODE_USE_BEDROCK=1), it operates in a reduced-capability mode — extended thinking, web search, and some tool use features are disabled on the client side. CCAG presents as the Anthropic Messages API, so Claude Code enables its full feature set while inference still runs through your AWS account.

Architecture

Claude Code connects to CCAG as it would to the Anthropic API. The gateway translates requests to Bedrock format, handles SSE streaming, and maps model IDs. No client-side changes are needed.

Portal

Getting Started

Prerequisites

- AWS account with Bedrock model access enabled for Claude models
- AWS CLI configured with credentials
- Docker

Option A: Docker Compose

Suitable for solo users, small teams, or evaluation.

The gateway starts at http://localhost:8080. Log in at http://localhost:8080/portal with the default…
Read the full README on GitHub

Details

Language
Rust
License
MIT
Last updated
29 October 2026
Topics
amazon-bedrockanthropicapi-gatewayapi-proxyaws-cdkbedrock-runtimebudget-managementclaudeclaude-codedeveloper-toolsdockerecs-fargate

FAQ

What is Claude Code Aws Gateway?

Self-hosted API gateway for Claude Code on Amazon Bedrock — unlock extended thinking, web search & tool use with team budgets, OIDC SSO, and an admin portal It is a model router for Claude Code, from antkawam/claude-code-aws-gateway on GitHub.

How do I install Claude Code Aws Gateway?

Clone antkawam/claude-code-aws-gateway from GitHub and follow the setup steps in its README.

Is Claude Code Aws Gateway popular?

antkawam/claude-code-aws-gateway has 22 GitHub stars and 7 forks, and is included in 1 curated Claude Code list. It was last updated on 29 October 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.