
Qwen 2.5 7B Instruct
Multilingual instruction-following chat model you can call by API or fine-tune on your own data.
Fine-tunableLLAMA_3_1_8BHigh-quality open-weight instruction-following language model.

Llama 3.1 8B Instruct — a high-quality open-weight instruction-following language model. Takes a text prompt (with an optional system prompt) and returns a generated text response, with controls for sampling, repetition, and stop sequences.
prompt (optionally with system_prompt)temperature, top_p, top_k, and do_sample shape output diversityrepetition_penalty discourages repeated tokensseedstop_sequences ends generation early| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | User prompt. Min 1 characters |
system_prompt | text | No | — | System-level instruction prepended before the user prompt. |
max_new_tokens | integer | No | 512 | Maximum number of tokens to generate. 1–4096 |
temperature | number | No | 0.7 | Sampling temperature. Higher values increase randomness. 0–2 |
top_p | number | No | 0.9 | Cumulative probability threshold for nucleus sampling. 0–1 |
top_k | integer | No | — | Number of highest-probability tokens to keep for sampling. 1–200 |
do_sample | boolean | No | true | Whether to use sampling; if false, greedy decoding is used. |
repetition_penalty | number | No | 1.0 | Penalty for token repetition. 1.0 means no penalty. 1–2 |
seed | integer | No | — | Random seed for reproducibility. |
stop_sequences | text | No | — | JSON array of stop sequences (e.g. [" "]). |
Output. Generated text response.
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=LLAMA_3_1_8B" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Explain Kafka in one sentence.",
"do_sample": true,
"max_new_tokens": 512,
"repetition_penalty": 1.0,
"temperature": 0.7,
"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(
"LLAMA_3_1_8B",
{
"prompt": "Explain Kafka in one sentence.",
"do_sample": True,
"max_new_tokens": 512,
"repetition_penalty": 1.0,
"temperature": 0.7,
"top_p": 0.9
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Llama 3.1 8B Instruct on your own data and run the tuned model through the same API. Dataset: JSONL file(s): one JSON object per line, either {"text": "..."} or {"prompt": "...", "response": "..."}.
Llama 3.1 8B Instruct also supports retrieval-augmented generation.
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.

Multilingual instruction-following chat model you can call by API or fine-tune on your own data.
Fine-tunable
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
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
Gemma 4 31B, Google's open assistant for chat, reasoning, writing and code in over 35 languages, that thinks step by…
Fine-tunable