Matthew Charles Vladislav Busel
Matthew Charles Vladislav Busel
@tsung-wei-huang I actually took a full run at this in #771, tried three separate lock-free approaches before concluding the mutex (or at minimum a spinlock) is structurally required on the...
Good points, thanks. On Budget, I see them as complementary layers: Budget governs retry-worthiness, circuit breaker gates all traffic (including first attempts) when the backend is down. They compose rather...
Pushed ddb88ba, CircuitPolicy trait extracted, budget relationship documented. Ready for another look.
Good point on the retry budget, that covers the "don't retry too much" side. The circuit breaker adds the time dimension: once a backend's been down for 30 seconds, fast-fail...
Fat fingered close instead of comment. Reopened.
On item 4: I checked the `ModelPricing::for_model` fallback against Anthropic's pricing page today (https://platform.claude.com/docs/en/about-claude/pricing). Since #506 the catalog wins when it has the model, but anything that falls through still...
Follow-up on the disclosure above: the fix to my crate (llm-cost-dashboard) is on main now: https://github.com/Mattbusel/llm-cost-dashboard/commit/94455fa - Sonnet 5.5 cache read: $0.20 -> $0.10 per MTok (0.05x). - Added Haiku...
The part still open here, after #9939, is that nothing in the binary knows Anthropic's prices. `[cost.rates]`, `live_pricing` (with the models.dev fallback) and `pricing.json` in the data dir all have...
Before the USD caps here (and the enforcement in #7035) go live, the prices in `ironclaw_common/src/llm_costs.rs` need updating. Your table still has Opus 4.5/4.6 at $15/$75 per 1M tokens, but...
`TurnUsage::turn_cost_usd` in `crates/buzz-acp/src/usage.rs` already gives a per-turn cost (or `None`), but nothing checks it before the next turn starts. I wrote llm-budget (crates.io), a small Rust crate that covers only...