mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
1 KiB
1 KiB
GPU Free-Tier Arbitrage Demo
This demo package showcases provider-level free-tier-first routing and deterministic fallback using a local Plano endpoint on localhost:12000.
Files
config.yaml- demo Plano config witharbitrage_policydemo.rest- runnable REST requests for IDE REST clients
Prerequisites
Set API keys for providers used in this demo:
OPENAI_API_KEYGROQ_API_KEYTOGETHER_API_KEY
Run the demo
From this directory:
planoai up config.yaml
Then run requests from demo.rest in your REST client.
What to show during the demo
- Run
free-tier-first showcaseand verify response success. - Inspect logs/traces for provider selection reason and selected candidate.
- Force a retryable error on the first candidate (for example, temporarily invalid key), then run
fallback showcase. - Verify fallback metadata appears in traces/logs:
routing.selection_reasonrouting.is_fallbackrouting.fallback_triggerrouting.next_candidaterouting.upstream_endpoint