Circuit Breaker × Token Bucket

Interactive demo for LLM Router Architecture — each browser tab has its own isolated state

Circuit Breaker

CLOSED
HALF-OPEN
OPEN
Circuit is healthy. Requests flow through normally.

Token Bucket

100 / 100

refill rate: 2 tokens/s · capacity: 100

Scenarios

Step 1 is a good starting point — it shows the normal happy-path flow.

Demo values — not production defaults: cooldown 10 s · probe lock 5 s · capacity 100 tokens · failure threshold 3

Event Log

No events yet — press a button to start

Session resets on page reload · No auth · Data expires after 1 h