
This article is a companion to the video, not a replacement for it, and the video is the starting point for everything below.
In the video: the presenter explains why every provider SDK locks you in, traces Respan's origin as a rewrite of a 100,000-line LiteLLM wrapper layer, states the launch facts, tours providers and config, runs a live zero-key bench test with real routing output, covers MCP tools and plugins, voice and image translation, vendor benchmarks with caveats, and gives a homelab verdict.
Added from the sources: install commands, SDK base URLs, config keys, and route behavior were checked against the official Respan quickstart and configure docs, plus the respan-gateway repo and the HN launch thread. Live model completions with real vendor keys were untested here, so this guide proves routing and translation, not paid inference.
In the video: every AI vendor ships its own client library with its own request shape, so switching models means rewriting calls, hand-building outage fallbacks, and scattering secrets across projects.
Added from the sources: Respan Gateway is an open-source Rust binary that accepts calls in OpenAI, Anthropic, and Gemini client formats and routes them to many model providers, translating chat, images, speech, transcription, embeddings, video jobs, and realtime voice plus routing, fallbacks, MCP tools, and a request log. The stated origin story is that Respan served thousands of organizations on LiteLLM since 2024, outgrew a wrapper layer past 100,000 lines, hit unexplained connection errors after a routine January upgrade, and rewrote around a tiny core where providers and tools are plugins on one public interface.
http://localhost:8080/v1 for OpenAI-style clients or http://localhost:8080 for Anthropic and Google-style clients, name any model, and the gateway picks the provider..env file, and the gateway log records model, provider, latency, tokens, and cost per call.In the video: Respan, a Y Combinator 2024 startup, launched on Hacker News on October 20th with v0.2.0 after a v0.1.0 the night before, under a dual MIT or Apache 2.0 license, with the repo past 100 stars in launch week and the founder answering hard questions in a long launch thread.

Added from the sources: the releases page confirms v0.1.0 on October 19 and v0.2.0 as latest, and the docs state verbatim that respan-gateway is pre-alpha and its config and APIs may still change. Say 16-plus built-in vendors rather than exactly 16, since the vendor table has grown past the sentence that says 16.
In the video: install is one binary, with a shell installer, pip, cargo, or a small distroless Docker image, and the web UI rides inside the binary with no separate frontend to deploy.
Added from the sources: the quickstart installs by release asset, and a source build needs Rust 1.88 or later and ships with no web UI unless you build it first. Set VERSION to the release you want and confirm the asset name exists before running the download.
VERSION=v0.2.0 with curl -fsSL against the release tarball URL, pipes to tar xz, then moves respan-gateway onto your PATH.cargo install --git https://github.com/respanai/respan-gateway respan-gateway, and the Docker form pulls ghcr.io/respanai/respan-gateway listening on $PORT with 8080 as default. The Docker path is untested here.respan-gateway --version, which should print respan-gateway 0.2.0.export OPENAI_API_KEY="sk-..." or export ANTHROPIC_API_KEY="sk-ant-..." or export GEMINI_API_KEY="...", then running respan-gateway with no file. Every key found in the environment becomes a provider.In the video: 16-plus providers are built in, including OpenAI, Anthropic, Gemini, xAI, DeepSeek, Mistral, Groq, OpenRouter, Together, Fireworks, Cerebras, Perplexity, Azure, and Cloudflare, plus Ollama and vLLM for local models and any OpenAI-compatible endpoint you rack yourself.
Added from the sources: the configure docs list the built-in vendors and the base_url plus formats pattern for anything else speaking an OpenAI, Anthropic, or Gemini-style API. Client key material can be any value until you set client_keys.
http://localhost:8080/v1 and can ask for claude-sonnet-4-5-20250929.http://localhost:8080 and can ask for gpt-5.5.http://localhost:8080 and can ask for a Claude model, while plain curl posts to http://localhost:8080/v1/chat/completions.provider/model prefix such as openai/gpt-5.5, which is handy when two vendors serve the same model name.base_url = "http://localhost:11434" for Ollama or base_url = "http://localhost:1234/v1" with formats = ["openai-chat"] for LM Studio style endpoints. Local-model routing against a live Ollama server is untested here.In the video: the bench machine holds no API keys and no local model server, which makes it the perfect honest test. respan-gateway --version prints 0.2.0, a six-line config pointing at a local Ollama provider passes check, serve prints endpoints and a curl to try, and chat calls in OpenAI and Anthropic formats both route, translate, and fail honestly at the missing backend.

Added from the sources: the sandbox record in the research folder matches this shape exactly: check prints version, config, provider line, six endpoints for chat, messages, embeddings, models, health, and UI, plus defaults, route rules, auth off, and gateway.toml: ok. Serve on loopback, curl against /healthz returning ok, /ui/ returning HTTP 200, and /v1/models returning a structured upstream error naming the unreachable provider all confirm routing without pretending inference worked.
respan-gateway init, validate with respan-gateway check, optionally call every provider with respan-gateway check --online, then serve with respan-gateway.http://localhost:8080/ui/requests and explain any model name with http://localhost:8080/ui/api/routes/explain?model=smart.In the video: named routes group model families, with fallback, retries, cheapest-or-fastest picks, and hedged requests that race a slow call against a second provider. MCP servers and built-in tool vendors sit behind the gateway so plain chat calls can use web search, memory, and sandbox tools whatever the client or model.
Added from the sources: the configure docs show a routes.smart block with to candidates and hedge = "800ms" racing them, an mcp.search block with a server URL, a plugins.tool_loop block giving those tools to every model, and a plugins.respan block sending one trace per request. Hot reload works via SIGHUP, --watch, or the web UI reload, with in-flight requests finishing on the old config.
provider/model prefix, then first matching glob route, then the provider whose model list contains the model, then the default provider.In the video: read the numbers slide carefully, because the headline figures are vendor-run with no published methodology, not independent results.

Added from the sources: the project claims 0.07 ms added p50 latency, 56,734 requests per second, 31 MB of memory, and about 3x the next-fastest gateway versus Bifrost, Portkey, and LiteLLM, all self-reported. Present them as vendor claims with the vendor-run, directional label, or omit the numbers.
Run this if you juggle providers and want one endpoint for code, agents, and automations with keys in one place on your hardware and per-call cost in the log. Local-only chat shops should keep Ollama plus Open WebUI for pure offline chat, since this gateway happily fronts them instead of replacing them. Skip it if you need stable plugin APIs today, because pre-alpha means the ground moves.