Gemma-4 26B-A4B with Opencode Runs Efficiently on M5 MacBook Air

✍️ OpenClawRadar📅 Published: April 14, 2026🔗 Source
Gemma-4 26B-A4B with Opencode Runs Efficiently on M5 MacBook Air
Ad

A developer tested Gemma-4-26B-A4B with Opencode on a 32GB M5 MacBook Air and found it delivers practical performance for local AI coding tasks.

Performance Benchmarks

The specific configuration tested was gemma-4-26B-A4B-it-UD-IQ4_XS running on a 32GB M5 MacBook Air. In low power mode, it achieved:

  • 300 tokens/second prompt processing
  • 12 tokens/second generation
  • 8W power consumption
  • No heat or fan noise during operation

The M5 MacBook Air showed significant improvements over previous hardware:

  • ~25% faster prompt processing than an M1 Max 64GB (even when the Max wasn't in power saving mode)
  • ~6 hours of battery life versus ~2 hours on the M1 Max when running Opencode
  • This despite having a smaller battery (53.8Wh vs 70Wh on the M1 Max)

Practical Use Cases

The developer found this setup "actually usable" for agentic coding behavior from a laptop. Previously, running LLMs on an M1 Max 64GB was limited to "tinkering and toy use cases" and couldn't handle longer context tasks effectively. While it could create a simple Snake game in Python, agentic coding or contributing to larger codebases was "a bit janky."

The M5's performance makes it practical for mobile use cases where internet connectivity might be unreliable, such as coffee shops or train commutes.

Ad

Comparison to Other Models

The developer compared Gemma-4-26B with Opencode to closed-source alternatives:

  • It doesn't replace Claude Code or Antigravity from their testing
  • Gemma-4 requires "far more hand-holding than current closed-source frontier models"
  • The responses are described as "kinda dry" compared to Claude Code or Gemini-3.1-Pro with Antigravity
  • However, they'd prefer Gemma-4-26B over running out of Gemini-2.5-Pro allowance and being forced to use Gemini-2.5-Flash

The developer notes this represents significant progress, as "this sort of agentic coding was cutting-edge / not even really possible with frontier models back at the end of 2024."

📖 Read the full source: r/LocalLLaMA

Ad

👀 See Also

ApexClaw: Open-Source Telegram AI Agent with 85+ Tools for Web Automation, Voice, and Email
Tools

ApexClaw: Open-Source Telegram AI Agent with 85+ Tools for Web Automation, Voice, and Email

ApexClaw is an open-source Telegram AI agent written in Go that provides 85+ built-in tools including web browsing with headless Chrome, voice note processing, Gmail integration, and shell script execution. It's self-hosted and uses the z.ai engine for reasoning.

OpenClawRadar
Jean-Claude: A Satirical LLM Frontend Mocking EU AI Regulation, with 412 Cookie Partners and VAT Invoices Every 5 Messages
Tools

Jean-Claude: A Satirical LLM Frontend Mocking EU AI Regulation, with 412 Cookie Partners and VAT Invoices Every 5 Messages

Jean-Claude is a satirical LLM frontend that applies extreme EU-style bureaucracy to AI usage: 412 cookie partners, four-eyes principle requiring co-signature, per-token CO₂ tracking with mandatory €offset, VAT invoices every 5 messages, and a compliance center with fake GDPR/AI Act metrics.

OpenClawRadar
User-built PTC for Claude Code shows 40-65% token savings on analysis tasks, not code writing
Tools

User-built PTC for Claude Code shows 40-65% token savings on analysis tasks, not code writing

A developer built a local PTC implementation called Thalamus for Claude Code and analyzed 79 real sessions, finding 40-65% token savings on analysis tasks but near-zero savings on code-writing tasks. The agent used execute() primarily for general Python computation rather than batching tool calls.

OpenClawRadar
DeepSeek Reasonix: Native Coding Agent with High Caching and Low Cost
Tools

DeepSeek Reasonix: Native Coding Agent with High Caching and Low Cost

Reasonix is a DeepSeek-native AI coding agent for the terminal, focusing on high caching efficiency and low inference cost.

OpenClawRadar