← All posts

Just Because You Can Run an LLM Doesn't Mean You Should

A screenshot of a massive language model generating text on a consumer computer is an impressive technical achievement. But it does not answer the question I care about most: can the model help me complete a task faster, more reliably or more privately than the alternatives?

That distinction became particularly relevant while evaluating a very large DeepSeek variant for my local workstation. With two 16 GB GPUs, 56 GB of memory available to WSL2 and SATA storage, aggressive quantization and offloading looked tempting. The possibility of painfully slow generation made me reconsider the goal.

Fitting is only the first milestone

When a local model is said to fit, that may mean any number of things. It could fit entirely into GPU memory, distribute weights across multiple GPUs, retain some weights in system RAM, or stream data from disk. Those configurations differ dramatically in speed and operational complexity.

There is also memory overhead beyond model weights: the context cache, intermediate activations, runtime allocations, and other processes. A model that starts successfully with a short prompt can fail with a long coding session. A benchmark that measures only a short generation tells you little about how the model handles an agent repeatedly reading source code and tool output.

I encountered a concrete example while running a quantized Qwen model through a local AI serving setup. A request containing 15,998 prompt tokens exceeded the server's configured 15,872-token context. Changing a client-side auto-compaction setting did not necessarily change the server's allocation. An attempted --ctx-size flag was rejected by the launcher. The lesson was simple: client settings, server context and physical memory must agree.

Think in completed tasks, not just tokens per second

Consider a coding task that generates 1,000 tokens per response, over five iterations. The following hypothetical numbers ignore prompt evaluation, tool execution and reasoning overhead:

Decode speed 1,000 tokens 5,000 tokens
2 tokens/s 8 min 20 sec 41 min 40 sec
10 tokens/s 1 min 40 sec 8 min 20 sec
30 tokens/s 33 sec 2 min 47 sec
60 tokens/s 17 sec 1 min 23 sec

A slow model may still be worthwhile if it solves a difficult task in one pass while a smaller model needs many corrections. Conversely, a faster model that gets the answer right often enough may offer better productivity. None of these rates is a measured result for my workstation.

A benchmark that actually helps make decisions

I would test models on a small set of repeatable tasks: fix a known defect, generate a tested function, explain a log, transform structured data, and summarize a long document. For coding tasks, pass/fail tests provide a stronger quality measure than whether an answer sounds convincing.

Capture:

  • Cold and warm time to first token, and decode speed.
  • Total wall-clock task completion time, including retries and tool calls.
  • Task correctness, context failures and manual intervention time.
  • Peak VRAM and RAM, disk read activity, and energy if measurable.

If task execution succeeds on eight out of ten trials, record that result instead of averaging tokens per second over only successful runs. Failed or incomplete tasks are part of the performance story.

A simple scoring rule is to compare successful tasks per hour, subject to an acceptable quality threshold. A more advanced evaluation can account for correctness by severity, energy and human review time.

When slow inference makes sense

Offline access, privacy, research, and batch workloads can justify a model that is inconvenient in interactive use. An overnight batch job does not necessarily need instant responses. However, if the primary objective is an interactive coding assistant, I would favor a smaller model that leaves enough memory for context, runs reliably and returns results quickly.

I still find large-model experiments valuable. They help reveal where the limits of consumer inference are moving. But a large parameter count is not a productivity metric. The best local model is the one that accomplishes the intended work under the actual constraints of the system.

Further reading