jonaaix/laravel-ai-costs
Cost tracking for Laravel AI agents that calculates API spend from the usage metadata returned by each response. A TracksAiCost trait replaces Promptable on an agent and exposes lastCost() and totalCostUsd(), so per-prompt and per-instance costs are available in code. Pricing for more than 2,600 models comes from the LiteLLM database, cached daily and overridable locally, with zero configuration. Installed through Composer.
Maintenance activity