OpenCode (gateway)
OpenCode (gateway)
Route OpenCode’s LLM calls through the Respan gateway for automatic logging, caching, and model switching. Only your RESPAN_API_KEY is needed.
Setup
Switch models
Change the -m flag to use 250+ models from different providers through the same gateway.
OpenCode’s model flag includes the configured provider namespace. This page avoids showing Claude or Gemini behind the openai/ provider; use the Respan API or OpenAI SDK gateway pages for provider-neutral Claude and Gemini examples.
See the full model list.