Player not loading? Watch on YouTube
This tutorial runs Bifrost locally as a gateway for Claude Code, Gemini CLI and OpenCode. OpenRouter, Groq and Cerebras provide remote inference using open source models through those coding clients.
The walkthrough adds provider API keys, installs the clients with npm and connects them through the separate Bifrost CLI. It includes a PATH configuration step and the speaker's workaround for Claude Code's authentication prompt: a nonempty dummy Anthropic API key. Gemini CLI uses a Google account login in the demonstration. Coding tasks include a Python weather script and a website availability checker. The Bifrost dashboard records requests, tool calls and routing decisions.
A global rule routes requests to Cerebras first, then Groq, then OpenRouter. In the OpenCode test, the speaker attributes one failure to a Cerebras rate limit. Groq rejects a reasoning-content property in the payload, and OpenRouter completes the request. The later dashboard reports a 43% provider success rate and 100% user success for that test. These figures describe the demonstration.
The final section explains retries within a provider, fallbacks between providers and configurable retry budgets and backoff. The tests show why both provider limits and payload compatibility matter when routing coding requests.