Home / use case

MoE vs dense on a home RTX 5090: the 3x faster model couldn't finish

At a glance
Hardware
Home RTX 5090 with 32 GB of VRAM running Ollama
Models & engines
Models compared: Ornith 1.0 35B (35B total, A3B MoE) and Qwen3.6 27B (dense)
Key gotcha
Every Ornith failure left a plausible-looking artifact and a confident 'done': missing dependencies, contradictory asserts, a file cut off mid-comment with its reasoning leaking into the code, and calls to functions it never wrote.

What they built

The author runs Ollama on a home RTX 5090 (32 GB) and uses it through the opencode coding agent. His default had been the dense Qwen3.6 27B until he tried Ornith 1.0 35B, a coding-focused mixture-of-experts model with about 3B active parameters.

On one-shot tasks Ornith looked like a clear win, so he made it the default. Within two days it was fabricating answers on lookups, so he set up a machine-judged experiment: porting RFC 6902 (JSON Patch) to Rust in phases, where a phase only counts as done when cargo test reports all 112 conformance cases with zero failures.

Ornith closed none of the phases across five sessions, while the dense Qwen closed all of them. He now keeps the dense model as default and uses the MoE model only as a named fast lane for tasks that finish in one or two tool calls.

Setup

  • Home RTX 5090 with 32 GB of VRAM running Ollama
  • opencode as the coding agent front end
  • Models compared: Ornith 1.0 35B (35B total, A3B MoE) and Qwen3.6 27B (dense)

How it works

  1. Day one compared the models on his own tasks: implementing a function from a spec (14 scored cases), fixing a planted bug and reviewing a shell script.
  2. The port experiment fixed each phase's completion criterion as cargo test printing total=112 pass=N fail=0, so the model's own completion report counted for nothing.
  3. For the slower dense model he cut tasks to fit one session: diagnose upstream, hand over the established facts, and let the model only do the fix.

Results & numbers

  • On one-shot work Ornith ran at 246 tok/s vs 71 tok/s, scored 14/14 in 22 s vs 58 s, and found 9 script-review issues vs 6.
  • In the Rust port Ornith went 0 for 5 sessions; Qwen3.6 finished every phase and reached full conformance (pass=108, fail=0, 4 officially disabled cases skipped).
  • Asked how many days until the next public holiday, Ornith invented a holiday from search snippets, while Qwen checked the date with a tool, read the page and computed the answer in Python.

Gotchas

  • Every Ornith failure left a plausible-looking artifact and a confident 'done': missing dependencies, contradictory asserts, a file cut off mid-comment with its reasoning leaking into the code, and calls to functions it never wrote.
  • Prompt discipline (read the page body, check the date with a tool) reduced the fabrications but didn't eliminate them.
  • His reading is that the boundary is 'closes in one shot vs carries state across turns', not 'coding vs general tasks'; he calls this an inference from five failures.
“But speed that doesn't finish isn't speed.”— kohei_wada

Do it yourself

  1. Pick two or three local models you're considering and run them on tasks from your own work, not public benchmarks.
  2. Include at least one multi-step task whose completion a machine can judge, such as a port against an existing test suite.
  3. Define 'done' as a test or read-back result with a fixed case count, and never accept the model's completion report on its own.
  4. Make the model that survives multi-step work your default, and keep a faster model as a separate agent limited to one- or two-step tasks.
  5. If the reliable model is slow, split diagnosis and fixing into separate sessions so each fits in one run.
Source: kohei_wada (DEV Community) · Published 2026-10-27 · Added 2026-10-30. This write-up summarizes the original source; see it for full details.

Similar setups

Local code review bots on one RTX 3090 with Ollama, LiteLLM and Gitea

TechLuddite runs local 4-bit models as advisory code reviewers on pull requests in a home lab, and measured which of ten models found real problems.

X (@gh_TechLuddite) · 2026-11-09

OzAI: a self-hosted ChatGPT on a 16 GB MacBook with Ollama, LiteLLM and Open WebUI, and what broke

A DevOps engineer served Qwen3 8B and Qwen2.5-Coder 3B from one M1 Pro laptop as a small private platform with per-user keys, rate limits, local web search and IDE chat, and documented seven silent failures.

Ahmet Ozan GAZİ (DEV Community) · 2026-11-03

A €200 mini PC as an offline AI box: a week with Gemma and Qwen

Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.

Diogo Soares (DEV Community) · 2026-10-30

Cutting a local Qwen coding agent's wait on a 16GB Mac with a memory hook

A developer running a coding agent on qwen3.5:9b through Ollama replaced its always-loaded memory index with a hook that attaches only relevant memory lines, and cut median answer time from 90.4s to 56.4s.

DEV Community (JustJinoIT) · 2026-12-02