Qwen 4 Benchmarks for Coding and Agents
Compare Alibaba’s Qwen4-35B-A3B scores with independent GPU, coding-agent and Claude Opus tests to decide which jobs to run locally or through an API.
Published
- QQwen4-35B-A3B
- PPhi-4 Mini Instruct

Give Qwen4-35B-A3B a coding job you can check, and keep your paid model for unattended fixes with a deadline. The most telling result in the Qwen 4 benchmarks is a pair of numbers from a private bug-fixing test. All 17 patches the model submitted through OpenCode compiled, but 10 of its 27 attempts ended without a patch.
Qwen 4 benchmarks from Alibaba’s model card
Qwen4 led Qwen3.8-Flash-Next on six of the twelve tests in Alibaba’s chart and trailed on six. The choice changes even within coding. DeepSWE favors Qwen4, while FrontierCode-AA gives Flash-Next an 11-point lead. A developer choosing a model for an existing repository has good reason to ask which tasks went into a score.
Alibaba’s December 4 announcement describes an open-weight model that broadly matches Flash-Next. The downloadable weights and the Qwen Cloud API identifier qwen4-35b-a3b refer to the Qwen4-35B-A3B model. The Qwen4-Max flagship has its own results.
We checked the original score chart and the benchmark footnotes on the model card on December 6, 2026. Each row gives the published score in that test’s units. Elo is a relative rating, so averaging its column with percentage-scale scores would be meaningless.
For an operator automating a recurring office task, AutomationBench-AA is the more relevant row. For someone buying a model to work in a terminal, start with Terminal Bench. Alibaba credits Artificial Analysis for both figures. Its own Work360 suite measures professional workflows.
What independent testers measured on GPUs and through an API
A change of setup can move the result as much as a change of model. A quant is a version that stores weights at reduced precision. Context is the material the model can use in a request, including the conversation and files. A configured window tells you how much can fit. A tester reporting how much they actually filled tells you more about the workload.
For a solo developer sizing a machine, the RTX 3090 comparison is more informative than a race between different GPUs. Even with the same card, the fastest configuration changed the file, the software and how much of the model lived on the GPU. Use the local Qwen setup guide to match the configuration behind the speed you want. If the machine will also handle writing or document tasks, the broader local model comparison covers those choices.
Where a fast coding agent loses time
The capy-flash test explains what testers mean when they say Qwen4 “overthinks.” Its authors gave the agent nine historical bugs, three attempts per bug and a limit of 80 steps. It could read and edit code but could not compile during its turn. The evaluator compiled the submitted patches afterward, and Claude Opus 5 graded them without seeing the author. A compiling patch could still earn partial credit.
In OpenCode the median first edit came at step 44. Every submitted patch compiled, yet more than a third of attempts ended empty. In pi, three submitted patches failed to compile. The software around the model determines how it reads files, calls tools and hands back work. That software is the agent’s harness. The full capy-flash report also records an earlier mean of 0.74 for Claude Opus 5.5 in Claude Code on the same bugs. It compares two complete working setups, including different harnesses.

For a team lead, the overnight Godot run makes the trade concrete. The agent could produce tokens quickly enough to keep working through the night. The larger share of that output went into milestones the operator still had to defer. Track accepted changes per hour alongside generation speed. For an API, divide the whole bill, including retries, by the number of accepted changes. If you have no suitable GPU, the hosted endpoint lets you evaluate patch quality first. Repeat the same tickets on the local quant before relying on it.
Why Flash-Next and Opus can both look better
Giving a model the whole repository can change which model you would pick. On the first 70 of 242 LongSWE tasks in HeDo88TH’s report, Qwen4 scored 48.6% against 45.0% for Flash-Next when both saw the same prompt. The reported uncertainty included a tie. Trim Flash-Next’s input to its 262K window and its score fell to 33.6%. That wider gap matters if a file your fix depends on gets cut. It tells you much less about a small repository that fits comfortably in either window.

The Mac Studio video answers another question. For a prototype you can judge by opening it in a browser, a single successful generation has value. Creator Magic could see which flight simulator looked better. For a background job that edits a repository before a release, you need to know how often an attempt returns a usable patch, including the attempts that never get that far.
Record the file and the sampling settings. Sampling controls how the model chooses the next token. Alibaba recommends temperature 1.0 and top-p 0.95 when thinking is on, versus 0.7 and 0.80 with it off. Plain Spoken Tech used the recommended settings for each mode. Its reversal shows what happened when the mode and its settings changed together. It cannot isolate temperature as the cause.
The Strata Compact warning from citrusalex concerns a specific compressed file. The author shared an example that repeatedly emitted “Hmm” and questioned a next-token agreement claim based on 36 prompts. The overnight Godot run used a Strata engine fork with a different file. For your own comparison, record the exact filename, including the quant suffix. The guide to Unsloth explains where its builds fit into a local setup.
What to run for each job
Compare the best local AI models for coding for the next candidate to run against that ticket.
- Published
- Category
- AI








