Hormouz AIHormouzSign in

Google: Gemma 3 12B: AI model

Gemma 3 12B is a Google multimodal model for reasoning, coding and everyday chat, with a 131K-token context window. Available via Hormouz with stable access from inside Iran.

Context window:
131,072 tokens
Input:
$0.05/1M tokens
Output:
$0.15/1M tokens
Type:
text, image
  • Vision
  • Tools
  • Streaming
  • Long context

Gemma 3 12B is a Google Gemma-family model built for reasoning, coding, mathematics and general chat. It accepts text and images and returns text, with a context window of up to 131K tokens.

Its multimodal input makes it suitable for document understanding, chart and image analysis, and workflows that mix text with images. It is tuned for fast, reliable responses across common tasks.

Pricing is usage-based at $0.05/M in · $0.15/M out. Gemma 3 12B is served through Hormouz behind an OpenAI-compatible API, with stable access from inside Iran.

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,...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-3-12b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorGoogle
TypeText, Image
Context window131,072 tokens
Pricing$0.05/M in · $0.15/M out
APIChat Completions
CapabilitiesStreaming · Vision · Tools

Sizes in this family

SizeContext windowPricing
4B131,072$0.05/M in · $0.10/M out
12B131,072$0.05/M in · $0.15/M out
27B131,072$0.08/M in · $0.45/M out

Benchmarks

3.8
Intelligence Index
Better than 0% of models we compared
5.8
Coding Index
Better than 3% of models we compared
0.1
Agentic Index
Better than 0% of models we compared

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
34.9%
HLE
Humanity's Last Exam
4.2%
IFBench
Instruction-following
36.7%
AA-LCR
Long-context reasoning
8.3%
CritPt
Research-level physics reasoning
0%
AA Omniscience
Broad factual knowledge accuracy
10.3%
Non-Hallucination
Rate of avoiding fabricated answers
2.6%

Coding

SciCode
Python for scientific computing
16.4%
Terminal-Bench Hard
Agentic coding & terminal use
0.8%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
10.8%
GDPval
Economically valuable tasks
0%

Source: Artificial Analysis

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-3-12b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="google/gemma-3-12b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "google/gemma-3-12b-it",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the Google: Gemma 3 12B API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Google: Gemma 3 12B and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an accountBuy Gemini API access, paid in rial

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

What inputs does Gemma 3 12B accept?
It accepts text and images and returns text.
What is the context window of Gemma 3 12B?
Up to 131K tokens, suitable for long documents and multi-turn conversations.
How much does Gemma 3 12B cost?
Usage-based pricing: $0.05/M in · $0.15/M out.
How does Gemma 3 12B perform on benchmarks?
Independent scores from Artificial Analysis are shown in the Benchmarks section above, grouped by reasoning, coding and agentic tasks.
How do I access Gemma 3 12B from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides stable access from inside Iran via an OpenAI-compatible API.

Updated 2026-10-13