Portkey Open-Sources Pricing Database for 3,500+ AI Models, Revealing Industry's Cost Attribution Crisis
Key Takeaways
- ▸Portkey released a free, daily-updated API and open-source gateway providing pricing data for 3,500+ models across 50+ providers to solve the industry's fragmented cost attribution problem
- ▸Six major pricing patterns systematically break cost calculations: hidden reasoning token consumption, provider-specific prompt caching economics, context-length tier thresholds, same-model pricing variations across platforms, diverse billing dimensions, and rapidly emerging new cost models
- ▸Enterprise AI adoption stalls at the cost attribution problem—three years post-ChatGPT, organizations still lack a standard, reliable way to calculate actual request costs across providers
Summary
Portkey has open-sourced a comprehensive model pricing database covering 3,500+ AI models across 50+ providers, addressing a critical infrastructure gap in the industry. The company released both updated daily pricing data and an open-source AI gateway with a built-in pricing engine, recognizing that most organizations lack a reliable, canonical source for accurate cost attribution across different AI models and providers.
The announcement reveals six major patterns that break pricing calculations in practice: hidden token consumption in reasoning models, varying prompt caching economics across providers, context-length-based tier thresholds, identical models priced differently across platforms, diverse billing dimensions beyond input/output tokens, and rapidly emerging new cost models. These issues cause real cost discrepancies for enterprises, with some workloads potentially undercounted by 30-40% when using standard calculation methods.
Three years after ChatGPT's launch, Portkey argues there remains no industry standard for calculating per-request costs across providers. Most teams maintain custom in-house pricing databases in JSON files that quickly become outdated, while vendors like OpenAI, Anthropic, and Google continue to introduce new pricing dimensions faster than documentation can keep up. The company's open-source release aims to provide a canonical, regularly-updated solution to eliminate the need for organizations to rebuild cost attribution infrastructure themselves.
- The absence of canonical pricing data forces teams to maintain custom databases that drift quickly, with no single source of truth for the complex edge cases introduced by modern AI model economics
Editorial Opinion
Portkey's move to open-source AI model pricing infrastructure highlights a critical but overlooked pain point in the AI stack. While the industry obsesses over agent design and benchmark scores, the unglamorous problem of accurate cost attribution has remained splintered and ad-hoc—a reality that severely hampers enterprise adoption. By releasing both daily-updated pricing data and open-source tooling, Portkey is essentially building the accounting layer the industry should have standardized years ago. This is exactly the kind of foundational infrastructure that thrives in the open-source model.



