JetBrains Mellum2.1 Instruct: Fast Local Coding Agents Without the CoT Tax — Call Overlays Still Hit the WASAPI + Local STT Floor

On 25 November 2026 JetBrains released Mellum2.1 Instruct, the direct-answer sibling of the October Mellum2.1 Thinking model. Same 12B mixture-of-experts architecture, 2.5B active parameters per token (64 experts, 8 active), 131k context, Apache 2.0, GGUF builds available. It skips the visible chain-of-thought entirely. On JetBrains’ own numbers it produces roughly half the tokens of the Thinking variant on agentic coding tasks (about 5.6k vs 10.1k total per task) while scoring 40.4 on SWE-bench Verified versus 47.0 for Thinking. Multi-token prediction head can give up to 1.8× faster generation. The intent is clear: a fast worker for sub-agent loops, tool calls, and chat that actually runs on your own hardware.

Useful for local coding agents. Completely orthogonal to the problem of painting translated suggestions or short replies on top of a live Windows call with acceptable latency.

The capture wall has not moved

Every local model call, including a fast Instruct-style GGUF or Windows ML Task, still waits on the audio path. WASAPI shared mode is the floor:

  • Typical shared period: 10 ms (sometimes 5–8 ms if the engine cooperates).
  • Callback must return immediately. Copy PCM into a lock-free SPSC ring, do nothing else.
  • Drop enhancements, pin the capture thread, resample + lightweight VAD on the consumer side.
  • First partial from local Whisper/Nemotron or a small GGUF still lands 40–150 ms after the buffer is full. Overlay paint is <16 ms. The period is the immutable floor.

Dual-track capture (loopback for the remote party + mic for you) is still the practical way to keep speaker labels and avoid echo cancellation eating your own voice. Faster token generation in a coding agent does not change any of that.

Local models and BYOK still win for the overlay case

Windows ML Speech Recognition Task (experimental) and the DX CGC / MLIR path already list Whisper and Nemotron. GGUF runners (llama.cpp, etc.) give you the same option offline. Either removes the network RTT. A model that answers in fewer tokens (Instruct-style or a distilled small ASR) reduces the generation tail, but the capture period remains the floor.

Rough budget on a modern laptop (shared mode, enhancements off):

Stage Typical cost
WASAPI shared period 10 ms
Callback → ring copy + format convert 1–3 ms
Resample + lightweight VAD 2–5 ms
Local STT first partial 40–120 ms
Suggestion / translation polish (small local model) 30–80 ms
Overlay paint <16 ms

A cloud STT that returns finals in 80–100 ms is still visible in the tail. The capture period is the floor. Local models remove the hop but still wait on the same buffers. Token-efficient models help the polish step; they do not shrink the WASAPI period.

Practical capture skeleton

// WASAPI shared-mode capture thread (simplified) void CaptureThread() { // ... initialize IAudioClient, set period, start UINT32 packetLength = 0; BYTE* pData; DWORD flags; while (!stop) { hr = pCaptureClient->GetNextPacketSize(&packetLength); while (packetLength != 0) { hr = pCaptureClient->GetBuffer(&pData, &packetLength, &flags, nullptr, nullptr); if (!(flags & AUDCLNT_BUFFERFLAGS_SILENT)) { // lock-free push to SPSC ring (copy PCM, convert if needed) ring.push(pData, packetLength * bytesPerFrame); } pCaptureClient->ReleaseBuffer(packetLength); hr = pCaptureClient->GetNextPacketSize(&packetLength); } // sleep or wait on event — never block the callback path } } 

Consumer side with a local model for suggestions:

# framing + VAD + local STT + small local polish while True: chunk = ring.pop(timeout=0.01) if chunk: pcm = resample_to_16k(chunk) if vad.is_speech(pcm): partial = local_whisper.stream(pcm) # or Windows ML Task if partial: # optional: small local Instruct-style model for short suggestion suggestion = local_gguf.complete(partial, max_tokens=32) overlay.update(partial, suggestion) # <16 ms paint 

Tradeoffs

  • Cloud agent + gateway: easy multi-provider routing, budgets, content filters. Adds RTT + governance latency. Fine for batch or non-real-time agent work.
  • Local STT + local polish (Windows ML Task / GGUF / faster-whisper + small Instruct model): zero network, no quota surprises, works offline. Still gated by WASAPI period and model size. GPU/NPU path helps but does not remove the buffer. Token-efficient models (half the tokens of a Thinking variant) shrink the polish tail.
  • Hybrid: capture + local VAD/partials for the overlay, occasional cloud call for harder translation or long context.

WASAPI and waveform context

Typical Whisper-style encoder-decoder used in local STT

The hardware isolation story for agents (Nitro sandboxes, etc.) is interesting for untrusted code execution. It does not move the audio capture floor on a laptop running a call overlay. The period is still 10 ms. The ring is still lock-free. The first partial is still gated by that buffer.

I'm building Talkaside, a Windows app for job interviews and calls in another language.
Drafted with AI assistance from this project's code and logs.