Model Intelligence & Recommendation Hub
Automated, zero-hallucination domain evaluations computed from deterministic unit tests, clinical literature verifiers, and mathematical proofs across 2,457 benchmark runs.
Domain Capability Routing Matrix
Ranked by deterministic Pass@1No Benchmark Runs Recorded Yet
Execute a test battery in the Live Runner tab to compute genuine, zero-hallucination routing recommendations calculated from actual test assertions.
Part A: Prompt Construction & Formatting Rules (1β5)
Codified in /local-llm-inferenceAlways Specify a Bounded Extraction Container
Require the model to place its final answer inside an explicit container (\boxed{} for math, JSON schema for tools, or explicit enum). 76.3% of evaluated results were binary (0% or 100%) β bounded targets eliminate partial, ambiguous outputs.
Write your final answer inside \boxed{answer}.
Respond with valid JSON matching: {"result": string, "confidence": number}
Constrain Response Length to 100β300 Tokens
Completions in the 100β300 token range achieved 91.5% average accuracy β the highest of any length bucket. Accuracy declined monotonically to 81.6% (500β1K tokens) and plunged to 56.9% (3,000+ tokens) due to attention drift.
Answer in 2β3 sentences. Do not exceed 200 words.
Emphasize Negative Constraints in ALL CAPS Callouts
The #1 instruction failure was FORBIDDEN_WORDS (31 fails), followed by CASE_CONSTRAINT (24 fails). Models leak forbidden words when buried in paragraphs. Format negative rules prominently with explicit callout boundaries.
CRITICAL RULE: You must NEVER use commas in your response. CRITICAL RULE: Your ENTIRE response must be in lowercase. CRITICAL RULE: Output EXACTLY 3 paragraphs, no more, no fewer.
Force Early Commitment β Don't Let Models Spiral
87.3% of token-exhausted models scored zero, and 73.7% contained looping phrases ("Wait, let me rethink...", "Let me start over..."). Models were not on the verge of a breakthrough β they were trapped. Force the conclusion first.
State your final answer in one sentence. Then explain your reasoning below. If uncertain, commit to your best answer rather than continuing to deliberate.
Decompose Multi-Constraint Prompts Sequentially
Prompts with 3+ simultaneous constraints (word count AND forbidden words AND casing AND formatting) had high failure rates. Break complex tasks into a sequential pipeline: (1) Generate content for logic, (2) Post-process/format, (3) Validate rules independently.
Step 1: Generate pure logical solution / code. Step 2: Re-prompt or filter for formatting & casing constraints. Step 3: Validate against JSON schema / rule checkers independently.
Part B: Model Selection & Architecture Rules (6β10)
Codified in /local-llm-inferenceDefault to 15Bβ30B Models for Production Work
Tiny (≤5B) averaged 73.6%, Small (5β15B) scored 72.3%, Medium (15β35B) jumped to 83.1%, and Large (>35B) reached 84.5%. The biggest jump occurs between Small and Medium (~10 points). Beyond 35B, accuracy gains plateau while VRAM and latency skyrocket.
Do NOT Use Reasoning Variants as General Defaults
Models labeled "reasoning" (Phi-4 Reasoning, DeepSeek R1 Distill, Ministral Reasoning) averaged 67.9% overall vs 80.8% for non-reasoning models. Verbose CoT thoughts leaked into JSON and code. Reasoning models only won on Long Context (+11.7 pts).
Augment Math & Code with Tool Interpreters
AIME 2024 competition math averaged 20.0% and ClassEval OOP averaged 29.5%. Even top models struggled on Level 4 difficulty. Provide a Python execution sandbox or calculator tool so the model writes code to calculate answers rather than generating raw autoregressive arithmetic.
For Specialist Domains, Always Pair with RAG
Life Sciences & Medicine was the lowest category across all models (65.1% avg). Specific reaction mechanisms (19.0% avg) and clinical calculations expose parametric memory limits. Never rely on training-time recall for clinical, legal, or financial facts without RAG retrieval.
MoE Models Deliver Optimal Throughput & Accuracy
MoE models averaged 81.7% vs 77.3% for dense models. Top overall performers (Nemotron-3 Nano Omni at 88.6% @ 49.5 tok/s, LFM2-24B at 84.7% @ 82.0 tok/s, Qwen-3.6-35B at 84.6% @ 51.2 tok/s) are all MoEs, offering high intelligence at low active VRAM compute.
Visual Analytics & Empirical Proof
Figure 1: Throughput (TPS) vs. Benchmark Accuracy Matrix
Correlation: r = +0.018Demonstrates that token throughput is completely decoupled from accuracy. MoE models occupy the optimal top-right workhorse quadrant (84%β89% accuracy at 50β82 tok/s), whereas dense heavyweights incur 3xβ6x latency penalties for negligible accuracy gains.
Figure 2: The "Reasoning Model" Paradox: CoT vs. Standard Models
-12.9% Overall GapComparing Reasoning-tuned models vs. Standard Instruction models across core capability domains. Thinking models collapsed on Coding (-25.5%) and IFEval (-25.8%) due to internal chain-of-thought contamination, while winning on Long Context Needle Retrieval (+11.7%).
Figure 3: Where Model Size Helps vs. Where It Fails
Pearson r by SuiteParameter size correlates positively with Reasoning (+0.386), Coding (+0.370), and Math (+0.363), but has zero correlation with Life Sciences (-0.037) or Long Context (-0.125).
Figure 4: Stress Ladder Cliff & Token Sweet Spot
Level 4 Drop to 42.2%Models breeze through Level 2 (86.1%) and Level 3 (85.3%), but crash on Level 4 Olympiad math and ClassEval OOP (42.2%). Accuracy peaks at 91.5% in the 100β300 token output window.
The 7-Factor Root Cause Failure Autopsy (581 Failures Analyzed)
Python unit assertion failures or wrong calculations. Remedy: upgrade to 24B+ model or specialized code weights.
Infinite self-doubt and looping ("Wait, let me retry..."). 87.3% scored 0. Remedy: early commitment prompts.
Leaking forbidden words (31), casing errors (24), paragraph counts (21). Remedy: separate formatting passes.
Attention degradation over long token sequences. Remedy: limit output length and set temperature ≤ 0.2.
Model was semantically correct but differed on whitespace/wrappers. Auto-normalized for zero false negatives.
LM Studio socket drops or CUDA OOM. Isolated to Remediation Hub without distorting reasoning scores.
Model Deepdive
Comprehensive model evaluation breakdown, test suite performance summaries, fine-grained test case diagnostics, and traffic light deployment profiles.
Live Benchmark Execution
Execute test batteries against your local LM Studio models with real-time token streaming and instant sandboxed assertions.
Model Matrix & Performance Radar
Comprehensive multidimensional analysis comparing Pass@1 accuracy, generation throughput, and domain strengths.
Operational Timing & Latency Telemetry
Average generation time, TTFT responsiveness, peak TPS throughput, and judge grading duration.
Multidimensional Capability Radar & Efficiency Frontier
11-dimensional domain radar, Pass@1 accuracy vs. throughput, and Pareto hardware efficiency curve.
Overall Leaderboard & Composite Rankings
Composite Pass@1 accuracy, throughput, and TTFT across all local candidates.
| Rank | Model Name & Identifier | Composite Score | Pass@1 Rate | Tokens/Sec | Avg TTFT | Tests Executed | Actions |
|---|
Progressive Stress Ladder: Accuracy & Breaking Point Breakdown
Pass@1 accuracy and cognitive resilience across Levels 1 to 5 (Syntax, Nested Schema, Complex Logic, Multi-Constraint, Scale & Long Context).
| Model Name | Level 1 Syntax |
Level 2 Schema |
Level 3 Logic |
Level 4 Frontier |
Level 5 Scale & 32K |
Breaking Point | Overall Pass |
|---|
Operational Benchmark Execution History & Audit Logs
Chronological audit logs of every test run, execution latency, tokens/sec, and verifier details.
| Date & Time | Model Evaluated | Test Battery | Status | Pass@1 Score | Exec Time | Avg TPS | Avg TTFT | Audit Log |
|---|
Compare Model Performance
Inspect and compare how two models perform across identical test batteries and prompt assertions with side-by-side verification diffs.
Visual Test Authoring Studio
Author custom zero-hallucination benchmark test cases with deterministic sandboxes, math rules, or JSON schema verifiers.
Settings & LM Studio Hub
Manage local endpoints, inspect discovered models in VRAM, and verify PostgreSQL database persistence.
LM Studio Endpoint
Custom Storage Directory
Database Persistence
postgresql://localhost:5432/local_model_benchmarks
Reset Benchmark Data
Discovered Local Models
| Model Name & Metadata | Identifier & Path | Status | VRAM Management |
|---|
About LocalModelMatrix & Evaluation Guide
A high-precision evaluation engine and intelligent task routing platform built specifically for local LLMs running via LM Studio. Eliminates subjective grading by combining isolated code execution sandboxes, mathematical solvers, Ajv JSON schema validators, and rigid IFEval rule engines with real-time hardware profiling.
- β’ Self-Consistency & Sycophancy: LLM judges favor verbose or persuasive phrasing even when mathematical reasoning or logic is wrong.
- β’ Silent Code Failures: LLMs cannot physically run Python/JS code; syntax errors, off-by-one loops, and missing imports frequently receive false passes.
- β’ Blind to Negative Constraints: Judge models struggle to reliably detect subtle formatting violations (e.g., "no commas allowed").
- β’ Non-Reproducible: Scores drift across model versions and random seed variations.
- β’ Isolated Code Execution: Model code is executed in isolated subprocesses against unit test assertions (
assert func(x) == expected). - β’ Mathematical Solvers: Algebraic normalization and LaTeX token parsers evaluate exact numerical equivalence.
- β’ Ajv JSON Schema Engine: Enforces JSON syntax, required properties, data types, and enum boundaries.
- β’ Strict IFEval Verifiers: Programmatic regex and character counters enforce negative rules, bullet counts, and word limits.
Subprocess Sandboxes
Code generated by models runs in isolated Python and Node environments with rigid execution timeouts and memory bounds.
Hardware Profiling
Real-time measurement of Time to First Token (TTFT), Tokens Per Second (TPS), and peak VRAM allocation per test.
Intelligent Task Routing
Calculates weighted capability matrices across parameter clusters to recommend the optimal model for any target workload.
Failure Autopsy
Automated taxonomy categorizing failures into prompt brittleness, negative constraint leaks, and logic breakdowns.
| Level | Cognitive Dimension | Official Benchmark Suites & Datasets Mapped | Evaluator Engine | Production Implication |
|---|---|---|---|---|
| Level 1 | Baseline Syntax & Delimiters Format markers & echo verification |
Format delimiter separation, strict prompt echoing, ASCII framing, single-rule sanity checks. | IFEVAL_RULES / SYNTAX_PARSER |
Basic Chat |
| Level 2 | Nested Schema & Strict Typing Standard coding, arithmetic & JSON |
β’ OpenAI HumanEval (Python code generation) β’ OpenAI GSM8K (Grade-school math) β’ Google IFEval (Negative rules & formatting constraints) β’ Ajv JSON Schema (Strict schema & type enforcement) |
CODE_SANDBOX / MATH_EXACT / JSON_SCHEMA |
Copilot & Forms |
| Level 3 | Complex Single-Task Logic Specialized domain reasoning |
β’ Humanity's Last Exam (HLE) (Graduate STEM) β’ Life Sciences (PubMedQA, Clinical Pharmacology) β’ Legal & Finance (FinanceBench EBITDA, LegalBench NDA) β’ EleutherAI Harness (ARC-Challenge, MMLU, HellaSwag) β’ Vision & Multimodal (VLMEvalKit, LMMs-Eval) |
MATH_EXACT / SEMANTIC_FACTS / KG_TRIPLES |
Specialist Tools |
| Level 4 | Frontier Multi-Constraint & Reasoning Multi-tool calling, Olympiad math, OOP |
β’ Berkeley Function-Calling (BFCL v3) (Multi-tool calling with strict argument types & <tool_call> tags) β’ AIME 2024 (American Invitational Math Olympiad integer proofs) β’ ClassEval (Class-level multi-method Python OOP modules) |
JSON_SCHEMA / MATH_EXACT / CODE_SANDBOX |
Autonomous Agents |
| Level 5 | Scale, Long Context & Distraction 16Kβ32K context & needle retrieval |
β’ LongBench QASPER (Multi-document research synthesis across 15,000+ token academic papers) β’ NVIDIA RULER / NIAH (16Kβ32K needle matrix at 10%, 25%, 50%, 75%, 90% depth) β’ RAG Vector Grounding (Anti-hallucination dense semantic search) |
SEMANTIC_FACTS / NIAH_RETRIEVAL |
Enterprise Discovery |
Validates basic instruction comprehension, output delimiter handling, and prompt echoing without conversational derailment.
Evaluates function-level Python algorithms, grade-school multi-step arithmetic, and negative formatting constraints.
Probes complex single-task domain knowledge across clinical pharmacology, financial accounting (EBITDA), and graduate STEM.
Stresses multi-constraint stacking: multi-tool function selection (BFCL), 15β30 step Olympiad math proofs (AIME 2024), and object-oriented class architecture (ClassEval).
Pushes attention mechanisms across 15,000β32,000 token documents (LongBench) and tests position-invariant needle retrieval across 10%β90% context depth (NVIDIA RULER).
Pass Rate vs. Score
β’ Binary Pass Rate (Pass@1): Measures all-or-nothing execution success. If any unit test assertion fails or a required JSON key is missing, the test receives a 0% pass rate.
β’ Granular Score (0β100%): Rewards partial constraint satisfaction (e.g. satisfying 2 of 3 IFEval formatting rules yields a 67% score).
Throughput (Tokens/Sec)
- β‘ Ultra-Fast (>90 TPS): Autonomous multi-step agent loops (e.g. Granite 3B, Lfm2 24B).
- π Fast (50β90 TPS): Real-time interactive chat & coding (e.g. Nemotron 3 Omni, Gemma E2b).
- β±οΈ Moderate (20β50 TPS): Deep document reasoning & synthesis (e.g. Gemma E4b, Bonsai 27B).
- β³ Deliberative (<20 TPS): Heavy dense models for batch jobs (e.g. Gemma 31B QAT).
Time to First Token (TTFT)
Measures prompt ingestion / prefill speed before the first output token is emitted.
<500ms TTFT feels instantaneous for chat users; large prefill delays (>5s) indicate heavy context or unaccelerated prompt processing.
VRAM & Cluster Tiers
- β’ Extra Small (<10B): 6GBβ8GB VRAM (Edge devices, MacBooks, laptops).
- β’ Small (10Bβ20B): 10GBβ16GB VRAM (Mid-range GPUs like RTX 4070 / 4080).
- β’ Medium (21Bβ40B): 18GBβ24GB VRAM (Single RTX 3090 / 4090 / Mac Studio).
- β’ Large / XL (>40B): 48GB+ VRAM (Dual GPU or high-RAM unified memory).
Key Empirical Benchmark Findings
MoE models like Nemotron 3 Nano Omni (30B A3B) and Lfm2 24B A2B achieved top overall accuracy (95.3 and 91.9) while delivering 3xβ4x higher token generation speeds (60β88 TPS) than 120B dense models.
While most models score near 100% on standard coding and math, strict negative formatting rules ("never use commas", exact bullet counts) expose severe brittleness in smaller dense models.
Gemma 4 E4b (7.5B) reached a 93.7 overall score (92.4% pass rate), outperforming several 20Bβ35B dense models on standard coding and math while fitting in 8GB VRAM.
http://127.0.0.1:1234/v1). It queries GET /v1/models to auto-discover downloaded models and streams generation tokens via Server-Sent Events (SSE). Additionally, it integrates with the LM Studio CLI (lms load and lms unload) to automate unattended batch evaluations across multiple models.
data/store_cache.json. You can run full benchmarks, view leaderboards, and inspect dossiers without any external database dependencies.