Claude code does not support gemini - CC Switch
Quick fix
cc-switch cannot currently use Gemini as a Claude Code provider — wait for the local proxy feature, or use a third-party proxy project.
Symptom
Section titled “Symptom”claude code 不支持 geminiclaude code does not support gemini
cc-switch provider management cannot currently connect a Gemini endpoint as a Claude Code provider. Adding a Gemini provider gets a 404, or an explicit statement that Claude Code does not support Gemini. The discussion also notes that an ordinary API relay provider cannot be used directly — it needs endpoint conversion capability like CCR — and the cc-switch local proxy feature is still under development.
The cluster also holds feedback about a "several installations detected" diagnostic on Windows, but that is an install diagnostic detection problem rather than the same failure as Gemini provider support, so this page covers only Gemini providers not being addable or supported.
Do not add Gemini as a Claude Code provider in cc-switch — Claude Code does not support Gemini at present.
If you need a proxy or endpoint conversion, use the third-party project claude-code-router for now, though it cannot proxy Codex or Gemini either.
Wait for a later cc-switch version to provide local proxy / endpoint conversion, then try configuring Gemini.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 3 real issues
- Can cc-switch use a provider my company wrapped whose specification is close to OpenAI?
- In the related issue, maintainers said cc-switch is developing a local proxy feature and it is a lot of work. For now, try the claude-code-router project.
- Could it support Claude Code, Codex, and Gemini CLI at the same time?
- The issues reach no conclusion that it is supported. Maintainers say the local proxy feature is under development, and there seems to be no suitable Gemini proxy solution at present.
- Can CCR proxy Gemini?
- Users report claude-code-router cannot proxy Codex or Gemini, and maintainers say there seems to be no standout proxy solution for the Gemini CLI yet.
- Why can an ordinary API relay provider not be used directly?
- The issues note that endpoint conversion capability like CCR is needed. Maintainers said they would put full effort into the local proxy feature after shipping the Gemini support release.
Related problems
Section titled “Related problems”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.