Instructions to use Amazon-FMR/Ergo-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amazon-FMR/Ergo-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Amazon-FMR/Ergo-bf16") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Amazon-FMR/Ergo-bf16") model = AutoModelForCausalLM.from_pretrained("Amazon-FMR/Ergo-bf16", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Amazon-FMR/Ergo-bf16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Amazon-FMR/Ergo-bf16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Amazon-FMR/Ergo-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Amazon-FMR/Ergo-bf16
- SGLang
How to use Amazon-FMR/Ergo-bf16 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Amazon-FMR/Ergo-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Amazon-FMR/Ergo-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Amazon-FMR/Ergo-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Amazon-FMR/Ergo-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Amazon-FMR/Ergo-bf16 with Docker Model Runner:
docker model run hf.co/Amazon-FMR/Ergo-bf16
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Amazon-FMR/Ergo-bf16")
model = AutoModelForCausalLM.from_pretrained("Amazon-FMR/Ergo-bf16", device_map="auto")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))Amazon Ergo
Launch Blog | Try on Amazon Bedrock | MXFP4 | MXFP8 | BF16 | License
Amazon Ergo is a frontier open-weights model for software engineering and agentic workflows. Ergo is designed to tackle complex, long-running tasks while being fast and cost efficient. Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters and a 1M-token context window.

