Quantized Local LLM Configs Compared in Agentic Coding: A Hands-On Test of Speed, Stability, and Engineering Quality
This article summarizes a hands-on test of three local LLM configurations—differing in quantization method (4-bit integer, NVFP4, and 8-bit float)—used as coding agents. It details test design, per-configuration behavior across tool calling, bug fixing, and full web app building, and offers selection guidance for development, maintenance, and prototyping. Results are specific to the tested combinations and should be validated in your own environment.
With large language models increasingly embedded in development workflows, letting a model act as an autonomous coding agent is becoming common. Local compute limits and inference costs often push developers to quantize models—compressing weights to lower bit widths. Quantization affects inference speed and VRAM usage, and can also change a model’s behavior during multi-step tool calls. This article summarizes a local test that compared three configurations on coding tasks and provides selection guidance. Note that the results represent only the tested combinations and cannot be generalized to all models or hardware.
Test Design and Limitations
The test ran on a dual-node AI inference setup. The three configurations are labeled Model A, Model B, and Model C:
- Model A: 4-bit integer quantization
- Model B: NVFP4 quantization (NVIDIA’s 4-bit floating-point format)
- Model C: 8-bit floating-point quantization (the specific FP8 variant was not recorded)
The underlying models themselves may differ across the three configurations. Therefore, the comparison measures the combined effect of “model + quantization scheme,” not the isolated impact of quantization bit width.
Three task categories were evaluated:
- Tool calling: The model acted as an agent, autonomously calling 21 built-in tools to simulate interface calls and system operations in a development environment.
- Bug fixing: 17 tasks involving a functional programming language, testing the model’s ability to understand complex code logic and make precise fixes.
- Full web app build: The model had to build an application that passed 19 checkpoints, covering requirement understanding, architecture design, code implementation, and self-testing.
All results were scored automatically via preset checklists without using another LLM as a judge. This reduces human subjective bias, but scores remain limited by the coverage of those checkpoints. Timing and round counts come from a single run; no repeated-run variance was recorded, so the numbers should be treated as indicative.
How the Three Configurations Behaved
All three passed the predefined tests, provided they met the set pass threshold. Within that, their working styles differed noticeably.
Model A (4-bit quantization) finished the app build in about 18.4 minutes—the shortest of the three. It generated roughly 20,000 tokens in total, far fewer than the other configs. Since each agent output updates the state and triggers the next tool call, fewer output tokens mean shorter wait times. The trade-off was less code comment, less redundant design, and more follow-up work needed for maintainability.
Model C (8-bit float quantization) used the fewest interaction rounds (77). It tended to form a global plan first, then execute step-by-step, resulting in a clear workflow. The prompt cache hit rate was about 98%. When input context is highly repetitive, cache hits rise and compute costs drop. However, cache hit rate depends on prompt structure and the inference engine’s implementation; switching frameworks or prompt styles can change the outcome.
Model B (NVFP4 quantization) took about 27.6 minutes—the longest. It performed more internal reasoning per round and produced 18 test cases, more than the other two. Its output code had a more complete structure and better test coverage. NVFP4 is NVIDIA’s 4-bit floating-point format, generally requiring Blackwell-architecture GPUs and a supporting inference framework. It differs from integer 4-bit quantization, but this test did not isolate how that difference contributed to the results.
The strengths map to different goals: Model A favors speed, Model C favors process stability and cost, and Model B favors engineering rigor.
Selection Guidance
- Daily development and long-running background tasks: If execution speed and compute cost are priorities, and the task runs unattended for long periods, Model C’s configuration is a good first choice. Confirm that the cache hit rate holds in your own environment.
- Core system maintenance and engineering delivery: If the project demands code standards, maintainability, and test coverage, Model B’s configuration is preferable. It takes longer, so plan for sufficient runtime.
- Rapid prototyping: If you need to see a runnable version as soon as possible, Model A works best. Expect to add comments, tests, and structural cleanup later.
Regardless of the configuration you pick, run three validation steps before production use. First, repeat the task with your own workloads and record timeouts and failures. Second, verify that the tool-calling format is compatible with your existing agent framework. Third, keep a fallback option ready in case precision issues or abnormal outputs appear.
Conclusion
In this test, the three configurations differed significantly in runtime, interaction rounds, output token count, and test artifact volume. These differences stem from the combination of model and quantization scheme, not from quantization bit width alone. To isolate the effect of quantization itself, you would need to run the same model under different quantization formats, keep hardware, inference engine, and task input fixed, and repeat multiple times. Until such validation is done, the data here can serve as a starting point for selection—but it is not a substitute for testing on your own tasks and hardware.
