Skip to content

Add OpenCode Zen as an alternative AI provider - #5

Open
japherwocky wants to merge 1 commit into
DorsaRoh:mainfrom
japherwocky:feature/opencode-zen
Open

Add OpenCode Zen as an alternative AI provider#5
japherwocky wants to merge 1 commit into
DorsaRoh:mainfrom
japherwocky:feature/opencode-zen

Conversation

@japherwocky

Copy link
Copy Markdown

Hello -

This adds OpenCode Zen, which among other things, offers some great free inference models like glm 4.5. This is AI generated but I did QA it.

I did not have a Claude or GPT key handy but wanted to play with this. It's super fun, thank you for publishing it! If you aren't interested in this completely unsolicited PR, I understand!

minimax-m2.1-free says:

OpenCode Zen provides access to curated models including Claude, GPT, and other coding-optimized models through a single API endpoint. This adds flexibility for users who may prefer OpenCode Zen's pricing or model selections.

Changes:

  • Add Provider dropdown to settings (Anthropic, OpenAI, OpenCode Zen)
  • Fetch OpenCode Zen models dynamically from /api/opencode-models proxy
  • Route Claude models to Anthropic SDK, GPT models to OpenAI SDK
  • Use baseURL config to direct requests to OpenCode Zen endpoints

OpenCode Zen provides access to curated models including Claude, GPT, and
other coding-optimized models through a single API endpoint. This adds
flexibility for users who may prefer OpenCode Zen's pricing or model
selections.

Changes:
- Add Provider dropdown to settings (Anthropic, OpenAI, OpenCode Zen)
- Fetch OpenCode Zen models dynamically from /api/opencode-models proxy
- Route Claude models to Anthropic SDK, GPT models to OpenAI SDK
- Use baseURL config to direct requests to OpenCode Zen endpoints
@vercel

vercel Bot commented Jan 1, 2026

Copy link
Copy Markdown

@japherwocky is attempting to deploy a commit to the dorsaroh's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant