Commit graph

3 commits

Author SHA1 Message Date
Jonathan Singer
aa95b0d465 Run Claude on OpenCode's Anthropic endpoint, and name the plan in the UI
Claude models are served on /messages, which the OpenAI SDK can't speak, so
those runs go through LiteLLM's Anthropic route instead. Prompt caching moves
with them, since LiteLLM consumes the injection points the raw SDK rejects.

Zen and Go now show up by name instead of both reading 'OpenCode
subscription', and Zen keeps its cost tracked: it bills prepaid credits per
request, so those runs were never actually free.
2026-08-31 21:07:10 +00:00
yoni
8ed2433574 Fix OpenCode routes: drop LiteLLM-only prompt-cache arg, persist subscription provider for viewer label 2026-08-31 21:06:48 +00:00
yoni
9408d29643 Add OpenCode (Zen/Go) subscription support: strix auth login opencode + opencode/<model> routing 2026-08-31 21:06:48 +00:00