diff --git a/providers/opencode/provider.toml b/providers/opencode/provider.toml index b052bdb7c1..760de03c64 100644 --- a/providers/opencode/provider.toml +++ b/providers/opencode/provider.toml @@ -1,12 +1,5 @@ name = "OpenCode Zen" env = ["OPENCODE_API_KEY"] npm = "@ai-sdk/openai-compatible" -# Raw HTTP endpoint map (source accessed 2026-06-25): Zen uses POST -# `/zen/v1/responses` for OpenAI, `/zen/v1/messages` for Anthropic and Qwen, -# `/zen/v1/models/{model}` for Gemini, and `/zen/v1/chat/completions` for the -# listed compatible models. Zen does not document reasoning request fields, -# values, bounds, translation, or passthrough; upstream-native formats are not -# independently guaranteed by this endpoint table. -# https://opencode.ai/docs/zen#endpoints -api = "https://opencode.ai/zen/v1" +api = "https://console.opencode.ai/inference/openai/v1" doc = "https://opencode.ai/docs/zen"