Laravel AI Guard 🛡️💰🤖 - Control and optimize AI costs in Laravel AI SDK applications 🚀 Track OpenAI & LLM token usage 📊, estimate AI costs before execution
-
Updated
Feb 14, 2026 - PHP
Laravel AI Guard 🛡️💰🤖 - Control and optimize AI costs in Laravel AI SDK applications 🚀 Track OpenAI & LLM token usage 📊, estimate AI costs before execution
LLM budget control and cost governance for AI agents. Python library for token budgets, usage limits and guardrails for OpenAI, Anthropic, LangChain, LangGraph and agentic systems.
Example showing how to control OpenAI API costs using the shekel Python library
Example showing how to enforce LLM budgets on LangChain using the shekel Python library
Example showing how to control Anthropic API costs using the shekel Python library
Example showing how to enforce LLM budgets on LangGraph agents using the shekel Python library
Before/after examples comparing LLM usage with and without shekel budget enforcement
Add a description, image, and links to the ai-cost-control topic page so that developers can more easily learn about it.
To associate your repository with the ai-cost-control topic, visit your repo's landing page and select "manage topics."