Gremlord
A local router that connects Claude Code to multiple models and sets a cap on usage costs.
What does it do?
After assigning model aliases in a configuration file, users can send requests to Anthropic, OpenAI, xAI, or compatible endpoints while keeping Claude Code's interface and tools. Local SQLite records show costs by model, profile, and session, and users can set daily, weekly, and monthly spending limits. Automatic routing compares request size with each model's context window before choosing a model.
Key features
- Route Claude Code requests to multiple model providers
- Record and view request costs by model, profile, and session
- Reject the next request when a daily, weekly, or monthly budget limit is reached
- Route requests automatically by comparing request size with model context windows
- Generate subagent definitions for configured model aliases