gemma-4-12b API.

Listed model ID: gemma-4-12b. Catalogue category: Vision & OCR.

Check model access

gemma-4-12b
API pricing.

These are catalogue “From” rates in EUR. Dynamic pricing can change the applicable price. Confirm the active rate in the console.

See the rate card ↗
Input / 1M tokens
From€0.0423
Output / 1M tokens
From€0.0963

10,000 input tokens + 2,000 output tokens = €0.000616 at the displayed starting rate.

Catalogue updated 2026-11-22.

Licence
apache-2.0

Check API model access

Use the model ID gemma-4-12b. This check lists models available to your account; it does not send an inference request.

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.models.blade.sh/v1",
    api_key=os.environ["BLADE_API_KEY"],
    timeout=120.0,
)

model_id = "gemma-4-12b"
models = client.models.list()
match = next(
    (item for item in models.data
     if item.id == model_id),
    None,
)
if match is None:
    raise RuntimeError("Model not listed for this account")
print(match.model_dump_json(indent=2))

Install openai and set BLADE_API_KEY. This checks the account’s model list; it does not run inference. Copy the confirmed model-specific inference request from the console before integrating.

Blade catalogue reference ↗
Browse the model catalogue ↗

Contact the team

Loading the form…