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 cost, 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; 0.4.0 is the thin keyed client and adds modelspec compare.

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.

Cards live in models/{provider}/{model-slug}.md. Edit and open a PR.

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.

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 0.4.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 0.4.0
File Size Uploaded
modelspec_dev-0.4.0.tar.gz 71.7 kB Details

Built distribution (wheel)

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

Total release size: 104.1 kB

Release files / modelspec_dev-0.4.0.tar.gz

Download URL modelspec_dev-0.4.0.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
351198095a8b90320cf155f459b817cd2c3361b4e9d5f2363331f78dd0203573
BLAKE2b-256 checksum
How to use checksums
36da47008fbb9b84b9063a0ab6296db4313d861d487e1b32089700d02c68a641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

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

Download URL modelspec_dev-0.4.0-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b72e961f7e524d7e68f0c0308c551621206d2b9c69eb8c9e0766469f15d5b8f2
BLAKE2b-256 checksum
How to use checksums
af3c585ea99da1f21692e6d467d9ca527c97da323501f0d702f98b33ddea7f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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