Google: Gemma 3 12B
Google (United States) · Multimodal
🧠 12.2B📄 128K context💲 $0.050 / $0.150 per 1M tokens in / out🔓 Open weights (downloadable)⚖️ gemma
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...
Which way is for me?
Online, right nowNothing to install; free or very cheapOn my own computerOffline and private, with LM StudioFor developersvLLM, Transformers, llama.cpp
🌐 Online, right now
- Open the model's page on OpenRouter: openrouter.ai/google/gemma-3-12b-it
- Sign in (with Google or email) and press Chat; you can talk to the model right there.
- Cost: a short exchange (about a page in and a page out) costs about $0.00010, so $1 buys about 10,000 messages.
- Or try the free demo: huggingface-projects/gemma-3-12b-it
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
ggml-org/gemma-3-12b-it-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/ggml-org/gemma-3-12b-it-GGUF🧑💻 For developers
vLLM
vllm serve google/gemma-3-12b-itTransformers (Python)
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="google/gemma-3-12b-it")llama.cpp
llama-server -hf ggml-org/gemma-3-12b-it-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
Hardware and running it
Cloud and local Available through an API, and its weights are published to run on your own hardware.
- Minimum Q4
- 8.2 GB
- Recommended Q8
- 14.6 GB
- Full quality FP16
- 29.3 GB
On common hardware
| RTX 4060 · 8 GB | Won't run | |
|---|---|---|
| RTX 4090 · 24 GB | Great | Q8 · ≈ 30–50 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 26–44 tokens/s |
| Mac M4 Max · 128 GB | Usable | FP16 · ≈ 8–13 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 49–82 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 400–660 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: