Gemma 3 12B

Google chattool_usevision

API ID: google/gemma-3-12b-it

Input Price
$0.03
/1M tokens
Output Price
$0.10
/1M tokens

About Gemma 3 12B

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, including structured outputs and function calling. Gemma 3 12B is the second largest in the family of Gemma 3 models after [Gemma 3 27B](google/gemma-3-27b-it)

๐Ÿ“Š
Price Ranking
#611 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
16k
Release Date
2025-03-13
Capabilities
chat tool_use vision
Input Modalities
textimage
Output Modalities
text

Best For

  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.04
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$1.35
/month
1000 tickets/day, ~800 tokens each

Google Model Lineup

Compare all models from Google to find the best fit

Model Input Output Context Capabilities
Gemma 3 12B Current Free Free 131k chat tool_use vision
Gemma 3n 4B Free Free 33k chat
Gemini 2.5 Flash Image Preview (Nano Banana) Free Free 33k chat vision image_gen
Gemma 3n 2B (free) Free Free 8k chat tool_use
Gemma 1 2B Free Free 8k chat
Gemma 1 2B Free Free 8k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

OpenAI Text Embedding 3 Large
Input: $0.13
Output: Free
Context: 8k
Mistral Mistral Small 3
Input: $0.05
Output: $0.08
Context: 33k
IBM Granite Granite 4.0 Micro
Input: $0.02
Output: $0.11
Context: 131k
Nex Agi Nex-N2-Mini
Input: $0.03
Output: $0.10
Context: 262k

๐Ÿš€ Quick Start

Get started with Gemma 3 12B API

Google AI Python SDK
import google.generativeai as genai

genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemma-3-12b-it")

response = model.generate_content("Hello!")
print(response.text)