TL;DR: Alibaba's Qwen4 Max passed all 13 of our December 2, 2026 work prompts on the first try, while Amazon Ergo passed 12 and lost the app build to one broken line. Qwen also cost $0.125 for the whole battery against Ergo's $0.198, about 37% less, and gave the most thorough answers of any model we ran that day. Pick Qwen4 Max for detailed API answers at a lower real bill; pick Ergo when you need weights you can host or a US model on Bedrock, and check any Qwen text that speaks for your company.
On the cron app prompt, Ergo reasoned for 34,429 tokens and shipped a page that would not run. Qwen4 Max reasoned for 6,759 and its app worked on the first load.
I wanted to see how China's flagship model stacks up against the new US open-weight model on real tasks, so our team gave Qwen4 Max the same 13 prompts we used for Ergo vs Gemini 4 Hydrogen and Ergo vs GPT-6.1 Terra.
Before you pick
1Alibaba has not published Qwen4 Max's weights; its largest open model is Qwen3.8 2.4T A95B, released in August 2026.
2Qwen's candidate rejection email invented a reason for turning her down that we never supplied.
3Half of Qwen's output tokens were reasoning; for Ergo it was 81%, which is where Ergo's bill went.
4Qwen's median short answer took 9.8 seconds to Ergo's 17.7, but two of its answers ran past 37 seconds.
Is Qwen4 Max or Amazon Ergo better?
Qwen4 Max, on this battery. It got all 13 tasks right on the first call, and on most of them it added something useful we did not ask for.
Ergo matched it on 12 tasks and wrote the cleaner rejection email, but its app build shipped broken and its reasoning made it the dearer model to run.
Test
Qwen4 Max
Amazon Ergo
T1 cron explainer app
Pass
Fail as shipped, one bad line
T2 SQL LEFT JOIN bug
Pass, plus three extra checks
Pass, groups by id
T3 fresh facts, no tools
Declined, suggested Nova
Declined
T3 with web search
Pass, most detail
Pass
T4 offshore bill
Pass, flags assumptions
Pass, raw LaTeX
T5 sprint end date
Pass, table
Pass, week by week
T6 Manila time
Pass, warns about the hour
Pass, explains DST
T7 rule-bound email
Pass on rules, invented a reason
Pass, question before the news
T8 JSON extraction
Pass, 1.6 s
Pass, same JSON
T9 security review
Pass, nine findings and a fixed route
Pass, five findings and a fixed route
T10 phone regex
Pass, same-separator rule
Pass, strict list
T11 cloud bill data
Pass, full table
Pass, raw LaTeX
T12 Sheets formula
Pass, plus a variant
Pass
T13 fake Python function
Pass, standard library
Pass, SciPy
How we ran it. The Second Talent team sent both models the same prompts on December 2, 2026, through the OpenRouter API with a small script: one request per prompt, no system prompt, default reasoning settings. Ergo was pinned to Amazon Bedrock and ran at about 14:27 to 14:30 UTC; Alibaba served Qwen4 Max at about 16:08 to 16:10 UTC. The fresh-facts test ran once without tools and once with the same web-search plugin on for both. We opened each T1 app in a browser and typed three inputs.
Alibaba launched Qwen4 Max on November 16, 2026. Its launch release describes 2.4 trillion parameters with 71 billion active per token, a one-million-token context window and native vision, served through QwenCloud's API and Token Plan.
Ergo is Amazon's 1.1 trillion parameter open-weight model, 55 billion active, text only; our Amazon Ergo review covers its access and licence.
The prompt asked for a single-file HTML, CSS and JavaScript tool that explains a 5-field cron expression "as the user types", lists the next 5 runs in local time, and names the wrong field on bad input.
We gave each app a weekday schedule, an impossible February 31, and a minute of 60.
Qwen's dark-themed app worked on first load.
It splits the expression into five field chips, offers seven example buttons (one is "leap day") and reads the weekday schedule as "At every 15th minute, past hours 9 through 17 on Monday through Friday".
Ergo's page drew its layout and then did nothing: one regex literal in a 31,800-character file was double-escaped, and the browser threw out the whole script.
With that single line fixed, Ergo's app is as good as Qwen's on the hard inputs. Both explain February 31 instead of hanging: Qwen says the expression "never matches a real date within the next 5 years", Ergo searched 12 years.
Both turn the minute field red for 60 and print the allowed range. On a second try, Ergo's T1 app parsed and worked.
We score T1 on the file each model shipped, so Ergo fails it. In my understanding, that says more about code review than about Ergo's coding: a one-character escaping slip sank 31,800 characters of otherwise working code.
Where Qwen's extra detail paid off
Qwen4 Max kept doing a second job on top of the one we asked for. Across the 13 short prompts it wrote 6,515 tokens of visible answer to Ergo's 2,388, and most of that extra text was a check a careful engineer would want.
T2: engineers with zero pull requests go missing
The query counted merged pull requests per engineer for November 2026 with a LEFT JOIN, then filtered dates in WHERE, which dropped the engineers with zero.
Both models moved the filter into ON and grouped by e.id so two engineers named alike stay apart.
Qwen then warned not to "fix" the count by switching to COUNT(*), which would report 1 for engineers with none.
It flagged that a timestamptz column reads the date literals in the session's time zone, and offered a pre-aggregated subquery that is harder to break in review. It did all that in 7.5 seconds; Ergo took 24.3.
T6: a 9:30 AM Pacific call, in Manila
"A US client wants a call at 9:30 AM Pacific Time on Monday, March 8, 2027. What time and date is that in Manila?" Both answered 1:30 AM on Tuesday, March 9, and both knew US daylight saving starts March 14 that year.
Qwen added the part a coordinator needs: 1:30 AM is the middle of the night for a Manila team, and once the US clocks change the gap drops to 15 hours, so a recurring call moves by an hour. Ergo stopped at the correct time.
T9: an Express route with four holes
"Review this Express.js route for security problems and rank them by severity." The route pasted req.query.id into a SQL string and echoed it back as HTML.
Ergo found five issues: SQL injection, missing authorization, reflected and stored XSS, SELECT * exposure, and weak validation and error handling, then wrote a full fixed route. Qwen found nine issues.
It added that Express 4 leaves a rejected async handler unhandled, which on Node 15 and later can crash the process from one bad request, plus array and object values sneaking in through the query string, cacheable invoice responses and missing rate limits.
Its hardened route validates the ID with a strict pattern, scopes the query to the caller's tenant, returns JSON with Cache-Control: no-store and passes errors to next(). The cost was time: 37.4 seconds, against Ergo's 27.6.
T10 to T13: regex, data, a formula and a fake function
T10 phone regex. Both pass our six test strings in Node. Qwen's uses a backreference so the second separator must match the first, which rejects 555-123.4567; Ergo lists the four formats one by one and also rejects +1 (555) 123-4567, which Qwen accepts.
T11 cloud bills. Both found May at 32.6% and a $13,575 median. Qwen added a full month-by-month table, March as runner-up at 28.2%, and the $14,233 mean. Ergo's working arrived as raw LaTeX.
T12 Sheets formula. The same COUNTIFS logic from both. Qwen added a ">0" version for columns with stray zeros.
T13 fake API. Neither invented statistics.trimmed_mean(). Qwen added that Python 3.13 did add kde() and kde_random() to the module, which is true. Both examples print 5.5.
On the 2027 offshore bill (T4) and the sprint end date (T5), both models got $456,000 and Monday, December 28.
Qwen used tables, noted that December 24 is a normal working day, and listed what would push the bill lower: PTO, holidays and ramp-up time for the July hires.
T7: the one Qwen answer you could not send
T7 asked for a rejection email to a Staff Backend Engineer candidate: exactly 4 sentences, 60 to 80 words, the name Priya once, no "unfortunately" or "regret", no exclamation marks, and a question as sentence two.
Both models met all six rules; Qwen used 70 words, Ergo 73.
Qwen put the decision first, which reads better. Then it wrote: "Our team admired your distributed systems depth, though this position called for stronger experience scaling event-driven pipelines."
The prompt said nothing about her skills or why she lost out.
A made-up reason is worse than made-up praise. It is a statement of why the company decided, in writing, sent to a real person who can reply to it or compare it with what her interviewers said.
If the panel liked her pipeline work, the email now contradicts the record. Ergo invented nothing, but it asked about keeping her resume on file before telling her she did not get the job.
Gemini 4 Hydrogen also invented praise on this prompt in our Gemini comparison. If you draft candidate or customer messages with Qwen4 Max, have a human strike any reason and detail that did not come from your own notes.
Fresh facts, with and without search
Without tools, we asked which open-weight model Amazon released on December 1, 2026. Both declined to guess.
Qwen said the date was past its knowledge and suggested we might mean Amazon Nova, launched at re:Invent in December 2024, while noting Nova was not open-weight. Ergo said it had no web access and asked for links.
$1 / $3 Global, cache prices, $1.10 / $3.30 US, 400+ tokens a second
Cited AWS docs, product and pricing pages and Axios; 9.8 s
Ergo with web search
Same model, same parameter counts
$1 / $3 Global and the $1.10 / $3.30 US price
Cited the AWS model card and pricing page; 22.1 s
Source: Second Talent test, December 2, 2026, same web-search plugin for both models.
All the figures in Qwen's search answer matches the AWS Ergo pricing page and model card. For T8, both returned the three candidates as byte-identical JSON, with Ben's rate null and his 3.5 years a number.
Qwen took 1.6 seconds and 97 tokens; Ergo took 13.4 seconds and 213.
Why Qwen's higher rate came out cheaper
Ergo's list price is lower, but it spends most of its output on reasoning the reader does not see. Of Ergo's 62,532 output tokens across our 14 requests, 50,583 were reasoning. Qwen wrote 26,748 in total, 13,490 of them reasoning.
That flips the bill. On the 13 short tasks the two models cost the same: $0.068 for Qwen, $0.066 for Ergo, with Qwen writing 2.7 times as much visible answer for the money.
The app build decides the total, because Ergo's 34,429 reasoning tokens cost $0.132 against Qwen's $0.058.
In my understanding, Ergo's rate card wins only where its answers stay short and the prompt does not set off long reasoning. Amazon's Ergo model card itself lists extra tokens on simple tasks as a limitation.
GPT-6.1 Terra was cheaper than both, at $0.054 for the same battery in our OpenAI comparison.
Speed: faster on most answers, slow on the long ones
Qwen answered 8 of the 13 short prompts faster than Ergo, with a median of 9.8 seconds to Ergo's 17.7. Its JSON answer came back in 1.6 seconds.
But its two longest answers, the security review and the cloud bill table, took 37.4 and 38.7 seconds, slower than anything Ergo did outside the app build.
Ergo's afternoon times do not match its morning. In a separate test for our Ergo vs Claude post, run on Bedrock at about 06:00 UTC the same day with different prompts, Ergo answered short prompts in 2.3 to 2.9 seconds.
The Qwen run came about 100 minutes after the Ergo run, so we report the times as measured and nothing more.
Price per million tokens, by where you buy
Qwen4 Max costs about 43% more per token than Ergo at list price, and its price depends on the region.
Alibaba Cloud's Model Studio pricing lists qwen4-max at $1.50 input and $4.50 output per million tokens in Singapore, and $1.413 and $4.24 on the global deployment in US (Virginia), Frankfurt, Tokyo and Hong Kong.
We paid OpenRouter's Qwen4 Max rate of $1.425 and $4.275, served by Alibaba. Alibaba's launch release adds $0.075 per million for cached input.
Ergo is $1 and $3 on Bedrock's Global profile and $1.10 and $3.30 on the US profile, with Standard, Flex and Batch at one rate.
Can a US team self-host either one?
Ergo, yes; Qwen4 Max, no. Qwen's Hugging Face organization had no Qwen4 weights when we checked on December 2, and Alibaba's launch release says only that "open-weight, smaller-scale models from the Qwen4 series will soon be released".
The open model at Qwen4 Max's size is its predecessor generation.
Qwen4 MaxNov 2026
2.4T / 71B active
Closed weights, API only, text and vision, 1M context
Qwen3.8 2.4T A95BAug 2026
2.4T / 95B active
Open weights, text only, about 4.9 TB in BF16, Qwen3.8-Max License
Amazon ErgoDec 2026
1.1T / 55B active
Open weights, text only, 626 GB in MXFP4, Amazon Ergo Open-Weights License
Sources: Alibaba Cloud Qwen4-Max release; Qwen/Qwen3.8-2.4T-A95B and Amazon-FMR/Ergo on Hugging Face. BF16 size is our sum of the repo's files.
Qwen3.8 2.4T A95B is a mixture-of-experts model with 512 experts, 10 routed plus 1 shared active per token, a 262,144-token native context extendable to 1,010,000, and thinking mode on for every request.
It is more than twice Ergo's size, so it needs a bigger cluster to host. OpenRouter lists it at $2 and $6 per million tokens.
The two licences are close in spirit.
The Qwen3.8-Max License allows commercial use, but a model-as-a-service or AI work assistant business with more than $50 million in revenue over 12 months needs a separate licence, and a product above 100 million monthly users or $20 million monthly revenue must display the model name.
Ergo's licence draws its model-as-a-service line at $20 million in revenue over any 12 months. Internal use is exempt under both.
Policy is the other side of the choice. CNBC reported on launch day that AWS customers worry new US rules could block models from China or require companies to disclose their use.
Peter DeSantis, who leads Amazon's AGI unit, quoted customers asking, "Will I even have access if I use a non-U.S. open-weight model in three months, six months?"
CNBC described these as rules under consideration, and our open-weight LLM guide compares licences across both countries' families.
When should a US team pick Qwen4 Max, and when Ergo?
Pick by what you need to own. Qwen4 Max gave better answers for less money on this battery, through an API you rent. Ergo gives you weights you can run yourself and a model that lives inside AWS.
Qwen4 Max for code review, debugging, data questions and scheduling help, where its extra checks save a second pass. It also reads images, which Ergo cannot. Keep a human edit on any message that speaks for your company.
Ergo when you need to self-host, need a US-built model for procurement or policy reasons, or want Bedrock's zero data retention terms. Its rejection email needed one sentence moved; Qwen's needed one deleted.
Either needs a syntax check before generated code ships. One escaping slip cost Ergo the app test.
For a US engineering team today, I would run Qwen4 Max on internal engineering questions and keep Ergo, or a reviewed template, for anything customer-facing or regulated.
Routing work between a hosted Chinese flagship and a self-hosted US model takes eval sets, a proxy, cost tracking and a review step for generated text.
No. Qwen4 Max is available through Alibaba's QwenCloud API, QwenWork, QwenStudio and resellers such as OpenRouter. Alibaba says smaller open-weight Qwen4 models are coming.
Can a US company call Qwen4 Max from a US region?
Alibaba Cloud's Model Studio pricing page lists qwen4-max in United States (Virginia), at $1.50 and $4.50 per million tokens on the Virginia-only deployment and $1.413 and $4.24 on the global one.
Matt Li is a tech-driven entrepreneur with deep expertise in global talent strategy, digital experience optimization, e-commerce, and Web3 innovation.
He is the Co-Founder of Second Talent, a US-based company that connects businesses with top-tier tech professionals worldwide. Since launching the company in 2024, Matt has led its growth by leveraging technology to streamline remote hiring and scale distributed teams.
With a background spanning product, operations, and innovation, Matt brings a cross-disciplinary perspective to the evolving digital economy. His work sits at the intersection of global talent, emerging technology, and scalable digital transformation.