OpenAI-compatible APIergo-1.0
Ergo API: OpenAI-Compatible Access to Amazon Ergo 1.0
Point the OpenAI SDK at https://ergollmapi.com/v1 and call ergo-1.0. No AWS account, no new client library.
- 300 credits / 1M input tokens
- 900 credits / 1M output tokens

import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.openai.com/v1",
base_url="https://ergollmapi.com/v1",
api_key=os.environ["ERGO_API_KEY"],
)
stream = client.chat.completions.create(
model="your-current-model",
model="ergo-1.0",
messages=[{"role": "user",
"content": "Merge two sorted lists."}],
stream=True,
)
python client.py Output
def merge(a, b):
- Context window, tokens
- 1M
- Max output, tokens
- 128K
- Credits per 1M input tokens
- 300
- Credits per 1M output tokens
- 900
01Live
Try Ergo 1.0 before you write code
Send a prompt in the live playground, or copy the same request in curl, Python or Node.js.
curl https://ergollmapi.com/v1/chat/completions \
-H "Authorization: Bearer $ERGO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ergo-1.0",
"stream": true,
"messages": [
{"role": "user", "content": "Write a Python function that merges two sorted lists."}
]
}'02Why
Why Ergo API
A thin, familiar surface over a large open-weights coding and agent model.
No AWS account
Sign in, create a key and call the API. There is no AWS account, IAM role or Bedrock setup.
OpenAI SDK compatible
Set base_url to https://ergollmapi.com/v1 and model to ergo-1.0. The Chat Completions request and response shapes are the same.
Streaming
Server-sent events with reasoning_content deltas and a final usage chunk that reports credits_consumed.
Tool calling
Pass tools, tool_choice and parallel_tool_calls in the OpenAI format for agent and function-calling workflows.
1M context
A 1,048,576-token context window for large repositories, long logs and long-running agent sessions.
128K output
Up to 131,072 output tokens per request, enough for whole files and long reasoning traces.
Credits per token
Pay for the tokens you use: 300 credits per 1M input and 900 credits per 1M output. No seat fees.
Online playground
Try prompts in the browser before you write code, then open the same prompt in the full playground.
03Quickstart
Quickstart
Three steps from sign-in to your first response.
Create an API key
Sign in and open the API Keys page. Create a key and store it as the ERGO_API_KEY environment variable.
Open API KeysPoint your SDK at the base URL
Use https://ergollmapi.com/v1 as base_url and send the key as a Bearer token.
https://ergollmapi.com/v1Call ergo-1.0
Send a chat completion with model set to ergo-1.0. Add stream: true to receive tokens as they are generated.
See the full docs
04Model
Ergo 1.0 model card
Specifications published by Amazon Frontier Model Research, plus what this API supports.

- Developer
- Amazon Frontier Model Research (FMR)
- Released
- December 1, 2026 at re:Invent; generally available on Amazon Bedrock
- Architecture
- Mixture-of-experts transformer, MXFP4 precision
- Parameters
- 1.1T total, 55B active per token
- Experts
- 256 routed experts (8 active per token) plus 1 shared expert
- Context window
- 1,048,576 tokens (1M)
- Max output
- 131,072 tokens (128K)
- Knowledge cutoff
- June 2026
- License
- Amazon Ergo Open-Weights License (free; commercial use, fine-tuning and redistribution allowed, subject to the acceptable use policy)
- Recommended sampling
- temperature 1.0, top_p 0.99
- Input on this API
- Text only (no images or files)
Source: Amazon, December 1, 2026
05Benchmarks
Benchmark highlights
Scores published by Amazon at launch. Compare them with your own workload before you commit.
- 74.2
DeepSWE
Claude Opus 5.5 scores 71.3 and GPT-6 Astra 71.2; Kimi K3.1 Pro scores 77.9.
- 31.5
FrontierSWE v2
Highest score among open-weights models.
- 46.2
Terminal-Bench 4.0
Agentic terminal tasks.
Source: Amazon, December 1, 2026
06Pricing
Pricing in credits
Credits are charged per token. Packs and subscriptions are on the pricing page.
Minimum 0.05 credits per request.
See pricing07FAQ
Frequently asked questions
Do I need an AWS account?
No. You call https://ergollmapi.com/v1 with an API key from your dashboard. There is no AWS account, IAM setup or Bedrock console involved.
Which SDKs work?
Any OpenAI-compatible client: the official OpenAI Python and Node.js SDKs, curl, or any library that lets you set a base URL. Set base_url to https://ergollmapi.com/v1 and model to ergo-1.0.
Can I send images or files?
No. This API accepts text input only. Image and file inputs are not supported.
What about rate limits and errors?
Requests can be rate limited. A 429 response means slow down and retry with exponential backoff. Errors use the OpenAI-style JSON shape with message, type and code; the docs list every status code.
Is Ergo API the official Ergo service?
No. Ergo API is an independent service, not affiliated with or endorsed by Amazon or AWS. Ergo 1.0 was developed by Amazon Frontier Model Research; requests here are served through a third-party inference provider.
What is the Ergo 1.0 license?
The weights are released under the Amazon Ergo Open-Weights License: free to use, with commercial use, fine-tuning and redistribution allowed, subject to the acceptable use policy. The weights are on Hugging Face as Amazon-FMR/Ergo. This service is billed separately, in credits.
How do I get an API key?
Sign in, open the API Keys page in your dashboard and create a key. Store it as ERGO_API_KEY and send it as a Bearer token.
How is usage billed?
Credits are charged per token: 300 credits per 1M input tokens and 900 credits per 1M output tokens, with a minimum of 0.05 credits per request. The final streaming chunk reports credits_consumed.
How long can prompts and replies be?
The context window is 1,048,576 tokens and a single reply can be up to 131,072 tokens.

Make your first Ergo 1.0 call
Create a key, change one URL, and send a request.