IntermediateAgentsPOC to production
Try open models for free in OpenCode with NVIDIA's hosted 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.
- Time
- About 25 minutes
- Checked
If a button name on the screen does not match this guide, follow the action. These products rename buttons often.
Steps
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.
Get an NVIDIA API key
- Go to build.nvidia.com and create or sign in to your NVIDIA account.
- Open the page of the model you want to try, for example Nemotron 3.5 Super VL.
- 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:
export NVIDIA_API_KEY="nvapi-your-key-here"Treat it like a password. Keep it out of your code, your
opencode.json, and Git.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:
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.
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:
curl -fsSL https://opencode.ai/install | bash # or npm install -g opencode-aiCheck it with
opencode --version. On Windows, OpenCode recommends WSL.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:
cd path/to/your-project opencodeThen type
/connect, search for NVIDIA, and paste your key. If you'd rather not store the key with OpenCode, skip/connectand just keepNVIDIA_API_KEYexported 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:
opencode models nvidiaPick a model
Inside OpenCode, type
/modelsand 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.jsonto the project root. It holds no secrets, so it's fine to commit:{ "$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 asprovider/model, and NVIDIA's own model ID already starts withnvidia/.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 to paste
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.
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.
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:
{ "$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.
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):
{ "$schema": "https://opencode.ai/config.json", "provider": { "nvidia": { "options": { "baseURL": "http://localhost:8000/v1" } } } }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.
Common questions
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.
More guides
IntermediateGeneralPOC to production
Python, TypeScript, Go, or Rust? Pick the right language for each part of a production AI agent
AI writes the code now, so the skill that matters is choosing a language for each part of an agent and wiring in tools written in other languages.
About 30 minutes using uv (Python package and project manager), MCP official SDKs, vLLM OpenAI-compatible server, PyO3 and maturin, Python ctypes, py-spy profiler
IntermediateGeneralPOC to production
I rewrote my Python log parser in Rust. Was it worth it?
A learning-by-doing benchmark: profile first, try the cheap regex fix, port the counters to Rust, then pace it at real and burst rates to see when Rust matters.
About 30 minutes using Rust regex crate, rayon (data parallelism), memmap2, Python cProfile, py-spy profiler
AdvancedAgentsBuilding
The Software Factory pattern: how a ticket becomes a reviewed PR
A spec-driven, test-driven production line for AI coding agents: spec, then tests, then code, then validate, then review, then merge. An overview of the whole pattern.
About 15 minutes using AGENTS.md format, Model Context Protocol