Import OpenCode Zen subscription into stagewise
Allow users to import their OpenCode Zen subscription/setup into stagewise to continue using a known billing provider.
Possible Implementation
At setup or on app start
Offer an option to import OpenCode Zen as a provider for models. All default models that are supported by OpenCode Zen could then simply be routed to the OpenCode Zen Provider. (Maybe we also disable all others to avoid confusion?)
At runtime
Users should simply have the default stagewise experience but with requests going through the OpenCode Zen provider.
Technical
OpenCode Zen offers OpenAI Responses API, Anthropic Messages API and OpenAI Chat Completions API (the one used depends on the model). We could just create multiple providers and assign all models supported by OpenCode Zen to their respective endpoints.
Potential Issues
Could lead to confusion because there is some overlap between our default list of models and the supported models by OpenCode, so we would have to check that out...
Source: stagewise-io/stagewise