First Look Gemma 4 On Cerebras 3 Fast Multimodal Apps We Built
Captured source
source ↗Gemma 4 on Cerebras: Fast Multimodal AI Skip to main content
Flex and Cerebras are scaling American manufacturing of AI supercomputers in Silicon Valley. Learn more >>
Jul 08 2026 First Look @ Gemma 4 on Cerebras: 3 Fast Multimodal Apps We Built This guide walks through three multimodal applications built with Gemma 4, including document processing, image understanding, and video analysis.
Zhenwei Gao William Ryan Sherif Cherfa Sarah Chieng
We spent a week building multimodal use cases with Gemma 4, running on Cerebras at ~2,300 tok/s. Here are some of the things we built and our learnings. For the first time, an open-weight multimodal model has broken the 2,000 tok/s barrier. Meet Gemma 4 31B on Cerebras . As Google’s latest open-weight multimodal model, Gemma 4 brings vision, reasoning, long context, chain-of-thought, function calling, and strong agentic capabilities together in this 31B dense model. Running on Cerebras at ~2,300 tokens/sec , it makes real-time multimodal agents, iterative reasoning, and interactive workflows practical.
The specs on Cerebras: 31B dense model - 30.7B-parameter dense model, meaning all parameters participate in each inference pass. Vision-capable - Supports text + image input for OCR, document understanding, image search, object detection, UI understanding, and video-frame analysis. 131K context window - Handles long documents, large batches, agent traces, and multi-step workflows. 140+ languages - Built for multilingual use cases across global enterprise and consumer applications. Instruction-tuned - Optimized for following prompts, chat, structured JSON outputs, system instructions, function calling, and agentic workflows.
The bigger question is: how well those capabilities translate into real performance? According to Artificial Analysis , Gemma 4 represents a major jump over Gemma 3 26B, and ranks among the strongest open-weight models in its Intelligence Index, one of the leading independent benchmarks for model performance.
As the the first and fastest multimodal model hosted on Cerebras, we couldn't resist putting Gemma 4's image inputs to the test first. Multimodality use cases we built and tested: Document Analysis First, we tested a classic multimodal workflow: side-by-side document analysis . We uploaded the 60-page DeepSeek-V4 technical report and asked Gemma 4 to explain the first three technical figures, including the graphics, charts, and key takeaways from each. From upload to output, the full response returned in 1.79 seconds on Cerebras , compared to almost 25 seconds on GPU providers , a 17× speedup on Cerebras .
Loading player...
For researchers, this kind of speed changes the shape of literature review. Instead of waiting on a model to parse dense papers one at a time, they can quickly interrogate long technical documents, inspect figures, and move from question to answer while the context is still fresh. Image Analysis Next, we tested Image search, side by side against a popular GPU inference provider. For this demo, we point Gemma 4 to a folder of images, typed what we were looking for in plain language, like ’ food’ or a ‘red car ,’ and Gemma 4 starts two agents at the same time. The left side runs Gemma 4 on Cerebras, while the right side runs the same model on GPUs. Both inference providers loop over the exact same set of 80 images, batched the same way, with the same prompt, so the only variable left is speed. The difference is not subtle. Reading that a model is many times faster is abstract, but seeing it live is not. We’ll let the video do the talking.
Loading player...
So far, we had tested Gemma 4 on static multimodal inputs: documents, charts, and images. But many real-world visual tasks are not single prompts. They unfold across frames, repeated calls, structured outputs, and downstream actions, where fast inference compounds across the whole pipeline. Rental Car Damage Scout Inspired by our teammate's recent Euro summer trip and a few rental cars along the way, we built Damage Scout , a rental car walk-around inspector. The workflow starts with a short vehicle walk-around video, the kind someone might record at rental pickup or drop-off. The app samples frames from the video, sends them to Gemma 4 on Cerebras, and asks for structured JSON describing any visible damage, its location, and the model’s confidence in its assessment. From there, it deduplicates repeat sightings of the same scratch across frames, draws boxes on the clearest evidence frames, and assembles a damage report that can be reviewed or passed into the next step. All done within the time that you can blink. Because the original video was recorded at 60fps, we sampled one frame every two seconds as the camera moved around the SUV. That produced 17 frames from a 34-second recording. Here’s a sample result from a recent run we ran on Cerebras WSE-3 Wafers. Annotated frames started returning almost immediately, with visible damage labeled and boxed as the pipeline progressed.
To draw the outlines on the images, we used Gemma 4’s structured outputs to generate the bounding boxes over the images using Javascript. Each batch of three images took an average of 300ms to process. All 17 frames were processed and annotated in just 5 seconds, start to finish.
The full side-by-side demo makes the latency difference obvious. Watch on as we run it side-by-side against a popular GPU provider serving the same Gemma 4 31B model. The results speak for themselves. Same request, same recording, ~17x faster .
Across these demos, the lesson became clear: Gemma 4 on Cerebras was fast enough to make multimodal workflows feel interactive, but raw inference speed was only part of the result. The experience worked because the surrounding system was designed for speed too: prompt format, image handling, batching, structured outputs, and tool orchestration all mattered. Those lessons became a practical starting point for developers deploying Gemma 4 on Cerebras in real multimodal applications. What we learned: 7 tips for fast multimodal apps To get the most out of Gemma 4, speed has to be designed into the whole application, not just the model endpoint. Use the official chat template. Gemma 4 expects standard system , user , and assistant / model turns, along with the correct formatting for images , audio , thinking , tools , tool_calls , and tool_responses . When that structure is handled correctly, the model becomes much more reliable....
Excerpt shown — open the source for the full document.