Skip to main content
Google DeepMindReleased June 27, 2024

Gemma 2

Open Source#26 Arena Rank27B parameters

Gemma 2 holds a solid spot in the Arena rankings at #26. Context window: 0.008K tokens.

Context

8K

Input

Free

Key Specifications

🏆

Arena Rank

#26

📐

Context Window

8K

📥

Input Price

per 1M tokens

Free

📤

Output Price

per 1M tokens

Free

🧠

Parameters

27B

🔓

Open Source

Yes

Best For

On-device AIresearchfine-tuning

About Gemma 2

Gemma 2, developed by Google DeepMind, is an open-source language model family available in 2B, 9B, and 27B parameter sizes with an 8K token context window. The model family brings research-grade capabilities from the Gemini program to the open-source community, performing well on reasoning, coding, and general knowledge tasks relative to its size class. Gemma 2 can be fine-tuned for specific domains and runs efficiently on consumer GPUs, making it accessible for independent researchers and small organizations. Its permissive license allows commercial use and modification. Priced at zero cost as a fully open-source release, it has become widely adopted for academic experiments in alignment, efficiency, and domain adaptation. Gemma 2 ranks #26 on the Chatbot Arena leaderboard, reflecting solid performance for an open-weight model.

Pricing per 1M tokens

Input Tokens

Free

Output Tokens

Free

Frequently Asked Questions

What is Gemma 2?
Gemma 2, developed by Google DeepMind, is an open-source language model family available in 2B, 9B, and 27B parameter sizes with an 8K token context window. The model family brings research-grade capabilities from the Gemini program to the open-source community, performing well on reasoning, coding, and general knowledge tasks relative to its size class. Gemma 2 can be fine-tuned for specific domains and runs efficiently on consumer GPUs, making it accessible for independent researchers and small organizations. Its permissive license allows commercial use and modification. Priced at zero cost as a fully open-source release, it has become widely adopted for academic experiments in alignment, efficiency, and domain adaptation. Gemma 2 ranks #26 on the Chatbot Arena leaderboard, reflecting solid performance for an open-weight model.
How much does Gemma 2 cost?
Input pricing for Gemma 2 is Free per million tokens; output runs Free. No cost at all.
What is Gemma 2's context window?
The context window for Gemma 2 is 8K tokens. That's the maximum amount of text you can feed into a single prompt, including system instructions, conversation history, and the actual query.
Is Gemma 2 open source?
Gemma 2 is fully open source. You can grab the weights, run it on your own hardware, and fine-tune it for specific tasks. That flexibility is a big deal for teams with strict data requirements.
What is Gemma 2 best for?
The sweet spot for Gemma 2 is: On-device AI, research, fine-tuning. If your workload fits one of these categories, it's worth benchmarking against alternatives.