Nice To E-Meet You!



    What marketing services do you need for your project?

    How To Run Amazon Ergo On Your Own Hardware

    Last updated: December 2, 2026

    To run Amazon Ergo on your own hardware, you need a multi-GPU node such as eight NVIDIA H200s or a four-GPU GB300 tray, the 626 GB MXFP4 checkpoint from Hugging Face, and a serving engine such as vLLM or SGLang, both of which supported Ergo on day one.

    This guide covers which checkpoint to pick, what hardware it needs and the settings that matter.

    Ergo Checkpoints At A Glance

    Repository Precision Size Use
    Amazon-FMR/Ergo MXFP4 626 GB Default for inference
    Amazon-FMR/Ergo-mxfp8 MXFP8 1.17 TB Higher-precision inference
    Amazon-FMR/Ergo-bf16 BF16 2.22 TB Fine-tuning
    Amazon-FMR/Ergo-dspark BF16 6.48 GB 3.24B draft model for speculative decoding

    Step 1: Choose Your Hardware

    Amazon’s reference vLLM setup uses four GB300 GPUs with the MXFP4 weights and the DSpark draft model. An eight-GPU H200 node also fits the MXFP4 checkpoint. Leave extra memory for the KV cache: Ergo supports a one-million-token context, and long sessions use a lot of it.

    If you do not own this hardware, compare rental options in our GPU cloud providers list.

    Step 2: Download the Weights

    Pull the Amazon-FMR/Ergo repository from Hugging Face. The MXFP4 checkpoint comes in 65 shards, so use a high-bandwidth connection and fast local NVMe storage. Download Ergo-dspark as well if you plan to use speculative decoding.

    Step 3: Pick a Serving Engine

    vLLM and SGLang both support Ergo. Until a stable vLLM release includes it, Amazon and the vLLM team publish a ready container tagged vllm/vllm-openai:amazon-fmr-ergo. Both engines expose an OpenAI-compatible API, so existing tools can connect without code changes.

    Step 4: Turn On Speculative Decoding

    The 3.24 billion parameter DSpark draft model guesses up to eight tokens ahead, and Ergo verifies them in one pass. This raises output speed without changing results. Amazon’s reference setup uses it by default.

    Step 5: Set Sensible Limits

    • Set max_completion_tokens to at least 8,192. Ergo always reasons, and reasoning tokens count toward the limit.
    • Do not send reasoning_effort set to none; Ergo returns an HTTP 400 error.
    • Send text only. Ergo 1.0 does not accept images.
    • Run Ergo inside an agent loop that executes tests and returns errors, as Amazon recommends.

    Why Self-Host Ergo At All

    Bedrock is the easiest way to use Ergo, so self-hosting needs a reason. The common ones are data that may not leave your network, a fine-tuned version you want full control over, predictable capacity for steady high volume, and long-term cost savings at scale. If none of these apply, start on Bedrock and revisit later.

    Hardware Options Compared

    Setup Fits checkpoint Notes
    4x NVIDIA GB300 MXFP4 Amazon's reference configuration for vLLM
    8x NVIDIA H200 (141 GB each) MXFP4 Common rental option with room for KV cache
    8x NVIDIA B200 MXFP4, likely MXFP8 Check memory per GPU against checkpoint and cache needs
    Multi-node cluster BF16 Needed for full-precision fine-tuning

    Memory is the deciding factor. Add the checkpoint size, the KV cache for your longest context and concurrent users, and some overhead for the serving engine. An eight-GPU H200 node has about 1.1 TB of GPU memory, which holds the 626 GB MXFP4 weights with room for cache.

    If you rent rather than buy, prices differ two to three times between hyperscalers and specialist GPU clouds. Compare options in our GPU cloud providers list.

    A Sample vLLM Setup Checklist

    1. Provision the node with recent NVIDIA drivers and container runtime.
    2. Pull the vllm/vllm-openai:amazon-fmr-ergo container (until Ergo support lands in a stable vLLM release).
    3. Mount fast local storage and download Amazon-FMR/Ergo and Amazon-FMR/Ergo-dspark from Hugging Face.
    4. Start the server with tensor parallelism across all GPUs and speculative decoding pointed at the DSpark model.
    5. Put an authenticated gateway in front of the OpenAI-compatible endpoint.
    6. Load test with realistic prompts and context lengths before opening it to users.

    Check the model card on Hugging Face for current flags, because recommended settings may change as serving engines add native Ergo support.

    Monitoring And Operations

    • Track time to first token, output tokens per second, queue length and GPU memory use.
    • Alert on out-of-memory errors, which usually mean context or concurrency limits are too high.
    • Log requests and token counts for cost allocation and abuse detection.
    • Plan upgrades: test new serving engine versions and model updates on a staging node first.
    • Keep a fallback route, such as Ergo on Bedrock, for outages or demand spikes.

    Common Problems And Fixes

    Problem Likely cause Fix
    HTTP 400 on requests reasoning_effort set to none Remove the setting or use a supported value
    Answers cut off Output limit too low for reasoning Raise max_completion_tokens to 8,192 or more
    Out-of-memory crashes Long contexts or many users Lower max context, limit concurrency or add GPUs
    Slow output No speculative decoding Enable the DSpark draft model

    Budgeting For A Self-Hosted Ergo

    Cost item What to plan for
    GPUs Rental per GPU-hour or purchase plus depreciation
    Redundancy A second node or a Bedrock fallback
    Storage Fast NVMe for multi-terabyte checkpoints
    Networking High-bandwidth links between GPUs and nodes
    People Engineers to run, monitor and upgrade the service

    Compare the total with Bedrock pricing at your expected volume. Our cost breakdown has worked examples.

    Security Basics

    • Run the model on a private network segment with no direct internet exposure.
    • Require authentication on the API and issue keys per team or service.
    • Log requests and responses according to your retention policy.
    • Download weights only from the official Amazon-FMR organization and verify checksums.
    • Patch drivers, containers and serving engines on a schedule.

    Serving Commands From The Model Card

    • vLLM: install vllm and run vllm serve “Amazon-FMR/Ergo”, which serves an OpenAI-compatible endpoint on port 8000.
    • SGLang: run python3 -m sglang.launch_server –model-path “Amazon-FMR/Ergo” –host 0.0.0.0 –port 30000, or use the lmsysorg/sglang Docker image with GPU access, a 32 GB shared memory size and your Hugging Face token.
    • Docker Model Runner: docker model run hf.co/Amazon-FMR/Ergo.
    • Transformers: load with AutoModelForCausalLM and device_map=”auto”, then format prompts with apply_chat_template. Fine for experiments, too slow for production serving.

    The card also lists Hugging Face Inference Providers, HuggingChat, Google Colab and Kaggle notebooks as ways to try the model without your own hardware.

    Recommended Settings

    The model card recommends a temperature of 1.0 and top_p of 0.99, with max_tokens up to 131,072. On Bedrock, set max_completion_tokens to at least 8,192 so reasoning has room, and never set reasoning_effort to none, which returns an HTTP 400 error.

    Keep these defaults unless testing shows a reason to change them. Lowering temperature sharply on a reasoning model can make it loop or repeat itself.

    Safety Testing And Data Handling

    Amazon says it evaluated Ergo under its Frontier Model Safety Framework, with outside specialist firms testing for offensive cyber capability, chemical and biological risks, loss of control and harmful manipulation. The model card says Ergo is trained to decline harmful requests even in role-play or fictional framing, to resist instructions hidden in content it reads (prompt injection), to stop before dangerous agentic actions and to avoid revealing private information about people. A separate Ergo Frontier Model Safety Report and an AI Service Card are referenced as forthcoming.

    On Bedrock, prompts and outputs are not stored or used for training, Ergo runs on the AWS Nitro System with zero operator access, and Bedrock Guardrails can be added. If you self-host, safeguarding the deployment and its data is your job.

    Known Limitations From The Model Card

    • Text only: it cannot read images, screenshots or diagrams in this release.
    • Fixed reasoning effort: it always reasons, which helps on hard tasks but spends extra output tokens on simple ones.
    • First-attempt accuracy trails the strongest closed models, so Amazon recommends letting agents test and verify their own changes.
    • Narrower focus: relatively lower scores on general knowledge and scientific reasoning.
    • It can produce confident but wrong output, including code that looks right and fails.
    • Performance can be uneven across languages, frameworks and domains that were less represented in training.

    Choosing Between vLLM And SGLang

    Both engines serve Ergo through an OpenAI-compatible API and both supported it from launch. vLLM is the most widely deployed open-source serving engine, with a large community and many integrations, and Amazon worked with its team on a dedicated Ergo container. SGLang is known for fast structured generation and strong performance on large MoE models, and it ships an official Docker image.

    In practice, pick the engine your team already knows. If you have none, run a short load test on both with your own prompts and context lengths and keep the faster one.

    Testing Before Go-Live

    1. Check that output matches Bedrock’s on a fixed set of prompts at the recommended settings.
    2. Load test at expected peak concurrency and context length.
    3. Run your coding agent end to end on real tickets.
    4. Fail a node deliberately to confirm traffic moves to your fallback.
    5. Review logs for errors, slow requests and memory warnings.

    Air-Gapped And On-Premises Deployments

    Some organizations need Ergo with no internet connection at all. Download the checkpoints and container images on a connected machine, verify checksums, then move them into the isolated network through your approved transfer process. Mirror any Python packages the serving engine needs. Inside the network, run Ergo exactly as you would in the cloud, with vLLM or SGLang and an internal gateway.

    Remember that self-hosted deployments do not get Bedrock’s managed safeguards, such as Guardrails, so add your own input and output filtering and logging.

    Scaling Beyond One Node

    When one node is not enough, add more nodes behind a load balancer, each serving a full copy of the model. Use sticky routing for long agent sessions so prompt caches stay warm on the same node. Watch queue depth to decide when to add capacity, and keep at least one spare node or a Bedrock fallback for maintenance windows.

    Updating To New Ergo Versions

    Amazon will likely release updated Ergo versions over time. Treat each update like any other dependency change: download the new checkpoint to a staging node, run your evaluation set and load tests, compare against the current version, and roll out gradually. Keep the previous checkpoint available so you can roll back quickly if quality or speed regresses on your workloads.

    When Bedrock Is the Better Option

    Self-hosting pays off at sustained high volume or when data must stay inside your network. Otherwise Bedrock is usually cheaper and faster to start. See our Bedrock vs self-hosting cost breakdown.

    How We Researched This Guide

    Steps and figures come from Amazon’s Hugging Face model card, its vLLM reference configuration and launch documentation. Read more about our research process.

    Frequently Asked Questions

    What GPUs do I need to run Amazon Ergo?

    Amazon’s reference setup uses four GB300 GPUs with the MXFP4 checkpoint. An eight-GPU H200 node also works. You need extra memory for long-context KV cache.

    How big is the Ergo download?

    The default MXFP4 checkpoint is 626 GB. The MXFP8 version is 1.17 TB and the BF16 weights are 2.22 TB.

    Does vLLM support Amazon Ergo?

    Yes. vLLM and SGLang both supported Ergo at launch, and a dedicated vLLM container is available until support lands in a stable release.

    Can I run Ergo on a Mac or a single GPU?

    No. Even the smallest checkpoint is 626 GB, which needs a multi-GPU server.

    What is the DSpark model?

    A 3.24 billion parameter draft model that predicts several tokens ahead so the full Ergo model can verify them in one pass, which speeds up output.

    Does SGLang support Ergo?

    Yes. SGLang supported Ergo at launch, alongside vLLM.

    How much does it cost to self-host Ergo?

    It depends on hardware and volume. An eight-GPU node rented from a GPU cloud often costs $15,000 to $20,000 a month before staff time.

    Can I run Ergo with Docker?

    Yes. The model card lists the official SGLang Docker image and Docker Model Runner, and a dedicated vLLM container is available.

    Which Ergo checkpoint should I start with?

    The default MXFP4 checkpoint (Amazon-FMR/Ergo, 626 GB) for inference. Use MXFP8 if you have more memory and want higher precision, and BF16 only for fine-tuning.

    Conclusion

    Self-hosting Ergo is a data-center job, but a straightforward one: an eight-GPU H200 node or a GB300 tray, the MXFP4 weights, vLLM or SGLang, and the DSpark draft model for speed. Set generous output limits, keep inputs to text and wrap the model in a test loop.

      Once a week you will get the latest articles delivered right to your inbox