logicsrc/apps/logicsrc-web/contract
Anthony Ettinger 699eff427a
Some checks are pending
CI / build (push) Waiting to run
test / test (push) Waiting to run
OpenModel 0.1: what a model costs, from the provider that bills you (#212)
There is no shortage of places to look up an AI model and nowhere to look
up what it costs you, from the provider that will bill you, in a form a
program can read. Every provider publishes prices as a marketing page and
every comparison site scrapes those pages. The best of them, models.dev,
is a community database: 8,179 provider offerings across 223 providers,
maintained by volunteers reading pricing pages. Good work, and still a
third party writing down what a company charges.

OpenModel is that table served by its author at
/.well-known/openmodel.json: price per million tokens in, out and cached,
context and output limits, modalities, and what each model can do.

The unit is the offering, a provider and a model together, because the
same model reaches a buyer from many providers at many prices and the
price is the question they came with.

Two rules decide what a row means, and both come from measuring the real
data. A published zero is a fact: of those 8,179 offerings, 638 cost
nothing and 424 published no price at all, so a reader that collapses the
two invents a free model or hides one. And absent is unstated, never
false, because a false travels further than a blank and comes back quoted
as a fact.

Origin is the proof, as with every catalog spec here: a file naming a
provider's web and served by somebody else is a stranger's claim about
that company's prices.

The first reader is the models collection at nichedb.dev/c/models, which
reads descriptors beside the models.dev catalogue in the same vocabulary
so one feed catches both.

Registered in the one registry, with docs/openmodel.md and a docs-only
entry (no landing page yet), and added to the spec-discovery contract so
the family page, docs index, llms feeds and sitemap are proven to carry
it.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 11:21:10 -07:00
..
apex-rewrites.contract.test.ts OpenFleet: agents under a human, the record of who spawned whom, and the ledger the sysop reads 2026-09-13 08:15:03 +00:00
html-sanitizer.test.ts Sanitize rendered web content (#77) 2026-06-15 01:34:44 -07:00
install-command.contract.test.ts feat(web): put the one-line install in front of everyone 2026-07-30 12:55:30 -07:00
logicsrc-web.contract.test.ts Check agent-hour units in checkout validation 2026-09-13 09:35:14 +00:00
marketing-drift.contract.test.ts Add SSH keys and config to credential sharing (#139) 2026-08-13 17:03:00 -07:00
ontology-api.contract.test.ts fix(web): validate ontology pagination (#138) 2026-08-10 18:59:16 -07:00
openskill.contract.test.ts Add OpenSkill descriptions for human capabilities and OpenProfile discovery 2026-09-13 15:47:58 +00:00
openstack.contract.test.ts docs: OpenStack.md 0.1, one Markdown file for what a project is built on (#191) 2026-09-21 02:21:12 -07:00
page-metadata.contract.test.ts seo: give every page its own social title, not the homepage's (#203) 2026-09-24 01:00:25 -07:00
spec-discovery.contract.test.ts OpenModel 0.1: what a model costs, from the provider that bills you (#212) 2026-09-24 11:21:10 -07:00