litellm - 💡(How to fix) Fix [Feature]: Official support for Gemma-4 with tool calling via Claude Code [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#25489Fetched 2026-04-11 06:13:55
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

The Feature

Please add native support for the Gemma-4 model family (specifically gemma-4-31b-it and gemma-4-26b-a4b-it) when used as a proxy for Claude Code.

Motivation, pitch

I want to use Claude Code with cloud-based Gemma-4 models on Google AI Studio's free tier. This setup would allow users with older hardware to run a high-performance coding agent without local overhead. Currently, only OpenCode works reliably in this configuration.

What part of LiteLLM is this about?

Proxy

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

extent analysis

TL;DR

Add native support for the Gemma-4 model family in the proxy feature of LiteLLM to enable compatibility with Claude Code on Google AI Studio's free tier.

Guidance

  • Investigate the current implementation of the proxy feature in LiteLLM to understand how it interacts with different models.
  • Research the specific requirements of the Gemma-4 model family (gemma-4-31b-it and gemma-4-26b-a4b-it) to determine what changes are needed for native support.
  • Consider the limitations and capabilities of Google AI Studio's free tier to ensure that the implementation is optimized for this environment.
  • Evaluate the compatibility of Claude Code with the proposed changes to ensure a seamless user experience.

Notes

The implementation details of the Gemma-4 model family and the proxy feature in LiteLLM are not provided, so a more specific solution cannot be offered.

Recommendation

Apply workaround: Implement a custom proxy solution that supports the Gemma-4 model family, allowing users to utilize Claude Code on Google AI Studio's free tier until native support is added.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Feature]: Official support for Gemma-4 with tool calling via Claude Code [1 participants]