Cue AI Uses Gemma 4 for Faster Voice Dictation: 44% Latency Drop, 30% More Usage

✍️ OpenClawRadar📅 Published: July 21, 2026🔗 Source
Ad

Cue AI, a voice-activated desktop agent that executes dictation and agentic tasks via hotkey, replaced its cloud-based text polish step with Google DeepMind's Gemma 4 E4B running locally via Ollama. The switch cut median polish latency from 876ms to 488ms — a 44% reduction — and pushed the round-trip (speak, polish, insert) comfortably under 500ms, the perceptual budget for feeling faster than typing.

Key Results

  • Latency: Polish step dropped from 876ms to 488ms median (measured on Apple Silicon M-series via Ollama, 227 real voice samples including mixed-language input).
  • Usage: Dictation per user increased ~30% in the four weeks after the default switch. Users who previously dictated short messages began dictating longer ones, and voice-mode adoption grew for time-sensitive work.
  • Cost: Running Gemma 4 E4B on-device drove marginal inference costs to zero, allowing unlimited dictation on the free tier without caps or paywall.
Ad

How It Works

The polish pipeline is intentionally simple: audio is transcribed via cloud STT, then sent to Gemma 4 E4B with a compact ~400-token system prompt that enforces formatting rules — restoring punctuation, segmenting sentences, removing filler words, correcting homophones, and adapting to the active input field (e.g., no trailing period for short commands, full punctuation for email). The polished text is pasted via native OS APIs.

Cue's deployment uses the base model with prompt engineering only. Active-app context (application name, field type, placeholder text) is injected into the prompt so the model knows whether the user is composing a Slack message, an email, or a terminal command. The cloud path remains as a fallback: if Ollama is not running, Cue routes to a cloud model without interruption.

Why Gemma 4 Won

The team originally planned to use Gemma only as an offline fallback, assuming a larger cloud model would provide better accuracy. Benchmarks on 227 real voice samples showed that Gemma 4 E4B has the right capacity to format and correct without over-editing — preserving the user's natural speech instead of smoothing into formal prose. This inversion — Gemma local as default, cloud as fallback — is now the operational backbone of every Cue dictation.

📖 Read the full source: HN AI Agents

Ad

👀 See Also

Open-source Claude Code skill /unzuck curates social media feeds into dashboard
Tools

Open-source Claude Code skill /unzuck curates social media feeds into dashboard

A free, open-source Claude Code skill called /unzuck scans feeds across Hacker News, Reddit, LinkedIn, YouTube, Twitter/X, Instagram, and Facebook in parallel using browser automation, scores items against user interest profiles, and generates interactive HTML dashboards.

OpenClawRadar
Self-Hosted Contextual Bandit in Rust: Syntra & Lycan for Adaptive Decision Systems
Tools

Self-Hosted Contextual Bandit in Rust: Syntra & Lycan for Adaptive Decision Systems

Two open-source projects: Lycan (graph execution language with strategy nodes and learned weights) and Syntra (Docker/API appliance serving compiled Lycan capsules). Found data pipeline bugs before runtime bugs when dogfooding on an AI stock-debate product.

OpenClawRadar
Log Reducer MCP Server Cuts Token Usage When Claude Code Reads Logs
Tools

Log Reducer MCP Server Cuts Token Usage When Claude Code Reads Logs

Log Reducer is an MCP server that processes log files server-side before sending reduced output to Claude Code, avoiding raw logs in the context window. It applies 19 deterministic transforms that compress logs by 50-90%, with a 2000-line log representing 20,000+ tokens removed from sessions.

OpenClawRadar
Stockade: A New Orchestration Tool for Claude Code with Channel Support and Security Layers
Tools

Stockade: A New Orchestration Tool for Claude Code with Channel Support and Security Layers

Stockade is an orchestration tool built around Anthropic's Agent SDK that provides channel-based session management, RBAC, and fine-grained permissions for AI agents. It addresses limitations in OpenClaw and NanoClaw by offering more control while maintaining security through containerization and credential proxies.

OpenClawRadar