Add built-in alias and documentation for both OpenCode subscription plans:
OpenCode Go (opencode-go):
- Low-cost subscription for open-source coding models
- OpenAI-compatible endpoint at https://opencode.ai/zen/go/v1
- Anthropic-compatible models via custom provider config
OpenCode Zen (opencode-zen):
- Pay-per-use curated gateway for premium + open-source models
- OpenAI-compatible endpoint at https://opencode.ai/zen/v1
- Covers GPT-5.x, Claude, Gemini, DeepSeek, GLM, Kimi, Grok
- Includes 7 free models
- Anthropic and Google models via custom provider config
Both share the OPENCODE_API_KEY environment variable.
Technical changes:
- pkg/model/provider/aliases.go: register opencode-go and opencode-zen
- pkg/config/auto.go: add default models for both providers
- cmd/root/models.go: add live fetch from provider /v1/models endpoint
when models.dev has no entry
- pkg/config/examples_test.go: skip opencode-zen in models.dev validation
- docs/: full provider docs pages, nav entry, overview update
- examples/: usage examples for both providers
- .gitignore: add graphify-out/