diff options
| author | Annie Surla <[email protected]> | 2026-04-19 17:57:49 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-19 19:57:49 -0500 |
| commit | 6e0178655b94813762534b7642ba5174b45f022e (patch) | |
| tree | 8cc95946d212af2c23ef9e89d8612b0bdf881b0f /packages/web/src/content | |
| parent | e4be55792861504f23d055a37767357ee40b1d83 (diff) | |
| download | opencode-6e0178655b94813762534b7642ba5174b45f022e.tar.gz opencode-6e0178655b94813762534b7642ba5174b45f022e.zip | |
feat(provider): add NVIDIA to popular providers, docs, and attribution headers (#22927)
Co-authored-by: Kit Langton <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Diffstat (limited to 'packages/web/src/content')
| -rw-r--r-- | packages/web/src/content/docs/providers.mdx | 61 |
1 files changed, 44 insertions, 17 deletions
diff --git a/packages/web/src/content/docs/providers.mdx b/packages/web/src/content/docs/providers.mdx index bad9e1ebb..030a50ba0 100644 --- a/packages/web/src/content/docs/providers.mdx +++ b/packages/web/src/content/docs/providers.mdx @@ -1316,30 +1316,57 @@ To use Kimi K2 from Moonshot AI: --- -### Mistral AI +### NVIDIA -1. Head over to the [Mistral AI console](https://console.mistral.ai/), create an account, and generate an API key. +NVIDIA provides access to Nemotron models and many other open models through [build.nvidia.com](https://build.nvidia.com) for free. -2. Run the `/connect` command and search for **Mistral AI**. +1. Head over to [build.nvidia.com](https://build.nvidia.com), create an account, and generate an API key. - ```txt - /connect - ``` +2. Run the `/connect` command and search for **NVIDIA**. -3. Enter your Mistral API key. + ```txt + /connect + ``` + +3. Enter your NVIDIA API key. + + ```txt + ┌ API key + │ + │ + └ enter + ``` + +4. Run the `/models` command to select a model like nemotron-3-super-120b-a12b. + + ```txt + /models + ``` - ```txt - ┌ API key - │ - │ - └ enter - ``` +#### On-Prem / NIM -4. Run the `/models` command to select a model like _Mistral Medium_. +You can also use NVIDIA models locally via [NVIDIA NIM](https://docs.nvidia.com/nim/) by setting a custom base URL. - ```txt - /models - ``` +```json title="opencode.json" {6} +{ + "$schema": "https://opencode.ai/config.json", + "provider": { + "nvidia": { + "options": { + "baseURL": "http://localhost:8000/v1" + } + } + } +} +``` + +#### Environment Variable + +Alternatively, set your API key as an environment variable. + +```bash frame="none" +export NVIDIA_API_KEY=nvapi-your-key-here +``` --- |
