feat(models): add minimax-m2.5 via opencodezen and set as openclaw default
SH
8mo ago+62+62+01234567890123456789-3-3-0123456789
Changes
- Add
minimax-m2.5tomodels.json - Add
opencodezenprovider to cliproxyapi config (config.tpl.yaml/config.template.yaml) usingOPENCODE_API_KEYpointing tohttps://api.minimax.chat/v1 - Add
minimax-m2.5model entry to openclaw's cliproxy provider list (1M context, 40960 max tokens) - Set
cliproxy/minimax-m2.5as the default primary model in openclaw agents, withclaude-opus-4-6as first fallback - Add
minimax-m2.5to opencode's cliproxyapi provider models - Document
OPENCODE_API_KEYin.env.example
Technical Details
- Template files (
*.tpl.*) updated with__MINIMAX__/__MINIMAX_PRETTY__placeholders - Generated files updated via
scripts/llm-update.sh - openclaw default primary:
cliproxy/claude-opus-4-6→cliproxy/minimax-m2.5(opus moved to fallback)
Testing
scripts/llm-update.shruns cleanly- All template substitutions verified in generated output files
Generated with Claude Code by claude-sonnet-4-6
Summary by cubic
Adds minimax-m2.5 via the opencodezen provider and sets it as the default model for openclaw agents. This delivers a 1M-token context window while keeping claude-opus-4-6 as the first fallback.
-
New Features
- Added
opencodezentocliproxyapi(basehttps://api.minimax.chat/v1) usingOPENCODE_API_KEY; exposesminimax-m2.5. - Registered
minimax-m2.5inopenclaw(context 1,000,000; max tokens 40,960) and setcliproxy/minimax-m2.5as primary with fallbackscliproxy/claude-opus-4-6andcliproxy/glm-4.7. - Mapped
minimax->minimax-m2.5inmodels.jsonand added the model toopencodeprovider models. - Added template placeholders
__MINIMAX__and__MINIMAX_PRETTY__.
- Added
-
Migration
- Add
OPENCODE_API_KEYto your environment (see.env.example) to enableminimax-m2.5viacliproxyapi. - To keep the old default, set
cliproxy/claude-opus-4-6as the agent primary in your local config.
- Add