Gemma 3 12B IT

gemma-3-12b-it by Google Cloud Released March 14, 2025
Function calling · Structured output · Prompt caching · Image input · EU hosting
Input from
$0.05 / 1M
Output from
$0.15 / 1M
Cached input from
$0.015 / 1M
Context window
131K
Endpoints
5
from 3 providers
Regions
Global, Europe, United States

About Gemma 3 12B IT

Gemma 3 12B is a state-of-the-art multimodal language model built and trained by Google. The model supports a context length of 128K tokens and can analyze images and text. With support for over 140 languages and optimized for dialogue use cases, Gemma 3 12B is aligned with human preferences for helpfulness and safety. This endpoint is hosted by Databricks.

Gemma 3 12B IT is a chat model by Google Cloud, available on Eden AI through 5 endpoints from 3 providers, from $0.05 per million input tokens and $0.15 per million output tokens, with a context window of up to 131K tokens.

Providers and prices

5 endpoints from 3 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
DeepInfra (United States)deepinfra/google/gemma-3-12b-it
United States
131K
$0.05
$0.15
$
Tools · JSON · Vision
Amazon Web Services (Europe)amazon/google.gemma-3-12b-it
Europe
128K
$0.09
$0.29
$
Tools · JSON · Vision
Amazon Web Services (United States)amazon/google.gemma-3-12b-it@us
United States
128K
$0.09
$0.29
$
Tools · JSON · Vision
Databricks (Europe)databricks/databricks-gemma-3-12b@eu
Europe
128K
$0.15
$0.5
$0.015
Tools · JSON · Cache · Vision
Databricksdatabricks/databricks-gemma-3-12b
Global
128K
$0.15
$0.5
$0.015
Tools · JSON · Cache · Vision

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.25 s
Amazon Web Services (Europe)
Lowest latency
0.53 s
Amazon Web Services (Europe)
Highest throughput
53.58 tok/s
Amazon Web Services (Europe)
Best availability
100%
Databricks
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
DeepInfra (United States)
0.51 s
1.2 s
54.45 s
5.07 tok/s
98.7%
0%
0%
0%
Amazon Web Services (Europe)
0.25 s
0.53 s
5.04 s
53.58 tok/s
100%
0%
0%
0%
Databricks
s
0.68 s
3.17 s
21.58 tok/s
100%
0%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Gemma 3 12B IT with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "gemma-3-12b-it",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Gemma 3 12B IT

On Eden AI, prices for this model start at $0.05 per million input tokens and $0.15 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 131K tokens, depending on the endpoint.

5 endpoints from 3 providers, available in: Global, Europe, United States. All of them are called with the same Eden AI API key.

Can I run Gemma 3 12B IT in the EU? Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU. ‖ How fast is Gemma 3 12B IT? Over the last 30 days, the fastest first token was 0.25 s (Amazon Web Services (Europe)) and the highest throughput was 53.58 tokens per second (Amazon Web Services (Europe)).