Skip to content

Claude Code Tool Call Failure via NVIDIA Proxy - CC Switch Fix

Quick fix

NVIDIA free-tier models are unstable; switch to stable providers like deepseek-ai/deepseek-v4-flash.

Error output
他无法正常调用工具
English translation

He cannot call tools normally

When using the NVIDIA free tier proxy via cc-switch, multiple models (e.g., glm series, certain qwen versions) suffer from severe connection timeouts or streaming response anomalies. Real-world data shows some models have first-byte wait times of tens of seconds or direct TimeoutError, preventing Claude Code from receiving valid tool_calls responses. Additionally, some models (e.g., kimi series) return results but with formats non-compliant with OpenAI standards, causing parsing failures. This is not a bug in cc-switch itself, but rather upstream rate limits (TPM/TPD) or network instability from free providers. Although PR #2557 attempted to fix related streaming parsing issues, the root cause remains provider-side instability.

Notably, even if using better-performing deepseek models, tool call failures may still occur due to provider quotas or temporary network fluctuations. The community-confirmed stable alternative is switching to other reliable providers.

  1. Switch the provider in cc-switch configuration from nvidia to deepseek or another stable provider (e.g., openai/gpt-oss-120b).

  2. If you must use the NVIDIA channel, ensure the selected model is known to be stable (e.g., deepseek-ai/deepseek-v4-flash or deepseek-ai/deepseek-v4-pro), and avoid models prone to timeouts such as glm or qwen.

ToolClaude Code
Version3.14.1
PlatformsmacOSLinux
Why can't I call tools even after using deepseek-v4-flash?
Although deepseek-v4-flash performs stably in benchmarks, if your account triggers the provider's rate limits (TPM/TPD) or if there are network fluctuations in your current environment, calls may still fail. Check the provider status or try restarting the cc-switch proxy.
What should I do if clicking the enable proxy button has no effect on Linux?
This is a known UI interaction issue with cc-switch on Linux platforms, which typically does not affect the underlying proxy functionality. You can manually check the proxy settings in the configuration file or start the proxy service via the command line.
Does PR #2557 resolve this issue?
PR #2557 addressed some streaming parsing and connection issues, but the instability of the NVIDIA free channel primarily stems from upstream providers. Even after applying this PR, some models may still experience timeouts or format errors, so the official recommendation is to prioritize more stable providers.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.