genai-prices
JSON →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.
Traffic · last 30 days ↓50% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 4d ago Script
top countries 🇫🇷 France · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇮🇳 India
Resources
homepagegenaiprices.com ↗
API endpoints
full doc /v1/registry/genai-prices
compatibility /v1/registry/genai-prices/compatibility