CUA_benchmark_local_small_models / reports /Complete_Multi_Axis_Analysis.md
Manojb's picture
Upload folder using huggingface_hub
221ca5c verified

Complete Multi-Axis Analysis β€” Agent Model Selection on Mac Mini M4 16GB

Date: 2026-04-08 | Tests: 6 agent tasks Γ— 15+ configurations | Vision: Falcon Perception v2


Axis Overview

5 axes tested across 15+ model configurations:

  Axis 1: Model Family ─── Qwen3.5-9B vs Gemma4-E4B vs Qwen3VL-8B vs Bonsai vs others
  Axis 2: Censoring ────── Base (censored) vs Uncensored (Balanced vs Aggressive)
  Axis 3: Quantization ─── Q4 vs Q5 vs Q6 vs Q8 vs 1-bit vs BF16/4bit-MLX
  Axis 4: Backend ──────── llama.cpp (GGUF) vs mlx_vlm (MLX) vs Ollama vs PrismML
  Axis 5: Vision ──────── with mmproj vs without vs Falcon Perception detector

AXIS 1: Model Family

                        Score   Speed    Multi-step   Form Fill   Vision   Min Params
                        (/6)    (tok/s)  Chains?      Works?      Detect?  for Agent
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Qwen3.5-9B (9B dense)    5.0     13.5     βœ… Yes       βœ… Yes      βœ… FP     9B
Gemma4 E4B (4B MoE)      5.0     24.5     βœ… Yes       βœ… Yes      βœ… FP     4B active
Qwen3VL-8B (8B dense)    3.0     16.2     ⚠️ Crashes   ❌ Crashed  βœ… FP     8B
Bonsai-8B (8B 1-bit)     1.0     48.8     ❌ 1 turn    ❌ No       ❌ No     8B (degraded)
LFM2.5-Nova (1.2B)       0.0    118.4     ❌ 1 turn    ❌ No       ❌ No     1.2B
FunctionGemma (270M)      0.0    197.0     ❌ Loops     ❌ No       ❌ No     270M
Qwopus-27B Q3 (27B)      OOM     OOM      ❌ OOM       ❌ OOM      ❌ OOM    27B (too big)

INSIGHT: The agent capability cliff is at ~4B active params.
         Below 4B: can format tool calls but cannot chain them.
         Above 4B: can navigate, search, fill forms, use vision.
         Model FAMILY matters less than active parameter count.
         Gemma4 (4B active MoE) matches Qwen3.5 (9B dense).

Family Comparison (best variant of each)

Score vs Speed:

 5.0 β”‚  β˜… Qwen3.5 Unc Q6K          β˜… Gemma4 Unc Q5KP
     β”‚      (13.5 tok/s)                (24.5 tok/s)
 4.0 β”‚
     β”‚
 3.0 β”‚          β˜… Qwen3VL Bal Q6K
     β”‚              (16.2 tok/s)
 2.0 β”‚
     β”‚
 1.0 β”‚                                     β˜… Bonsai
     β”‚                                      (48.8 tok/s)
 0.0 β”‚                                          β˜… LFM2.5    β˜… FuncGemma
     └──────┬──────────┬──────────┬──────────┬──────────┬──────────┬
           10         20         30         50        118        197
                              Speed (tok/s)

AXIS 2: Censoring (Base vs Uncensored)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        β”‚   Base    β”‚Uncensored β”‚Uncensored β”‚
β”‚                        β”‚ (censor) β”‚ Balanced  β”‚ Aggressiveβ”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Qwen3.5-9B Q4 score    β”‚  4.5/6    β”‚    β€”      β”‚  3.5/6 ↓  β”‚
β”‚ Qwen3.5-9B Q6 score    β”‚    β€”      β”‚    β€”      β”‚  5.0/6 β˜…  β”‚
β”‚ Gemma4 E4B Q6 score    β”‚    β€”      β”‚    β€”      β”‚  4.5/6    β”‚
β”‚ Gemma4 E4B Q5 score    β”‚    β€”      β”‚    β€”      β”‚  5.0/6 β˜…  β”‚
β”‚ Qwen3VL-8B Q6 score    β”‚    β€”      β”‚  3.0/6    β”‚    β€”      β”‚
β”‚                        β”‚           β”‚           β”‚           β”‚
β”‚ Tool call reliability   β”‚  Good     β”‚  Similar  β”‚  Better   β”‚
β”‚ Refusal rate           β”‚  Some     β”‚  Zero     β”‚  Zero     β”‚
β”‚ Stop discipline        β”‚  Good     β”‚  Similar  β”‚  Better   β”‚
β”‚ Form fill success      β”‚  βœ…       β”‚    β€”      β”‚  βœ…       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

