Yes. A 32 GB M2 Pro ran the 4-bit Instruct model at 16.4 output tokens per second in a 4K test. The first token took 22.598 seconds. For an editor assistant, that wait can matter more than generation speed, especially when you paste several files into each request.

Qwen released the 14B Coder variant on November 12, 2024. Choose Qwen2.5-Coder-14B-Instruct, the Apache-2.0 checkpoint for following coding instructions. It is not the Base model, the 32B release, or Qwen3-14B.

What did people measure?

PP is prompt processing and TG is token generation, both in tokens per second. TTFT is time to first token. The linked testers ran these benchmarks; OnDevice Works did not.

Hardware Test configuration PP TG TTFT
M2 Pro, 19-core GPU, 32 GB macOS 26.1, oMLX 0.4.1, 4-bit, 4,096 context 181.3 16.4 22.598 s
RTX 5090, 32 GB llama.cpp b1, Q4_K_M, suite-v1 short chat 2,016.9 137.3 0.065 s
Radeon 8060S, Ryzen AI Max+ 395, 128 GB unified Windows, ROCm 7.1, Ollama 0.34.4, Q4_K_M, Flash Attention, 16K configured 112 at about 4K; 86 at about 12K 5.2 for one stream 0.74 s

The Mac submission reports 9.4 GB peak memory. The same RTX record’s longer-chat test gives 128.9 tok/s and a 0.529 s first-token wait; do not mix those with its short-chat results. The AMD report’s 15.9 tok/s is combined generation across four streams. The three different protocols do not rank these devices or measure how often the generated code passes tests.

Turn the code benchmark into a reviewable local task

Choose the exact 14B Coder Instruct package. The Instruct checkpoint is meant to follow a request about code, while the Base or another size can be a separate experiment. Begin in a disposable directory and give the model one small behavior to change. Keep its tools disabled for the trial. Review the proposed patch before running any command or generated code. A correct patch can be verified with the standard library and a short set of known cases.

For a practice example, imagine a function that reads a text quantity before saving it to a local order list. It already accepts ordinary positive integers and returns a caller-supplied default for a blank string. The bug is that the text “0” is treated as missing even when zero is valid. Ask the model to correct that case while preserving behavior for blank strings and ordinary numbers. Supply the function and expected behavior, without adding unrelated project files. Ask for a minimal patch and a brief explanation.

List regression cases before reading the suggested change

Check that the text “0” returns numeric zero. Also check that “7” still returns seven and that a blank string still returns the designated default. Add the promised behavior for unexpected text if the existing function defines it. The goal is to preserve what callers currently rely on. Code that passes the zero case by returning zero for every unrecognized value would change the other behavior. A patch that silently changes a public name or return type also needs review even if a narrow test passes.

Run the relevant tests on the original to establish which assertions already pass and which reproduce the bug. Then inspect the model output as a diff. Verify that it touches only the intended function or closely associated test case. Run the same short cases on the candidate copy, and rerun existing tests that cover its callers. Keep the before and after outputs with the exact request. This supplies a way to compare usefulness that the model’s token generation rate cannot.

For a second comparison, keep the exact required behavior but change the input. An empty quantity may mean “unassigned,” while zero can still mean nothing remains. Include a defined behavior for whitespace, if the existing application treats whitespace as empty. Inspect a patch for a change to that specific rule and check it against the original. Preserve any error behavior that the request did not authorize changing. This exercise catches a patch which fixes a single normal case while extending the rule further than intended.

Read reported speed in the context of patch review

The M2 Pro measurement at its 4,096 setting reports 22.598 seconds to first token and 16.4 output tokens per second. That is a reference for the measured 4-bit oMLX configuration. It has no published answer about whether the zero-handling patch passes. The RTX row gives a separate chat-short recipe and a related chat-long result. Within that RTX report, first token moved from 0.065 to 0.529 seconds while generation rate went from 137.3 to 128.9. Record both reported workloads when citing the comparison, because the inputs differ.

The AMD report’s one-stream value and its four-stream total describe distinct measures. If your coding work is interactive, record when the model returns a complete patch rather than borrowing aggregate throughput. For a batch of review jobs, count accepted patches over a stated interval and keep failures visible. A generated diff can be incomplete, have a syntax error or compile while violating the requested behavior. These results need separate checks.

Compare a small context with the repository scope you actually need

