Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.0 instead.
Reason given by maintainers: Retired. ModelSpec is available only as a hosted service at modelspec.dev.

modelspec

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

Quick start

pipx install modelspec-dev
modelspec snapshot fetch
modelspec vocab templates
modelspec decide --template budget-coding

snapshot fetch is the only networked command. After that, vocab and decide read the cache.

The supported interface is docs/cli-contract.md:

modelspec snapshot fetch [--origin URL]
modelspec snapshot status [--json]
modelspec vocab [SECTION] [--json]
modelspec decide [SPEC.yaml] [--template ID] [--check] [--json]

Legacy (v1)

The following commands keep the retired fixed-benchmark contract for existing callers:

modelspec offline rank <use-case> [...]
modelspec offline fit [<hardware-id>]
modelspec offline class-fit [<task>]

The root rank, search, compare, hardware, info, stats, and gaps commands are also legacy v1 commands and are outside the contract. gaps works offline from the local YAML cards; the other root legacy commands need a local FalkorDB.

Serving path

models/*.md ──▶ pipeline/build.py ──▶ static JSON on Cloudflare Pages
                                      (modelspec.dev /api/*.json)
                                            │
CLI `snapshot fetch` ───────────────────────┘
Wizard / 3D graph read the same JSON in the browser.

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 code is permissive so the CLI can go anywhere. 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.2.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.2.0
File Size Uploaded
modelspec_dev-0.2.0.tar.gz 64.1 MB Details

Built distribution (wheel)

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

Total release size: 64.5 MB

Release files / modelspec_dev-0.2.0.tar.gz

Download URL modelspec_dev-0.2.0.tar.gz
Size 64.1 MB
Tags Source
SHA-256 checksum
How to use checksums
bd98ac82777384a6c6fd966e0be364d97f3e4b7eb252348968034a1e4ad12edd
BLAKE2b-256 checksum
How to use checksums
f7bc14feafea1c7056a99661521307b092519820047bbb8d6577df7eadb2ef79
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 Sep 29, 2026.

Transparency log

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

Download URL modelspec_dev-0.2.0-py3-none-any.whl
Size 395.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06dbacb263b165bbe80dca12951e824288593c8b109b6b0998b469a55763636c
BLAKE2b-256 checksum
How to use checksums
0d767c9b568d690e7f41cfc96968f3f48ed619d4dfb7c76cff7715505a5d4140
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 Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.0 This release

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