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

Tools
  • QQwen4-35B-A3B
  • PPhi-4 Mini Instruct
Qwen 4 Benchmarks for Coding and Agents

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.

BenchmarkQwen4-35B-A3BQwen3.8-Flash-NextSource in release
DeepSWE v1.161.858.7Qwen chart, software engineering
Terminal Bench 4.121.224.2Artificial Analysis, card note 1
FrontierCode-AA 2.016.127.1Artificial Analysis, card note 1
NL2Repo51.748.1Qwen chart, repository development
Work36042.943.7Qwen internal test, card note 3
APEX Agents v1.159.061.0Mercor leaderboard, card note 2
AA-Briefcase v1.1 (Elo)14861567Artificial Analysis, card note 1
AutomationBench-AA57.955.9Artificial Analysis, card note 1
HealthBench Professional47.434.8Qwen chart, healthcare reasoning
GPQA86.991.7Qwen chart, graduate-level reasoning
Chartography27.824.6Qwen chart, image setting in card note 4
VideoIndex52.951.4Qwen chart, video understanding

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.

Qwen’s model card with the release chart and evaluation footnotes
Qwen4-35B-A3B model card

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.

Independent report and date (2026)SetupObserved result
zeden1337’s RTX 3090 timings, Dec 4RTX 3090, 64 GB system RAM. Ollama with Q4_K_M at 64K and 128K context.61.9 and 41.7 tokens/s respectively. With a different file (UD-IQ4_XS), runtime (Unsloth) and memory layout, the same card reached 140.1 at 128K.
WorldofAI’s local coding demo, Dec 4RTX 4090, Unsloth Dynamic four-bit. Local context unspecified.Over 90 tokens/s locally. The separately timed run at 91 to 95 tokens/s and 64K context used an API.
Creator Magic’s Qwen vs Claude Opus test, Dec 4Mac Studio M3 Ultra, 256 GB unified memory. Full and compressed Qwen builds, same one-shot prompts as Claude Opus 5.5. Exact quant and window for the builds unspecified.Both made a working flight simulator. The tester preferred Opus’s scenery and Qwen’s black hole. Typos broke three of five builds from the compressed version.
FeydRowan’s capy-flash bug repairs, Dec 4 runsTwo RTX 5070 Ti cards, NVFP4 experts with BF16 activations, default high reasoning. Response cap 32K, full window unspecified.Mean judged patch score of 0.41 with OpenCode and 0.31 with pi. The tasks were private and the author cautions that gaps this small fall within repeat-run noise.
Plotly’s DataAnalyticsBench, Dec 4Hosted Qwen through OpenRouter, provider defaults. Quant, GPU and context unspecified.34 of 43 analytics questions passed, with a median of 15 seconds per question. A useful API reference for a reporting assistant.
Plain Spoken Tech’s RTX 5090 exam, Dec 5RTX 5090, 32 GB, four-bit Unsloth files in llama.cpp. Document inputs around 18K tokens, plus a separate 77K test.Across three passes on 86 questions, Qwen4 averaged 79 correct to Qwen3.8-27B’s 76 with thinking enabled. With it disabled the order reversed, 71 to 73.
SirMilles’s overnight Godot run, Dec 5RTX 5070 Ti, 16 GB, UD-IQ3_XXS, Strata fork and pi. Multi-token prediction enabled, 128K window, peak actual context 111K.Median generation speed of 180.2 tokens/s. The agent integrated 20 milestones and deferred 21. About 61% of generated tokens went toward the deferred work.
HeDo88TH’s paired Flash-Next tests, Dec 5Qwen4 FP8 at 1M context against Flash-Next NVFP4 at 512K or 262K. Hardware unspecified.On all 45 Terminal-Bench 2.0 tasks, Qwen4 scored 48.9% to Flash-Next’s 55.6%. Qwen4 pulled ahead on the partial LongSWE run when Flash-Next had to drop input.

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.

A relay from reading to editing to verification, with a step-limit loop before the first edit
Measure the time to the first edit and whether the patch passes. A fast run can expire before either happens.

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.

A complete track map above a shorter tray that leaves the last corner outside the prompt
A comparison changes when only one model receives every file.

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
Related Articles
ChatGPT Work vs Chat After the Merge

ChatGPT Work vs Chat After the Merge

Where Chat went, how to get a quick answer with Instant, and when a longer ChatGPT task draws on the same allowance as Codex.AIDec 6
Muse Charm: What It Does, What It Costs and How to Start

Muse Charm: What It Does, What It Costs and How to Start

What Meta’s pocket AI device adds to the Muse app, how to order and set it up, and what happens to a recording when someone brings it to a meeting.AIDec 6
Claude Science: What It Does and How to Move Your Lab Work

Claude Science: What It Does and How to Move Your Lab Work

What Claude Science does, which plans get it first, and how to copy your lab’s chats, figures and projects from the standalone app into Claude.AIDec 5
Best AI Aggregator in 2026: Poe, You.com, ChatLLM, TypingMind, GlobalGPT and OpenRouter

Best AI Aggregator in 2026: Poe, You.com, ChatLLM, TypingMind, GlobalGPT and OpenRouter

Compare Poe, ChatLLM, You.com, TypingMind, GlobalGPT and OpenRouter by model access, usage limits and which parts of your current workspace carry over.AIDec 5
Grok Bot Marketplace

Grok Bot Marketplace

Find a ready-made Grok Bot, read its listing, and check its access to files and accounts. See when your team should use a shared Bot or a personal copy.AIDec 5
ChatGPT Tax Checkup

ChatGPT Tax Checkup

Estimate your 2026 tax balance or refund in ChatGPT. See who has access, what to bring, how uploads work and where tax software still fits.AIDec 5
Best AI Budgeting App in 2026: Origin, Monarch Money, Rocket Money and Claude

Best AI Budgeting App in 2026: Origin, Monarch Money, Rocket Money and Claude

Compare eight AI budgeting tools by bank access, price and the job they do. Find one to explain spending, build a budget or help cancel subscriptions.AIDec 5
GPT-Live: What It Is, What It Costs and How to Start

GPT-Live: What It Is, What It Costs and How to Start

How OpenAI’s voice models handle interruptions, which version your ChatGPT plan uses, and how to try GPT-Live or build your first voice app.AIDec 5
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.