mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-13 10:11:20 +00:00
* fix(nvidia-endpoints): updated language & default models * fix(nvidia-endpoints): updated link for api key * fix(nvidia-endpoints): removed unused const * fix(nvidia-endpoints): edited max tokens * fix(nvidia-endpoints): fixed typo --------- Co-authored-by: Devin Robison <drobison00@users.noreply.github.com>
60 lines
1.9 KiB
Markdown
60 lines
1.9 KiB
Markdown
---
|
|
summary: "Use NVIDIA's OpenAI-compatible API in OpenClaw"
|
|
read_when:
|
|
- You want to use open models in OpenClaw for free
|
|
- You need NVIDIA_API_KEY setup
|
|
title: "NVIDIA"
|
|
---
|
|
|
|
# NVIDIA
|
|
|
|
NVIDIA provides an OpenAI-compatible API at `https://integrate.api.nvidia.com/v1` for open models for free. Authenticate with an API key from [build.nvidia.com](https://build.nvidia.com/settings/api-keys).
|
|
|
|
## CLI setup
|
|
|
|
Export the key once, then run onboarding and set an NVIDIA model:
|
|
|
|
```bash
|
|
export NVIDIA_API_KEY="nvapi-..."
|
|
openclaw onboard --auth-choice skip
|
|
openclaw models set nvidia/nvidia/nemotron-3-super-120b-a12b
|
|
```
|
|
|
|
If you still pass `--token`, remember it lands in shell history and `ps` output; prefer the env var when possible.
|
|
|
|
## Config snippet
|
|
|
|
```json5
|
|
{
|
|
env: { NVIDIA_API_KEY: "nvapi-..." },
|
|
models: {
|
|
providers: {
|
|
nvidia: {
|
|
baseUrl: "https://integrate.api.nvidia.com/v1",
|
|
api: "openai-completions",
|
|
},
|
|
},
|
|
},
|
|
agents: {
|
|
defaults: {
|
|
model: { primary: "nvidia/nvidia/nemotron-3-super-120b-a12b" },
|
|
},
|
|
},
|
|
}
|
|
```
|
|
|
|
## Model IDs
|
|
|
|
| Model ref | Name | Context | Max output |
|
|
| ------------------------------------------ | ---------------------------- | ------- | ---------- |
|
|
| `nvidia/nvidia/nemotron-3-super-120b-a12b` | NVIDIA Nemotron 3 Super 120B | 262,144 | 8,192 |
|
|
| `nvidia/moonshotai/kimi-k2.5` | Kimi K2.5 | 262,144 | 8,192 |
|
|
| `nvidia/minimaxai/minimax-m2.5` | Minimax M2.5 | 196,608 | 8,192 |
|
|
| `nvidia/z-ai/glm5` | GLM 5 | 202,752 | 8,192 |
|
|
|
|
## Notes
|
|
|
|
- OpenAI-compatible `/v1` endpoint; use an API key from [build.nvidia.com](https://build.nvidia.com/).
|
|
- Provider auto-enables when `NVIDIA_API_KEY` is set.
|
|
- The bundled catalog is static; costs default to `0` in source.
|