{"slug": "running-claude-code-via-nvidia-nim-proxy", "title": "Running Claude Code via NVIDIA NIM Proxy", "summary": "A developer created a local proxy server that routes Claude Code traffic to NVIDIA NIM, enabling use of NVIDIA's AI models through the Claude Code interface. The proxy tool, available on GitHub, requires an NVIDIA API key and runs on port 8082 with environment variables to intercept and redirect requests.", "body_md": "This guide walks you through routing Claude Code to NVIDIA NIM using a local proxy server.\n\nBefore starting, ensure you have `uv`\n\ninstalled on your system to manage Python tools.\n\n- Visit the\n[NVIDIA API Keys settings page](https://build.nvidia.com/settings/api-keys). - Generate a new API key and save it securely. You will need this to authenticate with the NIM models.\n\nInstall the proxy tool using `uv`\n\nand launch the server.\n\n```\n# Install the free-claude-code proxy\nuv tool install --force git+https://github.com/Alishahryar1/free-claude-code.git\n\n# Launch the proxy server\nfcc-server\n```\n\nNote:Keep this terminal window open. The server runs on port`8082`\n\n. You can access the admin panel at[http://127.0.0.1:8082/admin].\n\nOpen a **new** terminal window. You must set these environment variables to intercept Claude Code traffic and route it to your local server.\n\n```\n# Set the dummy authentication token\nexport ANTHROPIC_AUTH_TOKEN=\"freecc\"\n\n# Redirect the base URL to your local proxy\nexport ANTHROPIC_BASE_URL=\"http://localhost:8082\"\n```\n\nSee the comment below on how you can add this to your `.bashrc`\n\nas a custom function\n\nIn the same terminal where you just configured the environment variables, launch Claude Code.\n\n```\n# Start Claude Code\nclaude\n```\n\nOnce inside the Claude Code interface, verify that the routing is working properly by running the status command:\n\n```\n/status\n```\n\nRam N", "url": "https://wpnews.pro/news/running-claude-code-via-nvidia-nim-proxy", "canonical_source": "https://gist.github.com/Ram-N/57f759fa90abd3ac23acbb1bca25f9e5", "published_at": "2026-05-18 11:26:03+00:00", "updated_at": "2026-06-13 09:48:13.713186+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-infrastructure", "large-language-models", "generative-ai"], "entities": ["Claude Code", "NVIDIA NIM", "NVIDIA", "GitHub", "Alishahryar1"], "alternates": {"html": "https://wpnews.pro/news/running-claude-code-via-nvidia-nim-proxy", "markdown": "https://wpnews.pro/news/running-claude-code-via-nvidia-nim-proxy.md", "text": "https://wpnews.pro/news/running-claude-code-via-nvidia-nim-proxy.txt", "jsonld": "https://wpnews.pro/news/running-claude-code-via-nvidia-nim-proxy.jsonld"}}