Amazon unveiled Ergo on Tuesday during the AWS re:Invent conference as an open-weights AI model designed specifically for coding tasks. Because its weights are publicly available, developers can download and deploy it on their own infrastructure. AWS released a comparative benchmark table with 12 metrics pitting Ergo against competitors including OpenAI's GPT-6.2 Astra.
The benchmark results point in conflicting directions. On DeepSWE, a public coding benchmark created specifically for testing, Ergo outperformed Astra with a score of 74.2% versus 71.2%, though Epoch AI's audit identified errors in at least 23 of DeepSWE's 113 tasks. Conversely, on AI SWE, an internal AWS coding benchmark, Astra won decisively at 80.8% compared to Ergo's 65.4%.
Pricing initially favors Ergo significantly. The model charges $1 per million input tokens and $3 per million output tokens, while GPT-6.2 Astra costs $8 and $40 respectively. Cached input tokens run $0.03 per million for Ergo versus $0.40 for Astra. However, this per-token advantage masks a critical issue: Ergo's actual token consumption in practice.
Testing methodology
To evaluate real-world performance, testing ran each model once per task using identical instructions and tools for file operations and command execution. Ergo was accessed through OpenRouter, which serves Bedrock instances, while Astra ran through OpenAI's API. Both used default settings. GPT-5 was used to establish baseline difficulty for each test.
Three distinct coding scenarios were evaluated:
- Tasks written for a test (400 points) – Five custom tasks within jmespath.py, an open-source JSON query library, adding four features to its query language plus a tool to convert internal syntax trees back to text. GPT-5 scored 319.
- Fix real bugs (67 points) – Thirteen recent bug fixes from SQLGlot, an open-source SQL translation tool, were reversed and each model was asked to repair them using hidden checks from actual fixes. GPT-5 scored 7.
- Build a tool from a written spec (600 points) – Models received the CommonMark specification, a 9,800-line document defining Markdown format, and constructed a Markdown-to-HTML converter from scratch, graded against 600 hidden test documents. GPT-5 scored 315.
Results by test category
Tasks written for a test
Both models achieved perfect scores of 400 out of 400, aligning with AWS's DeepSWE benchmark where they differed by only three points. When task requirements were explicitly defined, Ergo matched Astra's accuracy. Extended testing on 1,217 harder cases showed Astra passing all of them while Ergo missed 2, effectively a tie in performance.
The cost disparity became apparent immediately. Astra completed the task in 29 turns, while Ergo required 211 turns—each one incurring token costs.
Astra finished in 29 turns. Ergo needed 211, and every one of those turns costs tokens.
- Ergo: 211 turns, 52,596,882 input tokens, 510,085 output tokens (429,672 reasoning), $6.83, 2,254 seconds
- GPT-6.2 Astra: 29 turns, 751,893 input tokens, 17,836 output tokens (6,922 reasoning), $1.39, 443 seconds
Fix real bugs
Performance diverged significantly on this test. Astra scored 55 out of 67 possible points (82%), while Ergo achieved 42 (63%), mirroring the 15-point gap seen in AWS's internal AI SWE benchmark. Neither model misunderstood the bugs themselves; the difference lay in thoroughness. Astra fully resolved 6 of 13 bugs compared to Ergo's 3. On remaining bugs, both left portions unresolved, but Astra's residual issues were less severe. Ergo also introduced a new defect in previously working code, which Astra did not.
Cost efficiency collapsed on this test. The two models spent nearly identical amounts despite Astra's superior results and significantly faster execution.
- Ergo: 457 turns, 65,373,971 input tokens, 240,428 output tokens (189,372 reasoning), $4.50, 2,212 seconds
- GPT-6.2 Astra: 79 turns, 5,859,464 input tokens, 30,187 output tokens (8,202 reasoning), $4.58, 847 seconds
Build a tool from a written spec
Both models delivered perfect scores of 600. When extended testing added 1,500 additional documents, Ergo missed one while Astra remained flawless. Each model successfully read the lengthy specification and constructed a complete, functional converter from scratch.
When the instructions are complete, Ergo matches Astra on accuracy, and Astra gets there with far less effort.
This test resembled the first scenario in every meaningful way. Astra completed the task in 5 minutes for $1.20, while Ergo required 26 minutes and cost $3.88.
- Ergo: 210 turns, 37,332,230 input tokens, 323,682 output tokens (281,068 reasoning), $3.88, 1,577 seconds
- GPT-6.2 Astra: 30 turns, 734,986 input tokens, 13,168 output tokens (3,161 reasoning), $1.20, 301 seconds
Overall findings
Testing results validated both rows of AWS's benchmark table. Ergo matched Astra's accuracy on clearly specified tasks but fell behind when addressing real bugs. The most striking discovery involved cost: despite Ergo's substantially lower per-token rates, its excessive token consumption resulted in roughly double the actual expenses.
Ergo's price per token is much lower, but it used so many more tokens that it cost twice as much as Astra to run.
Across all three tests combined, Ergo incurred $15.21 in costs while Astra totaled $7.17. Ergo consumed approximately 101 minutes of execution time compared to Astra's 27 minutes. Most dramatically, Ergo required 21 times as many input tokens: 155 million versus Astra's 7 million.
Ergo demonstrates suitability for tasks with explicit specifications and tool-building scenarios, but struggles with bug remediation work. When performance is equivalent, Astra emerges as the clear winner on both cost and speed metrics.