Skip to content

jblacketter/token-mint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenMint

PyPI Python License: MIT

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

About

AI inference price comparison. Track token pricing across Anthropic, OpenAI, Google.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages