OpenAI-Compatible Provider
Use ModRouter’s OpenAI-compatible integration:Anthropic-Compatible Provider
If you use Opencode’s Anthropic provider, point it to ModRouter’s/anthropic integration:
Notes
- Keep the provider config aligned with the request shape Opencode sends. OpenAI providers should use
/openai/v1; Anthropic providers should use/anthropic. - Use ModRouter virtual keys for per-user budgets, rate limits, and provider access control.
- Non-native models must support the tool-calling format expected by the selected Opencode provider.
