About of Gemini 3.1 FlashLite USE Claude Code. 2026-03-29

テーマ:ブログ

Claude Code can work with Gemini models like Gemini 3.1 Flash-Lite. This is achieved through external tools or "Claude Bridge". These tools allow Claude Code's functions, such as code reading, file editing, and command execution, to be powered by Gemini.

As of March 2026, Gemini 3.1 Flash-Lite is fast and cost-effective. It is expected to be a strong lightweight model, with an input cost of $0.25 per million tokens.

Uravation


Here's how to use Gemini 3.1 Flash-Lite with Claude Code:

Steps to Use Gemini 3.1 Flash-Lite with Claude Code

Get an API key from Google AI Studio

Sign in to Google AI Studio and create an API key compatible with Gemini 3.1 Flash-Lite.

Set up Claude Bridge

Use an OSS tool, such as claude-bridge, to connect Claude Code with external models like Gemini.

Configure claude-bridge in the terminal and set the GEMINI_API_KEY environment variable with the key from step 1.

Specify gemini/3-1-flash-lite in the model selection.

Start Claude Code

Run the claude command through the bridge tool. This will use Gemini 3.1 Flash-Lite as the inference engine for coding tasks.

Features of Gemini 3.1 Flash-Lite

Low cost and speed: It costs about one-eighth of Gemini 3 Pro and is suitable for AI coding tasks that need fast responses.

Practical performance: It is a lightweight model, but it performs well enough for code generation and refactoring.



Note: As of March 2026, the Gemini CLI (Google's official terminal tool) has also improved and is a free, high-performance option.

コメント

このブログの人気の投稿

パナソニックホームズ:震度7の地震を140回耐える実験をクリアし、繰り返しの地震に最強レベルの強さを誇る。 VS 大和ハウス(ジーヴォ):制震装置「グランデバイス」を搭載し、巨大地震や繰り返しの地震に強い。 VS ヤマダホーム では、メリット デメリットとどちらが優れていると思いますか?

ヤマダホームとパナホームの シーリングレス(コーキングレス)のオプションでメンテナンスフリーに近い外壁を選べるそうなので教えて

核融合発電の安全性を高めるアイデアやコストを掛けて安全性を高めるには?