AI provider router
One endpoint for every model you actually use.
Contraflow sits between your clients and the providers behind them. It picks a route, retries a failed one, and keeps the bill in one place.
Request path
- 01clientany OpenAI-compatible SDK
- 02edgeCloudflare, TLS terminated
- 03tunnelcloudflared, outbound only
- 04routerthis process · :8080
What it does
One surface
A single OpenAI-compatible endpoint in front of every provider you hold a key for.
Fallback on failure
Rate limits, 5xx and timeouts retry down an ordered chain of providers.
Accounting
Per-key usage and cost land in one place, attributed to the caller that asked.