CostKey shows which function in your codebase costs what. Automatically. Add one line of code and every AI call gets mapped to the business logic function that triggered it. Cost per function, cost per deploy, spike detection. 15 providers including OpenAI, Anthropic, Google. Works through Portkey and Helicone. Python and TypeScript. Free.