Free Claude Code Usage - Integrating Nvidia deepseek-v3.1
📋 Before You Begin
This is the second article in the "Free Claude Code Usage" blog series. It will show you how to integrate Nvidia's deepseek-v3.1 model to use Claude Code for free.
Before getting started, you must first install Chatspeed. Chatspeed's proxy module (CCProxy
) implements conversion between OpenAI compatible format, Claude, Gemini, and Ollama native protocols, which is the key tool to achieve the goal of this article. For Chatspeed installation, please refer to the Installation Guide.
🚀 Free Claude Code Usage
🖥️ Platform and Model
The model we choose for Claude Code integration is deepseek-v3.1 from NVIDIA NIM. As of now (2025-09-23), the model call limit on Nvidia is 40 RPM (40 requests per minute), which I've tested works fine with Claude Code. If that's not enough, you can register 2 accounts to rotate them, which will be completely sufficient.
📝 NVIDIA NIM Account Registration
- Click the "Login" button in the upper right corner of NVIDIA NIM
- Enter your email address in the
Enter your email ID
input box, then clickNext
- After entering the page, if your account is not registered, you'll enter the registration page. Enter your
password
andconfirm password
, then clickCreate Account
. You can also clickMore Options
and chooseSign in with Google
,Sign in with Discord
, etc. - After registration, you usually need to verify your phone number. Currently, phone number verification does not support phone numbers from
Mainland China and Hong Kong
. You can look for some reliable paid SMS verification platforms for authentication. Don't bother trying free verification services - if you can find one, you're lucky. - After completing registration and phone number verification, click your avatar in the upper right corner of the page, then click API Keys to enter key management.
- Click
Generate API Key
in the upper right corner, enter aKey Name
, select the expiration periodExpiration
, then clickGenerate Key
to create the key.
At this point, the NVIDIA account and key preparation is complete. Copy the key for later use.
⚙️ Model Configuration
- First, install Chatspeed according to the Installation Guide
- Refer to Adding Models to add the
deepseek-v3.1
model fromNvidia
to Chatspeed. The general steps are:- Click the menu button in the upper right corner of
Chatspeed
, selectAI Engine
- Click the
+
in the upper right corner, enternvidia
in the search box of the pop-up page, then clickImport from Preset
- You basically don't need to change the information on the
Basic Information
page. Fill in the key you copied above intoAPI Key
. In addition, some people may not be able to access Nvidia's page. You can set up a proxy in the "General" settings, then selectFollow Network Settings
forProxy Type
here, or directly selectHTTP Proxy
here and enter the proxy address. The proxy username and password are optional. - Click
Model Information
to enter model configuration, selectImport Model
, then search for and select bothdeepseek-v3.1
andqwen/qwen3-next-80b-a3b-instruct
. After selecting them, clickSave
.We are selecting two models because Claude Code uses a fast model (corresponding to Haiku) for real-time suggestions and a powerful model (corresponding to Sonnet) for complex tasks. In the next steps, we will map Qwen to Haiku and Deepseek to Sonnet.
- You basically don't need to modify the additional information, just click
Save
to complete the model addition.
- Click the menu button in the upper right corner of
Although this article focuses on integrating
deepseek-v3.1
, if you prefer, you can also choose models likeqwen/qwen3-coder-480b-a35b-instruct
ormoonshotai/kimi-k2-instruct-0905
.
🔄 Proxy Model Configuration
For proxy model configuration, you can refer to the CCProxy Configuration Guide and configure according to the steps:
Proxy Group
: You can add a separate proxy group, for example, name itds
Proxy Service
: Forclaude-3-5-haiku-20241022
you can select theqwen/qwen3-next-80b-a3b-instruct
added above, and forclaude-sonnet-4-20250514
select thedeepseek-v3.1
added aboveProxy Key
: You can create a dedicated key forClaudeCode
🔌 Integrating with Claude Code
To integrate the proxy model with Claude Code, you can refer to the Claude Code Integration Guide
At this point, you can happily use Claude Code
for free 😄