Highlights
- Software engineering: 74.2% on DeepSWE, 31.5% on FrontierSWE v2, 46.2% on Terminal-Bench 4.0, and 65.4% on FMR-Bench AI SWE, our internal benchmark of real engineering tasks.
- Speed: Over 400 output tokens per second on Amazon Bedrock. Turbo mode reaches 2,200 and is available in limited preview, with pricing to be announced later.
- Safety: Evaluated for release under Amazon's Frontier Model Safety Framework. For more information, refer to the forthcoming Ergo Frontier Model Safety Report.
Get started
Amazon Bedrock. Ergo is available on Amazon Bedrock at $1 per million input tokens, $0.03 per million cached input tokens, and $3 per million output tokens, at over 400 output tokens per second. Zero data retention: Amazon does not store your prompts or outputs, and never uses them to train models. Ergo runs on the AWS Nitro System with zero operator access.
Your own hardware. SGLang and vLLM support Ergo from day one.
| Precision | Repository | Download size |
|---|---|---|
| MXFP4 | Amazon-FMR/Ergo | 626 GB |
| MXFP8 | Amazon-FMR/Ergo-mxfp8 | 1.17 TB |
| BF16 | Amazon-FMR/Ergo-bf16 | 2.22 TB |
Evaluations
| Benchmark | Ergo | Kimi K3.1 Pro | GLM 5.3 | Mistral Large 4 | Muse Spark Open | Beam | Inkling 2 Small | Nemotron 3 Ultra |
|---|---|---|---|---|---|---|---|---|
| FMR-Bench (internal) | ||||||||
| AI SWE pass@1 | 65.4 | 58.6 | 44.3 | 39.4 | 28.1 | 26.4 | 51.3 | 4.1 |
| Ultra Long Horizon pass@1 | 20.5 | 13.1 | 9.7 | 7.5 | 1.2 | 0.8 | 6.0 | 0.0 |
| Code Quality Rubric score | 32.1 | 28.1 | 19.7 | 20.4 | 8.3 | 5.4 | 26.6 | 1.4 |
| Agentic coding (public) | ||||||||
| DeepSWE pass@1 | 74.2 | 77.9 | 69.5 | 59.1 | 56.6 | 42.0 | 67.3 | 3.7 |
| FrontierSWE v2 Score | 31.5 | 29.3 | 30.2† | 15.8 | 11.1 | 9.0 | 25.9† | 3.6 |
| Terminal-Bench 4.0 pass@1 | 46.2 | 63.3 | 36.9 | 30.1 | 5.1 | 4.5 | 12.9 | 0.0 |
| ProgramBench Almost resolved | 23.5 | 24.1 | 14.8 | 12.7 | 2.0 | 2.5 | 12.2 | 0.0 |
| Science and ML (public) | ||||||||
| Terminal-Bench Science 0.1 pass@1 | 21.3 | 35.7 | 5.7† | 3.1 | 1.0 | 1.0 | 2.9 | 0.2 |
| FrontierML Score | 24.5 | 29.6† | 19.6† | 12.7 | 2.3 | 4.1 | 8.8 | 0.0 |
| Professional work (public) | ||||||||
| AutomationBench-AA AA score | 70.0† | 73.3† | 62.2† | 57.8† | 49.7† | 48.5† | 45.6† | 3.0† |
| GDPval-AA 1.0 Weighted score | 86.2 | 89.0 | 87.4 | 86.7 | 86.3 | 81.9 | 88.4 | 78.7 |
| Briefcase-AA 1.1 Elo | 1615† | 1672† | 1498† | 1347† | 1281† | 976† | 1527† | 879† |
Ergo compared with leading open-weights models. Higher scores are better. The metric is under each benchmark name. Bold: best open-weights score in each row. † Result from an independently run public leaderboard. Unmarked cells: our runs.
Full results and methodology are in the announcement.
Model details
| Developer | Amazon Frontier Model Research (FMR) |
| Release date | December 1, 2026 |
| License | Amazon Ergo Open-Weights License |
| Architecture | Mixture-of-experts transformer |
| Experts per layer | 256 routed (8 active per token) + 1 shared |
| Parameters | 1.1T total, 55B active per token |
| Precision | BF16 |
| Context window | 1M tokens |
| Maximum output | 128K tokens |
| Knowledge cutoff | June 2026 |
Safety and Privacy
Ergo is built to work as a coding agent, and an agent that can run commands can also delete files or expose credentials. We evaluated Ergo before release in three areas: harmful content, agentic behavior, and privacy. In each area we tested both sides: that Ergo declines what it should, and that it still helps with legitimate requests.
In our tests, Ergo consistently declines requests for harmful content, including requests disguised as role-play, fiction, or claimed authority, while still answering legitimate questions on sensitive topics. In sandboxed agentic scenarios, we checked that it stops and asks before a dangerous action and simply does the work when a request is safe. Ergo is trained to be resistant to malicious instructions planted in the content it reads. We also checked that it avoids outputting private information about people. These behaviors are enabled by safety-focused scaling: data curation and processing in pretraining and safety post-training. In addition, we worked with specialized firms to evaluate Ergo under Amazon's Frontier Model Safety Framework, including on Offensive Cyberoperations, Chemical, Biological, Radiological and Nuclear (CBRN) capabilities, Loss of Control, and Harmful Manipulation. You can read more about our approach to evaluations in Ergo's AI Service Card and our upcoming Frontier Model Safety Report.
Privacy on Amazon Bedrock. On Bedrock, Ergo runs with zero data retention: Amazon does not store your prompts or outputs, and your data is never used to train models. It runs on infrastructure built on the AWS Nitro System, with zero operator access. Amazon Bedrock Guardrails add another optional layer of protection.
Self-hosted deployments. Because the weights are open, customers who fine-tune or self-host Ergo are responsible for evaluating and safeguarding their own deployments, including protecting their own runtime data, and applying appropriate runtime controls.
Bias, Risks and Limitations
- Text only: Amazon Ergo cannot read images, screenshots, or diagrams in this release.
- Fixed reasoning effort: Amazon Ergo always reasons, which helps on hard tasks but uses more output tokens on simple ones.
- First-attempt accuracy: Trails the strongest closed models, so for long-running agentic work we recommend letting the agent test and verify its own changes.
- Narrower focus: We focused this release on coding and agentic work, so expect lower relative scores on general knowledge and scientific reasoning benchmarks.
- Incorrect output: Like all language models, Amazon Ergo can produce confident but incorrect answers, including code that looks right and fails. Review its changes before you merge them, especially in production systems.
- Bias: Amazon Ergo may reflect demographic, cultural, or linguistic biases in its training data. It may also perform unevenly across programming languages, frameworks, and domains that were less represented in training. Test it with your own users and tasks before deployment.
License
Ergo's weights are available under the Amazon Ergo Open-Weights License. The license is free of charge. You can run, fine-tune, modify, and redistribute Ergo, and build it into commercial products, as long as you follow the acceptable use policy.
Regulatory Information
- Under the EU AI Act, Amazon Media EU S.à r.l. is the provider that placed the model on the market in the EU. The public summary of training content for Amazon Ergo is available here. If you are a rightsholder or authorized representative and have a complaint regarding our commitments under the Copyright Chapter of the Code of Practice for General-Purpose AI Models under the EU AI Act, you may contact us at gpai-models@amazon.com. Please be sure to include enough detail for us to investigate your complaint.
- This model card includes the information to be documented and made available to downstream providers as part of the Transparency Chapter of the Code of Practice.
- If a user is concerned that their private information has been included in an Amazon Ergo model output, the user should contact us here.
- Downloads last month
- 43
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Amazon-FMR/Ergo-bf16") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)