- API · SDK Amazon Ergo API Routes Compare Amazon Bedrock vs Vercel AI Gateway endpoints, model IDs, auth keys, and Python Responses snippets. Open
- AWS · IAM Amazon Bedrock Setup Choose Global vs US cross-Region inference profiles and invoke Converse with boto3. Open
- CLI Agent Codex CLI Add a named Bedrock Responses TOML profile without overwriting your default Codex settings. Open
- CLI Agent Claude Code Bridge Anthropic Messages to Bedrock Responses with a localhost LiteLLM proxy. Open
- CLI Agent OpenCode Configure Bedrock’s OpenAI-compatible Chat Completions provider inside opencode.json. Open
- IDE · CLI Cursor CLI & Editor Unofficial Vercel AI Gateway base URL workaround (Cursor is not on AWS’s official list). Open
- AWS IDE Kiro IDE & CLI Check experimental Amazon Ergo preview eligibility inside Kiro IDE and Kiro CLI. Open
- vLLM · SGLang Open Weights & Self-Hosting Pick MXFP4, MXFP8, or BF16 checkpoints and verify nominal GPU cluster memory before deploying. Open
Choose your setup in 30 seconds
| Your workflow | Recommended route | Model ID to use | Start here |
|---|---|---|---|
| Quick prompt test | Vercel AI Gateway Playground | amazon/ergo-1.0 |
Try Online |
| Custom app / backend SDK | Bedrock OpenAI-compat or Converse | global.amazon.ergo-1.0 |
Ergo API / Bedrock |
| Terminal coding agent | Codex CLI or OpenCode | global.amazon.ergo-1.0 |
Codex / OpenCode |
| Existing Claude Code user | Localhost LiteLLM proxy → Bedrock | global.amazon.ergo-1.0 |
Claude Code |
| IDE workflow | Kiro preview or Cursor Gateway override | amazon/ergo-1.0 |
Kiro / Cursor |
| Private multi-GPU cluster | vLLM / SGLang + Hugging Face weights | Amazon-FMR/Ergo |
Open Weights |
Safe rollout checklist
Before pointing any coding agent at a production repository:
- Run one read-only prompt first (such as summarizing a single module) and confirm the exact model ID in your AWS CloudWatch/Bedrock or Vercel Gateway usage logs.
- Start with
reasoning_effort: mediumto balance planning depth against output token spend, then escalate tohighonly on stubborn multi-file bugs. - Track billed usage alongside the API cost calculator so retries and reasoning tokens stay inside your team budget.
Frequently asked questions
Which coding agent is easiest to configure with Amazon Ergo?
Codex CLI and OpenCode connect directly to Amazon Bedrock’s OpenAI-compatible endpoint with just a config file and AWS_BEARER_TOKEN_BEDROCK — no local proxy required.
Why do the guides use different Model IDs for Bedrock vs Vercel?
Amazon Bedrock expects a cross-Region inference profile ID (global.amazon.ergo-1.0 or us.amazon.ergo-1.0), whereas Vercel AI Gateway uses amazon/ergo-1.0. Using the wrong ID format returns a model-not-found or validation error.
Will these setups overwrite my existing Claude or OpenAI defaults?
Yes. All CLI guides either use a separate named profile (Codex), a dedicated localhost proxy shell (Claude Code), or an isolated provider block (OpenCode) so your existing default models stay untouched.