Google logo

Gemma 2 9B


Gemma 2 9B is Google logoGoogle's language model with a 8K context window and up to 8K output tokens, starting at $0.200 / 1M input and $0.200 / 1M output. A 9-billion-parameter Gemma 2 open LLM balancing strong text generation quality with moderate compute requirements.
Spec
Canonical IDgoogle-gemma-2-9b
TypeLanguage
StatusActive
CreatorGoogleGoogle
Providers
Context Window8K tokens
Max Output8K tokens
Input ModalitiesImage
Output ModalitiesText
Parameters9B

Capabilities

Input1/5
Text·
Image
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Vercel AI Gateway logo
Vercel AI Gateway
google/gemma-2-9b
$0.200$0.200

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Gemma 4Available
Gemma 4 26B A4B ITAvailable
SEA-LION Gemma 4 27B IT8KAvailable
Gemma 3n 2B8KAvailable
Gemma 3 12B IT131K$0.040$0.100Available
Gemma 3 4B Instruct128KAvailable
Gemma 3 4B IT131K$0.040$0.080Available
Gemma 3Available
Gemma 3 12B Instruct128K$0.150$0.500Available
Gemma 3 1B InstructAvailable
Gemma 2 9B8K$0.200$0.200Current

HuggingFace

696 likes72,575 downloads/month1,726,139 total downloads

Model IDs