Gemma 4 OpenCoder 40B-A8B

Gemma 4 OpenCoder is a continued Gemma 4 reasoning model focused on OpenCode-style coding workflows, tool use, and production software tasks.

It is intended for agentic coding environments where the model can reason, inspect context, call tools, edit files, and continue through multi-step implementation tasks.

The checkpoint adds roughly 14B parameters to the Gemma 4 26B-A4B base and was post-trained on approximately 30k OpenCode-oriented coding samples.

Model profile

Field Value
Total parameters ~40.1B
Active parameters ~8.0B
Added parameters ~14.3B
Context length up to 256K tokens
Format NVFP4
Base model google/gemma-4-26B-A4B-it
Primary focus coding-agent workflows, reasoning, and tool calling

Recommended use

Run this model in OpenCode or another compatible agent harness with reasoning and tool calling enabled.

Use a recent vLLM runtime with Gemma 4 NVFP4 support:

vllm serve <repo-id> \
  --max-model-len 262144

For best results, use the native Gemma 4 chat template and keep reasoning/tool-calling behavior enabled in the client stack.

Example OpenCode session

In one continuous OpenCode chat, the model one-shot generated:

  • a stylish SVG Flappy Bird-style game
  • a Breakout-style game
  • a skiing game
  • a monster truck jumping over cars

Screenshots

Flappy Bird style game

Breakout style game

Skiing game

Monster truck game

Notes

This checkpoint is intended for coding-agent workflows. It is not positioned as a general chat-only model. Use a harness that supports long context, reasoning, and structured tool use.

Downloads last month
1
Safetensors
Model size
21B params
Tensor type
BF16
·
U8
·
F8_E4M3
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LLMWildling/gemma-4-opencoder-40b-a8b-nvfp4

Finetuned
(139)
this model