TokenMint
AI inference price comparison across Anthropic, OpenAI, and Google. Track token pricing, compare models, build the dataset for the future token economy.
Quick Start
pip install token-mint-ai
# Show current pricing
tokenmint prices
# Save a snapshot
tokenmint snapshot
# Start the web dashboard and API
tokenmint serve
Then open http://localhost:8200 for the HTML dashboard.
Features
- 3 providers — Anthropic, OpenAI, Google (Gemini)
- 10+ models — Claude, GPT, O-series, Gemini families
- 4 pricing tiers — budget, standard, premium, flagship
- HTML dashboard — sorted pricing table with cheapest-per-tier highlights
- REST API — /prices, /compare, /history, /models, /cheapest
- Daily snapshots — JSON files for historical price tracking
API Endpoints
| Endpoint | Description |
|---|---|
GET / |
HTML dashboard with sorted pricing table |
GET /prices |
All model pricing (filter by ?provider= or ?tier=) |
GET /compare |
Compare two models (?model_a=gpt-4o&model_b=claude-sonnet-4-20250514) |
GET /history |
Historical snapshots (?limit=30) |
GET /models |
All models grouped by provider |
GET /cheapest |
Cheapest model in a tier (?tier=budget) |
GET /health |
Health check |
Development
git clone https://github.com/jblacketter/token-mint.git
cd token-mint
pip install -e ".[dev]"
pytest
License
MIT
Metadata
Release files for token-mint-ai 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| token_mint_ai-1.0.0.tar.gz | 8.0 kB | With provenance | Details for token_mint_ai-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| token_mint_ai-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for token_mint_ai-1.0.0-py3-none-any.whl |
Total release size: 18.5 kB
Release files / token_mint_ai-1.0.0.tar.gz
| Download URL | token_mint_ai-1.0.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeb8b57c61b57f16bacfc7e0486138f3ea329e27f1c6eee702a6a00fc8f2dcc3
|
|
BLAKE2b-256 checksum How to use checksums |
87cf6bd5a32729569d2a076095829c85f0df40bc1932dc4a07b766fb44998204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / token_mint_ai-1.0.0-py3-none-any.whl
| Download URL | token_mint_ai-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ad4b8afc1caccb1881b7dd4d357969450af63658fcd889d7f53cfb17e12c55b
|
|
BLAKE2b-256 checksum How to use checksums |
07a92f4a24b08538f0b79d8d51ee91a80700b0c3f53e71eee43dd957ef22a38b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logSecurity for token-mint-ai 1.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for token_mint_ai-1.0.0.tar.gz
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 Apr 4, 2026.
Transparency logA note on package security
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.