llm-prices
JSON →Compare LLM API pricing across 22 providers (OpenAI, Anthropic, Google, Mistral, and more) â calculate costs, find cheapest models, 128 models covered.
Install
pip install llm-prices Tools · 4
- list List all models with optional filtering by provider, search term, and sorting
- calc Calculate cost for a specific model call given input and output token counts
- compare Compare multiple models side-by-side for a given token usage
- top Find the cheapest models for a given token workload