Model Recommender
Intro
This skill scores AI models across six capability dimensions, two gate
dimensions (Availability and User Access), and per-token pricing — then
helps you pick the right model. It has three workflows: Profile View
(spider-chart for one or more models, with optional sub-dimension drill-down),
Task Router (cluster a task plan and route each cluster to the optimal
model), and Roster Refresh (live internet research to update benchmark
scores and discover new models). Gates always apply before capability scoring:
a model the user can't access or that is currently down is excluded regardless
of how well it scores.
Overview
The six dimensions
Every model and every task is evaluated against the same six axes. Each
scores 1–5.
| Dim |
Symbol |
What it measures |
Sub-dimensions |
| Reasoning |
R |
Hard thinking: math, science, logic, novel problem-solving |
Mathematical reasoning, scientific/domain-expert reasoning, abstract/novel reasoning, multi-step logical chains, debugging chains |
| Engineering |
E |
Software work: code, tools, agents, codebases |
Function-level code generation, repo-scale task completion, tool use / function calling (BFCL), agentic planning and self-correction, large-codebase navigation |
| Speed |
S |
Response latency, throughput, and cost efficiency |
Time to First Token (TTFT), Inter-Token Latency (ITL), tokens/sec, cost per 1M input tokens, cost per 1M output tokens, rate limits |
| Breadth |
B |
Context window, modalities, language coverage |
Context window size, long-doc faithfulness, vision, audio, video, structured output (JSON/function calling), multilingual |
| Reliability |
L |
Instruction fidelity, factual accuracy, consistency |
Instruction following, hallucination rate, multi-turn consistency, safety/harmlessness, format adherence |
| Governance |
G |
Privacy, sovereignty, compliance, auditability |
Data retention policy, data sovereignty / region, self-hostable / open weights, compliance certs (SOC 2, HIPAA, GDPR), prompt injection resistance |
The qualitative G 1–5 score is a fast filter; for hard requirements
(HIPAA, GDPR, jurisdiction), use the structured fields on
Model.versions[]:
jurisdiction.vendor_hq_country (ISO-3166-1 alpha-2)
jurisdiction.applicable_legal_regimes[] (e.g. EU-GDPR, US-HIPAA,
CN-DSL)
jurisdiction.data_residency_regions[]
data_privacy.dpa_available
data_privacy.data_retention_days (0 / "zero" for no retention)
data_privacy.training_on_customer_data (never|opt-in|opt-out|always|unknown)
data_privacy.pii_eligible, phi_hipaa_eligible, gdpr_eligible
data_privacy.sub_processors_url
These fields back the G score with auditable facts and let
query_models() filter on a hard requirement instead of a fuzzy
1–5 cutoff (e.g. require data_privacy.phi_hipaa_eligible == true
before any HIPAA-touching task is routed).
Model.versions[] also carries:
knowledge_cutoff (date) — vendor-published training cutoff
vendor_model_id — exact SDK model id (claude-opus-4-7-20251031)
latency_p50_ms — quantitative companion to S score
Score rubric:
| Score |
Label |
Meaning |
| 5 |
Exceptional |
Best-in-class or near-best; make this a primary reason to choose the model |
| 4 |
Strong |
Above average; reliable strength, not a risk |
| 3 |
Moderate |
Adequate; not a differentiator; works for routine tasks |
| 2 |
Limited |
Can do it, but expect trade-offs; consider alternatives |
| 1 |
Minimal |
Poor fit; the model is not designed for this; choose differently |
Gate dimensions (applied before capability scoring)
Gates are binary — they disqualify a model entirely, not partially. Apply
them first; only models that pass both gates are scored on the six dimensions.
Gate 1 — User Access: Does the user have an active subscription, API key,
and sufficient quota for this model? Ask at the start of any routing session
if unknown. Maintain user access state in mcp/user_config.json via
set_config(available_models=[...]). The MCP query_models and list_models
tools respect this automatically.
Gate 2 — Availability: Is the provider's API currently operational? Check
with check_availability() for live status. Three sub-states:
operational — no known issues
degraded — elevated error rate or latency; usable but risky for production
major_outage — do not route here; escalate to fallback
Additional flags to surface when relevant:
- Rate limit exhausted — user has hit their per-minute or daily cap; fallback required
- Quota / budget exceeded — subscription limit reached; model is effectively unavailable
- Subscription expired — no access until renewed
When a model's gate status is unknown, ask the user rather than assuming it passes.
Cost and value
Cost is a sub-dimension of Speed (S.cost_efficiency) in the spider chart but
is also surfaced explicitly because raw per-token prices and derived value
matter independently of speed.
Per-token pricing: stored in mcp/model_scores.json under each model's
pricing field. Use get_pricing() to view and sort. Self-hosted models
(Llama) have null API pricing — infra cost applies instead.
Value score: (R + E + L) / 3 / output_cost_per_1M × 10. Higher is
better. Surfaces models with frontier-class capability at low cost. DeepSeek
models score highest on value but are excluded for G-sensitive work.
| Model |
Input /1M |
Output /1M |
Value score |
G |
| Gemini Flash 2.0 |
$0.08 |
$0.30 |
~43 |
2 |
| DeepSeek V3 |
$0.14 |
$0.28 |
~50 |
1 |
| Claude Haiku 4.5 |
$0.25 |
$1.25 |
~11 |
5 |
| DeepSeek R1 |
$0.55 |
$2.19 |
~15 |
1 |
| o4-mini |
$1.10 |
$4.40 |
~5 |
2 |
| Mistral Large 3 |
$2.00 |
$6.00 |
~3 |
4 |
| Claude Sonnet 4.6 |
$3.00 |
$15.00 |
~1.5 |
5 |
| Gemini 2.5 Pro |
$1.25 |
$10.00 |
~2 |
2 |
| GPT-4o |
$2.50 |
$10.00 |
~1.4 |
2 |
| o3 |
$10.00 |
$40.00 |
~0.5 |
2 |
| Claude Opus 4.6 |
$15.00 |
$75.00 |
~0.3 |
5 |
| Llama 3.3 70B |
self-hosted |
self-hosted |
— |
5 |
When the user asks "what's the best value for money" or has a per-hour budget,
use get_pricing(sort_by="value_score") and filter by accessible models.
MCP tools
The mcp/server.py provides structured queries over the roster. Use these
instead of reading markdown files when the user asks for comparisons,
filtered lists, or pricing analysis.
| Tool |
When to use |
list_models() |
First step when access config is unknown; shows what's usable |
query_models(R=4, G=5) |
"Find models with strong reasoning and full privacy" |
query_models(phi_hipaa_eligible=True) |
"Only models the vendor offers a HIPAA BAA on" |
query_models(jurisdiction_country_in=["US","CA","FR"]) |
"Allow only US/CA/FR-headquartered vendors" |
query_models(training_on_customer_data="never") |
"Hard-require no training on our prompts" |
get_profile("claude-sonnet-4.6", scope="E") |
Sub-dimension drill-down on Engineering |
compare_models(["claude-sonnet-4.6", "gemini-2.5-pro"], scope="B") |
Side-by-side Breadth sub-dims |
get_pricing(sort_by="value_score") |
Value-for-money ranking |
check_availability() |
Live status before routing a plan |
get_config() / set_config(...) |
Show or update user access list |
Workflow A — Profile View
Use when the user wants to understand a specific model or compare two.
Output format (render one block per model):
Model: Claude Sonnet 4.6
Provider: Anthropic · Tier: Frontier mid-size · Updated: 2026-Q1
────────────────────────────────────────────────
Reasoning ▓▓▓▓▓▓▓▓░░ 4/5 Strong
Engineering ▓▓▓▓▓▓▓▓▓▓ 5/5 Exceptional
Speed ▓▓▓▓▓▓░░░░ 3/5 Moderate
Breadth ▓▓▓▓▓▓▓▓░░ 4/5 Strong
Reliability ▓▓▓▓▓▓▓▓░░ 4/5 Strong
Governance ▓▓▓▓▓▓▓▓▓▓ 5/5 Exceptional
────────────────────────────────────────────────
Best for: Complex coding, code review, refactoring, agentic workflows,
tasks touching sensitive data or enterprise privacy requirements
Avoid for: Extreme cost sensitivity at very high volume, real-time <100ms
UX, native audio/video processing
Bar widths: 5→▓▓▓▓▓▓▓▓▓▓, 4→▓▓▓▓▓▓▓▓░░, 3→▓▓▓▓▓▓░░░░, 2→▓▓▓▓░░░░░░, 1→▓▓░░░░░░░░
For head-to-head comparison of two models, render both blocks, then add a
one-paragraph verdict: which model wins overall and for what use cases.
Sub-dimension drill-down: When the user wants detail on a specific
dimension (e.g., "which of these two is better at tool use?"), call
compare_models([...], scope="E") and render the sub-dimension table:
Engineering sub-dimensions: Claude Sonnet 4.6 vs GPT-4o
─────────────────────────────────────────────────────
Sub-dimension Sonnet 4.6 GPT-4o
Function codegen 5 4
Repo-scale tasks 5 4
Tool use / BFCL 5 4
Agentic planning 5 3
Codebase navigation 5 4
─────────────────────────────────────────────────────
Top-level E score 5 4
Trigger: "drill down on [dimension]", "compare at the detail level",
"which is better at [sub-dimension]", "I need strong tool use specifically".
Workflow B — Task Router
Use when the user has a plan, task list, or backlog and wants to know
which model to use for which work. This is the Dispatch matching mode:
tasks are missions, models are heroes.
Steps:
Parse the task list. Accept any format: markdown bullets, numbered
list, WorkItems, or a free-form plan.
Score each task against the six dimensions: which dimensions does
this task require? Use the Task Scoring Quick-Reference below.
Cluster tasks by their dominant dimension profile. Tasks with the
same top-2 dimensions belong in the same cluster. Typical clusters:
- Deep-Think (R+E dominant) — complex architecture, novel algorithms
- Production-Coder (E dominant) — routine implementation, bug fixes
- High-Volume (S dominant) — repetitive generation, bulk transforms
- Long-Context (B dominant) — large codebase sweeps, doc analysis
- Privacy-First (G dominant) — PII, PHI, regulated data, secrets
Recommend a model per cluster from the user's accessible models.
Call query_models(R=..., E=..., G=..., apply_user_filter=True) to
find the best available match. State the primary recommendation and one fallback.
Theoretical-best hint. After recommending from the user's accessible
models, run the same query with apply_user_filter=False. If the
theoretical-best model differs from the recommended one, show the hint:
⚡ Theoretical best (not in your access): Claude Opus 4.6
Gap: R:5 E:5 vs your best R:4 E:5 — 1 point on Reasoning matters for
this cluster (novel algorithm design). Consider adding Opus access if
the task justifies it → anthropic.com/api
Omit the hint if the user's accessible model already matches the theoretical
best, or if the gap is only 1 point on a non-dominant dimension.
Output the routing table:
Task Routing Analysis
══════════════════════════════════════════════
Cluster 1 — Deep-Think (Reasoning + Engineering) [N tasks]
Profile: R:5 E:5 S:2 B:3 L:4 G:4
Your model: Claude Sonnet 4.6 (fallback: Qwen 2.5 Coder 32B self-hosted)
⚡ Theoretical best: Claude Opus 4.6 — R gap: 4→5; worth it for novel algorithms
Tasks:
• Design consensus algorithm for distributed cache
• Refactor auth middleware to zero-trust model
Cluster 2 — Production-Coder (Engineering) [N tasks]
Profile: R:3 E:5 S:3 B:3 L:4 G:4
Your model: Claude Sonnet 4.6 (no gap — this is the theoretical best)
Tasks:
• Implement JWT refresh token rotation
• Add pagination to /api/v2/users endpoint
Cluster 3 — High-Volume (Speed) [N tasks]
Profile: R:2 E:3 S:5 B:3 L:3 G:3
Your model: Claude Haiku 4.5 (fallback: Gemini Flash 2.0)
⚡ Theoretical best: Gemini Flash 2.0 — slightly cheaper at this volume;
only matters if processing >10M tokens/month
Tasks:
• Generate unit test stubs for all 200 endpoints
• Reformat 5,000 changelog entries to new template
Cluster 4 — Privacy-First (Governance) [N tasks]
Profile: R:3 E:3 S:3 B:3 L:4 G:5
Your model: Llama 3.3 70B self-hosted (no gap — self-hosted is optimal)
Tasks:
• Process patient consent records
• Summarize HIPAA audit logs
══════════════════════════════════════════════
Total: N tasks across M clusters.
Suggested sequence: Cluster 4 → Cluster 1 → Cluster 2 → Cluster 3.
Workflow D — Setup Questionnaire
Use when the user says "set up my models", "configure my access", "which models do
I have access to", "help me set up the recommender", "onboard me", or "I only have
access to X". Replaces manual JSON editing with a guided conversation.
Steps:
Show current state. Call get_config(). If available_models is non-empty,
say "You currently have [N] models configured — I'll update your settings."
If empty, say "Your model access isn't set up yet. Let me walk you through it."
Ask about provider access. One question, accept a free-form answer:
"Which AI providers do you have active API access to?
Options: Anthropic, OpenAI, Google (Gemini), Meta/self-hosted (Llama),
Mistral, xAI (Grok), Cohere, Alibaba/Qwen, MiniMax, DeepSeek, Microsoft (Phi),
or other."
For each confirmed provider, ask about model tiers:
- Anthropic: "Do you have Haiku only, Haiku + Sonnet, or full access (all three)?"
- OpenAI: "Standard (GPT-4o), reasoning tier (o3/o4-mini), or both?"
- Google: "Gemini 2.5 Pro, Flash, or both?"
- Open-source (Llama/Qwen/Phi/Gemma): "Self-hosted or via a third-party API
(Together, Groq, etc.)?" — this determines the effective G score.
- Others: accept the provider-level answer.
Data sensitivity floor. One question:
"What's the highest sensitivity of data you typically work with in this project?
(a) Public only — open-source code, public information
(b) Internal / proprietary — code or business data that isn't public
(c) Personal data — names, emails, addresses, any PII
(d) Regulated — HIPAA (medical), financial, legal, or government data"
Map: (a)→G:0, (b)→G:3, (c)→G:4, (d)→G:5.
Budget preference. One question:
"Budget preference?
(a) Cost-first — use the cheapest model that meets the requirement
(b) Balanced — trade off cost and quality
(c) Quality-first — use the best model regardless of cost"
Map: (a)→low, (b)→medium, (c)→high. Set budget_tier.
Exclusions. One question:
"Any models to always exclude? (e.g., 'no DeepSeek', 'nothing from China',
'only Anthropic')"
Parse response and add to blocked_models.
Summarise and confirm. Display a brief summary:
Here's your configuration:
Accessible models: [list]
Governance floor: G:4 (personal data)
Budget: balanced
Blocked: deepseek-v3, deepseek-r1
Apply this? (yes / adjust)
Apply. On confirmation, call set_config(...) with all fields.
Then call list_models() and show the effective roster so the user can
verify it looks right.
Workflow C — Roster Refresh
Use when the user says "update the model scores", "check for new models",
"are there newer benchmarks", or "refresh the roster". This is the only
workflow that requires internet access.
Steps:
Check validated date. Read _meta.validated from model_scores.json.
If less than 3 months old, ask the user if they want to proceed anyway.
Discover new models. Web-search for "new LLM models [current year]" and
"AI model releases [last 3 months]". For each new model found:
- Note it as a candidate addition (do NOT auto-write to model_scores.json)
- Report it to the user with a one-line capability summary
- Ask: "Do you want me to add [model] to the roster?"
- Only add after explicit confirmation; adds are additive (never overwrite existing entries)
Refresh benchmark scores. Fetch current leaderboard pages listed in
_meta.leaderboards. For each model already in the roster:
- Check if its SWE-bench rank has changed significantly
- Check if its LMSYS Arena Elo has moved by >50 points
- Check Artificial Analysis for latency/cost updates
- Propose score changes as a diff — do NOT auto-apply
Check for new benchmarks. Search for benchmarks that have gained
traction since the last validated date (e.g., new agentic evals, new
multimodal evals). If found, assess whether they warrant a new sub-dimension.
Report to user; do NOT add sub-dimensions without discussion.
Check pricing. Fetch the provider pricing pages in _meta.pricing_pages.
Compare to stored pricing fields. Report any price changes.
Present proposed changes. List:
- New models to add (awaiting confirmation)
- Score adjustments (with before/after and source)
- Price updates (before/after)
- New benchmark candidates
Apply only confirmed changes. Update model_scores.json for approved
changes. Bump _meta.validated to the current quarter.
Constraint: refresh is additive. Never delete models from the roster
during refresh — that is a separate cleanup task for the user to do manually.
Task Scoring Quick-Reference
| Task contains… |
Raise these dimensions |
| "design", "architect", "algorithm", "prove", "derive", "optimize (complexity)" |
R |
| "implement", "fix", "debug", "refactor", "review code", "write tests", "agentic" |
E |
| "generate N items", "bulk", "batch", "fast", "cheap", "thousands of" |
S |
| "entire codebase", "all files", "image", "screenshot", "audio", "video", "long doc" |
B |
| "exactly", "format must be", "strict schema", "no hallucination", "cite sources" |
L |
| PII, PHI, credentials, regulated, GDPR, HIPAA, internal/confidential |
G |
A task can score high on multiple dimensions. When in doubt, assign the
top-2 and cluster on those.
Model roster summary
The roster contains 34 models across 12 providers (25 validated, 9 estimated
for post-Aug-2025 releases). Estimated models are marked _estimated: true in
mcp/model_scores.json and should be validated via Workflow C before using in
production routing.
Live table: list_models() — returns the roster filtered by your user config.
Full table with context windows: see references/roster-quick-ref.md.
Narrative profiles: see references/model-profiles.md.
Providers covered: Anthropic, OpenAI, Google (API + open weights),
xAI (Grok), Meta (Llama), Alibaba/Qwen (open), Microsoft/Phi (open),
MiniMax, Mistral (all tiers + Codestral + Deep Think), Cohere, DeepSeek.
⚠️ G:1 warning: DeepSeek APIs, Alibaba Cloud API, and MiniMax API operate
under Chinese jurisdiction. Never route sensitive, regulated, or personal data
to these APIs. Self-hosting their open weights raises governance to G:3–4.
Commands
/model-recommender-profile model-id [scope] — show the spider-chart capability profile for a model
/model-recommender-route task-description — route a task or task plan to the optimal AI model
/model-recommender-setup — run the guided questionnaire to configure model access and preferences
/model-recommender-refresh — run Workflow C to research and refresh the model roster from live benchmarks
Gotchas
Skipping the gate check before routing. Always check User Access and
Availability before scoring capability. A model scoring E:5 G:5 is useless
if the user's API key is expired or the provider is in a major outage.
Call check_availability() and get_config() at the start of any
Task Router session, or ask the user explicitly if MCP is unavailable.
Assuming access from context. If the user mentions "Claude" it does
not mean they have Opus, Sonnet, and Haiku — they may only have one tier.
Ask or call get_config() before recommending a specific tier.
Recommending a model the user has rate-limited. Rate limits and quota
exhaustion are not visible on status pages — they are per-account states.
If the user says "it keeps failing", check for rate-limit errors before
re-routing to the same model. Suggest the next model in the fallback chain.
Conflating low cost with high value. DeepSeek models have the highest
raw value score but score G:1, which disqualifies them for most enterprise
work. Always surface the governance warning alongside the value score when
a low-cost model has a G:1 or G:2 rating. Cost optimization within a G
floor is the correct framing, not raw cost minimization.
Not telling the user the actual price. When recommending a model for
a bulk task ("generate 10,000 descriptions"), compute an estimate:
(estimated tokens × price per 1M / 1,000,000). Even a rough estimate
($0.50 vs. $8.00) changes the decision. Use get_pricing() for current rates.
Treating the roster as current truth. Model scores change with every
release. The profiles in references/model-profiles.md have a
"validated" date. If the user's model is newer or the date is >6 months
old, caveat your recommendation and point to Artificial Analysis or
LMSYS Arena for live data.
Recommending a model the user can't access. Before recommending o3
or Opus 4.6, ask (or check context) whether the user has access and
budget. A perfect score on paper is useless if the quota is exhausted or
the model is not provisioned. Offer a concrete fallback every time.
Scoring the task instead of the task cluster. When routing a plan,
assess what the cluster as a whole needs, not individual task quirks.
One unusual subtask should not pull an entire cluster to a different model.
Ignoring the Governance dimension for "internal" work. Many teams
assume internal code is not sensitive. But source code with credentials,
unreleased algorithms, or regulated business logic can be just as
sensitive as PII. When in doubt, ask whether the organization has an AI
data classification policy before routing to non-sovereign models.
Conflating Speed with Engineering. A fast model (S:5) is not
necessarily a good coder (E:5). Haiku and Flash are excellent at
high-volume, low-complexity code tasks but will struggle with novel
architecture or debugging subtle async races. Always check both dimensions
before routing engineering work to a speed-optimized model.
Presenting scores as objective benchmarks. The 1-5 scores in this
skill are informed calibrations, not direct benchmark readings. When the
user needs precision (e.g., choosing between two models scoring 4 vs. 4
on the same dimension), surface the underlying benchmarks
(SWE-bench Verified, GPQA Diamond, BFCL v4) and link to current
leaderboards. The skill's scores are a starting point, not the final word.
Over-routing to expensive models. The task router should push work
toward the cheapest model that meets the required profile, not the highest-
scoring model globally. Opus 4.6 is not the right answer for a task that
only needs E:3 S:4 — that is Haiku or Sonnet territory.
Skipping the sequence suggestion. After clustering, always add a
recommended execution sequence. Some clusters are prerequisites for others
(e.g., design decisions made with Opus should precede implementation with
Sonnet). The sequence is often more valuable than the per-cluster picks.
Calling set_config without user confirmation. set_config overwrites user_config.json in full — it is marked destructiveHint: true. Always show the proposed configuration to the user and wait for explicit approval before calling set_config. Never chain set_config into a batch of other calls.
Treating check_availability failures as errors. check_availability makes live HTTP requests to provider status pages. Network failures, rate limits, and subscription expiry are not detectable from status pages. Treat any failure or non-operational status as unknown, report it to the user, and do not retry more than once without explicit user awareness.
Full reference
Sub-dimension detail
Full sub-dimension specs, benchmark mappings, and scoring guidelines are
in references/dimension-specs.md. For structured sub-dimension comparison,
use compare_models(model_ids, scope="R") (or E/S/B/L/G).
Complete model profiles
Narrative descriptions, per-sub-dimension scores, and best-for/avoid-for
lists for all twelve models are in references/model-profiles.md.
Structured scores are in mcp/model_scores.json — the MCP server is the
preferred interface for queries; the markdown file is the human-readable view.
Pricing and value analysis
get_pricing(sort_by="value_score") — ranked by capability per dollar
get_pricing(sort_by="output_per_1m") — ranked cheapest output first
- Provider pricing pages are in
mcp/model_scores.json under _meta.pricing_pages
- For bulk cost estimates: tokens × (output_price / 1,000,000)
- Self-hosted models (Llama): no API cost, but require GPU infra (~$1–3/hr/A100)
Availability and user access
check_availability() — fetches live status from provider status pages
get_config() / set_config(...) — manage user access list and governance floor
- Provider status pages:
mcp/model_scores.json under _meta.status_pages
- Rate limits and quota: must be checked manually via the provider's API dashboard
(Anthropic: console.anthropic.com, OpenAI: platform.openai.com, etc.)
Dimension trade-off map
Common trade-offs to surface when the user is torn between two options:
| Trade-off |
Typical tension |
Resolution heuristic |
| Reasoning vs. Speed |
o3 vs. Haiku |
Choose by task complexity: reasoning chains >5 steps → o3 tier; routine → Haiku |
| Breadth vs. Governance |
Gemini 2.5 Pro vs. Llama |
If context >200K AND data is non-sensitive → Gemini; otherwise → Llama + chunking |
| Engineering vs. Governance |
GPT-4o vs. Mistral |
If task is routine coding AND data is non-sensitive → GPT-4o; regulated → Mistral or Llama |
| Speed vs. Reliability |
Flash vs. Sonnet |
For customer-facing output → Sonnet; for internal draft generation → Flash |
| Cost vs. Capability |
DeepSeek vs. Claude |
If data is non-sensitive AND cost is paramount → DeepSeek; otherwise avoid |
How scores were derived
Scores are calibrated from:
- Public benchmarks: SWE-bench Verified (E), GPQA Diamond (R), MATH/AIME (R),
BFCL v4 (E+B), LMSYS Arena Elo (L), Artificial Analysis Intelligence Index (R+E)
- Provider documentation and model cards for Speed and Governance dimensions
- Practitioner reports and Artificial Analysis latency/cost benchmarks
Keeping profiles current
When a major new model releases or an existing model is updated:
- Add or update its entry in
references/model-profiles.md
- Update the summary table in SKILL.md Overview
- Bump the validated date in model-profiles.md
- If scores change significantly, note what changed and why
Anti-patterns
- Single-dimension routing. Never pick a model on one dimension alone.
A model that excels at reasoning but scores L:2 on reliability will
produce confident, wrong answers. Always check the dimensions that matter
for the task's tolerance for error.
- Assuming "best overall model" = right model. The highest-ranked model
on LMSYS Arena is not always the right pick. A task requiring G:5 rules
out the entire LMSYS top tier (all score G:2 or lower). Optimize for the
user's actual constraints, not global rankings.
- Ignoring fallbacks. Always provide a fallback. The recommended model
may be unavailable, rate-limited, or over budget mid-session. A router
with no fallback fails the user at the worst moment.
- Not re-routing when a cluster grows. If a new task is added to the
plan that doesn't fit the cluster's profile, surface it rather than
silently absorbing it. A Governance-sensitive task silently absorbed into
a DeepSeek-routed cluster is a data breach waiting to happen.
1---2name: model-recommender-83description: Recommend the right AI model for a task by scoring candidates across six dimensions (Reasoning, Engineering, Speed, Breadth, Reliability, Governance) and displaying a spider-chart profile.4---56# Model Recommender78## Intro910This skill scores AI models across six capability dimensions, two gate11dimensions (Availability and User Access), and per-token pricing — then12helps you pick the right model. It has three workflows: **Profile View**13(spider-chart for one or more models, with optional sub-dimension drill-down),14**Task Router** (cluster a task plan and route each cluster to the optimal15model), and **Roster Refresh** (live internet research to update benchmark16scores and discover new models). Gates always apply before capability scoring:17a model the user can't access or that is currently down is excluded regardless18of how well it scores.1920## Overview2122### The six dimensions2324Every model and every task is evaluated against the same six axes. Each25scores 1–5.2627| Dim | Symbol | What it measures | Sub-dimensions |28|-----|--------|-----------------|----------------|29| **Reasoning** | R | Hard thinking: math, science, logic, novel problem-solving | Mathematical reasoning, scientific/domain-expert reasoning, abstract/novel reasoning, multi-step logical chains, debugging chains |30| **Engineering** | E | Software work: code, tools, agents, codebases | Function-level code generation, repo-scale task completion, tool use / function calling (BFCL), agentic planning and self-correction, large-codebase navigation |31| **Speed** | S | Response latency, throughput, and cost efficiency | Time to First Token (TTFT), Inter-Token Latency (ITL), tokens/sec, cost per 1M input tokens, cost per 1M output tokens, rate limits |32| **Breadth** | B | Context window, modalities, language coverage | Context window size, long-doc faithfulness, vision, audio, video, structured output (JSON/function calling), multilingual |33| **Reliability** | L | Instruction fidelity, factual accuracy, consistency | Instruction following, hallucination rate, multi-turn consistency, safety/harmlessness, format adherence |34| **Governance** | G | Privacy, sovereignty, compliance, auditability | Data retention policy, data sovereignty / region, self-hostable / open weights, compliance certs (SOC 2, HIPAA, GDPR), prompt injection resistance |3536The qualitative `G` 1–5 score is a fast filter; for hard requirements37(HIPAA, GDPR, jurisdiction), use the structured fields on38`Model.versions[]`:3940- `jurisdiction.vendor_hq_country` (ISO-3166-1 alpha-2)41- `jurisdiction.applicable_legal_regimes[]` (e.g. `EU-GDPR`, `US-HIPAA`,42 `CN-DSL`)43- `jurisdiction.data_residency_regions[]`44- `data_privacy.dpa_available`45- `data_privacy.data_retention_days` (`0` / `"zero"` for no retention)46- `data_privacy.training_on_customer_data` (`never|opt-in|opt-out|always|unknown`)47- `data_privacy.pii_eligible`, `phi_hipaa_eligible`, `gdpr_eligible`48- `data_privacy.sub_processors_url`4950These fields back the `G` score with auditable facts and let51`query_models()` filter on a hard requirement instead of a fuzzy521–5 cutoff (e.g. require `data_privacy.phi_hipaa_eligible == true`53before any HIPAA-touching task is routed).5455`Model.versions[]` also carries:5657- `knowledge_cutoff` (date) — vendor-published training cutoff58- `vendor_model_id` — exact SDK model id (`claude-opus-4-7-20251031`)59- `latency_p50_ms` — quantitative companion to `S` score6061**Score rubric:**6263| Score | Label | Meaning |64|-------|-------|---------|65| 5 | Exceptional | Best-in-class or near-best; make this a primary reason to choose the model |66| 4 | Strong | Above average; reliable strength, not a risk |67| 3 | Moderate | Adequate; not a differentiator; works for routine tasks |68| 2 | Limited | Can do it, but expect trade-offs; consider alternatives |69| 1 | Minimal | Poor fit; the model is not designed for this; choose differently |7071---7273### Gate dimensions (applied before capability scoring)7475Gates are binary — they disqualify a model entirely, not partially. Apply76them first; only models that pass both gates are scored on the six dimensions.7778**Gate 1 — User Access:** Does the user have an active subscription, API key,79and sufficient quota for this model? Ask at the start of any routing session80if unknown. Maintain user access state in `mcp/user_config.json` via81`set_config(available_models=[...])`. The MCP `query_models` and `list_models`82tools respect this automatically.8384**Gate 2 — Availability:** Is the provider's API currently operational? Check85with `check_availability()` for live status. Three sub-states:86- `operational` — no known issues87- `degraded` — elevated error rate or latency; usable but risky for production88- `major_outage` — do not route here; escalate to fallback8990**Additional flags to surface when relevant:**91- Rate limit exhausted — user has hit their per-minute or daily cap; fallback required92- Quota / budget exceeded — subscription limit reached; model is effectively unavailable93- Subscription expired — no access until renewed9495When a model's gate status is unknown, ask the user rather than assuming it passes.9697---9899### Cost and value100101Cost is a sub-dimension of Speed (S.cost_efficiency) in the spider chart but102is also surfaced explicitly because raw per-token prices and derived value103matter independently of speed.104105**Per-token pricing:** stored in `mcp/model_scores.json` under each model's106`pricing` field. Use `get_pricing()` to view and sort. Self-hosted models107(Llama) have null API pricing — infra cost applies instead.108109**Value score:** `(R + E + L) / 3 / output_cost_per_1M × 10`. Higher is110better. Surfaces models with frontier-class capability at low cost. DeepSeek111models score highest on value but are excluded for G-sensitive work.112113| Model | Input /1M | Output /1M | Value score | G |114|-------|-----------|------------|-------------|---|115| Gemini Flash 2.0 | $0.08 | $0.30 | ~43 | 2 |116| DeepSeek V3 | $0.14 | $0.28 | ~50 | 1 |117| Claude Haiku 4.5 | $0.25 | $1.25 | ~11 | 5 |118| DeepSeek R1 | $0.55 | $2.19 | ~15 | 1 |119| o4-mini | $1.10 | $4.40 | ~5 | 2 |120| Mistral Large 3 | $2.00 | $6.00 | ~3 | 4 |121| Claude Sonnet 4.6 | $3.00 | $15.00 | ~1.5 | 5 |122| Gemini 2.5 Pro | $1.25 | $10.00 | ~2 | 2 |123| GPT-4o | $2.50 | $10.00 | ~1.4 | 2 |124| o3 | $10.00 | $40.00 | ~0.5 | 2 |125| Claude Opus 4.6 | $15.00 | $75.00 | ~0.3 | 5 |126| Llama 3.3 70B | self-hosted | self-hosted | — | 5 |127128When the user asks "what's the best value for money" or has a per-hour budget,129use `get_pricing(sort_by="value_score")` and filter by accessible models.130131---132133### MCP tools134135The `mcp/server.py` provides structured queries over the roster. Use these136instead of reading markdown files when the user asks for comparisons,137filtered lists, or pricing analysis.138139| Tool | When to use |140|------|-------------|141| `list_models()` | First step when access config is unknown; shows what's usable |142| `query_models(R=4, G=5)` | "Find models with strong reasoning and full privacy" |143| `query_models(phi_hipaa_eligible=True)` | "Only models the vendor offers a HIPAA BAA on" |144| `query_models(jurisdiction_country_in=["US","CA","FR"])` | "Allow only US/CA/FR-headquartered vendors" |145| `query_models(training_on_customer_data="never")` | "Hard-require no training on our prompts" |146| `get_profile("claude-sonnet-4.6", scope="E")` | Sub-dimension drill-down on Engineering |147| `compare_models(["claude-sonnet-4.6", "gemini-2.5-pro"], scope="B")` | Side-by-side Breadth sub-dims |148| `get_pricing(sort_by="value_score")` | Value-for-money ranking |149| `check_availability()` | Live status before routing a plan |150| `get_config()` / `set_config(...)` | Show or update user access list |151152---153154### Workflow A — Profile View155156Use when the user wants to understand a specific model or compare two.157158**Output format (render one block per model):**159160```161Model: Claude Sonnet 4.6162Provider: Anthropic · Tier: Frontier mid-size · Updated: 2026-Q1163────────────────────────────────────────────────164 Reasoning ▓▓▓▓▓▓▓▓░░ 4/5 Strong165 Engineering ▓▓▓▓▓▓▓▓▓▓ 5/5 Exceptional166 Speed ▓▓▓▓▓▓░░░░ 3/5 Moderate167 Breadth ▓▓▓▓▓▓▓▓░░ 4/5 Strong168 Reliability ▓▓▓▓▓▓▓▓░░ 4/5 Strong169 Governance ▓▓▓▓▓▓▓▓▓▓ 5/5 Exceptional170────────────────────────────────────────────────171Best for: Complex coding, code review, refactoring, agentic workflows,172 tasks touching sensitive data or enterprise privacy requirements173Avoid for: Extreme cost sensitivity at very high volume, real-time <100ms174 UX, native audio/video processing175```176177Bar widths: 5→▓▓▓▓▓▓▓▓▓▓, 4→▓▓▓▓▓▓▓▓░░, 3→▓▓▓▓▓▓░░░░, 2→▓▓▓▓░░░░░░, 1→▓▓░░░░░░░░178179For head-to-head comparison of two models, render both blocks, then add a180one-paragraph verdict: which model wins overall and for what use cases.181182**Sub-dimension drill-down:** When the user wants detail on a specific183dimension (e.g., "which of these two is better at tool use?"), call184`compare_models([...], scope="E")` and render the sub-dimension table:185186```187Engineering sub-dimensions: Claude Sonnet 4.6 vs GPT-4o188─────────────────────────────────────────────────────189Sub-dimension Sonnet 4.6 GPT-4o190Function codegen 5 4191Repo-scale tasks 5 4192Tool use / BFCL 5 4193Agentic planning 5 3194Codebase navigation 5 4195─────────────────────────────────────────────────────196Top-level E score 5 4197```198199Trigger: "drill down on [dimension]", "compare at the detail level",200"which is better at [sub-dimension]", "I need strong tool use specifically".201202---203204### Workflow B — Task Router205206Use when the user has a plan, task list, or backlog and wants to know207which model to use for which work. This is the Dispatch matching mode:208tasks are missions, models are heroes.209210**Steps:**2112121. **Parse** the task list. Accept any format: markdown bullets, numbered213 list, WorkItems, or a free-form plan.2142152. **Score each task** against the six dimensions: which dimensions does216 this task *require*? Use the Task Scoring Quick-Reference below.2172183. **Cluster** tasks by their dominant dimension profile. Tasks with the219 same top-2 dimensions belong in the same cluster. Typical clusters:220 - Deep-Think (R+E dominant) — complex architecture, novel algorithms221 - Production-Coder (E dominant) — routine implementation, bug fixes222 - High-Volume (S dominant) — repetitive generation, bulk transforms223 - Long-Context (B dominant) — large codebase sweeps, doc analysis224 - Privacy-First (G dominant) — PII, PHI, regulated data, secrets2252264. **Recommend** a model per cluster from the user's accessible models.227 Call `query_models(R=..., E=..., G=..., apply_user_filter=True)` to228 find the best available match. State the primary recommendation and one fallback.2292305. **Theoretical-best hint.** After recommending from the user's accessible231 models, run the same query with `apply_user_filter=False`. If the232 theoretical-best model differs from the recommended one, show the hint:233234 ```235 ⚡ Theoretical best (not in your access): Claude Opus 4.6236 Gap: R:5 E:5 vs your best R:4 E:5 — 1 point on Reasoning matters for237 this cluster (novel algorithm design). Consider adding Opus access if238 the task justifies it → anthropic.com/api239 ```240241 Omit the hint if the user's accessible model already matches the theoretical242 best, or if the gap is only 1 point on a non-dominant dimension.2432446. **Output** the routing table:245246```247Task Routing Analysis248══════════════════════════════════════════════249250Cluster 1 — Deep-Think (Reasoning + Engineering) [N tasks]251 Profile: R:5 E:5 S:2 B:3 L:4 G:4252 Your model: Claude Sonnet 4.6 (fallback: Qwen 2.5 Coder 32B self-hosted)253 ⚡ Theoretical best: Claude Opus 4.6 — R gap: 4→5; worth it for novel algorithms254 Tasks:255 • Design consensus algorithm for distributed cache256 • Refactor auth middleware to zero-trust model257258Cluster 2 — Production-Coder (Engineering) [N tasks]259 Profile: R:3 E:5 S:3 B:3 L:4 G:4260 Your model: Claude Sonnet 4.6 (no gap — this is the theoretical best)261 Tasks:262 • Implement JWT refresh token rotation263 • Add pagination to /api/v2/users endpoint264265Cluster 3 — High-Volume (Speed) [N tasks]266 Profile: R:2 E:3 S:5 B:3 L:3 G:3267 Your model: Claude Haiku 4.5 (fallback: Gemini Flash 2.0)268 ⚡ Theoretical best: Gemini Flash 2.0 — slightly cheaper at this volume;269 only matters if processing >10M tokens/month270 Tasks:271 • Generate unit test stubs for all 200 endpoints272 • Reformat 5,000 changelog entries to new template273274Cluster 4 — Privacy-First (Governance) [N tasks]275 Profile: R:3 E:3 S:3 B:3 L:4 G:5276 Your model: Llama 3.3 70B self-hosted (no gap — self-hosted is optimal)277 Tasks:278 • Process patient consent records279 • Summarize HIPAA audit logs280281══════════════════════════════════════════════282Total: N tasks across M clusters.283Suggested sequence: Cluster 4 → Cluster 1 → Cluster 2 → Cluster 3.284```285286---287288---289290### Workflow D — Setup Questionnaire291292Use when the user says "set up my models", "configure my access", "which models do293I have access to", "help me set up the recommender", "onboard me", or "I only have294access to X". Replaces manual JSON editing with a guided conversation.295296**Steps:**2972981. **Show current state.** Call `get_config()`. If `available_models` is non-empty,299 say "You currently have [N] models configured — I'll update your settings."300 If empty, say "Your model access isn't set up yet. Let me walk you through it."3013022. **Ask about provider access.** One question, accept a free-form answer:303 > "Which AI providers do you have active API access to?304 > Options: Anthropic, OpenAI, Google (Gemini), Meta/self-hosted (Llama),305 > Mistral, xAI (Grok), Cohere, Alibaba/Qwen, MiniMax, DeepSeek, Microsoft (Phi),306 > or other."3073083. **For each confirmed provider, ask about model tiers:**309 - Anthropic: "Do you have Haiku only, Haiku + Sonnet, or full access (all three)?"310 - OpenAI: "Standard (GPT-4o), reasoning tier (o3/o4-mini), or both?"311 - Google: "Gemini 2.5 Pro, Flash, or both?"312 - Open-source (Llama/Qwen/Phi/Gemma): "Self-hosted or via a third-party API313 (Together, Groq, etc.)?" — this determines the effective G score.314 - Others: accept the provider-level answer.3153164. **Data sensitivity floor.** One question:317 > "What's the highest sensitivity of data you typically work with in this project?318 > (a) Public only — open-source code, public information319 > (b) Internal / proprietary — code or business data that isn't public320 > (c) Personal data — names, emails, addresses, any PII321 > (d) Regulated — HIPAA (medical), financial, legal, or government data"322 Map: (a)→G:0, (b)→G:3, (c)→G:4, (d)→G:5.3233245. **Budget preference.** One question:325 > "Budget preference?326 > (a) Cost-first — use the cheapest model that meets the requirement327 > (b) Balanced — trade off cost and quality328 > (c) Quality-first — use the best model regardless of cost"329 Map: (a)→low, (b)→medium, (c)→high. Set `budget_tier`.3303316. **Exclusions.** One question:332 > "Any models to always exclude? (e.g., 'no DeepSeek', 'nothing from China',333 > 'only Anthropic')"334 Parse response and add to `blocked_models`.3353367. **Summarise and confirm.** Display a brief summary:337 ```338 Here's your configuration:339 Accessible models: [list]340 Governance floor: G:4 (personal data)341 Budget: balanced342 Blocked: deepseek-v3, deepseek-r1343 Apply this? (yes / adjust)344 ```3453468. **Apply.** On confirmation, call `set_config(...)` with all fields.347 Then call `list_models()` and show the effective roster so the user can348 verify it looks right.349350---351352### Workflow C — Roster Refresh353354Use when the user says "update the model scores", "check for new models",355"are there newer benchmarks", or "refresh the roster". This is the only356workflow that requires internet access.357358**Steps:**3593601. **Check validated date.** Read `_meta.validated` from `model_scores.json`.361 If less than 3 months old, ask the user if they want to proceed anyway.3623632. **Discover new models.** Web-search for "new LLM models [current year]" and364 "AI model releases [last 3 months]". For each new model found:365 - Note it as a candidate addition (do NOT auto-write to model_scores.json)366 - Report it to the user with a one-line capability summary367 - Ask: "Do you want me to add [model] to the roster?"368 - Only add after explicit confirmation; adds are additive (never overwrite existing entries)3693703. **Refresh benchmark scores.** Fetch current leaderboard pages listed in371 `_meta.leaderboards`. For each model already in the roster:372 - Check if its SWE-bench rank has changed significantly373 - Check if its LMSYS Arena Elo has moved by >50 points374 - Check Artificial Analysis for latency/cost updates375 - Propose score changes as a diff — do NOT auto-apply3763774. **Check for new benchmarks.** Search for benchmarks that have gained378 traction since the last validated date (e.g., new agentic evals, new379 multimodal evals). If found, assess whether they warrant a new sub-dimension.380 Report to user; do NOT add sub-dimensions without discussion.3813825. **Check pricing.** Fetch the provider pricing pages in `_meta.pricing_pages`.383 Compare to stored `pricing` fields. Report any price changes.3843856. **Present proposed changes.** List:386 - New models to add (awaiting confirmation)387 - Score adjustments (with before/after and source)388 - Price updates (before/after)389 - New benchmark candidates3903917. **Apply only confirmed changes.** Update `model_scores.json` for approved392 changes. Bump `_meta.validated` to the current quarter.393394**Constraint:** refresh is additive. Never delete models from the roster395during refresh — that is a separate cleanup task for the user to do manually.396397### Task Scoring Quick-Reference398399| Task contains… | Raise these dimensions |400|---|---|401| "design", "architect", "algorithm", "prove", "derive", "optimize (complexity)" | R |402| "implement", "fix", "debug", "refactor", "review code", "write tests", "agentic" | E |403| "generate N items", "bulk", "batch", "fast", "cheap", "thousands of" | S |404| "entire codebase", "all files", "image", "screenshot", "audio", "video", "long doc" | B |405| "exactly", "format must be", "strict schema", "no hallucination", "cite sources" | L |406| PII, PHI, credentials, regulated, GDPR, HIPAA, internal/confidential | G |407408A task can score high on multiple dimensions. When in doubt, assign the409top-2 and cluster on those.410411---412413### Model roster summary414415The roster contains **34 models** across 12 providers (25 validated, 9 estimated416for post-Aug-2025 releases). Estimated models are marked `_estimated: true` in417`mcp/model_scores.json` and should be validated via Workflow C before using in418production routing.419420**Live table:** `list_models()` — returns the roster filtered by your user config. 421**Full table with context windows:** see `references/roster-quick-ref.md`. 422**Narrative profiles:** see `references/model-profiles.md`.423424**Providers covered:** Anthropic, OpenAI, Google (API + open weights),425xAI (Grok), Meta (Llama), Alibaba/Qwen (open), Microsoft/Phi (open),426MiniMax, Mistral (all tiers + Codestral + Deep Think), Cohere, DeepSeek.427428**⚠️ G:1 warning:** DeepSeek APIs, Alibaba Cloud API, and MiniMax API operate429under Chinese jurisdiction. Never route sensitive, regulated, or personal data430to these APIs. Self-hosting their open weights raises governance to G:3–4.431432---433434### Commands435436- `/model-recommender-profile model-id [scope]` — show the spider-chart capability profile for a model437- `/model-recommender-route task-description` — route a task or task plan to the optimal AI model438- `/model-recommender-setup` — run the guided questionnaire to configure model access and preferences439- `/model-recommender-refresh` — run Workflow C to research and refresh the model roster from live benchmarks440441## Gotchas442443- **Skipping the gate check before routing.** Always check User Access and444 Availability before scoring capability. A model scoring E:5 G:5 is useless445 if the user's API key is expired or the provider is in a major outage.446 Call `check_availability()` and `get_config()` at the start of any447 Task Router session, or ask the user explicitly if MCP is unavailable.448449- **Assuming access from context.** If the user mentions "Claude" it does450 not mean they have Opus, Sonnet, and Haiku — they may only have one tier.451 Ask or call `get_config()` before recommending a specific tier.452453- **Recommending a model the user has rate-limited.** Rate limits and quota454 exhaustion are not visible on status pages — they are per-account states.455 If the user says "it keeps failing", check for rate-limit errors before456 re-routing to the same model. Suggest the next model in the fallback chain.457458- **Conflating low cost with high value.** DeepSeek models have the highest459 raw value score but score G:1, which disqualifies them for most enterprise460 work. Always surface the governance warning alongside the value score when461 a low-cost model has a G:1 or G:2 rating. Cost optimization within a G462 floor is the correct framing, not raw cost minimization.463464- **Not telling the user the actual price.** When recommending a model for465 a bulk task ("generate 10,000 descriptions"), compute an estimate:466 (estimated tokens × price per 1M / 1,000,000). Even a rough estimate467 ($0.50 vs. $8.00) changes the decision. Use `get_pricing()` for current rates.468469- **Treating the roster as current truth.** Model scores change with every470 release. The profiles in `references/model-profiles.md` have a471 "validated" date. If the user's model is newer or the date is >6 months472 old, caveat your recommendation and point to Artificial Analysis or473 LMSYS Arena for live data.474475- **Recommending a model the user can't access.** Before recommending o3476 or Opus 4.6, ask (or check context) whether the user has access and477 budget. A perfect score on paper is useless if the quota is exhausted or478 the model is not provisioned. Offer a concrete fallback every time.479480- **Scoring the task instead of the task cluster.** When routing a plan,481 assess what the *cluster as a whole* needs, not individual task quirks.482 One unusual subtask should not pull an entire cluster to a different model.483484- **Ignoring the Governance dimension for "internal" work.** Many teams485 assume internal code is not sensitive. But source code with credentials,486 unreleased algorithms, or regulated business logic can be just as487 sensitive as PII. When in doubt, ask whether the organization has an AI488 data classification policy before routing to non-sovereign models.489490- **Conflating Speed with Engineering.** A fast model (S:5) is not491 necessarily a good coder (E:5). Haiku and Flash are excellent at492 high-volume, low-complexity code tasks but will struggle with novel493 architecture or debugging subtle async races. Always check both dimensions494 before routing engineering work to a speed-optimized model.495496- **Presenting scores as objective benchmarks.** The 1-5 scores in this497 skill are informed calibrations, not direct benchmark readings. When the498 user needs precision (e.g., choosing between two models scoring 4 vs. 4499 on the same dimension), surface the underlying benchmarks500 (SWE-bench Verified, GPQA Diamond, BFCL v4) and link to current501 leaderboards. The skill's scores are a starting point, not the final word.502503- **Over-routing to expensive models.** The task router should push work504 toward the cheapest model that meets the required profile, not the highest-505 scoring model globally. Opus 4.6 is not the right answer for a task that506 only needs E:3 S:4 — that is Haiku or Sonnet territory.507508- **Skipping the sequence suggestion.** After clustering, always add a509 recommended execution sequence. Some clusters are prerequisites for others510 (e.g., design decisions made with Opus should precede implementation with511 Sonnet). The sequence is often more valuable than the per-cluster picks.512513- **Calling `set_config` without user confirmation.** `set_config` overwrites `user_config.json` in full — it is marked `destructiveHint: true`. Always show the proposed configuration to the user and wait for explicit approval before calling `set_config`. Never chain `set_config` into a batch of other calls.514515- **Treating `check_availability` failures as errors.** `check_availability` makes live HTTP requests to provider status pages. Network failures, rate limits, and subscription expiry are not detectable from status pages. Treat any failure or non-operational status as `unknown`, report it to the user, and do not retry more than once without explicit user awareness.516517## Full reference518519### Sub-dimension detail520521Full sub-dimension specs, benchmark mappings, and scoring guidelines are522in `references/dimension-specs.md`. For structured sub-dimension comparison,523use `compare_models(model_ids, scope="R")` (or E/S/B/L/G).524525### Complete model profiles526527Narrative descriptions, per-sub-dimension scores, and best-for/avoid-for528lists for all twelve models are in `references/model-profiles.md`.529Structured scores are in `mcp/model_scores.json` — the MCP server is the530preferred interface for queries; the markdown file is the human-readable view.531532### Pricing and value analysis533534- `get_pricing(sort_by="value_score")` — ranked by capability per dollar535- `get_pricing(sort_by="output_per_1m")` — ranked cheapest output first536- Provider pricing pages are in `mcp/model_scores.json` under `_meta.pricing_pages`537- For bulk cost estimates: tokens × (output_price / 1,000,000)538- Self-hosted models (Llama): no API cost, but require GPU infra (~$1–3/hr/A100)539540### Availability and user access541542- `check_availability()` — fetches live status from provider status pages543- `get_config()` / `set_config(...)` — manage user access list and governance floor544- Provider status pages: `mcp/model_scores.json` under `_meta.status_pages`545- Rate limits and quota: must be checked manually via the provider's API dashboard546 (Anthropic: console.anthropic.com, OpenAI: platform.openai.com, etc.)547548### Dimension trade-off map549550Common trade-offs to surface when the user is torn between two options:551552| Trade-off | Typical tension | Resolution heuristic |553|---|---|---|554| Reasoning vs. Speed | o3 vs. Haiku | Choose by task complexity: reasoning chains >5 steps → o3 tier; routine → Haiku |555| Breadth vs. Governance | Gemini 2.5 Pro vs. Llama | If context >200K AND data is non-sensitive → Gemini; otherwise → Llama + chunking |556| Engineering vs. Governance | GPT-4o vs. Mistral | If task is routine coding AND data is non-sensitive → GPT-4o; regulated → Mistral or Llama |557| Speed vs. Reliability | Flash vs. Sonnet | For customer-facing output → Sonnet; for internal draft generation → Flash |558| Cost vs. Capability | DeepSeek vs. Claude | If data is non-sensitive AND cost is paramount → DeepSeek; otherwise avoid |559560### How scores were derived561562Scores are calibrated from:563- Public benchmarks: SWE-bench Verified (E), GPQA Diamond (R), MATH/AIME (R),564 BFCL v4 (E+B), LMSYS Arena Elo (L), Artificial Analysis Intelligence Index (R+E)565- Provider documentation and model cards for Speed and Governance dimensions566- Practitioner reports and Artificial Analysis latency/cost benchmarks567568### Keeping profiles current569570When a major new model releases or an existing model is updated:5711. Add or update its entry in `references/model-profiles.md`5722. Update the summary table in SKILL.md Overview5733. Bump the validated date in model-profiles.md5744. If scores change significantly, note what changed and why575576### Anti-patterns577578- **Single-dimension routing.** Never pick a model on one dimension alone.579 A model that excels at reasoning but scores L:2 on reliability will580 produce confident, wrong answers. Always check the dimensions that matter581 for the task's tolerance for error.582- **Assuming "best overall model" = right model.** The highest-ranked model583 on LMSYS Arena is not always the right pick. A task requiring G:5 rules584 out the entire LMSYS top tier (all score G:2 or lower). Optimize for the585 user's actual constraints, not global rankings.586- **Ignoring fallbacks.** Always provide a fallback. The recommended model587 may be unavailable, rate-limited, or over budget mid-session. A router588 with no fallback fails the user at the worst moment.589- **Not re-routing when a cluster grows.** If a new task is added to the590 plan that doesn't fit the cluster's profile, surface it rather than591 silently absorbing it. A Governance-sensitive task silently absorbed into592 a DeepSeek-routed cluster is a data breach waiting to happen.