genai-prices

JSON →
library 0.0.56 ·python
verified May 20, 2026 install stale

genai-prices is a Python library for calculating the cost of interacting with various Large Language Model (LLM) inference APIs. It aggregates pricing information from major providers like OpenAI, Anthropic, Google, AWS Bedrock, and more. The library is actively maintained by Pydantic, with frequent minor releases (typically weekly or bi-weekly) to keep pricing data and model definitions up-to-date.

total hits 12
actors 4 distinct systems
last hit 4d ago Script
Script
3
GPTBot
2
Humans
2

top countries 🇫🇷 France · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇮🇳 India