INSIGHT: Uncensoring does NOT directly improve agent tasks.
         The improvement we see (3.5β†’5.0 for Qwen Q4β†’Q6) is
         from QUANTIZATION, not censoring.

         Base Qwen3.5-9B Q4_K_XL (4.5/6) vs
         Uncensored Q4_K_M (3.5/6) β†’ uncensored is WORSE at Q4.

         The uncensored Q6_K (5.0/6) wins because Q6 > Q4,
         not because uncensored > censored.

         Uncensoring helps with: content generation, creative tasks.
         Uncensoring neutral for: tool calling, agent planning.
         Uncensoring harmful at: Q4 level (less reliable stops).

AXIS 3: Quantization

Gemma4 E4B Uncensored β€” Quant Ladder

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Quant   β”‚ Size   β”‚ Memory β”‚Speed  β”‚Score  β”‚Stops  β”‚Tools  β”‚
β”‚         β”‚ (GB)   β”‚ (GB)   β”‚tok/s  β”‚ (/6)  β”‚ (/6)  β”‚ total β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Q5_K_P  β”‚  5.4   β”‚  6.3   β”‚ 24.5  β”‚ 5.0 β˜… β”‚ 3 β˜…  β”‚  50   β”‚
β”‚ Q6_K_P  β”‚  5.8   β”‚  6.7   β”‚ 23.1  β”‚ 4.5   β”‚  2   β”‚  52 β˜… β”‚
β”‚ Q8_K_P  β”‚  7.6   β”‚  8.5   β”‚ 19.0  β”‚ 4.0   β”‚  2   β”‚  41   β”‚
β”‚ 4bit MLXβ”‚ ~5.0   β”‚  5.4   β”‚ 35.0β˜… β”‚ 4.5   β”‚  1   β”‚  29   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”˜

Speed vs Score:

 Score 5.0 β”‚  β˜… Q5_K_P
           β”‚
       4.5 β”‚      β˜… Q6_K_P              β˜… 4bit-MLX
           β”‚
       4.0 β”‚           β˜… Q8_K_P
           β”‚
       3.5 β”‚
           └──┬────────┬────────┬────────┬────
             19       23       25       35
                    Speed (tok/s)

INSIGHT: Higher quantization β‰  better agent performance!
         Q5 > Q6 > Q8 for agent tasks. Why?

         1. Q5 is FASTER β†’ more turns per timeout β†’ more work done
         2. Q5 has enough precision for tool call JSON formatting
         3. Q8 wastes memory on precision the model can't use for reasoning
         4. The bottleneck is REASONING DEPTH (4B params), not PRECISION

         SWEET SPOT: Q5_K_P β€” best score, fastest, smallest

Qwen3.5-9B Uncensored β€” Quant Ladder

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Quant   β”‚ Size   β”‚ Memory β”‚Speed  β”‚Score  β”‚Stops  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Q4_K_M  β”‚  5.2   β”‚  6.1   β”‚ 16.7  β”‚ 3.5   β”‚  0   β”‚
β”‚ Q6_K    β”‚  6.9   β”‚  7.8   β”‚ 13.5  β”‚ 5.0 β˜… β”‚  2 β˜… β”‚
β”‚ Q8_0    β”‚  8.9   β”‚ ~10    β”‚ ~10   β”‚  N/A  β”‚ N/A  β”‚
β”‚ Base Q4 β”‚  5.6   β”‚  6.5   β”‚ 10.0  β”‚ 4.5   β”‚  2   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”˜

