Pypi budgetrouter: open-source Python library for LLM model routing, fallback, and budget caps
Article Content
- •budgetrouter 0.2.0 is a dependency-free Python library for routing LLM requests across models, with fallback and budget caps.
- •Provider failures are classified by kind, and auth errors abort by default rather than falling back to other providers.
- •Retries and cross-provider auth failover are opt-in policy settings, not default behaviour.
- •Every attempt is recorded on completion or error objects, and the library includes a FakeProvider for keyless testing.
- •The articles describe a software release only and report no vulnerability, exploitation, or security incident.
A PyPI package named budgetrouter version 0.2.0 is published as a lightweight, dependency-free library for multi-model routing in LLM and agent applications. The library routes each request to a model based on caller-supplied tags or estimated input size, falls back to other providers when a call fails, and halts calls once estimated cumulative cost exceeds a cap. The stated motivations are cost overruns from looping or retrying agents and single provider errors ending an entire run. Failures are classified by kind (timeout, rate_limit, server_error, auth, and others), with auth errors aborting immediately by default and retries or cross-provider auth failover available as opt-in policy settings. Every attempt is recorded on the returned completion or error object. The package includes a FakeProvider for running the quickstart without API keys, and bundled adapters for OpenAI and Anthropic API shapes. The PyPI page and a GitHub repository under the samyang777 account carry the same README text, both dated 2026-11-24. The articles describe a software release and contain no reports of security vulnerabilities, exploitation, or affected victims.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (4)
Following this threat?
Track Anthropic in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Does this library have a known vulnerability?
Does budgetrouter need API keys to try it?
Does budgetrouter run my agent?
Continue Reading
CVE-2026-123890: Auth bypass in VMware vCenter exploited by Armory Castle before patch CVE-2026-123890, a flaw in VMware vCenter Server rated CVSS 9.8, allows an unauthenticated remote attacker to obtain an administrator session on the platform. According to the Google Threat Intelligence Group, the flaw was exploited by the espionage group Armory Castle (formerly UNC5221), which has suspected China…