Tools
OpenCode
Configure OpenCode providers with AnyRoute.
OpenCode can use different provider types. Select the provider that matches your target group.
| OpenCode provider | Base URL | Recommended group |
|---|---|---|
| Anthropic | https://anyroute.io/v1 if the provider expects Anthropic SDK-style /v1, otherwise https://anyroute.io | Anthropic group |
| OpenAI | https://anyroute.io/v1 | OpenAI group |
| Gemini | https://anyroute.io/v1beta | Gemini group |
Use your AnyRoute API key as the provider API key.
The Dashboard Use Key dialog can generate an OpenCode provider config. Prefer that output when available because it reflects the selected group.
AnyRoute Docs