INSIGHT: For Qwen (9B dense), HIGHER quant IS better.
         Q4 (3.5) β†’ Q6 (5.0) = massive improvement.

         The 9B dense model has more capacity that benefits
         from higher precision. Unlike the 4B MoE Gemma4 where
         the bottleneck is active params not precision.

         SWEET SPOT: Q6_K β€” best score, fits 16GB

Cross-Model Quant Pattern

FINDING: Optimal quantization depends on active parameter count.

  Dense 9B (Qwen):   Q4 < Q6 β˜… (precision limited, higher=better)
  MoE 4B (Gemma4):   Q5 β˜… > Q6 > Q8 (speed limited, faster=better)
  1-bit 8B (Bonsai): Degraded regardless (1-bit destroys reasoning)

  Rule of thumb:
  β€’ Dense models: use highest quant that fits
  β€’ MoE models: use mid quant (Q5) for best speed/quality
  β€’ Ultra-small quant (<Q4): breaks multi-step reasoning

AXIS 4: Backend

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Backend          β”‚ Characteristics                                      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ llama.cpp (GGUF) β”‚ βœ… Native tool calling for Qwen + Gemma4             β”‚
β”‚ (stock homebrew) β”‚ βœ… No proxy needed                                   β”‚
β”‚                  β”‚ βœ… mmproj vision support                              β”‚
β”‚                  β”‚ βœ… Best compatibility with LlmTornado                β”‚
β”‚                  β”‚ ⚠️ Slower than MLX for MoE models                    β”‚
β”‚                  β”‚ Speed: 10-25 tok/s depending on model                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ mlx_vlm (MLX)   β”‚ β˜… Fastest for Gemma4 MoE (35 tok/s)                 β”‚
β”‚                  β”‚ ❌ Needs proxy for LlmTornado (7 fixes!)             β”‚
β”‚                  β”‚ ❌ Streaming tool calls broken                        β”‚
β”‚                  β”‚ ❌ Content array format incompatible                  β”‚
β”‚                  β”‚ ❌ Screenshot images break chat format                β”‚
β”‚                  β”‚ Speed: 35 tok/s (but proxy overhead)                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Ollama           β”‚ βœ… Easy model management                              β”‚
β”‚                  β”‚ βœ… Native Gemma4 tool calling via /api/chat           β”‚
β”‚                  β”‚ ❌ OpenAI compat layer drops tool calls for Gemma4    β”‚
β”‚                  β”‚ ❌ Message format issues with LlmTornado              β”‚
β”‚                  β”‚ Speed: ~35 tok/s (Gemma4 E4B)                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ PrismML fork     β”‚ βœ… Required for Bonsai 1-bit GGUF                    β”‚
β”‚ (llama.cpp)      β”‚ ❌ Older version, missing Qwen3.5 mmproj support     β”‚
β”‚                  β”‚ Speed: 49 tok/s (Bonsai)                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Backend Decision Tree:

  Is model Qwen3.5 or Gemma4 GGUF?
    YES β†’ llama.cpp (stock) β˜… BEST β€” native everything, no proxy
    NO β†’
      Is model Gemma4 MLX and speed critical?
        YES β†’ mlx_vlm + proxy (35 tok/s but complex)
        NO β†’
          Is model Bonsai 1-bit?
            YES β†’ PrismML llama.cpp fork
            NO β†’ Ollama (easiest but compatibility issues)

INSIGHT: llama.cpp (stock GGUF) is the clear winner for agent tasks.
         Native tool calling, no proxy, best LlmTornado compat.
         The 35 tok/s MLX advantage isn't worth the proxy complexity.

         Gemma4 GGUF on llama.cpp (23 tok/s) > Gemma4 MLX (35 tok/s)
         because reliability > raw speed for agent tasks.

AXIS 5: Vision Configuration

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Configuration           β”‚ Score    β”‚ How vision works                      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ mmproj only (VLM sees   β”‚ 4.5/6   β”‚ LLM sees screenshots directly.       β”‚
β”‚ screenshots directly)   β”‚          β”‚ Slow: 30-40s to process each image.  β”‚
β”‚                         β”‚          β”‚ Inaccurate: misidentifies objects.   β”‚
β”‚                         β”‚          β”‚ Uses all context for image tokens.   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Falcon Perception only  β”‚ 4.5/6   β”‚ Dedicated 0.6B detector.             β”‚
β”‚ (no mmproj, text-only   β”‚          β”‚ Fast: 2s per detection.              β”‚
β”‚ LLM + vision_detect)    β”‚          β”‚ Returns pixel coordinates.           β”‚
β”‚                         β”‚          β”‚ LLM never sees images β€” saves ctx.   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ mmproj + Falcon (both)  β”‚ 5.0/6 β˜… β”‚ Best of both worlds:                 β”‚
β”‚                         β”‚          β”‚ β€’ LLM sees screenshots (understands  β”‚
β”‚                         β”‚          β”‚   page layout, text, context)        β”‚
β”‚                         β”‚          β”‚ β€’ Falcon detects objects precisely    β”‚
β”‚                         β”‚          β”‚   (captcha grids, UI elements)       β”‚
β”‚                         β”‚          β”‚ β€’ 3-layer adaptive pipeline routes   β”‚
β”‚                         β”‚          β”‚   to best method per task            β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ No vision at all        β”‚ 1-2/6   β”‚ Model can only navigate + extract    β”‚
β”‚ (text-only, no images)  β”‚          β”‚ text. Can't interact with visual UI. β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Falcon Perception 3-Layer Pipeline:

  Layer 1 (Router):    "captcha" β†’ detection (2s)
                       "measure" β†’ segmentation (5-9s)

  Layer 2 (Present):   default β†’ coordinates text (fastest)
                       verify β†’ cropped images for VLM
                       spatial β†’ Set-of-Marks overlay

  Layer 3 (Extract):   coords: "[1] center=(211,155)"
                       crops:  3 JPEG images per detection
                       overlay: annotated full image

INSIGHT: mmproj + Falcon together > either alone.
         mmproj lets the LLM understand page context.
         Falcon gives pixel-accurate object detection.
         The combination scores 5.0/6 vs 4.5/6 for either alone.

         Memory cost: Falcon = 1.5GB always loaded.
         Speed cost: 2s per vision_detect call (negligible vs LLM).

THE COMPLETE PICTURE

All Tested Configurations Ranked

Rank  Model + Config                    Score  Speed   Memory  Proxy  Backend
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 1.   Gemma4 Unc Q5_K_P +mm +FP        5.0/6  24.5    6.3G    No    llama.cpp
 2.   Qwen3.5 Unc Q6_K +mm +FP         5.0/6  13.5    7.8G    No    llama.cpp
 3.   Gemma4 Unc Q6_K_P +mm +FP        4.5/6  23.1    6.7G    No    llama.cpp
 4.   Gemma4 Base 4bit +FP              4.5/6  35.0    5.4G    YES   mlx_vlm
 5.   Qwen3.5 Base Q4_K_XL +mm +FP     4.5/6  10.0    6.5G    No    llama.cpp
 6.   Gemma4 Unc Q8_K_P +mm +FP        4.0/6  19.0    8.5G    No    llama.cpp
 7.   Qwen3.5 Unc Q4_K_M +mm +FP       3.5/6  16.7    6.1G    No    llama.cpp
 8.   Qwen3VL Bal Q6_K +mm +FP          3.0/6  16.2    7.4G    No    llama.cpp
 9.   Bonsai-8B 1-bit +FP               1.0/6  48.8    1.5G    No    PrismML
10.   LFM2.5-Nova 1.2B Q4               0.0/6 118.4    0.8G    No    llama.cpp
11.   FunctionGemma 270M Q8              0.0/6 197.0    0.3G    No    llama.cpp
12.   Qwopus-27B Q3_K_S                  OOM    OOM   14.0G    No    llama.cpp

+mm = with mmproj  |  +FP = with Falcon Perception

