Skip to content
llmmodels

Gemma 2 9B vs granite-8b-code-instruct-4k

Gemma 2 9B is made by Google DeepMind and granite-8b-code-instruct-4k by IBM. See the full spec comparison below.

SpecGemma 2 9Bgranite-8b-code-instruct-4k
ProviderGoogle DeepMindIBM
ReleasedJun 24, 2024 (better)Apr 26, 2024
TypeChat LLMChat LLM
Parameters9.2B8.1B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensegemmaapache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index112.4—
GPQA Diamond27.5%—
OTIS Mock AIME0.6%—
MATH Level 521.0%—
LiveBench28.7%—
MMLU72.1%—
GSM8K84.9%—

About Gemma 2 9B

Gemma 2 9B is an open-weight chat llm from Google DeepMind, released Jun 24, 2024. It has 9.2B parameters. It scores 112.4 on the Epoch Capabilities Index. Full Gemma 2 9B specs →

About granite-8b-code-instruct-4k

granite-8b-code-instruct-4k is an open-weight chat llm from IBM, released Apr 26, 2024. It has 8.1B parameters. Full granite-8b-code-instruct-4k specs →

Compare other models

FAQ

Which is better, Gemma 2 9B or granite-8b-code-instruct-4k?

Gemma 2 9B is made by Google DeepMind and granite-8b-code-instruct-4k by IBM. See the full spec comparison below.

Are Gemma 2 9B and granite-8b-code-instruct-4k open source?

Gemma 2 9B is open-weight; granite-8b-code-instruct-4k is open-weight.