Skip to main content

Overview

Amazon Ergo is an open-weights frontier model from Amazon Frontier Model Research, built for software engineering and agentic workflows. It is a mixture-of-experts model with 1.1 trillion total parameters and 55 billion active parameters, a native 1M-token context window, and up to 128K output tokens. It is designed for long-running tasks that require planning, tool use, and self-checking. APIYI serves the model as ergo-1.0, with OpenAI-compatible Chat Completions and Responses endpoints plus an Anthropic-compatible Messages endpoint. It works directly with Claude Code and other Anthropic-native clients. Input and output are text only; image input is not supported.
Highlights: 1M context, 128K max output, tool calling with parallel tools, structured output, and prefix caching. A good fit for coding, terminal agents, document review, and multi-step automation.
Amazon Ergo always reasons, and reasoning is billed as output. Do not set max_tokens too low: reasoning consumes the budget first, and an exhausted budget can leave the final answer empty or truncated.

Pricing & Groups

Official list price; Default / SVIP for OpenAI-compatible, ClaudeCode for Claude Code.

Quick Start

Call Chat Completions with the OpenAI SDK or cURL.

Reasoning Budget

Understand fixed reasoning and set output budgets correctly.

Long Context

Tested limits and best practices for the 1M window.

Pricing

Amazon Ergo is billed by token usage. APIYI list prices match Amazon’s official prices with no markup. All prices are in USD per 1M tokens:
Model prices are aligned with the official website and may change when the official prices change. The table above is for reference only; the Model Pricing tab in the top navigation is authoritative: Model Pricing.

Effective cost with top-up bonuses

The list price does not change. When you meet the conditions of the top-up bonus program, a single top-up receives a 10%–20% bonus, which brings the effective cost to roughly 83%–91% of the list price:
The discount comes from top-up bonuses, not from a lower model price. Eligibility, rates, and stacking rules are defined on the recharge promotions page.

Cost examples

Because the model always reasons, output tokens run well above the visible answer length. The following APIYI test samples are estimated at $3.00 per 1M output tokens:

Group Setup

The model has three group entry points: The ClaudeCode group is billed at a 0.95 rate (about 95% of list); top-up bonuses lower the effective cost further — see the recharge promotions page. OpenAI-compatible calls do not need a group change; for Claude Code and other Anthropic clients, switch the Token’s group to ClaudeCode. For the Token’s Billing model, choose either Pay-as-you-go or Pay-as-you-go Priority. Pay-per-request does not apply to token-billed text models.

Tested Capabilities

APIYI validated the following cases for ergo-1.0 on 2026-12-04 (UTC+8):
The table covers basic request/response semantics, not every parameter, the full context range, or long-running behavior. Longer cache TTL tiers and batch inference were not part of this validation round.

Quick Start

Use an APIYI Token and call POST /v1/chat/completions. Amazon recommends a max_completion_tokens value of at least 8192 to leave room for reasoning.
For long tasks or large contexts, set client timeouts to at least 600 seconds. Use streaming when you need to show progress in real time.

Claude Code and Anthropic Native Access

The /v1/messages endpoint for ergo-1.0 is live on APIYI and works directly with Claude Code and other Anthropic-native clients. Validation covered basic chat, tool calling, thinking block replay, tool_result replay, and streaming; an end-to-end Claude Code CLI run with the Read tool also passed.
Select the ClaudeCode Token group (0.95x rate, about 95% of list); OpenAI-compatible calls continue to use Default / SVIP. Claude Code may show an unrecognized_model warning; it does not affect the call. Watch the output budget: Ergo always reasons, so a max_tokens below 8192 is more likely to produce an empty answer. Claude Code sets its own output limit; if the answer is empty, check whether reasoning consumed the budget and raise the client limit.
With the Anthropic SDK, point the base URL to https://api.apiyi.com, send anthropic-version: 2023-06-01, and keep the model ID as ergo-1.0.

Reasoning and Output Budget

Amazon Ergo always reasons and cannot disable reasoning. The official reasoning_effort parameter adjusts the reasoning level and accepts low, medium, high, xhigh, and max. none is not an official value and returns 400 on Bedrock. Even when a compatibility layer accepts none, it does not turn reasoning off.
Do not use switches from other models to try to turn off reasoning. enable_thinking and thinking: {"type": "disabled"} do not apply to Amazon Ergo and do not stop reasoning content from being produced. Use reasoning_effort to adjust the level and max_completion_tokens to control the total budget.

Reading the response

The final answer is in choices[0].message.content; reasoning is in choices[0].message.reasoning_content. Read content when you only need the conclusion, and reasoning_content when you want to show the thought process. Reasoning tokens are billed at the output price. Do not estimate cost from the visible answer alone; use usage and the console logs.
If finish_reason is length and content is empty, reasoning most likely consumed the entire budget. Raise max_completion_tokens and retry; do not treat this as the model being unavailable.

Streaming

Reasoning arrives through delta.reasoning_content; the final answer arrives through delta.content. The last chunk may include usage, so check chunk.usage before reading choices.

Tool Calling

The model generates function names and arguments; your application executes the tools. After receiving tool_calls, append the full assistant message to the history, then append each tool result with its matching tool_call_id, and send the next request.
To look up several objects at once, define the tools in a single request and ask the model to query them together. It returns multiple tool_calls, which you can execute in parallel and return in one batch.

Prompt Caching

Amazon Ergo supports prefix caching. Put stable content first (system prompts, codebase notes, long documents) and the changing question last. This reduces latency and cost for repeated input.
Confirm cache hits from the cache fields in usage and the console logs, not just from a successful request. Cache TTLs and write pricing may change with the official prices; use the Model Pricing tab and the console for budgeting.

Long Context

The official context window is 1,048,576 tokens, with a maximum input of 1,047,552 tokens and a maximum output of 131,072 tokens.
1

Put stable content first

Keep system prompts, codebase notes, and long documents at the front and the question at the end so prefix caching can reuse them.
2

Budget input and output together

Input plus max_completion_tokens must fit within the 1,048,576-token window. Compress the input first when you approach the limit.
3

Stream long runs

Time to first token on a 1M-token input can reach tens of seconds. Streaming avoids client timeouts and surfaces reasoning progress early.

Technical Specs

FAQ

No. Amazon Ergo is designed to always reason; enable_thinking and thinking disabled do not take effect. You can adjust the level with reasoning_effort, but you cannot reduce reasoning to zero.
The most common cause is a max_completion_tokens value that is too small: reasoning consumes the budget first and finish_reason becomes length. Raise the budget to at least 8,000 and retry; use 16,000 or more for coding and long tasks.
No. This version of Amazon Ergo is text-only; images, screenshots, and diagrams return 400. Use a vision model such as Gemini, GPT, or Qwen when you need image understanding.
OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages. With the OpenAI SDK, set base_url to https://api.apiyi.com/v1. With the Anthropic SDK, point the base URL to https://api.apiyi.com and send the anthropic-version header.
Yes. /v1/messages is live on APIYI; basic chat, tool calling, thinking replay, and streaming have been validated. Set ANTHROPIC_BASE_URL=https://api.apiyi.com, ANTHROPIC_AUTH_TOKEN, and ANTHROPIC_MODEL=ergo-1.0, and select the ClaudeCode group. An unrecognized-model warning does not block calls.
Reasoning tokens are billed at the output price. usage.completion_tokens_details.reasoning_tokens reports the reasoning usage; use usage and the console logs for cost, not the answer character count.
Cache reads cost $0.03 per 1M tokens. Cache writes use the official cache-write tier; the current official price list shows $1.25 per 1M tokens for the 30-minute TTL tier. Check usage and the console logs for actual hits and charges.
131,072 tokens (128K). Budget input and max_completion_tokens together against the 1,048,576-token window.
Yes. When a single request returns multiple tool_calls, execute them in parallel and return each result with its matching tool_call_id.
Amazon recommends temperature=1.0 and top_p=0.99. You can lower the temperature for more deterministic output, but that moves away from the official recommendation.
The list price does not change. A 10%–20% top-up bonus increases available credit by 1.1–1.2x, which works out to roughly 83%–91% of the list price. See the recharge promotions page for eligibility and rules.
Official references: huggingface.co/Amazon-FMR/Ergo, aboutamazon.com/amazon-ergo, docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-ergo-1-0.html.