AI Model Pricing Manager
Manages and updates AI model token pricing and caching configurations within the Splitrail framework.
This skill provides a standardized workflow for maintaining up-to-date pricing data for various Large Language Models (LLMs) within the Splitrail codebase. It guides users through modifying compile-time hash maps in Rust, defining pricing structures for flat or tiered rates, and configuring provider-specific caching support for Anthropic, OpenAI, and Google. It is an essential tool for developers who need to ensure accurate cost estimation and financial tracking when integrating multiple AI providers into their applications.
Key Features
01Management of model aliases for versioned API endpoints
02Guided updates for compile-time phf pricing maps in Rust
03Configuration of provider-specific caching support
04Integration with standardized cost calculation functions
05Support for both flat-rate and tiered pricing structures
060 GitHub stars
Use Cases
01Configuring caching support for optimized API usage analysis
02Adding new AI models to a cost-tracking dashboard or proxy
03Updating token prices following provider-side pricing adjustments