ModelSpec
v8ae27e312c92e10c67d1a8e06ca83647c3753e7dAn analysis of alternatives for AI models: which models fit a job, and why.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rank
Legacy v1; use decide. Deprecated fixed-benchmark ranking; scores lag the catalogue and newer models may be unranked. Which models lead a fixed use-case profile? Returns a shortlist with evidence_basis and input provenance, not a quality verdict. Needs an API key (Authorization: Bearer). Costs 1 credit a call; $0.0053–$0.02 per credit by plan or pack (https://modelspec.dev/pricing/). Don't call it as a fallback when decide has no single leader; report its tie. Present `summary_for_user` to the user unchanged and keep every `must_mention` item. When `next_move` is present, offer it instead of…
| Parameter | Type | Description |
|---|---|---|
use_case * | string | Ranking profile id, as published in /api/rank/profiles.json |
constraints | object | |
environment | object | |
limit | integer |
model_info
What does one model's card say? Reads https://modelspec.dev/api/models/<model_id>.json. Split mode returns only its display name. Needs an API key. Not current evidence or a ranking; use decide.
| Parameter | Type | Description |
|---|---|---|
model_id * | string | Catalogue id, e.g. openai/gpt-5-6 |
list_use_cases
Which legacy profiles and ranking rules exist? Returns https://modelspec.dev/api/rank/profiles.json with evidence floors and the neutrality commitment. Needs an API key. Use decide for decisions.
policy_check
Which models and platforms does my policy allow? Returns pass, fail or undetermined per model/platform for licence, origin and data handling; undetermined is not a pass. Needs an API key (Authorization: Bearer). Costs 5 credits a call; $0.0053–$0.02 per credit by plan or pack (https://modelspec.dev/pricing/). It doesn't choose a model; use decide among passing rows. Proxies POST https://api.modelspec.dev/v1/policy-check with these arguments and Authorization.
| Parameter | Type | Description |
|---|---|---|
policy * | object | |
limit | integer | |
models | array | |
offset | integer | |
platforms | array | |
require_no_undetermined | boolean | |
verdicts | array |
decide
Which models fit this job? Call decide early. Returns answer, ranked results, may_qualify, reading and recovery hints, decision_id and snapshot. Never add a gate or constraint the user didn't state. Relax only constraints the user stated, one at a time, and say what was relaxed and why. Prefer the answer's own `relax` suggestions. A tie stays a tie. Don't promote a member by knowledge from outside the response. Cite only evidence in the response. Never add benchmark figures from memory. Tied or partial answer: report the tie and caveats, pick no member; a null answer names no pick and says wha…
compare_models
What facts do 2 to 4 named models have? Returns sourced snapshot facts, offerings and evidence in caller order; unknowns stay null. Needs an API key (Authorization: Bearer). Costs 2 credits a call; $0.0053–$0.02 per credit by plan or pack (https://modelspec.dev/pricing/). It doesn't choose a model and does not rank. Proxies POST https://api.modelspec.dev/v1/compare-models with {models: [...]} at most 16 KB.
| Parameter | Type | Description |
|---|---|---|
models * | array | 2 to 4 distinct catalogue ids, such as openai/gpt-5-6, in caller order |
hardware_fit
Does this workload fit? Returns measured for an exact cited run, estimated with sources, or undetermined. Uses basis full with sourced headroom, or basis lower_bound for unlikely only. Missing headroom cannot establish likely. Estimates never prove fit. Memory is decimal GB per device, never pooled. Needs an API key (Authorization: Bearer). Costs 2 credits a call; $0.0053–$0.02 per credit by plan or pack (https://modelspec.dev/pricing/). It doesn't choose a model. Proxies POST https://api.modelspec.dev/v1/hardware-fit.
| Parameter | Type | Description |
|---|---|---|
batch | ||
context | ||
device_count | ||
memory | Optional memory override in decimal GB per device | |
model | ||
quantisation | ||
runtime | ||
sku |
vocab
What can a Spec say? Returns ids and task types. Needs an API key. One vocabulary lookup per unknown facet, then decide. Use decide to compare models. Starter includes a minimal Spec. Compact pages: at most 20 rows, no counts; empty pages end results. Search ranks all tokens before subsets; misses offer nearest ids. Split-mode full details exclude model facts and counts.
| Parameter | Type | Description |
|---|---|---|
detail | string | Full returns all display details; defaults to compact. Cross-section matches remain paged |
id | string | Full details for this exact, case-sensitive id; starter resolves across sections and intersects with search |
ids | array | Full details for these exact, case-sensitive ids; starter resolves across sections and intersects with search |
limit | integer | Page size; defaults to 20. Cross-section lookups page even full details and ids |
offset | integer | Skip this many ranked cross-section matches or compact section rows; defaults to 0 |
search | string | Search every section's ids, labels, definitions, values and synonyms. All tokens rank first; else content tokens match, stopwords omitted. A miss returns nearest ids. A non-starter section scopes the… |
section | string | Defaults to starter; with search or id/ids searches every section except coverage. An explicit non-starter section scopes the lookup |
feedback
Was an answer reliable? Returns recorded/not_recorded for a rating after acting; include decision_id. Free, no key, and no Authorization header is forwarded. No prompts, keys or personal details in note; no questions or support. Storage stays off until covered by the privacy statement. Proxies POST https://api.modelspec.dev/v1/feedback.
| Parameter | Type | Description |
|---|---|---|
rating * | string | How the answer held up when you acted on it. |
decision_id | string | The decision_id of the answer this is about. |
note | string | Optional. What was wrong or right. Never a prompt, a key or personal details. |
template | string | Optional. The decision template you used. |
trying_to_decide | string | Optional. What you were trying to decide. |