Gemma 4 OpenCoder 40B-A8B BF16 v2

Gemma 4 OpenCoder 40B-A8B v2 is a continued post-trained Gemma 4 coding model focused on agentic software engineering, long-context reasoning, and reliable tool use. It is designed for OpenCode workflows including repository navigation, implementation, editing, debugging, review, and sustained multi-file work.

The checkpoint contains approximately 42.4B text parameters and activates approximately 8.1B text parameters per token. It retains Gemma 4's native 262,144-token context window.

This BF16 release is a self-contained checkpoint using the standard Gemma 4 architecture. It does not require an adapter, external router, or auxiliary model.

Intended use

  • Agentic software engineering
  • OpenCode coding workflows
  • Long-context codebase navigation
  • Reasoning-enabled tool use
  • Multi-file implementation and editing
  • Debugging and code review

Run with reasoning and automatic tool calling enabled, and preserve the checkpoint's included chat template.

Model format

  • Weight format: BF16 safetensors
  • Architecture: Gemma 4 Mixture-of-Experts
  • Total text parameters: approximately 42.4B
  • Active text parameters: approximately 8.1B per token
  • Maximum context: 262,144 tokens

vLLM

vllm serve LLMWildling/gemma-4-opencoder-40b-a8b-bf16-v2 \
  --tensor-parallel-size 2 \
  --reasoning-parser gemma4 \
  --tool-call-parser gemma4 \
  --enable-auto-tool-choice \
  --max-model-len 262144

Adjust tensor parallelism and context length for the available hardware. For OpenCode, select the served model and keep reasoning and tool calling enabled.

Downloads last month
35
Safetensors
Model size
43B params
Tensor type
BF16
·
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-bf16-v2

Finetuned
(151)
this model