{"library":"genai-prices","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.0.56","tags":["AI","LLM","pricing","cost","models","generative-ai"],"install":[{"cmd":"pip install genai-prices","imports":["from genai_prices import calc_price","from genai_prices import Usage","from genai_prices import update_prices"]}],"homepage":"https://genaiprices.com","github":"https://github.com/pydantic/genai-prices","docs":null,"changelog":"https://github.com/pydantic/genai-prices/releases","pypi":"https://pypi.org/project/genai-prices/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3.8,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/genai-prices/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Tue Jun 30","last_verified":"Tue Jun 30","next_check":"Thu Jul 30","install_tag":"stale"}}