Dated AI model prices, cache rates and billing rules, with no tracking dependencies.
pip install veqen-pricebook==2026.10.30 Copy PIP instructions
Dated model pricing data for developers who need a local lookup table without a tracking SDK. The packages have no runtime dependencies, make no network requests, and require no account or API key.
pip install veqen-pricebook npm install @veqen/pricebook Python:
from veqen_pricebook import load book = load() print(book["version"], book["schema"]) print(book["models"]["openai/gpt-4o"]["rates"]) JavaScript:
import book from '@veqen/pricebook'; console.log(book.version, book.schema); console.log(book.models['openai/gpt-4o'].rates); For a raw file, use the Python package resource veqen_pricebook/prices.json, the npm export @veqen/pricebook/prices.json, or the public JSON endpoint. The endpoint follows the deployed book. Installed packages remain pinned until you update them.
Schema 2 has version, schema, providers, models and pricing metadata. Model keys include the hosting provider. Token rates are USD per million tokens, not per token. Non-token model rates use the model's declared unit. Preserve cache reads, five-minute and one-hour cache writes, service tiers, batch rules, long-context thresholds and residency multipliers when calculating costs. Missing rates mean unavailable data, not zero cost.
This package supplies data, not a universal tokens × price calculator. Use veqen or @veqen/sdk for the calculation engine and usage adapters. Review the price-book documentation, model sources and migration from tokencost.
Package version YYYY.M.D identifies the bundled snapshot date. Pin the version in a lockfile to reproduce a calculation. The repository's reviewed SDK snapshot is the source for both packages. python scripts/package_pricebook.py regenerates their data and metadata without accessing the network. A newly deployed snapshot does not silently change an already installed package.
Provider prices and availability can change. These are list prices and verified billing rules, not your contract, tax treatment or invoice. Reconcile recorded usage against your provider's bill before treating an estimate as an accounting balance.
All 2 files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




