Gemma-3-12B-IT
Google's 12B open-weight instruction-tuned multimodal model featuring pan-and-scan visual encoding and interleaved attention, balancing single-GPU deployment efficiency with 128K long-context comprehension and multilingual instruction following.
What you can do
- High-resolution chart and document QA
- Multilingual business writing and translation
- Private knowledge-base long-context QA
Input & output
- Input
- Multilingual text prompts and images up to 128K context tokens
- Output
- Natural-language explanations, visual descriptions, translations, and code
Try a prompt like this
Read this architecture diagram image and draft a concise deployment checklist in both English and Chinese covering network ports, database dependencies, and failover paths.
Things to know
Requires ~24GB–28GB VRAM in BF16 (fits a single 24GB GPU with FP8/INT8/INT4 quantization at ~8GB–14GB); governed by Google's Gemma Terms of Use and requires transformers >= 4.50 or vLLM for Gemma 3 vision support.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
LLM-Research/gemma-3-12b-it
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="LLM-Research/gemma-3-12b-it",
messages=[{"role": "user", "content": "Read this architecture diagram image and draft a concise deployment checklist in both English and Chinese covering network ports, database dependencies, and failover paths."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide