Skip to content

v0.1.6

Choose a tag to compare

@srnoob2570 srnoob2570 released this 04 Sep 00:25
· 23 commits to main since this release

Added

  • bun run update-pricing. You refresh the pricing table by hand, never on a schedule. The command fetches Ollama's live rate card, prints every rate that changed and rewrites catalog/pricing.json. When the page and the catalog disagree, say a model Ollama just added or retired, it stops with a report and writes nothing.
  • Pre-commit hooks. Contributors get prettier formatting and a typecheck gate; pre-commit install sets them up.

Changed

  • Pricing now shows the official Ollama Cloud rate by default, the number your credits actually pay per million tokens. The rates come from Ollama's public rate card and ship in catalog/pricing.json. No configuration needed. pricing: "off" turns it off; the old pricing: "reference" still works and means on.
  • The /model card lists the three rates: input, cached input and output. Cache reads are priced at the cached-input rate, so sessions with cache hits cost what Ollama actually charges.

Removed

  • The upstream "reference price" and catalog/pricing-overrides.json. That estimate existed because Ollama published no rates; with an official rate card there is nothing left to correct. Pricing no longer ships inside catalog/catalog.json either. The table is the only home for rates, and the automated catalog update cannot touch it.

Full changelog: v0.1.5...v0.1.6