Skip to content

Google

Gemma 3 12B

A smaller, lower-cost Gemma.

google/gemma-3-12b-it
Input → Output
Text, images → Text/Text
Maximum input
128K tokens
Provider
1
Tool invocation
No

Price per million tokens

Input
145.8 credits
Output
469.8 credits

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderInput / 1MOutput / 1MCache readFirst tokenThroughputUptime
Amazon Bedrock145.8 credits469.8 credits----

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Use the API

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.com/api/v1",
    api_key="alp-your-key",
)

answer = client.chat.completions.create(
    model="google/gemma-3-12b-it",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
128K tokens
Maximum output
16.4K tokens
Tool invocation
Unsupported
Supported input
Text, images
Output
Text/Text
Provider
Amazon Bedrock
Supported parameters
max_completion_tokens, max_tokens, response_format, stream, temperature, top_p

Frequently asked questions

What kind of model is Gemma 3 12B?

A model from Google. A smaller, lower-cost Gemma. Model ID on AlpRouter: google/gemma-3-12b-it

How much does Gemma 3 12B cost?

Per million tokens: 145.8 credits input, 469.8 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

How much input does Gemma 3 12B accept?

Each request accepts up to 128K tokens. The maximum output is 16.4K tokens.

What input and output does Gemma 3 12B support?

Send Text, images to receive Text/Text.

Does Gemma 3 12B support tool calling and structured JSON?

Tool calling: Unsupported. Structured output (response_format): Supports the json_schema format..

Which providers handle Gemma 3 12B requests?

Amazon Bedrock handles these requests.

How do I call Gemma 3 12B from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (google/gemma-3-12b-it). There’s an example of how to do this in the “Using the API” section above.

Other models from Google