Ergo 1.0 API

Run an open-weight agentic reasoning model for software engineering and enterprise agent work

Modalities
TextText
In / Out price
$1.058/$3.174per 1M
Context window
1.05M tokens
Released
Dec 1, 2026

Ergo 1.0 overview

The pelican test: one prompt, every text model, unedited SVG output from Dec 1, 2026.

SVG of a pelican riding a bicycle, written by Ergo 1.0 through AI/ML API

Ergo 1.0 by Amazon

Amazon built Ergo 1.0 as a Mixture-of-Experts transformer with 1.1T total and 55B active parameters. Reasoning is always on, with effort from low to max.

Ergo 1.0 specs

Model ID
amazon/ergo-1.0
Developer
Amazon
Context window
1,048,568 tokens
Max output
131,072 tokens
Input
Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Plan for long inputs and long answers

Amazon describes Ergo 1.0 as an agentic reasoning model for real-world work. The context window holds up to 1,048,568 tokens, so a large repository excerpt or a long agent trace fits in one prompt.

A single response can run up to 131,072 tokens, and streaming is listed as a capability of this endpoint. Test your longest realistic prompt first to see how output length and latency behave.

Set reasoning effort per task

Reasoning effort constrains how much effort the model spends on reasoning. Reducing it can result in faster responses and fewer tokens used on reasoning.

Start with medium for routine agent steps. Run your hardest tasks at high as well, then compare the two outputs to see whether the extra effort changes the result.

Use cases

Fix a bug that spans several files of a repository and return a patch.

Drive an enterprise agent that plans a task, picks tools and checks its own intermediate results.

Review a large pull request with the full diff and the surrounding code in one prompt.

Read a long agent trace or log and explain where a workflow went wrong.

Capabilities

  • Reasoning
  • Streaming

Ergo 1.0 API pricing

Ergo 1.0 pricing in US dollars
UsagePriceUnit
Input$1.0581M tokens
Output$3.1741M tokens
Cached input$0.031741M tokens

Prices from the AI/ML API price list, checked on Dec 3, 2026.

Ergo 1.0 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Ergo 1.0$1.058$3.174
Nova Micro 1.0$0.03703$0.14812
Nova Lite 1.0$0.06348$0.25392
Nova 2 Lite$0.3174$2.645
Nova Pro 1.0$0.8464$3.3856

How to use the Ergo 1.0 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "amazon/ergo-1.0",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Ergo 1.0 FAQ

How much does Ergo 1.0 cost?

Ergo 1.0 costs $1.058 / 1M tokens for input and $3.174 / 1M tokens for output on AI/ML API. Cached input is billed at $0.03174 / 1M tokens.

What inputs and outputs does Ergo 1.0 support?

Ergo 1.0 takes text and returns text. This endpoint does not accept images, audio or video.

Can I turn reasoning off?

No, Ergo 1.0 always reasons. The reasoning effort option constrains the effort, and reducing it can result in faster responses and fewer tokens used on reasoning.

Does Ergo 1.0 support streaming?

Yes. Streaming is listed as a capability of Ergo 1.0 on this endpoint.

Which tasks did Amazon build Ergo 1.0 for?

Amazon built it for software engineering tasks and agentic workflows. Its documentation also describes the open-weight model as built for agentic coding and professional work.

What is the Ergo 1.0 model ID?

Use amazon/ergo-1.0 as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.

What is the context window of Ergo 1.0?

Ergo 1.0 accepts up to 1,048,568 tokens of context and returns up to 131,072 output tokens.

Start building with Ergo 1.0

Ergo 1.0 API

amazon/ergo-1.0

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "amazon/ergo-1.0",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'