Start with the failing function, relevant tests and a short description of the invariant. Once that case passes, add a representative caller or data model when it matters to the requested change. Ask the same question again. Note which files were supplied and the actual input length. If the enlarged request introduces unrelated changes, inspect whether the added context made the task ambiguous or whether the model tried to solve a broader problem. Keep the narrower working route for the immediate fix when all necessary information fits.

If the model needs a function it was not shown, provide that specific dependency rather than assuming it will infer the interface. After the next response, verify its claimed behavior against the source. A large context setting may make more input possible, but a focused request remains easier to review. Record elapsed time from sending to a complete proposed patch, then time spent on review and tests as independent work if that matters to the choice.

Compare 14B and a smaller Coder on the same tests

For a side-by-side check, keep the exact project snapshot, failed test, required invariant and output allowance. Record the models and runtime settings. Read both diffs and run the same tests from the same starting state. If both solve the small job, compare wait and review effort under the observed setups. If only 14B handles an edge case, reproduce that edge case in a fresh example before relying on the difference. An unrelated benchmark for the 7B cannot establish its coding result.

Write down any change in actual GPU placement, memory behavior or system responsiveness during the exercise. Keep the exact artifact names and measured timings separate from model-card claims. A Mac that can produce text while another app stutters may not fit your working setup. Try a focused context or a validated smaller option before using a larger project prompt as the default.

Keep humans in control of an important edit

Save the last accepted patch or the original source copy, not just the raw suggestion. Record which tests you ran and the cases they covered. If the model proposed changes that were outside scope, list them separately and leave them out of the adopted patch. Before using a different model or runner, rerun the small known task and verify the required behavior again. The durable evidence is a reviewed diff with passing checks and an accurate account of the observed time.

Check boundary cases on a real diff rather than on the model’s explanation

Prepare a tiny Python fixture with one function, one call site and a few assertions. Use the same input and output types as the intended task. In addition to zero and blank, include a nonzero string and a malformed entry. Decide what the original program promises to do on each. If it raises a specific exception for malformed text, verify that the patch preserves it. Keep failing and passing results separately in the initial test log. The target change should turn one identified failure into a pass and should leave the other outcomes intact.

On review, inspect any new conditional before running the patch. A common-looking shortcut is to use truthiness for a value that legitimately can be zero. Check that the proposed function distinguishes an empty raw string from parsed zero in the correct order. Read the unchanged caller to see whether its default is still passed through. If the patch adds new dependencies or mutates additional files, reject that scope and try the documented small prompt again. The ideal exercise has an independently checkable failure and a reversible candidate.

Make a second task that requires the opposite kind of care, such as preserving an empty label while substituting a fallback only when the label is missing. Write tests that distinguish the empty string, a normal label and a missing value. Give the model the same amount of context rather than adding the first answer from history. Check the produced implementation against those tests. This checks whether the earlier success generalized to the boundary or simply matched a familiar pattern.

If a bigger repository requires cross-file changes, prepare a succeeding trial that includes just the actual callers. Record the expanded prompt and expected behavior separately. Compare time to a complete candidate, reviewer time and tests passed. Transfer only a reviewed, bounded change. A fast suggestion that needs manual repair has a measurable cost which raw generation speed leaves out.

Keep the final accepted patch in the working project record with the source version and the exact validation commands you used. This gives the next reviewer a reproducible baseline when comparing the model’s behavior after an update or with another quantization. If a local machine cannot keep the larger context responsive, use the tested small scope or a different reviewed process rather than accepting unverified broader output.

Include a case where the default itself is zero. If the requested fix changes only how an explicit raw zero is treated, supplying zero as the default should still work for blank input. Check that the patch preserves how the function handles a nonzero default as well. By testing the caller’s choice explicitly, you can reject a tiny-looking edit that reaches the right result for only one default.

How should you try it for coding?

Give the model one requested change and one explicit behavior to preserve. Review the patch for both and run a test for each. If sending a larger file increases the wait without fixing a missed requirement, keep the smaller prompt and make that requirement clearer.

  • Mac: Use the exact 4-bit Instruct variant in oMLX. Start with one file and a short request.
  • PC: Try the publisher’s GGUF in llama.cpp, or the exact Coder Instruct package under Ollama. Check the model name and GPU use before taking timings.

Start with a small harmless change in a disposable copy of a project. Save the prompt, time to first token and time to the last token. Review the diff and run the existing tests. Repeat with a larger file only after the small example works. That gives you both speed and a check on whether the change solves the problem.