# nvidiamore **Repository Path**: opencode-plugin/nvidiamore ## Basic Information - **Project Name**: nvidiamore - **Description**: nvidia-支持多key轮询 - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-20 - **Last Updated**: 2026-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # opencode-nvidiamore NVIDIA NIM API 多 Key 轮询 Provider 插件,基于 [@ai-sdk/openai-compatible](https://www.npmjs.com/package/@ai-sdk/openai-compatible) 协议兼容封装。 ## 基本信息 | 属性 | 值 | |---|---| | 提供商 ID | `nvidiamore` | | 显示名称 | Nvidia More | | Base URL | `https://integrate.api.nvidia.com/v1` | | API Key 创建 | https://build.nvidia.com/settings/api-keys | | 请求限制 | 40 RPM / API Key | | 多 Key 轮询 | 支持(逗号分隔多个 Key) | ## 已适配模型 共 13 个模型(全部通过实测,≥10B 参数,≥128K 上下文,单次请求 10 秒内响应)。 ### 推理模型 | 对外 key | 原始模型 | 上下文 | 最大输出 | 特点 | |---|---|---|---|---| | `deepseek-v4-flash` | `deepseek-ai/deepseek-v4-flash` | 1,000K | 393K | 推理+工具调用 | | `deepseek-v4-pro` | `deepseek-ai/deepseek-v4-pro` | 1,000K | 393K | 顶级推理+工具调用 | | `step-3.7-flash` | `stepfun-ai/step-3.7-flash` | 256K | 16K | 支持思考模式 | | `step-3.5-flash` | `stepfun-ai/step-3.5-flash` | 256K | 16K | 支持思考模式 | | `kimi-k2.6` | `moonshotai/kimi-k2.6` | 256K | 256K | 思考+视觉 | | `minimax-m2.7` | `minimaxai/minimax-m2.7` | 200K | 131K | 230B-A10B MoE | | `glm-5.1` | `z-ai/glm-5.1` | 200K | 131K | 支持思考模式 | | `mistral-medium-3.5-128b` | `mistralai/mistral-medium-3.5-128b` | 256K | 256K | 思考+视觉 | | `mistral-small-4-119b-2603` | `mistralai/mistral-small-4-119b-2603` | 128K | 8K | 支持思考模式 | | `gpt-oss-120b` | `openai/gpt-oss-120b` | 128K | 8K | 支持思考模式 | ## 项目结构 ``` nvidiamore/ ├── src/ │ ├── plugin/ │ │ ├── auth.ts # API Key 持久化存储 (%USERPROFILE%\.nvidiamore\auth.json) │ │ └── key-manager.ts # 多 Key 轮询管理器 │ ├── utils/ │ │ └── debug-logger.ts # 调试日志 │ ├── constants.ts # 提供商配置 + 模型定义 │ └── index.ts # 主入口 ├── dist/ # 编译输出 ├── package.json ├── tsconfig.json └── README.md ``` ## 调试 通过环境变量开启调试日志: ```bash # 方式一:全局 DEBUG 模式 set DEBUG=1 # 方式二:特定提供商调试 set OPENCODE_NVIDIAMORE_DEBUG=1 ``` 日志文件位置:`%USERPROFILE%\.nvidiamore\debug.log` ## 已排除的模型 ### 参数量 < 15B | 模型 | 参数量 | 备注 | |---|---|---| | `gemma-2-2b-it` | 2B | 同时上下文 8K < 128K | | `llama-3.1-8b-instruct` | 8B | — | | `llama-3.2-3b-instruct` | 3B | — | | `llama-3.1-nemotron-nano-8b-v1` | 8B | — | | `llama-3.1-nemotron-nano-vl-8b-v1` | 8B | 视觉模型 | | `nemotron-mini-4b-instruct` | 4B | 同时上下文 4K < 128K | | `nvidia-nemotron-nano-9b-v2` | 9B | — | | `ministral-14b-instruct-2512` | 14b | 256k 视觉 | | `nemotron-nano-12b-v2-vl` | 12b | 128k 视觉 | | `qwen3-next-80b-a3b-instruct` | 3b | | ### 上下文 < 128K | 模型 | 上下文 | |---|---| | `solar-10.7b-instruct` | 4K | | `stockmark-2-100b-instruct` | 32K | | `sarvam-m` | 8K | ### 不支持工具调用 | 模型 | 原因 | |---|---| | `llama-4-maverick-17b-128e-instruct` | 模型不支持工具调用(tool calling) | ### 更替 | 模型 | 原因 | |---|---| | `gpt-oss-20b` | `gpt-oss-120b` 已覆盖 | ### 服务端降级 / 无法响应 / 无法正常沟通 | 模型 | 原因 | |---|---| | `llama-3.3-70b-instruct` | `meta/llama-3.3-70b-instruct` | 实际使用无法正常沟通 | | `llama-3.1-70b-instruct` | `meta/llama-3.1-70b-instruct` | 实际使用无法正常沟通 | | `llama-3.2-11b-vision-instruct` | `meta/llama-3.2-11b-vision-instruct` | 实际使用无法正常沟通 | | `llama-3.2-90b-vision-instruct` | `meta/llama-3.2-90b-vision-instruct` | 实际使用无法正常沟通 | | `llama-3.3-nemotron-super-49b-v1` | `nvidia/llama-3.3-nemotron-super-49b-v1` | 重复请求超时(>10 秒无响应) | | `llama-3.3-nemotron-super-49b-v1.5` | `nvidia/llama-3.3-nemotron-super-49b-v1.5` | 重复请求超时(>10 秒无响应) | | `minimax-m3` | NVIDIA 返回 DEGRADED(服务端临时降级) | | `gemma-4-31b-it` | 重复请求超时(>10 秒无响应) | ### 首次筛查已排除(请求 >10 秒无响应 / 404 / 500 / 400) | 模型 | 原始模型 ID | 错误 | |---|---|---| | mistral-large-3 | `mistralai/mistral-large-3-675b-instruct-2512` | 超时无响应 | | qwen3.5-122b | `qwen/qwen3.5-122b-a10b` | 超时无响应 | | phi-4-mini | `microsoft/phi-4-mini-instruct` | 超时无响应 | | phi-4-multimodal | `microsoft/phi-4-multimodal-instruct` | 400 DEGRADED | | dracarys | `abacusai/dracarys-llama-3.1-70b-instruct` | 超时无响应 | | llama-3.2-1b | `meta/llama-3.2-1b-instruct` | 超时无响应 | | seed-oss | `bytedance/seed-oss-36b-instruct` | 超时无响应 | | mistral-large | `mistralai/mistral-large` | 404 Not Found | | mistral-large-2 | `mistralai/mistral-large-2-instruct` | 404 Not Found | | yi-large | `01-ai/yi-large` | 404 Not Found | | jamba | `ai21labs/jamba-1.5-large-instruct` | 404 Not Found | | nemotron-70b | `nvidia/llama-3.1-nemotron-70b-instruct` | 404 Not Found | | codestral | `mistralai/codestral-22b-instruct-v0.1` | 404 Not Found | | deepseek-coder | `deepseek-ai/deepseek-coder-6.7b-instruct` | 404 Not Found | | gemma-3-12b | `google/gemma-3-12b-it` | 404 Not Found | | gemma-3-4b | `google/gemma-3-4b-it` | 404 Not Found | | granite | `ibm/granite-3.0-8b-instruct` | 404 Not Found | | palmyra | `writer/palmyra-creative-122b` | 404 Not Found | | fuyu | `adept/fuyu-8b` | 404 Not Found | | phi-3-vision | `microsoft/phi-3-vision-128k-instruct` | 404 Not Found | | phi-3.5-moe | `microsoft/phi-3.5-moe-instruct` | 404 Not Found | | nemotron-4 | `nvidia/nemotron-4-340b-instruct` | 404 Not Found | | mistral-nemo | `nv-mistralai/mistral-nemo-12b-instruct` | 404 Not Found | | nemotron-ultra | `nvidia/llama-3.1-nemotron-ultra-253b-v1` | 404 Not Found | | zamba2 | `zyphra/zamba2-7b-instruct` | 404 Not Found | | cosmos | `nvidia/cosmos-reason2-8b` | 404 Not Found | | sea-lion | `aisingapore/sea-lion-7b-instruct` | 404 Not Found | | mixtral-8x22b | `mistralai/mixtral-8x22b-v0.1` | 404 Not Found | | mistral-7b | `mistralai/mistral-7b-instruct-v0.3` | 404 Not Found | | codegemma-7b | `google/codegemma-7b` | 404 Not Found | | mistral-nemotron | `mistralai/mistral-nemotron` | 500 Internal Server Error | ## 构建 ```bash npm install npm run build ``` ## 依赖 - `@opencode-ai/plugin` — OpenCode 插件 SDK - `@ai-sdk/openai-compatible` — OpenAI 兼容协议适配