Key Decisions

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    DECISION FRAMEWORK                               β”‚
β”‚                                                                     β”‚
β”‚  Q: Which model?                                                    β”‚
β”‚  A: Gemma4 E4B Uncensored Q5_K_P                                  β”‚
β”‚     β€’ Tied #1 at 5.0/6, fastest winner (24.5 tok/s)               β”‚
β”‚     β€’ 1.5GB smaller than Qwen alternative                          β”‚
β”‚     β€’ No proxy needed (GGUF on llama.cpp)                          β”‚
β”‚     β€’ Form filling works (the Gemma4 MLX version couldn't)         β”‚
β”‚                                                                     β”‚
β”‚  Q: Which quantization?                                             β”‚
β”‚  A: For MoE (Gemma4): Q5_K_P (speed > precision)                  β”‚
β”‚     For Dense (Qwen): Q6_K (precision > speed)                     β”‚
β”‚     Never Q8+ (wastes memory, slower, no quality gain)             β”‚
β”‚     Never Q4 or below (breaks multi-step reasoning)                β”‚
β”‚                                                                     β”‚
β”‚  Q: Which backend?                                                  β”‚
β”‚  A: llama.cpp (stock homebrew) for everything                      β”‚
β”‚     MLX only if you need 35 tok/s AND accept proxy complexity      β”‚
β”‚                                                                     β”‚
β”‚  Q: Censored or uncensored?                                        β”‚
β”‚  A: Doesn't matter for agent tasks. Quality comes from quant.      β”‚
β”‚     Uncensored helps if tasks involve restricted content.          β”‚
β”‚                                                                     β”‚
β”‚  Q: What about vision?                                              β”‚
β”‚  A: Always use mmproj + Falcon Perception together (5.0/6)         β”‚
β”‚     Either alone = 4.5/6. Both = synergy.                          β”‚
β”‚                                                                     β”‚
β”‚  Q: Can we get 6/6?                                                 β”‚
β”‚  A: T2 (DDG) and T6 (CAPTCHA) timeout β€” model works but           β”‚
β”‚     doesn't stop in time. Improving stop_loop instructions         β”‚
β”‚     or extending timeouts would push to 5.5-6.0/6.                β”‚
β”‚     The model DOES the work β€” it just keeps going.                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Counter-Intuitive Findings

1. BFCL β‰  Agent Capability
   Bonsai: 73% BFCL but 1.0/6 agents (single-turn β‰  multi-turn)

2. Bigger Quant β‰  Better Agent (for MoE)
   Gemma4: Q5 (5.0) > Q6 (4.5) > Q8 (4.0) β€” speed wins over precision

3. Bigger Quant = Better Agent (for Dense)
   Qwen: Q4 (3.5) < Q6 (5.0) β€” precision matters for 9B dense

4. Uncensored β‰  Better Agent
   Same model, same quant: uncensored doesn't improve tool calling

5. Faster Backend β‰  Better Results
   Gemma4 MLX (35 tok/s, 4.5) < Gemma4 GGUF (24 tok/s, 5.0)
   Proxy complexity and message format issues hurt more than speed helps

6. 270M β†’ 9B Speed Inversion
   FunctionGemma (197 tok/s, 0/6) < Gemma4 (24 tok/s, 5/6)
   10x faster but completely useless for the actual task

7. 4B Active Params = 9B Dense
   Gemma4 MoE (4B active) matches Qwen (9B dense) on agent tasks
   MoE architecture is incredibly efficient for tool calling

Memory & Disk Reference

16GB Mac Mini M4 β€” Memory Budget:

  Gemma4 Q5_K_P (winner):
    Model:     5.4 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    mmproj:    0.9 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    Falcon:    1.5 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    GUA+Brwsr: 0.8 GB  β–ˆβ–ˆβ–ˆβ–ˆ
    OS:        3.0 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    KV Cache:  ~1.5 GB β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    ─────────────────────────────────
    Total:    13.1 GB  Free: 2.9 GB βœ…

  Qwen Q6_K (runner-up):
    Model:     6.9 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    mmproj:    0.9 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    Falcon:    1.5 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    GUA+Brwsr: 0.8 GB  β–ˆβ–ˆβ–ˆβ–ˆ
    OS:        3.0 GB  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    KV Cache:  ~1.5 GB β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    ─────────────────────────────────
    Total:    14.6 GB  Free: 1.4 GB ⚠️ tight

15+ configurations tested across 5 axes, 90+ individual test runs. Mac Mini M4 16GB (Dyson), April 3-8 2026.