← Home

Get an Amazon Ergo API key

There are four ways to call Amazon Ergo from code: a hosted key from Ergo Model, Amazon Bedrock, OpenRouter, or running the open weights yourself. This page explains how to get an Amazon Ergo API key from us in a few minutes, and when one of the other routes is the better choice.

Ergo Model is an independent service. It is not affiliated with, endorsed by or operated by Amazon, AWS or OpenRouter.

Get an API keyTry the free playgroundSee pricing

Get a hosted key in four steps

  1. Sign in. Open the dashboard and create an account. This is free.
  2. Top up from $5. The API is prepaid. Packs are $5, $10, $20, $50 (credits $55) and $100 (credits $115), paid by card. Credits never expire and there is no subscription.
  3. Create a key. In the dashboard, create a key. It starts with ergo_live_. Store it in an environment variable such as ERGO_API_KEY.
  4. Call the API. Send requests to https://ergomodel.net/api/v1 with the model ergo-1.0. The quickstart below is a working request.

Creating a key costs nothing, but calls need a balance. At zero balance the API returns HTTP 402 insufficient_credits with a top-up link.

Four ways to access the model

1. Ergo Model hosted key

One ergo_live_ key, card payment, no AWS account. OpenAI-compatible, with the full 1,048,576-token context. $1.50 per 1M input tokens and $4.50 per 1M output tokens.

Get your keyBuy credit

2. Amazon Bedrock

Amazon's own service. Needs an AWS account. Inference profile global.amazon.ergo-1.0 is $1.00 in / $3.00 out per 1M tokens, and us.amazon.ergo-1.0 is $1.10 / $3.30. Bedrock also offers prompt caching and batch. There is no EU-only profile.

Compare providers

3. OpenRouter

Model id amazon/ergo-1.0, about $1 / $3 per 1M tokens, with some providers from $0.85 / $2.65. Needs an OpenRouter account. One provider there caps context at 262K, so check routing if you need the full window.

OpenRouter notes

4. Self-hosting

The weights are open on Hugging Face as Amazon-FMR/Ergo (626 GB in MXFP4). No key is needed, but it is a 1.1-trillion-parameter model that needs a multi-GPU server. Amazon's hardware requirements are not public. Read the license before commercial use.

About the model

Free playground

Not an API, but the fastest way to try the model first. It runs in the browser with no signup: 6 requests per minute and 40 per day per IP, 12,000 characters of input, up to 3,072 output tokens.

Open the playground

Which should I pick?

The full comparison, with prices and limits for each provider, is at /amazon-ergo-api.

Quickstart

Create your ergo_live_ key in the dashboard, then:

curl https://ergomodel.net/api/v1/chat/completions \
  -H "Authorization: Bearer ergo_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ergo-1.0",
    "messages": [
      { "role": "user", "content": "Say hello in one sentence." }
    ],
    "max_tokens": 2048
  }'

Keep max_tokens at 2048 or higher. The model always reasons before it answers and reasoning tokens come out of that limit, so a small value returns empty content. Any OpenAI SDK works once the base URL is https://ergomodel.net/api/v1.

Key facts

Get your API key →Read the quickstartAPI reference
Get an Amazon Ergo API key — instant, OpenAI-compatible · Ergo Model