🚀 Where Did the LLM Tokens Go? A 100-Line Proxy That Finds Your Priciest PromptYour LLM bill shows the total, not which feature or prompt caused it. This post builds a ~100-line Python proxy that logs tokens per call to SQLite, reports cost by feature and prompt, and fails over to a second provider on 429 or 5xx errors.Read more: https://zyvop.com/where-did-the-llm-tokens-go-a-100-line-proxy-that-finds-your-priciest-prompt-b1pxy?utm_source=mastodon&utm_medium=social&utm_campaign=crosspost#cost #LLM #Proxy #Python
🚀 Where Did the LLM Tokens Go? A 100-Line Proxy That Finds Your Priciest PromptYour LLM bill shows the total, not which ...