Gemma 4 Dense Model Performance Recovers After Raising Token Cap
- •Gemma 4 Dense model errors vanished after increasing the token budget from 400 to 4096.
- •Author retracts claim of architecture-mediated failure, attributing previous regressions to reasoning starvation under strict caps.
- •Re-run showed 100% success rate on 12 calls across both MoE and Dense model architectures.
Author Ali Afana re-evaluated Gemma 4 model performance after community feedback suggested that a restrictive token limit, rather than architectural differences, caused previous observed regressions. The original test utilized a 26B MoE and a 31B Dense variant on an Arabic e-commerce chat router, where a 400-token cap led to false-negative refusals in the dense model. In this re-run, the author maintained the same conditions—including the Arabic-first system frame and a 0.3 temperature setting—but increased the max_tokens budget from 400 to 4096.
Following the budget increase, all 12 experimental calls were successful, with both the MoE and Dense architectures providing accurate, grounded answers across all six previously failed scenarios. The dense model, which previously returned HTTP 500 errors or false refusals, successfully retrieved three SKUs with prices and provided style recommendations when the budget allowed it to complete its reasoning process. The re-run demonstrated that both models perform multi-step reasoning effectively, though they require different token budget allocations to reach completion.
The findings clarify that while architectural differences exist, the failure modes previously labeled as 'architecture-mediated' were primarily due to reasoning starvation. The author concluded that the dense model is fit for grounded chat tasks and that budget constraints are the dominant factor when models fail to complete complex instructions. Future testing will examine the interaction between temperature settings and model performance, as well as cross-validation across different deployment stacks such as Ollama and managed Gemini API environments.
The author explicitly retracted the previous conclusion that the dense model was unfit for grounded interaction. Instead, the current results indicate that the reliability gap between the two architectures disappears when adequate budget is provided. The article emphasizes the importance of community cross-validation, noting that the observed pathology—where models stall or refuse under tight token caps—has now been corroborated across multiple independent deployment contexts.