Amazon Ergo vs Qwen4-35B-A3B: which model suits coding agents?

Share

Amazon Ergo-1.0 launched on 1 December 2026 with Bedrock pricing of $1.00 per million input tokens and $3.00 per million output tokens. Amazon’s model card also reports more than 400 output tokens per second. Qwen4-35B-A3B arrived on 4 December 2026, with OpenRouter listing $0.06 and $0.36 per million tokens on its standard route. OpenRouter’s model page makes Qwen the cheaper API option, while Ergo targets teams that value Bedrock integration and faster listed output.

At a glance

  • Amazon Bedrock lists Amazon Ergo-1.0 at $1.00 per million input tokens and $3.00 per million output tokens.
  • OpenRouter lists Qwen4-35B-A3B at $0.06 per million input tokens and $0.36 per million output tokens on its standard route.
  • A 30,000-input, 2,000-output agent step costs $2.52 per 1,000 steps for Qwen standard pricing and $36.00 for Ergo Global CRIS.
  • Amazon publishes more than 400 output tokens per second for Ergo. OpenRouter lists Qwen’s fastest standard provider at 216 tokens per second.
  • Qwen’s model page carries an Apache-2.0 licence tag. Amazon lists Ergo under the existing AWS Agreement and AWS Service Terms.

Is Amazon Ergo cheaper than Qwen4-35B-A3B?

No. Qwen4-35B-A3B is substantially cheaper for metered API work. The difference matters for coding agents because they reread files, call tools, inspect test results and revise code.

Tokens are the pieces of text that models read and generate. This comparison uses one repeatable agent step: 30,000 input tokens and 2,000 output tokens. OpenRouter’s listed prices show that Qwen costs $2.52 per 1,000 such steps at the standard rate, while Amazon’s Global CRIS price makes the same workload $36.00. The comparison excludes cache discounts.

These are list-price snapshots recorded on 6 December 2026. OpenRouter routes requests among providers, so prices, availability and performance can change. Amazon’s Bedrock figures describe its own inference profiles, while OpenRouter’s Qwen figures describe a routed service rather than a single hosting site.

Buyer decision table: API routes for a coding agent
Concrete optionInput / output priceCost for 1,000 agent stepsContext limitBest fitEvidence tier
Qwen4-35B-A3B, standard listed rate$0.06 / $0.36 per 1M$2.521M tokensLowest-cost general coding-agent routeCalculation from vendor listings
Qwen4-35B-A3B, Venice route$0.04 / $0.30 per 1M$1.801M tokensBudget-sensitive API experimentationProvider listing
Qwen4-35B-A3B, Prime Intellect Flex$0.03 / $0.18 per 1M$1.261M tokensWorkloads that accept a Flex tierProvider listing
Amazon Ergo-1.0, Global CRIS$1.00 / $3.00 per 1M$36.001M tokensBedrock teams prioritising listed output speedCalculation from AWS list price
Amazon Ergo-1.0, US CRIS$1.10 / $3.30 per 1M$39.601M tokensUS geography routing needsCalculation from AWS list price
Qwen keeps routine coding-agent steps far cheaper: Qwen standard, Qwen Venice, Qwen Flex, Amazon Ergo Global, Amazon Ergo US
Qwen keeps routine coding-agent steps far cheaper · Source: openrouter.ai

The totals are a purchasing yardstick, not a forecast for a finished feature. A short chat uses less input, while repository-wide work uses more. The same model can also cost different amounts when a provider applies caching or a different service tier.

Amazon’s Global profile lists cache reads at $0.03 per million tokens and cache writes at $1.25 per million tokens for a 30-minute time-to-live. AWS lists those prices in the Ergo model card. That discount can help agents that resend the same large codebase, but it does not reduce the initial uncached input price.

Which coding agent is faster?

Amazon Ergo has the stronger published throughput claim. Amazon says Bedrock serves more than 400 output tokens per second. AWS describes that figure as a Bedrock serving rate, not as the result of a shared test with Qwen.

OpenRouter’s Qwen page lists Makora as the fastest standard provider at 216 output tokens per second, with a 0.33-second latency figure. OpenRouter shows the provider breakdown. Venice is listed at 211 tokens per second, while other providers are slower.

Those figures do not establish a universal winner. Agent speed depends on provider routing, prompt length, reasoning effort, tool calls, time to first token and the amount of output required. Ergo’s published rate is higher, but the services are not measured under identical conditions.

Decision: Choose Ergo when reduced wall-clock time can justify a much higher token bill. Choose Qwen when the agent needs many inexpensive attempts, such as test-fix loops, code review passes or background migrations.

Amazon also reports an internal AI SWE comparison. Amazon says Ergo averaged 14.3 minutes and $1.41 per task, compared with 21.7 minutes and $1.58 for Kimi K3.1 Pro. That is evidence about Ergo’s tested workload, not a comparison with Qwen.

What do the models offer for local deployment?

Both models have open weights, but their hardware requirements differ sharply. Qwen is the smaller practical candidate for local testing, while Ergo’s published files require much more storage and memory.

OpenRouter describes Qwen4-35B-A3B as a sparse mixture-of-experts model with 3 billion active parameters and 35 billion total parameters. Its model page also identifies it as multimodal and self-hostable.

Qwen’s Hugging Face page declares 56.8 billion parameters for the model files. The model page reports 113.6 GB of published safetensors weights. The OpenRouter description and the Hugging Face weight total use different descriptions of the model, so buyers should not treat the 35 billion and 56.8 billion figures as interchangeable.

A simple 4-bit estimate uses four bits, or half a byte, per parameter. Applying that arithmetic to the declared 56.8 billion parameters gives about 28.4 GB for weights alone. This is a theoretical dense-storage estimate, not the size of a particular quantised file.

A local quantised pack gives a more useful planning figure. Sushi lists its Qwen4-35B-A3B STQ-4bpw pack at 18.4 GiB for weights. The same table lists 38.2 GiB when the model fills a 1-million-token context. STQ-4bpw is a low-bit quantisation format, so its footprint is not expected to equal the simple parameter-count calculation.

Sushi lists the Qwen pack as requiring at least 32 GB of Apple Silicon memory. The project says Apple Silicon M1 or newer and macOS 26.2 or later are required. It also exposes a local server at 127.0.0.1:12345.

Ergo is much larger. Amazon’s Hugging Face files total 626.1 GB on disk. The Ergo model page reports 1,105.6 billion declared parameters. Amazon’s Bedrock documentation describes the model as having 1.1 trillion total parameters and 55 billion active for each token.

Using four bits per parameter, the declared Ergo total implies about 552.8 GB for weights alone. That figure excludes runtime memory, caches, quantisation metadata and operating-system overhead. The published 626.1 GB safetensors total is therefore the more concrete storage requirement for the available weights.

Ergo can run on a user’s own hardware because Amazon provides the weights. In practice, the published footprint points toward a server-class setup. Qwen’s available low-bit packs offer a much more accessible route for a workstation with enough unified memory.

Which model has better coding performance?

No public result in the available evidence compares Ergo and Qwen4-35B-A3B with the same coding-agent harness, prompts, tools, reasoning limits and budget. A definitive performance winner would therefore overstate what the evidence shows.

Amazon publishes several Ergo coding results. Its announcement reports 74.2% on DeepSWE, 46.2% on Terminal-Bench 4.0 and 65.4 on its internal FMR-Bench AI SWE evaluation. Amazon identifies some results as independently run public leaderboard scores and others as its own runs.

Qwen has a separate tool-driven signal from Plotly, although it is not a software-engineering test. Plotly reports Qwen4-35B-A3B scored 34 on a 43-question data-analysis evaluation for $0.15, with a median time of 15 seconds per question.

That result shows Qwen handling an analytical agent workload at low cost. It does not establish coding accuracy. Buyers should test both models on representative repositories and count completed tasks, corrections, tool errors and total spend.

Does Qwen’s multimodal support change the choice?

It can. Qwen4-35B-A3B accepts text, images and video, according to OpenRouter’s model description. That gives a coding agent a direct way to process screenshots, diagrams and visual bug reports.

Amazon’s Bedrock card lists Ergo’s input and output modalities as text. The same card lists a 1-million-token context window and a maximum output of 131,072 tokens. OpenRouter lists Qwen with a 1-million-token context window as well.

Qwen’s context limit is also reflected in the Qwen Code project. A change merged on 28 October 2026 sets the Qwen4 generation limit to 1,000,000 tokens. That is implementation evidence from the coding-agent software, while OpenRouter provides the model listing.

A multimodal model does not automatically produce better frontend code. The agent must pass image data correctly, interpret it and verify the resulting changes. Qwen is the simpler fit when visual inputs are central to the workflow.

How do you connect each model to a coding agent?

Ergo is the more direct option for a Bedrock organisation. AWS lists support for the Responses API, Chat Completions API, Converse and InvokeModel. The documentation also lists compatibility with Claude Code through a LiteLLM proxy, plus Codex, Kiro and OpenCode.

AWS’s setup requires an account, a Bedrock API key and Python. The documented examples use either the OpenAI package or boto3. The Global model ID is global.amazon.ergo-1.0; the US geography profile is us.amazon.ergo-1.0.

Amazon says Ergo is available through US Geo and Global cross-Region inference profiles. In-Region inference is not supported. That routing choice matters for organisations with residency requirements.

  1. Create Bedrock credentials and keep the bearer token outside source control.
  2. Point an OpenAI-compatible client at the Bedrock runtime endpoint.
  3. Start with a fixed output cap and a medium reasoning setting.
  4. Log input, output, cache, tool and retry costs before wider deployment.

Qwen can be called through OpenRouter or run locally. Qwen Code is itself an open-source terminal coding agent. The project’s TypeScript SDK release published on 4 December 2026 bundles CLI version 0.29.4.

For local Apple Silicon testing, Sushi publishes brew install beamivalice/tap/sushi. Its server listens on 127.0.0.1:12345. The project supports the Qwen4-35B-A3B STQ-4bpw pack on systems with at least 32 GB of Apple Silicon memory.

Sushi’s 5 December 2026 release adds looped reasoning for Qwen4-35B-A3B. The release reports 10 passes out of 10 on its 10-problem LiveCodeBench slice, compared with 6 passes out of 10 for stock generation. That is a developer-published result on a small sample, not a general coding benchmark.

What should a coding-agent buyer choose?

Pick Qwen4-35B-A3B first when spending is the main constraint. Its standard estimate is $2.52 per 1,000 agent steps, compared with $36.00 for Ergo Global CRIS. OpenRouter’s list-price calculation supports the Qwen figure, while AWS supports the Ergo figure.

Qwen also offers a practical local path, Apache-2.0 licence metadata, a 1-million-token context window and text, image and video input. Its local memory requirement still depends on the quantisation format and context length.

Pick Amazon Ergo-1.0 first when Bedrock integration matters, the workload benefits from its listed output rate and faster completion can justify the API premium. Its text-only interface and larger local footprint make it a specialised choice rather than the default low-cost option.

For production, compare both models on the same historical engineering tasks. Set a spending ceiling, use identical tools and record human correction time. Keep the cheaper model unless Ergo’s measured completion rate or shorter elapsed time produces a larger business saving.

What remains unverified?

No public result currently compares Amazon Ergo-1.0 and Qwen4-35B-A3B on the same coding-agent benchmark, prompt set, tools and budget. Neither vendor has published a matched completion-rate comparison between these models.

Published throughput figures also come from different serving environments. OpenRouter routes Qwen requests among providers, while Amazon’s figure describes Bedrock serving. Until a neutral test uses identical agent settings and repository tasks, Qwen is the clear list-price choice and Ergo has the stronger published Bedrock speed claim.

Sources


Liam Johnson
Liam Johnson
Liam Johnson is a technology journalist covering artificial intelligence and the tools shaping how people work.

Read more

Local News