Qwen2.5 0.5B Instruct

QWEN2_5_0_5B_INSTRUCT

Answers a chat prompt with a short reply from Qwen2.5-0.5B-Instruct on the CPU.

Text Generation

About Qwen2.5 0.5B Instruct

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).

Limits

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.

Qwen2.5 0.5B Instruct inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—User message to answer.
Max 2000 characters
system_prompttextNoYou are a helpful assistant.Instructions for the assistant.
Max 500 characters
max_new_tokensintegerNo128Maximum number of new tokens to generate.
1–256
temperaturenumberNo0.7Sampling temperature. 0 uses greedy decoding.
0–2

Output. Returns plain text.

Run Qwen2.5 0.5B Instruct with the API

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
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"
Python
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)

Qwen2.5 0.5B Instruct pricing

Price per request: 0.06 credits ($0.0006). The price is shown again before every run; all prices are on the pricing page.

Gemma 4 E2B: Text Generation model on Kainguru
Text Generation

Gemma 4 E2B

Small multimodal language model that takes text, image, audio and video input.

Fine-tunable
DeepSeek-R1 Distill Llama 8B: Text Generation model on Kainguru
Text Generation

DeepSeek-R1 Distill Llama 8B

Reasoning model that shows its chain of thought before answering, distilled into a Llama 8B base.

Fine-tunable
Qwen 2.5 7B Instruct: Text Generation model on Kainguru
Text Generation

Qwen 2.5 7B Instruct

Multilingual instruction-following chat model you can call by API or fine-tune on your own data.

Fine-tunable
Llama 3.1 8B Instruct: Text Generation model on Kainguru
Text Generation

Llama 3.1 8B Instruct

High-quality open-weight instruction-following chat model, ready to call or fine-tune.

Fine-tunable
DeepSeek-R1-0528 Qwen3 8B: Text Generation model on Kainguru
Text Generation

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-tunable
Gemma 4 12B IT: Text Generation model on Kainguru
Text Generation

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-tunable