Model Compatibility

Model Compatibility

SideCar works with any model your backend can serve, but agentic coding is demanding: a model must call tools reliably, follow multi-step instructions, and recover from errors. This page lists what we actually measure, so you can pick a model that matches your hardware and expectations.

Ratings come from SideCar’s own evaluation suite — an agent-loop smoke suite (read / edit / write / run / plan / error-recovery tasks) plus long-horizon multi-step tasks — re-run against local models as SideCar evolves. Every model in the first table runs the smoke suite with zero infrastructure errors (no crashes, dropped tool calls, or retry thrash); task-completion capability varies. Last verified: v0.130 (tested-model list matches the README); star ratings and agent-baseline percentages date from the 2026-08 baselines, and — marks a model added since without a star rating.

On real repository bugs (SWE-bench Lite, 2026-11)

The smoke suite says whether a model can drive SideCar at all. SWE-bench Lite says how often it fixes a real bug: 300 GitHub issues from 12 Python projects, each scored by the official harness’s tests. Every model below ran all 300 once; 290 tasks are scored for every model. Full table and method: Model Eval Results.

Model Download Resolved Pick it when
gemma4:31b 20.4 GB 50.7% You have a 32 GB GPU and want the most fixes. The slowest per task (6.2 min median).
qwen3.8:27b 17.7 GB 47.2% You want nearly 31b’s results at under half its time per task. Ends a quarter of tasks with no patch at all.
qwen3.5:9b 6.6 GB 33.1% You want the most fixes from a model under 10 GB: 2.3× the default’s, and level with the 30b models below.
qwen3-coder:30b 18.6 GB 33.4% Speed matters most at this level: the fastest model in the 33% group (2.0 min median).
nemotron-3.5-lightning:30b 25.4 GB 33.4% Same result as qwen3-coder at a larger download; often keeps calling a tool after its budget is spent (#510).
gemma4:26b-a4b 18.7 GB 31.7% —
ministral-3 6.0 GB 18.6% You need a small, quick model; it fixes fewer real bugs.
nemotron-3.5-bolt:e4b 7.9 GB 15.9% —
gemma4:e4b (default) 9.6 GB 14.1% You want the most-tested prompt-following; on real bugs it trails qwen3.5:9b.
bonsai-2:4b 1.6 GB 8.6% Only when nothing larger fits: it submits no patch on nearly half the tasks.

One run per model: the four between 31.7% and 33.4% are a tie.

These ratings come from the agent smoke suite and the 2026-08 agent baselines, not from SWE-bench.

Model Size Agent rating Notes
gemma4:e4b 9.6 GB ★★★★★ The default. Best all-round agent: 96% on the 70-case agent baseline (2026-08), clean tool calling, most-dogfooded.
gemma4:31b 20 GB — The most capable local model tested. Needs a 32 GB GPU — see the memory caveat below.
ornith:9b 5.6 GB — Best small-footprint agent — near-default capability at a third the size.
ministral-3 6.0 GB ★★★★★ Excellent agent (89% baseline). Completes long multi-step tasks cleanly, but slowly — it needs generous per-case timeouts.
qwen2.5-coder:7b 4.7 GB ★★★★ Reliable coding baseline. Emits text-format tool calls; SideCar’s parser recovers them.
north-mini-code:1.0 19 GB — Agentic-tuned coder; strong autonomous, but rarely asks clarifying questions.
laguna-xs-2.1 20 GB — Fast MoE coder; some run-to-run variance.
granite4.1:3b 2.1 GB ★★★★ Remarkably capable for 2 GB — completes multi-step agent tasks. The best choice on low-RAM machines.

Rated in earlier qualification runs but not part of the current tested set:

Model Size Agent rating Notes
qwen3.5 ~6 GB ★★★★ Strong but slower per turn, so long tasks take real time. Good when quality matters more than latency.
deepseek-r1:8b ~5 GB ★★★ Reasoning model; supported including thinking-mode handling. Slower due to reasoning tokens.
qwen3:8b ~5 GB ★★★ Reasoning model; same profile as deepseek-r1.
Model Why
llama3.2 (2.0 GB) Fine for chat, but below the agent floor: frequent malformed tool calls and format drift on multi-step tasks. SideCar’s recovery layers help it make progress, but granite4.1:3b — the same size — is far more capable.
lfm2.5 In qualification it reproducibly obeyed a fenced prompt injection.

Cloud backends

For maximum reliability, the Anthropic Claude (direct API or AWS Bedrock), Google Gemini, and Fireworks (DeepSeek) backends are the strongest tested cloud options. OpenRouter, Groq, and other OpenAI-compatible providers also work — capability tracks the underlying model. Every agent request carries about 11.5K tokens of system prompt and tool definitions, so small tokens-per-minute limits fail outright: Groq’s free tier (8K TPM) rejects every agent request with 413.

Hardware guidance

Local models were first qualified on an Apple M3 Max with 36 GB of unified memory; current testing runs on a Windows workstation with an NVIDIA RTX 5090 (32 GB VRAM) and 128 GB of system RAM, both through Ollama.

  • Apple Silicon (36 GB unified memory): sub-10 GB models run comfortably alongside VS Code with headroom for the context cache; the ~19–20 GB MoE coders fit with less room to spare. A dense 14B model at a large context window can exceed unified memory and thrash — lower sidecar.ollama.numCtx, or prefer a smaller coder.
  • Discrete GPU: what matters is VRAM, not system RAM. The model’s weights and its context cache must fit on the GPU, or Ollama moves layers to the CPU and generation slows sharply. The context cache grows with the window — gemma4:e4b at its full 131K context needs about 10 GB of VRAM.
  • Unload a large model before loading another (ollama ps / ollama stop <model>); two resident large models can starve the second load.
  • SideCar clamps requested context windows (num_ctx) to avoid OOM on low-VRAM hardware, and caps the system-prompt budget for local models so small models aren’t overwhelmed.

Running gemma4 31b on a 32 GB GPU

gemma4:31b at 131K context only just fits a 32 GB card. When other applications hold GPU memory, Windows can move part of the model into system RAM without any error, and prompt processing slows by about 10×, even though ollama ps still reports 100% GPU. If it runs slowly, close other GPU-heavy applications and lower sidecar.ollama.numCtx before switching models.

How SideCar levels the field

Local models make format mistakes that cloud models don’t. SideCar’s harness converts many of them into working calls instead of errors: text-format tool-call parsing (XML, fenced JSON, bare JSON), tool-name aliasing (create_file → write_file), parameter-name recovery (file → path), creation-intent coercion for edit_file on missing files, and schema-carrying error messages.

Specific repairs are shown to be load-bearing: text-protocol parsing is what lets qwen2.5-coder call tools at all, and string-to-array coercion is what makes llama3.2’s ask_user calls valid. That the stack as a whole makes a local model better at real tasks is not established — see Measured, not claimed in the README.