Google releases FunctionGemma, a 270M model for function calling

Imagine telling your phone "remind me to call mom when I get home" and having it actually understand you — not by sending your words to some distant server, but by processing everything right there in your pocket, instantly and privately. That's the promise of FunctionGemma, Google's newest open model that fits in just 301 megabytes.

FunctionGemma: Function Calling on Edge Devices

What is function calling in AI?

Here's the thing about AI assistants: they're great at conversation, but getting them to do things reliably? That's been surprisingly hard.

When you say "turn off the lights in the living room," the AI needs to translate your casual words into something a computer can execute — a structured command like {"action": "lights_off", "room": "living_room"}. This translation from human language to machine action is called function calling, and it's trickier than it sounds.

Most AI models treat this as a side task. They're trained to chat, and function calling is bolted on afterward. The result? They work... sometimes. They hallucinate function names that don't exist. They get parameters wrong. They're slow because they're too big to run locally.

FunctionGemma flips this around entirely. It's a model built from the ground up to be exceptional at exactly one thing: turning your words into actions.

Small Model, Big Results

At 270 million parameters, FunctionGemma is tiny compared to the giants like GPT-4 or Claude. You could fit it on a cheap smartphone. It runs on an NVIDIA Jetson Nano — a $99 developer board the size of a credit card.

But here's what caught my attention: Google tested it on their "Mobile Actions" benchmark, which measures how well a model can handle real smartphone commands. A general-purpose model scored 58%. FunctionGemma, after being fine-tuned for specific tasks, hit 85%.

That 27-point jump tells a story. When you train a specialist instead of asking a generalist to moonlight, you get dramatically better results — and you can do it with a fraction of the compute.

Why does running the model on the device matter?

There's something almost subversive about FunctionGemma's approach. In an era where AI companies want everything routed through their cloud servers (and their billing systems), Google released a model designed to run entirely on your device.

The implications are significant:

Privacy becomes absolute. When you ask your smart home to "turn on the bedroom lights," that command never leaves your house. No server logs it. No company can analyze it. It simply happens and disappears.

Speed becomes instant. Cloud round-trips add latency — sometimes just milliseconds, sometimes seconds. Local processing means your lights respond the moment you finish speaking.

Reliability becomes unconditional. No WiFi? No problem. The model works offline, which matters more than you'd think for smart home devices and automotive systems.

The Practical Reality

I should be clear about what FunctionGemma is and isn't. This isn't a chatbot. You wouldn't use it to write emails or answer trivia questions. Google explicitly states it's "not intended for use as a direct dialogue model."

Instead, think of it as a translator that sits between you and your apps. It excels when you have a well-defined set of actions — the kind of thing you'd find in a smart home system, a media player, or a car's voice interface.

The sweet spot is applications where you know what functions exist, you need instant response, and you care about privacy. Smart speakers. Automotive assistants. Accessibility tools. Industrial control systems.

For anything requiring open-ended conversation or creative thinking, you'd still want a larger model. FunctionGemma's genius is knowing its lane and staying in it.

Getting Started

If you want to try it yourself, the easiest path is through Ollama:

That's it. One command, and you have a function-calling model running locally. From there, you can define your own functions and start experimenting with voice-to-action workflows.

For production use, the model is available through Hugging Face, Kaggle, and Google's Vertex AI. It works with popular serving frameworks like vLLM and llama.cpp, and Google provides fine-tuning guides if you want to specialize it further for your specific use case.

What This Signals

FunctionGemma represents a bet that the future of AI isn't just about making models bigger. Sometimes the smarter move is making them smaller and more focused.

As our devices get more capable and our privacy concerns grow louder, there's real value in AI that runs locally, responds instantly, and does one thing exceptionally well. Not every problem needs a 175-billion-parameter model running in a data center.

Sometimes you just need your lights to turn off when you ask.

FunctionGemma is available now under Google's open Gemma license. Get started with ollama run functiongemma or explore the documentation.

Sources

Related stories

More from Debug Duck

All stories from Debug Duck