# Try open models for free in OpenCode with NVIDIA's hosted endpoints

> Connect the OpenCode terminal agent to NVIDIA's free build.nvidia.com endpoints, compare models on a real proof of concept, and know when to move to paid or self-hosted.

Level: Intermediate
Tool: Agents
Category: POC to production
Time: About 25 minutes
Checked: 2026-10-20
Tools: [OpenCode docs](https://opencode.ai/docs/), [OpenCode providers (NVIDIA section)](https://opencode.ai/docs/providers/), [NVIDIA API catalog](https://build.nvidia.com), [Nemotron 3.5 Super VL on build.nvidia.com](https://build.nvidia.com/nvidia/nemotron-3.5-super-vl-120b-a12b), [NVIDIA NIM FAQ (rate limits and production use)](https://forums.developer.nvidia.com/t/nvidia-nim-faq/300317)
HTML page: https://easyaihowtos.com/guides/try-open-models-free-in-opencode-with-nvidia-endpoints

NVIDIA hosts dozens of open models at build.nvidia.com that you can call for free with an API key, and OpenCode has NVIDIA built in. Together they make a cheap test bench: hand a real proof-of-concept task to several models, see which one finishes it, and only then pay for production capacity. I tried this with Nemotron 3.5 Super VL, and this guide walks you through the same setup.

## What you need

- A terminal on macOS, Linux, or Windows with WSL
- A free NVIDIA Developer Program account at build.nvidia.com
- A small code project in Git, or an empty folder for a new proof of concept

## Steps

### 1. Know what the free endpoints are for

**build.nvidia.com** is NVIDIA's API catalog. Many models there have a **free endpoint**: NVIDIA runs the model, and you call it with an API key. The API is **OpenAI-compatible**, so tools that speak the OpenAI format can use it by pointing at `https://integrate.api.nvidia.com/v1`.

NVIDIA says the free access is a trial **for prototyping, research, development, and testing**. Don't put real users on it. Two things to know before you start:
- **Rate limits vary per model and with how many people are using it.** NVIDIA doesn't publish fixed numbers. When you're signed in, you can see your limits from your account menu at the top right of build.nvidia.com.
- **During busy periods, requests can be slow.** NVIDIA's FAQ says you may see "extended wait times during periods of high load."

That makes it a great way to test-drive models before you pay for one.

### 2. Get an NVIDIA API key

1. Go to [build.nvidia.com](https://build.nvidia.com) and create or sign in to your NVIDIA account.
2. Open the page of the model you want to try, for example [Nemotron 3.5 Super VL](https://build.nvidia.com/nvidia/nemotron-3.5-super-vl-120b-a12b).
3. Click **Generate API Key** (some pages say **Get API Key**) and copy the key. It starts with `nvapi-`.

Put it in your shell for this session:
```bash
export NVIDIA_API_KEY="nvapi-your-key-here"
```
Treat it like a password. Keep it out of your code, your `opencode.json`, and Git.

### 3. Check the key with one call

Make sure the key works before an agent is involved. This uses the model ID shown on NVIDIA's model page:
```bash
curl https://integrate.api.nvidia.com/v1/chat/completions \
  -H "Authorization: Bearer $NVIDIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nvidia/nemotron-3.5-super-vl-120b-a12b",
       "messages": [{"role": "user", "content": "Reply with one short sentence."}],
       "max_tokens": 200}'
```
If you get JSON back with a reply, you're set. A 401 error means the key is wrong or wasn't exported in this terminal.

### 4. Install OpenCode

**OpenCode** is an open-source coding agent that runs in your terminal. It reads your files, runs commands, and edits code when you ask. Install it with the official script, or with npm:
```bash
curl -fsSL https://opencode.ai/install | bash
# or
npm install -g opencode-ai
```
Check it with `opencode --version`. On Windows, OpenCode recommends WSL.

### 5. Connect OpenCode to NVIDIA

NVIDIA is built into OpenCode, so you don't have to set up a custom provider. Start OpenCode in your project folder:
```bash
cd path/to/your-project
opencode
```
Then type `/connect`, search for **NVIDIA**, and paste your key. If you'd rather not store the key with OpenCode, skip `/connect` and just keep `NVIDIA_API_KEY` exported in the terminal you start it from. OpenCode reads that variable too.

To see every NVIDIA model OpenCode knows about, run this outside the app:
```bash
opencode models nvidia
```

### 6. Pick a model

Inside OpenCode, type `/models` and choose one. I used **Nemotron 3.5 Super VL** (`nvidia/nemotron-3.5-super-vl-120b-a12b`). It's NVIDIA's newest Nemotron, built for agents, coding, and tool calling, and it can also read images.

To make it the default for this project, add an `opencode.json` to the project root. It holds no secrets, so it's fine to commit:
```json
{
  "$schema": "https://opencode.ai/config.json",
  "model": "nvidia/nvidia/nemotron-3.5-super-vl-120b-a12b"
}
```
The `nvidia/` appears twice on purpose. OpenCode writes models as `provider/model`, and NVIDIA's own model ID already starts with `nvidia/`.

### 7. Give it a small proof-of-concept task

Press **Tab** to switch to **Plan** mode, where OpenCode suggests changes but doesn't make them. Paste the prompt below, read the plan, then press Tab again to go back to **Build** and tell it to go ahead.

Keep this prompt in a file. You'll use the exact same prompt to compare models in the next step.

Prompt:

```
Build a small proof of concept in this folder: a command-line tool in [language] that [what it should do, e.g. reads a CSV of expenses and prints totals by category].

Rules:
- Plan first. List the files you will create and the commands you will run.
- Keep it to as few files as you can, with no external services.
- Add a README with how to run it, and at least 3 tests.
- Run the tests yourself and fix anything that fails.
- When you finish, tell me what you'd need to change to run this in production.
```

### 8. Run the same task on a second model

This is the reason to use free endpoints: you can try several models without paying for any of them. Start a fresh copy of the project (a new Git branch works), pick a different model with `/models`, and paste the same prompt.

For each model, write down:
- Did it finish without you stepping in?
- Did the tests pass?
- How many times did a tool call fail or time out?
- Roughly how long did it take?

Four lines per model in a notes file is enough to make a real decision instead of going on hype.

### 9. Handle slow or failing tool calls

When I used Nemotron 3.5 Super VL, I didn't notice any timeouts. The busiest models on the free tier are a different story. Developers widely report tool calls timing out on popular models because so many people share the free capacity. If that happens:
- **Retry, or wait a few minutes.** Load changes with traffic.
- **Switch to a less popular model** with `/models`. That's often the quickest fix.
- **Check your rate limit** in your build.nvidia.com account menu.
- **Give slow responses more time.** OpenCode's request timeout defaults to 5 minutes. You can raise it for the NVIDIA provider in `opencode.json`:
```json
{
  "$schema": "https://opencode.ai/config.json",
  "model": "nvidia/nvidia/nemotron-3.5-super-vl-120b-a12b",
  "provider": {
    "nvidia": {
      "options": { "timeout": 600000 }
    }
  }
}
```
If a model times out a lot on the free tier, that tells you about the free tier, not about the model. Judge the model on the runs that finished.

### 10. Plan the move to production

Once you've picked a model, NVIDIA's FAQ is clear that the free endpoints are not for production, meaning anything that serves real users or does real business. You have two paths:
- **A paid partner endpoint.** On the model's page, open **Deploy** to see the partner providers that host it. Pricing and limits come from the partner.
- **Self-host it as an NVIDIA NIM.** NIM packages a model as a container that serves the same OpenAI-compatible API. Developer Program members can self-host for development and testing. Production use needs an NVIDIA AI Enterprise license, and NVIDIA offers a 90-day trial.

Your OpenCode setup barely changes. For a self-hosted NIM, point the NVIDIA provider at your own server (OpenCode's docs use this example address):
```json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "nvidia": {
      "options": { "baseURL": "http://localhost:8000/v1" }
    }
  }
}
```

### 11. Check the work yourself

Before you trust a model's proof of concept, read the diff (`git diff`), run the tests yourself, and open the README to see whether you can follow it. Then check one claim in the model's "what to change for production" answer against the docs of the tool or library it names. A model that writes passing tests can still be confidently wrong about the rest.

## Tips

- Free models come and go. The older Nemotron 3 Super API page on build.nvidia.com said it would be retired on 10/19/2026. Check the banner on a model's page before you build on it.
- Don't paste private code, customer data, or secrets into a prototype on a shared trial service. Use a sample project or made-up data.
- The hosted model page and the model card can list different context lengths. For Nemotron 3.5 Super VL, the API page said 262K while the model card said up to 1M. Plan around the smaller number.
- If you'd like a paid, curated list of models already tested with OpenCode, OpenCode also offers its own Zen service. It's optional.

## FAQ

### Is it really free?

Calls to models marked **Free Endpoint** on build.nvidia.com cost nothing with an NVIDIA Developer Program account. In return, you get trial rate limits that vary by model and traffic, and the free tier is for prototyping and testing only. NVIDIA changes these terms, so check the model page and your account before you rely on them.

### Why do my tool calls time out on one model but not another?

Busy models are shared by more people on the free tier, so they're more likely to be slow or hit limits. An agent like OpenCode makes many calls per task, so you notice it more there than in a single chat. Try a less popular model, retry later, or raise OpenCode's timeout.

### Can I use a model that isn't in the `/models` list?

OpenCode's model list comes from its catalog, which can lag behind brand-new models. You can add one by ID under `provider.nvidia.models` in `opencode.json`, for example `"models": { "the-model-id": {} }`, using the exact ID from the model's page on build.nvidia.com.

### Can I ask for a higher rate limit on the free tier?

NVIDIA forum moderators have said there's no official way to raise free-tier limits. For more capacity, use a paid partner endpoint or self-host the model as a NIM.

---

This guide is from Easy AI How-To (https://easyaihowtos.com). It is independent of the tools named above. Screens and free-plan limits change, so check the date before you rely on a button name.
