NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #622 most downloaded on PyPI
Calculate prices for calling LLM inference APIs.
Latest stable
0.2.3
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
78 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
Better handle missing optional fields when extracting usage by @alexmojaki in https://github.com/pydantic/genai-prices/pull/153
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.29...v0.0.30
prices for claude sonnet 4.5 by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/150
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.28...v0.0.29
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Extract input_audio_tokens for Google, account for (cached) audio in price by @alexmojaki in https://github.com/pydantic/genai-prices/pull/141
input_audio_tokens for Google, account for (cached) audio in price by @alexmojaki in https://github.com/pydantic/genai-prices/pull/141Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.27...v0.0.28
add license file by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/137
thoughtsTokenCount optional by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/139Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.26...v0.0.27
add thoughtsTokenCount to output_tokens for gemini by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/135
thoughtsTokenCount to output_tokens for gemini by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/135Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.25...v0.0.26
Upgrade uv_build to latest to fix wheel permissions issue by @edaniels in https://github.com/pydantic/genai-prices/pull/131
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.24...v0.0.25
Google vertex usage by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/129
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.23...v0.0.24
change extraction logic for Anthropic by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/125
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.22...v0.0.23
add findProvider to js public interface by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/120
findProvider to js public interface by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/120Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.21...v0.0.22
Extract Usage from API responses by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/116
Usage from API responses by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/116calcPrice by @petyosi in https://github.com/pydantic/genai-prices/pull/117Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.20...v0.0.21
improve fireworks prices by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/36
data.ts as part of make build by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/55Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.3...v0.0.20
fd67740: fix js publish step name
### Patch Changes - fa4be16: test publish
Nothing published for this version
Nothing published for this version
Grok 4 pricing by @samuelcolvin in https://github.com/pydantic/genai-prices/pull/30
Full Changelog: https://github.com/pydantic/genai-prices/compare/v0.0.1...v0.0.2
Nothing published for this version
Nothing published for this version
One column per month.