AIToday

Google updates Gemma 4 with faster inference, tool-calling fixes

THE DECODER3h ago
Google updates Gemma 4 with faster inference, tool-calling fixes

Key takeaway

Google has released a performance and reliability update to its open Gemma 4 AI model, delivering 25 to 70 percent faster prompt processing and up to 31 percent lower latency on Nvidia Hopper GPUs via Flash Attention 4. The update fixes tool-calling bugs, reduces truncated responses, and improves agentic reasoning, particularly for the 31B variant. Users can now manually tune image processing parameters for sharper OCR and higher resolution support.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    Google released an update to its open Gemma 4 AI model that enables Flash Attention 4, boosting prompt processing speed by 25 to 70 percent and reducing time to first token by up to 31 percent on Nvidia Hopper GPUs. The update also fixes tool-calling bugs, reduces truncated responses, and improves the 31B variant's agentic reasoning by up to 10.1 percent in telecommunications use cases. All parameter sizes received updates, though Google shipped the release under the same "Gemma 4" name rather than versioning it separately.

  • Why it matters

    The performance gains directly benefit developers running Gemma 4 on Nvidia hardware—faster inference and lower latency mean cheaper, more responsive applications. The tool-calling and truncation fixes address real reliability gaps that would have hindered production deployments, particularly for agentic workflows (where the model autonomously calls external systems). For image processing, users can now manually increase the max_soft_tokens parameter from 280 to 1,120 to support sharper OCR and up to 2.51 megapixel resolutions.

  • What to watch

    The community has objected to Google releasing the update under the same "Gemma 4" name instead of tagging it as a separate version like "Gemma 4.1"—a versioning choice that could cause confusion. Google has published an interactive configurator on Hugging Face to help users tune the image processing parameter.

In Depth

Google has released a significant performance and reliability update to Gemma 4, its open-source AI model available to developers. The update is distributed across all parameter sizes—including the 31B, E4B, and the newest 12B variants—but ships under the same "Gemma 4" name, a choice that has drawn criticism from the community.

The core improvement centers on inference speed and latency. By enabling Flash Attention 4, a technique that optimizes how the model processes incoming text, Google achieves a 25 to 70 percent boost in prompt processing speed and a reduction of up to 31 percent in time to first token (the latency before the model generates its first response) on Nvidia Hopper GPUs. These gains directly translate to faster, cheaper inference for developers running the model in production.

Beyond raw speed, the update addresses two critical reliability gaps. Google fixed bugs in tool calling, the feature that allows the model to autonomously trigger external tools—essential for agentic applications where the AI makes decisions and takes actions without human intervention. The 31B variant shows particularly strong improvements in agentic reasoning and tool-calling performance across all tested scenarios, with the highest gains of 10.1 percent appearing in telecommunications use cases. Google also reduced instances of truncated or incomplete responses, a problem that would otherwise undermine user trust in longer-form outputs.

For image processing tasks, the update introduces tuning flexibility. Users can manually increase the "max_soft_tokens" parameter from its default of 280 to 1,120, enabling sharper OCR (optical character recognition) results and support for resolutions up to 2.51 megapixels. Google published an interactive configurator on Hugging Face to guide users through this adjustment without requiring deep technical knowledge. The published benchmarks focus on comparisons between the 31B and E4B variants against their predecessors, though the Hugging Face repository confirms all sizes received updates. The decision to release the update without a version bump—keeping it as "Gemma 4" rather than labeling it "Gemma 4.1"—has prompted community feedback questioning whether the scale of improvements warrants a separate version identifier to avoid confusion.

Context & Analysis

Google's Gemma 4 update represents a targeted refinement of its open model rather than a major new release. The update addresses three specific pain points: raw inference speed on Nvidia hardware, a critical reliability issue with tool calling (essential for agentic use cases), and response truncation that would undermine user experience. The performance gains—particularly the 25–70 percent speedup and 31 percent reduction in time-to-first-token—are meaningful for production deployments where latency directly affects cost and user experience.

The agentic reasoning improvements, with up to 10.1 percent gains in telecommunications scenarios, suggest the update targets enterprise workflows where the model autonomously triggers external tools. The image processing tuning option (max_soft_tokens from 280 to 1,120) indicates Google is also addressing domain-specific use cases, with the Hugging Face configurator making this accessible to non-expert users. However, the decision to ship the update under the same "Gemma 4" name has drawn pushback from the open-source community, who expected a version bump (like "Gemma 4.1") to signal the magnitude of the changes—a versioning practice that would typically help developers track breaking changes or significant improvements.

FAQ

What hardware does this update apply to?
The performance improvements apply to Nvidia Hopper GPUs. The update itself applies to all parameter sizes of Gemma 4, including the 31B, E4B, and 12B variants.
How much faster is the model after the update?
Flash Attention 4 boosts the speed at which the model processes incoming prompts by 25 to 70 percent, and time to first token drops by up to 31 percent.
What can I do with the image processing tuning?
Users can manually raise the "max_soft_tokens" parameter from 280 to 1,120 to get sharper OCR results and support resolutions up to 2.51 megapixels. Google published an interactive configurator on Hugging Face for this adjustment.

Get AI news like this every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No discussion yet for this article

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →