Claude Code model router

Claude Nvidia Proxy

an Nvidia proxy for claude code

Install

From source
git clone https://github.com/zhangrr/claude-nvidia-proxy.git

From the README

claude-nvidia-proxy (Go)

Go https://build.nvidia.com/explore/discover, register an account, and generate an API key.
NVIDIA provides several models, like moonshotai/kimi-k2-thinking、minimaxai/minimax-m2.7、z-ai/glm4.7 and deepseek-ai/deepseek-v3.2,all is free.
Then, configure the config.json file and run the program, ensuring it listens on port 3001.

Expose POST /v1/messages (Anthropic/Claude style), convert to OpenAI Chat Completions, and proxy to NVIDIA (configured via config.json).

Config

Edit config.json:

- nvidia_url default https://integrate.api.nvidia.com/v1/chat/completions
- nvidia_key required: used for upstream auth, sent as Authorization: Bearer ...

Do not commit your real nvidia_key.

Env (optional overrides)

- CONFIG_PATH default config.json (relative to go/)
- PROVIDER_API_KEY optional: overrides nvidia_key from config
- UPSTREAM_URL optional: overrides nvidia_url from config
- SERVER_API_KEY optional: enable inbound auth; accepts Authorization: Bearer ... or x-api-key: ...
- ADDR default :3001
- UPSTREAM_TIMEOUT_SECONDS default 300
- LOG_BODY_MAX_CHARS default 4096 (0 disables body logging)
- LOG_STREAM_TEXT_PREVIEW_CHARS default 256 (0 disables stream preview logging)

Run

CLAUDE CODE

use moonshotai/kimi-k2-thinking model

use minimaxai/minimax-m2.7 model

use zai/glm4.7 model

use deepseek-ai/deepseek-v3.2 model

API

POST /v1/messages

- Inbound auth:
  - If SERVER_API_KEY is set, you must send Authorization: Bearer  (or x-api-key: ).
- Upstream auth:
  - Always sends Authorization: Bearer  to NVIDIA.

Example (non-stream):

Example (stream):

Build

This project uses only Go stdlib (no external deps). If your environment blocks the default Go build cache path, set:

Linux (amd64):

Windows (amd64):

API

POST /v1/messages

- Inbound auth:
 …
Read the full README on GitHub

Details

Language
Go
Last updated
18 May 2026

FAQ

What is Claude Nvidia Proxy?

an Nvidia proxy for claude code It is a model router for Claude Code, from zhangrr/claude-nvidia-proxy on GitHub.

How do I install Claude Nvidia Proxy?

Clone zhangrr/claude-nvidia-proxy from GitHub and follow the setup steps in its README.

Is Claude Nvidia Proxy popular?

zhangrr/claude-nvidia-proxy has 196 GitHub stars and 37 forks. It was last updated on 18 May 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.