← Home

Amazon Ergo API: every provider compared

There are four ways to get an Amazon Ergo API today: Amazon Bedrock, OpenRouter, hosting the open weights yourself, and an independent reseller such as this site. They serve the same model at different prices and with different signup steps. This page lists the model id, endpoint, price and requirements for each one so you can pick quickly.

Amazon Ergo API providers at a glance

Prices are US dollars per 1 million tokens. Reasoning tokens are billed as output on every route. Third-party prices were checked on December 3, 2026 and can change, so confirm them with the provider.

RouteModel idEndpoint styleInput / 1MOutput / 1MWhat you needContext limits
Amazon Bedrock (global profile)global.amazon.ergo-1.0OpenAI-compatible$1.00$3.00AWS account1,048,568 in · 131,072 out
Amazon Bedrock (US profile)us.amazon.ergo-1.0OpenAI-compatible$1.10$3.30AWS account1,048,568 in · 131,072 out
OpenRouteramazon/ergo-1.0OpenAI-compatibleabout $1.00 (some providers from $0.85)about $3.00 (some providers from $2.65)OpenRouter account and creditsUp to 1M; depends on the provider (one caps at 262K)
Self-hosted weights (Hugging Face)Amazon-FMR/ErgoWhatever your server exposes (vLLM or SGLang)Your hardwareYour hardwareA multi-GPU server (requirements not public)1,048,576 in · 131,072 out
Ergo Model (this site)ergo-1.0OpenAI-compatible$1.50$4.50Free signup and a card; no AWS account1,048,576 in · 131,072 out

Ergo Model is independent and is not affiliated with Amazon, AWS or OpenRouter.

The Amazon Ergo API on Bedrock

Bedrock is Amazon's own hosted route, where the model is listed as Amazon Ergo-1.0. You call it through an inference profile: global.amazon.ergo-1.0 at $1.00 input and $3.00 output per 1M tokens (cache reads $0.03), or us.amazon.ergo-1.0 at $1.10 and $3.30 for the US profile. There is no EU-only profile. Bedrock supports tool use, structured outputs, prompt caching, streaming and batch.

You need an AWS account with Bedrock access. The OpenAI-compatible base URL is https://bedrock-runtime.<region>.amazonaws.com/openai/v1. Create a Bedrock API key in your AWS account and export it as AWS_BEARER_TOKEN_BEDROCK, as the Bedrock documentation describes.

# Replace <region> with your AWS region.
curl https://bedrock-runtime.<region>.amazonaws.com/openai/v1/chat/completions \
  -H "Authorization: Bearer $AWS_BEARER_TOKEN_BEDROCK" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "global.amazon.ergo-1.0",
    "max_tokens": 8192,
    "reasoning_effort": "medium",
    "messages": [{ "role": "user", "content": "Review this diff." }]
  }'

On Bedrock reasoning_effort accepts low, medium, high, xhigh and max. Sending "none" returns HTTP 400.

OpenRouter

OpenRouter lists the model as amazon/ergo-1.0 and routes each request to one of several providers. The price is about $1 input and $3 output per 1M tokens, with some providers from $0.85 and $2.65. You need an OpenRouter account with credits. One thing to check: providers differ, and one of them (Featherless) caps context at 262K, so pin or exclude providers if you depend on long prompts.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "amazon/ergo-1.0",
    "max_tokens": 8192,
    "messages": [{ "role": "user", "content": "Review this diff." }]
  }'

Our OpenRouter guide has more detail for people coming from OpenRouter.

Self-hosting the open weights

Amazon publishes the weights on Hugging Face in three builds: Amazon-FMR/Ergo (MXFP4, 626 GB), Amazon-FMR/Ergo-mxfp8 (1.17 TB) and Amazon-FMR/Ergo-bf16 (2.22 TB). Serving with vLLM or SGLang is documented on the model card. Amazon's hardware requirements are not public; this is a 1.1-trillion-parameter model, so plan for a multi-GPU server. No GGUF or Ollama build has been confirmed. The Amazon Ergo Open-Weights License allows commercial use, with a separate agreement required for model-as-a-service businesses above US$20M in yearly revenue. Read the license before you deploy.

Ergo Model (this site)

We run a hosted, prepaid, OpenAI-compatible Amazon Ergo API for people who do not want to set up AWS. Under the hood we reach it through OpenRouter, pinned to providers that serve the full 1M context. The base URL is https://ergomodel.net/api/v1, the model id is ergo-1.0 (aliases ergo, amazon-ergo and amazon/ergo-1.0 also work), and keys start with ergo_live_.

curl https://ergomodel.net/api/v1/chat/completions \
  -H "Authorization: Bearer $ERGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ergo-1.0",
    "max_tokens": 8192,
    "reasoning": { "effort": "medium" },
    "messages": [{ "role": "user", "content": "Review this diff." }]
  }'

The same call with the OpenAI SDK:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://ergomodel.net/api/v1",
  apiKey: process.env.ERGO_API_KEY, // ergo_live_...
});

const res = await client.chat.completions.create({
  model: "ergo-1.0",
  max_tokens: 8192,
  messages: [{ role: "user", content: "Review this diff." }],
});

Full reference: API docs · pricing · rate limits · OpenAI compatibility.

Which Amazon Ergo API should you pick?

Bedrock and OpenRouter are cheaper per token than we are. That is the plain comparison, and for heavy usage it decides the question.

Pick Bedrock if

You already have an AWS account, want the lowest list price from the model's maker, or need prompt caching, batch or the US profile.

$1.00 / $3.00

Pick OpenRouter if

You already hold OpenRouter credits or switch between many models, and you are willing to manage provider routing yourself.

~$1 / ~$3

Pick Ergo Model if

You want one key, card payment and no AWS account, with the full context window already pinned. You pay more per token for that.

$1.50 / $4.50

Self-hosting only makes sense if you already run large GPU clusters or must keep data on your own hardware. To see what the price gap means in practice: a 100,000-token prompt with a 2,000-token answer costs about $0.159 here and about $0.106 on the Bedrock global profile.

Using it in a coding agent

AWS documents Bedrock setups for OpenCode (through @ai-sdk/openai-compatible) and Codex CLI, and has announced Kiro support. Claude Code speaks the Anthropic Messages format, so it only works through a translating proxy such as LiteLLM. There is no vendor guidance for Cline or Cursor, but both accept any OpenAI-compatible endpoint. Step-by-step configs for our endpoint are on the integrations page.

FAQ

Is there an Amazon Ergo API?

Yes. Amazon serves the model through Amazon Bedrock, which has an OpenAI-compatible endpoint. OpenRouter lists it as amazon/ergo-1.0, and independent services such as Ergo Model resell access behind a single key. Because the weights are open, you can also host it yourself.

Which Amazon Ergo API is the cheapest?

Per token, the Bedrock global profile and OpenRouter are the cheapest hosted options at about $1 per 1M input tokens and $3 per 1M output tokens, with some OpenRouter providers from $0.85 and $2.65. Ergo Model charges $1.50 and $4.50. Self-hosting has no per-token fee but needs a multi-GPU server.

Do I need an AWS account to call Ergo?

Only for Bedrock. OpenRouter and Ergo Model each use their own account and key, and neither needs AWS.

Is the Amazon Ergo API free?

No hosted route is free per token. On this site the browser playground is free without signup (6 requests a minute, 40 a day per IP), and creating an API key is free, but API calls need a prepaid balance starting at $5.

Is it OpenAI-compatible?

Bedrock, OpenRouter and Ergo Model all expose the OpenAI Chat Completions shape, so an existing OpenAI SDK works after you change the base URL, key and model id.

Why did I get an empty reply?

Ergo always reasons before answering and the reasoning tokens count against max_tokens. With a small limit such as 300 the budget is spent before any visible text is written, and the reply ends with finish_reason "length". Set max_tokens to at least 2048; AWS suggests 8,192 or higher.

Does every provider give the full 1M context?

No. Bedrock lists 1,048,568 tokens. On OpenRouter it depends on which provider serves the request, and one provider there caps context at 262K. Ergo Model pins requests to providers that serve the full window.

New to the model? Start with what Amazon Ergo is.

Try it in the playground →Get an API key
Amazon Ergo API — every provider, model ID and price compared · Ergo Model