mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-21 16:41:56 +00:00
1.2 KiB
1.2 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Use NVIDIA's OpenAI-compatible API in OpenClaw |
|
NVIDIA |
NVIDIA
NVIDIA provides an OpenAI-compatible API at https://integrate.api.nvidia.com/v1 for Nemotron and NeMo models. Authenticate with an API key from NVIDIA NGC.
CLI setup
openclaw onboard --auth-choice apiKey --token-provider nvidia --token "$NVIDIA_API_KEY"
If NVIDIA_API_KEY is already exported, you can omit --token.
Config snippet
{
env: { NVIDIA_API_KEY: 'nvapi-...' },
models: {
providers: {
nvidia: {
baseUrl: 'https://integrate.api.nvidia.com/v1',
api: 'openai-completions',
},
},
},
agents: {
defaults: {
model: { primary: 'nvidia/llama-3.1-nemotron-70b-instruct' },
},
},
}
Model IDs
nvidia/llama-3.1-nemotron-70b-instruct(default)nvidia/llama-3.3-70b-instructnvidia/mistral-nemo-minitron-8b-8k-instruct
Notes
- OpenAI-compatible
/v1endpoint; use an API key from NVIDIA NGC. - Provider auto-enables when
NVIDIA_API_KEYis set; uses static defaults (131,072-token context window, 4,096 max tokens).