
Gemma 4 E2B
Small multimodal language model that takes text, image, audio and video input.
Fine-tunableQWEN2_5_0_5B_INSTRUCTAnswers a chat prompt with a short reply from Qwen2.5-0.5B-Instruct on the CPU.
Answers a chat prompt with a short reply. A system instruction and a user message go in; only the assistant's new text comes back.
The weights are Qwen/Qwen2.5-0.5B-Instruct at revision 7ae557604adf67be50417f59c2c2f167def9a775. The model card is https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct. Qwen2.5 was created by the Qwen team at Alibaba Cloud. The model card states the licence as Apache-2.0. The weights file model.safetensors is public and is 988,097,824 bytes (about 942 MiB, bf16).
One short reply per request. The character and token caps keep a request inside a small CPU machine with about 2 GiB of memory. The model runs in bfloat16 on CPU. Replies can be wrong, incomplete, or off-topic. This is a general chat model, not a source of professional, medical, or legal advice.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | User message to answer. Max 2000 characters |
system_prompt | text | No | You are a helpful assistant. | Instructions for the assistant. Max 500 characters |
max_new_tokens | integer | No | 128 | Maximum number of new tokens to generate. 1–256 |
temperature | number | No | 0.7 | Sampling temperature. 0 uses greedy decoding. 0–2 |
Output. Returns plain text.
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=QWEN2_5_0_5B_INSTRUCT" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "example",
"max_new_tokens": 128,
"system_prompt": "You are a helpful assistant.",
"temperature": 0.7
},
"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(
"QWEN2_5_0_5B_INSTRUCT",
{
"prompt": "example",
"max_new_tokens": 128,
"system_prompt": "You are a helpful assistant.",
"temperature": 0.7
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)Price per request: 0.06 credits ($0.0006). The price is shown again before every run; all prices are on the pricing page.

Small multimodal language model that takes text, image, audio and video input.
Fine-tunable
Reasoning model that shows its chain of thought before answering, distilled into a Llama 8B base.
Fine-tunable
Multilingual instruction-following chat model you can call by API or fine-tune on your own data.
Fine-tunable
High-quality open-weight instruction-following chat model, ready to call or fine-tune.
Fine-tunable
DeepSeek-R1-0528 Qwen3 8B, a reasoning model for maths, code and science that works through a problem step by step…
Fine-tunable
Google Gemma 4 12B, a multilingual assistant for chat, writing, code and maths in over 140 languages, that can reason…
Fine-tunable