-
- Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
Feature Request: OpenCode Zen Provider Integration
Summary
Add native support for OpenCode Zen as a model provider in Agent Zero, enabling access to free models like Big Pickle, MiMo V2 Pro Free, MiniMax M2.5 Free, and others without requiring separate API keys.
Motivation
OpenCode Zen (https://opencode.ai/zen) provides a curated set of models optimized for coding agents, including several free models. These models are served through an OpenAI-compatible API at https://opencode.ai/zen/v1/chat/completions.
Currently, using OpenCode Zen with Agent Zero requires:
- Setting up a local proxy to translate between LiteLLM's expected format and OpenCode's API
- Managing API keys manually
- Dealing with provider detection issues (Ollama vs OpenAI format mismatches)
Native integration would eliminate this complexity.
Proposed Implementation
Add a new provider entry in conf/model_providers.yaml:
opencode_zen: name: OpenCode Zen litellm_provider: openai kwargs: api_base: https://opencode.ai/zen/v1The API key would be obtained from https://opencode.ai/auth and stored as OPENCODE_ZEN_API_KEY.
Available Models (Free)
| Model | ID | Notes |
|---|---|---|
| Big Pickle | big-pickle | Stealth model, rotating capabilities |
| MiMo V2 Pro Free | mimo-v2-pro-free | Xiaomi's coding model |
| MiMo V2 Omni Free | mimo-v2-omni-free | Multimodal variant |
| MiniMax M2.5 Free | minimax-m2.5-free | Strong coding model |
| Nemotron 3 Super Free | nemotron-3-super-free | NVIDIA's model |
API Details
- Endpoint:
https://opencode.ai/zen/v1/chat/completions - Format: OpenAI-compatible
- Auth: Bearer token (from OpenCode Zen account)
- Models list:
https://opencode.ai/zen/v1/models
Benefits
- Free models for development/testing
- Curated models optimized for coding agents
- Single API key for multiple high-quality models
- No local proxy or Ollama setup required
- OpenCode Zen handles provider selection and optimization
References
- OpenCode Zen docs: https://opencode.ai/docs/zen/
- OpenCode Zen auth: https://opencode.ai/auth
- Pricing: Free models available, paid models at cost
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels