
DeepSeek-R1-0528 Qwen3 8B
DeepSeek-R1-0528 Qwen3 8B, a reasoning model for maths, code and science that works through a problem step by step…
Fine-tunableDEEPSEEK_R1Reasoning-focused language model with chain-of-thought output.

DeepSeek-R1 Distill Llama 8B — a reasoning-focused language model with chain-of-thought output. Takes a text prompt (with an optional system prompt) and returns a generated response containing the final answer, its reasoning trace, and a finish reason.
prompt (optionally with system_prompt) returns both the final answer and its reasoning tracemax_new_tokens supports up to 32768 tokens for long reasoning chainstemperature, top_p, and do_sample shape output diversityseed| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | User prompt for the reasoning task. Min 1 characters |
system_prompt | text | No | — | System-level instruction prepended before the user prompt. |
max_new_tokens | integer | No | 4096 | Maximum number of tokens to generate. 1–32768 |
temperature | number | No | 0.6 | Sampling temperature. 0–2 |
top_p | number | No | 0.95 | Cumulative probability threshold for nucleus sampling. 0–1 |
do_sample | boolean | No | true | Whether to use sampling; if false, greedy decoding is used. |
seed | integer | No | — | Random seed for reproducibility. |
Output. Generated reasoning response containing text (final answer), thoughts (chain-of-thought), and finish_reason.
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=DEEPSEEK_R1" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Solve step by step: if a train travels 60 km in 45 minutes, what is its speed in km/h?",
"do_sample": true,
"max_new_tokens": 4096,
"temperature": 0.6,
"top_p": 0.95
},
"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(
"DEEPSEEK_R1",
{
"prompt": "Solve step by step: if a train travels 60 km in 45 minutes, what is its speed in km/h?",
"do_sample": True,
"max_new_tokens": 4096,
"temperature": 0.6,
"top_p": 0.95
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune DeepSeek-R1 Distill Llama 8B 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": "..."}.
DeepSeek-R1 Distill Llama 8B also supports retrieval-augmented generation.
The steps are in the docs.
Price per 1M tokens: 950 credits ($9.50). The price is shown again before every run; all prices are on the pricing page.

DeepSeek-R1-0528 Qwen3 8B, a reasoning model for maths, code and science that works through a problem step by step…
Fine-tunable
Small multimodal language model that takes text, image, audio and video input.
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
MiniCPM5 2B, a small English and Chinese assistant for chat, code, maths and long documents, that can reason 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