Gemma 2 (9B) is a 9 billion parameter language model that offers competitive performance compared to larger models while maintaining a practical size. It is designed to be an open model, allowing for widespread use and adaptation by the developer community.
The Gemma 2 (9B) model incorporates several technical modifications to enhance its performance:
The model is described as delivering "the best performance for their size" and offering "competitive alternatives to models that are 2-3 × bigger".
While not explicitly mentioned in the provided information, it's important for developers to consider potential biases in the model's outputs and use it responsibly. As with any large language model, care should be taken to ensure that the model's responses are appropriate and do not perpetuate harmful biases or misinformation.
Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
Google Gemma 2 (9B) represents a significant step forward in the development of efficient and powerful language models. Its innovative architecture and training techniques allow it to achieve impressive performance while maintaining a relatively small size. This makes it an attractive option for developers who need high-quality language processing capabilities but may have constraints on computational resources.For software developers looking to integrate advanced language processing into their applications, Gemma 2 (9B) offers a compelling balance of performance and practicality. Its open-source nature also allows for customization and fine-tuning to specific use cases, making it a versatile tool in the natural language processing toolkit.
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| MMLU | 71.3 | Multi-discipline knowledge across 57 school and professional subjects | Source | September 21, 2026 |
| GSM8K | 68.6 | Grade-school maths word problems requiring multi-step arithmetic | Source | September 21, 2026 |
| HumanEval | 40.2 | Python function synthesis from a docstring, scored by unit tests (pass@1) | Source | September 21, 2026 |
| MATH | 36.6 | Competition mathematics problems across five difficulty levels | Source | September 21, 2026 |
| HellaSwag | 81.9 | Commonsense sentence completion with adversarially filtered wrong endings | Source | September 21, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Gemma 2 (9B) (Deprecated) This page | ||||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
Yes, Gemma 2 (9B) (Deprecated) can stream responses as they are generated.
Yes, Gemma 2 (9B) (Deprecated) supports both function calling and structured outputs.
Gemma 2 (9B) (Deprecated) was built by Google.
This model is marked as deprecated.