Ergo AI Guide

Amazon Ergo on Bedrock: Setup & Model IDs

Cross-Region inference profiles

AWS does not expose an in-Region model ID for Amazon Ergo-1.0. Every Bedrock call must target one of two cross-Region inference profiles:

Routing Scope Profile ID Uncached Input / Output Source Region Example
Global cross-Region global.amazon.ergo-1.0 $1.00 / $3.00 per 1M us-west-2
US Geo cross-Region us.amazon.ergo-1.0 $1.10 / $3.30 per 1M us-west-2

Check the full supported source/destination Region matrix on the AWS Amazon Ergo model card if you enforce strict data-residency policies.

Run a minimal Bedrock Converse request (Python)

  1. Confirm your AWS IAM user or role can invoke the target inference profile in us-west-2.
  2. Upgrade boto3 (pip install -U boto3) so the latest Bedrock runtime schema is available.
  3. Run the snippet below in your own environment (billed against your AWS account at Bedrock rates):
import boto3

bedrock = boto3.client("bedrock-runtime", region_name="us-west-2")
response = bedrock.converse(
    modelId="global.amazon.ergo-1.0",
    messages=[{
        "role": "user",
        "content": [{"text": "Write three Python edge-case tests for merging two sorted lists."}],
    }],
)

for block in response["output"]["message"]["content"]:
    if "text" in block:
        print(block["text"])

Controlling reasoning_effort and speed

  • Always-on reasoning: Ergo plans before answering. On the OpenAI-compatible Bedrock endpoint (/openai/v1), pass reasoning_effort (low, medium, high, or max) to tune reasoning depth against output token spend.
  • Throughput: Standard Bedrock inference reports 400+ output tokens/second, with AWS Trainium3 Turbo mode reaching up to 2,200 tokens/second in limited preview.

Connect a coding agent to Bedrock

  • Codex CLI: native Bedrock Responses TOML profile.
  • Claude Code: localhost LiteLLM proxy translating Anthropic Messages to Bedrock.
  • OpenCode: OpenAI-compatible Bedrock JSON provider block.
  • Ergo API comparison: decide between direct Bedrock bearer keys and Vercel AI Gateway.

Common setup errors

  • AccessDeniedException: Verify both the inference profile ARN and its destination Regions are allowed in your IAM policy and AWS Organizations SCPs.
  • ValidationException: Confirm you passed global.amazon.ergo-1.0 or us.amazon.ergo-1.0 (not bare amazon.ergo-1.0) in a supported source Region.
  • ThrottlingException: Inspect account Bedrock quotas in Service Quotas before ramping concurrent agent workers.

Evaluating private hardware instead? Check open-weight checkpoints and GPU VRAM.

QUESTIONS

Frequently asked questions

What is the exact Amazon Ergo model ID on Bedrock?

Use global.amazon.ergo-1.0 for Global cross-Region routing ($1 / $3 per 1M) or us.amazon.ergo-1.0 to keep inference strictly inside U.S. Regions ($1.10 / $3.30 per 1M).

Can I invoke Amazon Ergo with a single-Region model ID?

No. AWS only exposes cross-Region inference profiles (global.amazon.ergo-1.0 and us.amazon.ergo-1.0) for Ergo-1.0. Passing the bare model ID returns a validation error.

Does Amazon Bedrock retain my prompts or code?

Yes. Amazon Bedrock provides zero data retention and zero AWS operator access for Ergo inference under your IAM security boundary.