
Gemma 4 E2B
Small multimodal language model that takes text, image, audio and video input.
Fine-tunableFLAN_T5_BASEFollows a short instruction: summarise, answer, translate or classify a text with FLAN-T5 base on the CPU.
Follows a short instruction and returns the generated text. Typical instructions ask the model to summarise a passage, answer a question, translate a sentence, or classify a text.
The weights are google/flan-t5-base at revision 7bcac572ce56db69c1ea7c8af255c5d7c9672fc2, published by Google. FLAN-T5 is an instruction-tuned T5 model from Google Research (Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Alex Castro-Ros, Marie Pellat, Kevin Robinson, Dasha Valter, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le and Jason Wei). The model card states the licence as Apache-2.0: https://huggingface.co/google/flan-t5-base. The weights file model.safetensors is 990,345,061 bytes and is public.
One short instruction per request. The 2000-character cap and the 256-token generation cap keep a single request small enough for a CPU run. The model can be wrong, incomplete or biased, and it does not browse or use tools. Empty text is still passed to the model. The model runs on CPU.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | Instruction to follow: summarise, answer, translate or classify a short text. Max 2000 characters |
max_new_tokens | integer | No | 64 | Maximum number of new tokens to generate. 1–256 |
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=FLAN_T5_BASE" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "example",
"max_new_tokens": 64
},
"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(
"FLAN_T5_BASE",
{
"prompt": "example",
"max_new_tokens": 64
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)Price per request: 0.02185 credits ($0.0002185). 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