Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions providers/opencode/provider.toml
Original file line number Diff line number Diff line change
@@ -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"
Loading