
Gemma 4 12B IT
Google Gemma 4 12B, a multilingual assistant for chat, writing, code and maths in over 140 languages, that can reason…
Fine-tunableGRANITE_3_3_8B_INSTRUCTIBM Granite 3.3 8B Instruct, a general-purpose assistant that answers questions, writes, summarises and codes in English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch and Chinese.

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | Your message to the model. 1–131072 characters |
seed | integer | No | — | The same seed and inputs give the same reply. 0–4294967295 |
stop_sequences | text | No | — | JSON array of up to 4 texts of up to 64 characters that end the reply, e.g. ["\n\n"]. Max 1554 characters |
temperature | number | No | 0.7 | Randomness of the reply; below 0.01 always picks the most likely next token. 0–2 |
top_k | integer | No | 50 | Sample only from this many most likely tokens. 1–200 |
max_new_tokens | integer | No | 512 | The most tokens the reply may have. 1–4096 |
top_p | number | No | 0.9 | Sample only from the most likely tokens whose probabilities add up to this. 0–1 |
system_prompt | text | No | — | Instructions for how the assistant should behave; the model's own default when empty. Max 32768 characters |
repetition_penalty | number | No | 1.0 | Above 1.0 discourages repeating the same words. 1–2 |
Output. The model's reply.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=GRANITE_3_3_8B_INSTRUCT" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "example",
"max_new_tokens": 512,
"repetition_penalty": 1.0,
"temperature": 0.7,
"top_k": 50,
"top_p": 0.9
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"GRANITE_3_3_8B_INSTRUCT",
{
"prompt": "example",
"max_new_tokens": 512,
"repetition_penalty": 1.0,
"temperature": 0.7,
"top_k": 50,
"top_p": 0.9
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Granite 3.3 8B Instruct on your own data and run the tuned model through the same API. Dataset: JSONL files (an example per line) or JSON arrays of examples: {"messages": [{"role", "content"}, ...]} (up to 64; a system message, if any, first) or {"prompt", "response"}, at most 131,072 characters each. 4 to 50,000 examples, 256 MiB in all.
The steps are in the docs.
Price per 1M tokens: 23.7 credits ($0.237). The price is shown again before every run; all prices are on the pricing page.

Google Gemma 4 12B, a multilingual assistant for chat, writing, code and maths in over 140 languages, that can reason…
Fine-tunable
Gemma 4 31B, Google's open assistant for chat, reasoning, writing and code in over 35 languages, that thinks step by…
Fine-tunable
Qwen3.5 2B, a small assistant for chat, writing, summaries and code in about 200 languages, Azerbaijani included, that…
Fine-tunable
Qwen3.5 9B, a strong assistant for chat, reasoning, writing and code in about 200 languages, Azerbaijani included…
Fine-tunable
Qwen3.8 27B, Qwen's compact assistant for chat, reasoning, writing, code and agent-style tasks, that works through…
Fine-tunable
SmolLM3 3B, a small, fully open assistant for chat, reasoning and writing in English, French, Spanish, German, Italian…
Fine-tunable