feat: add DeepSeek V3.2 and MiniMax M2.1 models to NVIDIA provider
Closes #8647 Added two new models to the NVIDIA provider:
-
nvidia/deepseek-ai/deepseek-v3.2- DeepSeek V3.2 with reasoning and tool call support -
nvidia/minimaxai/minimax-m2.1- MiniMax M2.1 with advanced reasoning capabilities Changes - Modified
packages/opencode/test/tool/fixtures/models-api.json - Added complete model configurations with cost, context limits, and capabilities
- JSON format validated successfully Models Details DeepSeek V3.2
- Context: 163,840 tokens
- Output: 65,536 tokens
- Cost: $0.28 input / $0.4 output
- Features: reasoning, tool_call, temperature
- Open Weights: true
- Family: deepseek-v3 MiniMax M2.1
- Context: 204,800 tokens
- Output: 131,072 tokens
- Cost: $0.3 input / $1.2 output
- Features: reasoning, tool_call, temperature, interleaved reasoning
- Open Weights: true
- Family: minimax
-
Special:
interleaved: { field: "reasoning_details" }Testing - JSON syntax validated ✓
- Model configurations match existing patterns ✓
- All required fields included ✓ This PR adds comprehensive support for these two new models within the NVIDIA provider ecosystem.
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number>orCloses #<number>to this PR description
See CONTRIBUTING.md for details.
The following comment was made by an LLM, it may be inaccurate:
No duplicate PRs found
"z-ai/glm4.7": {
"name": "GLM-4.7"
}
NVIDIA also provides the glm-4-7. Bring it in together.
2.1 is still not listed on the site. I can only assume it is not to be publicly used Same goes for glm
2.1 is still not listed on the site. I can only assume it is not to be publicly used2.1 仍然没有在网站上列出。我只能假设它不打算公开使用。 Same goes for glmglm 也是一样。
@Mirrowel However, it can be used. For example, in the OpenCode configuration file, you only need to declare these two models and then link them with the NVIDIA API key to access them.
"provider": {
"nvidia": {
"npm": "@ai-sdk/openai-compatible",
"name": "NVIDIA NIM",
"options": {
"baseURL": "https://integrate.api.nvidia.com/v1"
},
"models": {
"z-ai/glm4.7": {
"name": "GLM-4.7"
},
"minimaxai/minimax-m2.1": {
"name": "MiniMax M2.1"
}
}
}
},
2.1 is still not listed on the site. I can only assume it is not to be publicly used2.1 仍然没有在网站上列出。我只能假设它不打算公开使用。 Same goes for glmglm 也是一样。