Galaxy Shell / docs
Docs / QA and validation

CPU model replacement comparison

docs/qa/charters/2026-11-04-model-comparison.md · Edit on GitHub ↗

This document records decisions, plans or evidence from a project stage. It does not imply that every item is implemented or validated in the current version.

CPU model replacement comparison

Compare Granite 4.0 H Micro Q4_K_M, Qwen3-4B-Instruct-2507 Q4_K_M and FunctionGemma 270M Q4_K_M on identical natural Portuguese window-list/minimize/focus/arrange/application-launch requests. Use real OpenCode, full product catalog and system prompt, CPU four threads, 32k context, temperature 0.1. Observe actual calls and final outcome, not just first dispatch. This is a programmatic integration benchmark, not UI/responsive or real window-effect certification.

Dedicated worktree, private HOME/XDG/profile/socket/nonexistent buses, testEnvironment isolation. Synthetic compositor applies minimize/focus/restore to application windows. Never approve external app launches or generic commands. Stop each candidate after timeout, ten calls in a turn, approval or failure to start. Preserve live session/default model. Artifacts stay local outside Git. No training performed; FunctionGemma suitability means direct replacement only.

The contemplated stop after two interrupted turns was not applied to Qwen: the third request had already begun valid tool calls, so the matrix was completed.