← All guides

Gemini 3.8 Flash in Claude Code: Compatibility Checks

Gemini 3.8 Flash is a real Google model. Getting it to work through Claude Code is a separate question. Here is what the official docs confirm, what a gateway needs, and when a separate desktop app may be worth considering.

Google offers Gemini 3.8 Flash, but Anthropic does not support routing Claude Code to non-Claude models through a gateway. A third-party adapter may attempt this; changing a base URL alone is not a verified setup. We have not tested this model end to end in Claude Code or Wuwei, so neither route comes with a one-click compatibility promise here.

Start with the model, not the proxy

Google's Gemini 3.8 Flash announcement confirms that the model is available through the Gemini API and Google AI Studio. Gemini 3.8 Flash Cyber is a separate, access-restricted offering. Do not treat the two names as interchangeable.

Before configuring a client, confirm which Google API product you use, which model your account can access, and how that service authenticates requests. A Google Cloud setup is not automatically interchangeable with an AI Studio API-key setup.

What Claude Code officially supports

Anthropic's gateway documentation says it does not support routing Claude Code to non-Claude models through any gateway. That does not rule out third-party experiments, but it means you should not treat a Gemini adapter as an officially supported Claude Code integration.

This page does not provide a tested Gemini proxy recipe. Before following a third-party guide, look for a named gateway, a version number, a supported model ID and an example that completes a tool call, not just a chat reply.

Check the gateway settings before changing anything

  1. Save your current setup.Keep a copy of your existing settings and use a disposable project for the first test.
  2. Get the gateway address.ANTHROPIC_BASE_URL points to the gateway. It is not a general-purpose setting for any provider URL.
  3. Use the credential the gateway expects.Anthropic documents ANTHROPIC_AUTH_TOKEN for Bearer authentication and ANTHROPIC_API_KEY for x-api-key authentication. Do not assume either value should be your Google API key.
  4. Check the model mapping.A gateway may expose its own model alias. Match that alias to a real model available in your Google account.
  5. Test the agent workflow.Check a tool request, the tool result and the next response before allowing changes to an important project.

See Anthropic's gateway connection guide for the meaning and scope of these settings. These are configuration checks, not evidence that a Gemini integration works.

What you may pay for

Keep three costs separate: the client, model usage and any gateway service. Google's launch announcement includes time-limited introductory pricing, so check the current terms for the API you use rather than treating the launch price as permanent. A free client download does not include paid Gemini usage.

When a separate desktop app makes sense

If your goal is to keep Claude Code, downloading Wuwei is not a configuration step. Wuwei is a separate desktop application for working with local files. Consider it only if you are open to a different workflow, and confirm support for the exact provider, API and tool-calling features you need. This guide does not verify Gemini 3.8 Flash in Wuwei.

See Wuwei's desktop workflow

Before you install Wuwei

Open the official site on your computer and choose the installer for your operating system. On a Mac, check whether your machine uses Apple Silicon or Intel before downloading. If the page does not offer a matching build, stop rather than installing a package for another architecture.

Check Wuwei's pricing and hosted-service terms before choosing how to access models. With your own provider key, model usage is billed by that provider; hosted access follows Wuwei's current terms. Start with a non-sensitive test folder and review any permissions before allowing file changes or commands.

FAQ

Is Gemini 3.8 Flash a real model?** Yes. Google has published an official launch announcement for Gemini 3.8 Flash. Account access and client compatibility are separate checks.

**Is Gemini in Claude Code officially supported?** No. Anthropic says it does not support routing Claude Code to non-Claude models through a gateway. A third-party adapter is not the same as official support.

Should I put my Google API key in ANTHROPIC_AUTH_TOKEN?** Not by default. That setting authenticates to the gateway. Use the credential and authentication method required by the gateway's documentation.

**Will Wuwei make this model work automatically?** We have not verified that integration here. Check the exact model, API and tool-calling support before switching clients.

Open to a separate desktop workflow? Explore Wuwei, check model costs, then choose the right installer for your computer. If you only want to configure Claude Code, keep that decision separate from downloading another app.

Windows · macOS · Linux · free, no login