What if your code editor had more than 40 AI models ready to use, without a Copilot subscription? NVIDIA hosts a large catalog of top models on its own servers and gives developers free API access through NVIDIA NIM. VS Code can plug those models straight into its chat panel. Here’s the whole setup in three steps.
What is NVIDIA NIM?
NVIDIA NIM is NVIDIA’s hosted inference platform. It serves models from Meta, Mistral AI, Google, DeepSeek, and others through API endpoints, and the developer tier is free. Connected to VS Code, you can chat with these models about your code the same way you would with Copilot.
Step 1: Install VS Code and the NVIDIA NIM extension
- If you don’t have it, download VS Code from code.visualstudio.com and install it with the default options.
- Open the Extensions view from the left sidebar (the four-squares icon), or press
Ctrl+Shift+X(Cmd+Shift+Xon Mac). - Search for NVIDIA NIM, open the official extension, and click Install.
Step 2: Get your free NVIDIA API key
- Go to build.nvidia.com and sign in or create a free account.
- Click your profile icon in the top right and choose API Keys.
- Click Generate API Key, give it a name and expiration date, and generate it.
- Copy the key right away and keep it private. Anyone with it can use your account.
Step 3: Connect NVIDIA NIM in VS Code
- Open the chat panel in VS Code. If prompted, sign in with GitHub or a Google account.
- In the chat, click the model selector (it usually says Auto) and open the model settings.
- Click Add models, choose NVIDIA NIM from the provider list, and paste your API key when asked.
- Close settings. NVIDIA’s free models now appear in your model list.
Choosing a model
There were about 41 free models available when I set this up, covering coding, reasoning, summarization, and chat. A good starting point is DeepSeek V4 Flash: it’s a strong all-round model and handles most coding tasks well. Search for it in the model list, select it, and send a quick “hi” to confirm it responds. If it replies, you’re done.
You can switch models any time depending on the task, so it’s worth experimenting.
Setting expectations
These models are free and shared by a huge number of developers, so response times are sometimes slower than a paid service. That’s the trade-off with free shared infrastructure.
Here’s how I use it:
- Free NIM models for planning projects, brainstorming, writing documentation, and working through logic.
- A paid model when I’m in active build mode and need fast, consistent responses.
That keeps spending to a minimum while staying productive. If you don’t mind the occasional wait, the free models can handle everything.
Want even more free options?
NIM also works outside VS Code. You can run DeepSeek TUI for free with NVIDIA NIM in the terminal, or combine NIM with other free tiers using FreeLLMAPI or OmniRoute so you have automatic fallback when one provider is slow.
FAQ
Is NVIDIA NIM really free?
Yes. The developer tier is free with rate limits, and no credit card is required to sign up.
Does this replace GitHub Copilot completely?
For chat-based help (explaining code, planning, generating functions) it covers a lot. Copilot’s paid plans still offer faster responses and extra features, so many people use free models alongside a paid one, the way I do.
