Key Specifications

SpecificationGemma 2 9BGemma 7B
Vendorgooglegoogle
Versiongemma-2-9bgemma-7b
Release Date2024-06-272024-02-21
Context Window8192 tokens8192 tokens
Input Modalitiestexttext
Output Modalitiestexttext
LicenseGemma LicenseGemma License
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkGemma 2 9BGemma 7BWinner
ARC90.388.4Gemma 2 9B
BBH66.765.7Gemma 2 9B
GPQA30.337.1Gemma 7B
GSM8K64.363.6Gemma 2 9B
HUMANEVAL60.961Gemma 7B
IFEVAL64.366.9Gemma 7B
MATH28.925.7Gemma 2 9B
MMLU64.369.6Gemma 7B
MUSR44.136.2Gemma 2 9B
WINOGRANDE72.574.1Gemma 7B

Pricing Comparison

Tier (per Mtok)Gemma 2 9BGemma 7B
Input$0.3$0.22
Output$0.3$0.22
Cache Read$0$0
Cache Write$0$0

Gemma 2 9B contra Gemma 7B

Visão geral do modelo

Gemma 2 9B and Gemma 7B are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Especificações principais

FornecedorData de lançamentoJanela de contextoLicença
Google / Google2024-06-27 / 2024-02-218K / 8KGemma License / Gemma License

Desempenho em benchmarks

BenchmarkGemma 2 9BGemma 7BVencedor
ARC90.388.4A
BBH (BIG-Bench Hard)66.765.7A
GPQA30.337.1B
GSM8K (Grade School Math 8K)64.363.6A
HumanEval60.961.0Tie
IFEval64.366.9B
MATH28.925.7A
MMLU (Massive Multitask Language Understanding)64.369.6B
MUSR44.136.2A
WinoGrande72.574.1B

Comparação de preços

EntradaSaídaLeitura de cacheEscrita de cache
— / —— / —— / —— / —

por milhão de tokens — A / B

Pontos fortes & Pontos fracos

Gemma 2 9B

  • ✅ 可靠的通用模型。
  • ⚠️ 闭源专有模型,不支持自托管。
  • ⚠️ 上下文窗口 8K 偏小。

Gemma 7B

  • ✅ 可靠的通用模型。
  • ⚠️ 闭源专有模型,不支持自托管。
  • ⚠️ 上下文窗口 8K 偏小。

Opinião do editor

Gemma 2 9B and Gemma 7B each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

Perguntas frequentes

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

Referências

Editor's Take

See Editor's Take section.