Skip to main content

Amazon Ergo-1.0 API Pricing and Day 0 Support on LiteLLM

Amazon Ergo-1.0 on LiteLLM: the LiteLLM and Amazon Ergo-1.0 lockup, then Amazon Ergo-1.0 selected in the LiteLLM model panel with its price, cached input price, 1M context window, 128K max output and 1.1T parameters.

LiteLLM now supports Amazon Ergo-1.0 on Amazon Bedrock on Day 0. Ergo-1.0 is an open-weight model for agentic coding and long-running professional work, and AWS lists Claude Code as a supported harness through a LiteLLM proxy. Use it through the LiteLLM AI Gateway with spend, rate limits and logs in one place.

Amazon Ergo-1.0 pricing​

Prices per 1M tokens on the global cross-Region profile, global.amazon.ergo-1.0:

  • Input: $1.00 / MTok
  • Cached input: $0.03 / MTok
  • Output: $3.00 / MTok
  • Cache write (30 minute TTL): $1.25 / MTok

The US profile, us.amazon.ergo-1.0, costs 10% more: $1.10 input, $0.033 cached input and $3.30 output. AWS bills Flex and Batch at the same rate as Standard.

Ergo-1.0 has 1.1T total parameters, a 1M-token context window and up to 128K output tokens. It takes text in and returns text, and its weights are on Hugging Face.

Use Amazon Ergo-1.0 with LiteLLM​

No upgrade needed: open Price Data under Models + Endpoints in the UI and click Reload Price Data (or POST /reload/model_cost_map), on v1.76.0 and above.

1. Setup config.yaml

model_list:
- model_name: amazon-ergo-1.0
litellm_params:
model: bedrock/global.amazon.ergo-1.0
api_key: os.environ/AWS_BEARER_TOKEN_BEDROCK
aws_region_name: us-west-2

Use bedrock/us.amazon.ergo-1.0 to keep traffic in US Regions. The api_key is a Bedrock API key; AWS credentials and IAM roles work too.

2. Start the proxy

docker run -d \
-p 4000:4000 \
-e AWS_BEARER_TOKEN_BEDROCK=$AWS_BEARER_TOKEN_BEDROCK \
-v $(pwd)/config.yaml:/app/config.yaml \
ghcr.io/berriai/litellm:v1.109.1 \
--config /app/config.yaml

3. Test it

curl -X POST "http://0.0.0.0:4000/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_KEY" \
-d '{
"model": "amazon-ergo-1.0",
"messages": [
{"role": "user", "content": "Write a Python function that checks whether a number is prime."}
],
"max_tokens": 8192
}'

Ergo-1.0 always reasons and spends part of the output limit on reasoning before it answers. AWS recommends a limit of at least 8,192 tokens, and a reasoning_effort of none returns a 400 error.

Use Amazon Ergo-1.0 with Claude Code​

Claude Code speaks the Anthropic Messages API, so it reaches Ergo-1.0 through the LiteLLM proxy. Start the proxy with the config above and a master key, then point Claude Code at it:

export ANTHROPIC_BASE_URL="http://0.0.0.0:4000"
export ANTHROPIC_AUTH_TOKEN="$LITELLM_KEY"
export ANTHROPIC_MODEL="amazon-ergo-1.0"
export ANTHROPIC_DEFAULT_SONNET_MODEL="amazon-ergo-1.0"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="amazon-ergo-1.0"
unset CLAUDE_CODE_USE_BEDROCK
claude

Each Claude Code session then shows up in LiteLLM spend logs at the Ergo-1.0 price. See Claude Code with non-Anthropic models for the full setup, and AWS's Claude Code with LiteLLM guide for Ergo-1.0.

FAQ​

How much does Amazon Ergo-1.0 cost?​

$1.00 per 1M input tokens and $3.00 per 1M output tokens on the global profile. Cached input costs $0.03 per 1M tokens. The US profile costs $1.10, $3.30 and $0.033.

What is the context window of Amazon Ergo-1.0?​

1M tokens, with up to 128K (131,072) output tokens. LiteLLM records 868,928 input tokens, the window minus the maximum output.

Is Amazon Ergo-1.0 open weights?​

Yes. AWS publishes the weights on Hugging Face under the Amazon Ergo Open-Weights License, so you can also self-host it.

Why does the base model ID amazon.ergo-1.0 return an error?​

Ergo-1.0 runs only through cross-Region inference. Call global.amazon.ergo-1.0 or us.amazon.ergo-1.0 instead.

Does Amazon Ergo-1.0 support tool calling?​

Yes. It supports client-side tool use, structured outputs, prompt caching and system prompts. It does not accept images.

Feedback​

Questions and feedback go in GitHub discussion #55574.

References​