mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 20:33:50 +00:00
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> |
||
|---|---|---|
| .. | ||
| contract | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||