Skip to main content

modelspec

ModelSpec is an analysis of alternatives for AI models: it decides which models fit a job from your requirements, sourced benchmarks, and real costs, and shows its work.

It reads a spec, filters models and offerings against its constraints, and explains the decision from a versioned snapshot. The catalogue starts as YAML and Markdown, then exports to JSON on Cloudflare Pages (modelspec.dev). No database is on the serving path.

Use ModelSpec

Use the free, rate-limited decision board. Machines have three ways in: the keyed CLI, the remote MCP Worker, and the HTTP API. Decisions require a ModelSpec API key. No data download and no local decision cache.

uvx --from modelspec-dev modelspec       # run without installing
pipx install modelspec-dev
pip install modelspec-dev

pip install modelspec is an unrelated project. Use modelspec-dev. Version 0.2.0 was yanked. 1.1.0 is the thin keyed client. It keeps modelspec compare. decide sends the bounded row list when the Spec omits fields, and --emit-router-config returns a router configuration.

Run modelspec or modelspec help agent --json for orientation, modelspec key for prices and access, and modelspec auth set to store a key in a 0600 file under your user config directory. MODELSPEC_API_KEY wins. Then use modelspec decide --spec FILE|- or modelspec decide --template ID. modelspec setup mcp --client claude-desktop prints a client configuration; --write shows a diff and needs confirmation or --yes.

The CLI sends no telemetry and reads no provider API keys. Every error supplies next steps. See the agent guide, OpenAPI, pricing and keys, decision contract, and CLI contract.

Serving path

models/*.md ──▶ pipeline/build.py ──▶ static JSON on Cloudflare Pages
                                      (modelspec.dev /api/*.json)
                                            │
Hosted API ──────────────────────────────────┘

FalkorDB is optional local graph exploration only. It is not required to rank, fit, or render the sites.

Contribute

Read CONTRIBUTING.md. Sign off commits (git commit -s) to certify the DCO — not a copyright assignment. Every fact carries a source and the date it was read; unknown means an empty field.

The public catalogue is a frozen data image. Fresh card edits belong in the private turbobeest/modelspec-data repository, under models/{provider}/{model-slug}.md; open the data PR there. The public repository's Data freeze check rejects ordinary fresh-card PRs. See the data-split process for the data paths and publication flow. Code and documentation changes belong in this repository.

License

Two licences, because the code and the corpus want different things.

Part Licence
Code (everything outside the data directories) MIT
Data (models/, benchmarks/, hardware/, hosts/) CC BY-SA 4.0

The corpus is share-alike: build on it, including commercially, but if you redistribute it or a derivative, credit ModelSpec and publish yours under the same terms. The CLI source remains MIT-licensed. Full text in LICENSE and LICENSE-DATA. See LICENSING.md.

Every card and page records the sources it draws on and the date each was read. Those sources keep their own licences.

Metadata

Release files for modelspec-dev 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modelspec-dev 1.1.0
File Size Uploaded Provenance Actions
modelspec_dev-1.1.0.tar.gz 81.5 kB With provenance Details for modelspec_dev-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modelspec-dev 1.1.0
File Interpreter ABI Platform Actions
modelspec_dev-1.1.0-py3-none-any.whl Python 3 none any Details for modelspec_dev-1.1.0-py3-none-any.whl

Total release size: 116.9 kB

Release files / modelspec_dev-1.1.0.tar.gz

Download URL modelspec_dev-1.1.0.tar.gz
Size 81.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e3a5c2f375266a1c89139bc0a1143a3ef9bdb954ee66fc6e08705a857795591
BLAKE2b-256 checksum
How to use checksums
d7a3797e256754c751691d0f634c1e4254561f3ac0e7ce6563ca862e054ce9cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / modelspec_dev-1.1.0-py3-none-any.whl

Download URL modelspec_dev-1.1.0-py3-none-any.whl
Size 35.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05de042ea173740aef167041f29267e967383ce0e47c4e3fdc5e0c42d7678189
BLAKE2b-256 checksum
How to use checksums
4d606655dc115350230b03f6058d0da7137508830821e875eb1f160a7b10c1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for modelspec-dev 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for modelspec_dev-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page