Instructions to use upmarking/kalki-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upmarking/kalki-1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="upmarking/kalki-1.5", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("upmarking/kalki-1.5", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use upmarking/kalki-1.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "upmarking/kalki-1.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upmarking/kalki-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/upmarking/kalki-1.5
- SGLang
How to use upmarking/kalki-1.5 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "upmarking/kalki-1.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upmarking/kalki-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "upmarking/kalki-1.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upmarking/kalki-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use upmarking/kalki-1.5 with Docker Model Runner:
docker model run hf.co/upmarking/kalki-1.5
๐ฎ๐ณ Kalki 1.5
India's First Fully Agentic 1T Parameter AI Model
๐ 1. Model Introduction
Kalki 1.5 represents a monumental leap in sovereign AI capabilities as India's First Fully Agentic 1T Parameter AI. Built upon the breakthrough Kalki Mixture-of-Experts (MoE) architecture, Kalki 1.5 is custom-tuned for complex, long-horizon software engineering tasks and multi-modal tool use.
Kalki 1.5 features substantial optimizations over predecessor models:
- Unprecedented Scale: A 1-Trillion parameter Mixture-of-Experts model, activating 32 Billion parameters per token.
- Agentic Workflows: Designed for autonomous tool navigation, file edits, Postgres queries, and multi-step debugging.
- Extreme Token Efficiency: Approximately 30% reduction in reasoning tokens compared to Kalki-0.6, delivering much faster completion speeds.
- Multimodal Integration: Built-in visual understanding with the UpmarkViT encoder, facilitating UI analysis and visual debugging.
๐ 2. Model Summary
| Specification | Details |
|---|---|
| Architecture | Mixture-of-Experts (MoE) with MLA (Multi-head Latent Attention) |
| Total Parameters | 1.0T |
| Activated Parameters | 32B |
| Number of Layers | 61 (includes dense/routing layer) |
| Vocabulary Size | 160K |
| Context Length | 256K tokens |
| Activation Function | SwiGLU |
| Vision Encoder | UpmarkViT (400M parameters) |
๐ 3. Evaluation Results
Kalki 1.5 outperforms leading global models across critical coding and agentic benchmarks. The table below compares performance:
| Benchmark | Kalki-0.6 | GPT-5.5 | Claude Opus 4.8 | Kalki 1.5 ๐ฎ๐ณ |
|---|---|---|---|---|
| Coding Excellence (Higher is Better) | ||||
| Kalki Code Bench v2 | 50.9 | 69.0 | 67.4 | 82.5 |
| Program Bench | 48.3 | 69.1 | 63.8 | 76.8 |
| MLS Bench Lite | 26.7 | 35.5 | 42.8 | 58.2 |
| Agentic & Tool Use (Higher is Better) | ||||
| Kalki Claw 24/7 Bench | 42.9 | 52.8 | 50.4 | 68.4 |
| MCP Atlas | 69.4 | 79.4 | 81.3 | 91.2 |
| MCP Mark Verified | 72.8 | 92.9 | 76.4 | 94.5 |
Testing Methodology & Footnotes
- General Testing Details
- Kalki 1.5 was tested with thinking mode enabled via Kalki Code CLI at temperature = 1.0, top-p = 0.95, and a 262,144-token context length. GPT-5.5 ran in Codex with xhigh mode, and Opus 4.8 in Claude Code with xhigh mode.
- Coding Benchmarks
- Kalki Code Bench V2: Evaluates agents on realistic software engineering tasks across 10+ mainstream languages, highlighting complex backend service modifications, security audits, and ML pipelines.
- Program Bench: Assesses program reconstruction from compiled binaries and documentation. Under strict sandbox conditions, the agent builds source code from scratch and is validated against behavioral test suites.
- MLS-Bench-Lite: Evaluation of autonomous ML generation capabilities, requiring the model to design and run training runs over a 5-hour window.
- Agentic Benchmarks
- Kalki Claw 24/7 Bench: In-house benchmark tracking multi-day coworking tasks spanning coding, research, and analysis.
- MCP-Atlas / MCPMark-Verified: Assesses Model Context Protocol (MCP) tool execution. Evaluated with a 100-step tool budget and 32k max tokens per step.
โก 4. Native INT4 Quantization
Kalki 1.5 natively supports highly-optimized INT4 quantization. This drastically reduces GPU VRAM consumption while preserving over 99% of original FP16 task performance, enabling deployability on standard enterprise servers.
โ๏ธ 5. Deployment
Access Kalki 1.5's high-speed API directly via platform.upmarking.com with standard OpenAI/Anthropic SDK compatibility.
For local deployment, Kalki 1.5 can be served using the following inference frameworks:
- vLLM
- SGLang
- KTransformers
Ensure you have the required transformers library version:
pip install "transformers>=4.57.1,<5.0.0"
Refer to the Model Deployment Guide for step-by-step setup guides.
๐ป 6. Usage Examples
Below is a simple chat completion example calling the Kalki 1.5 API in Thinking mode.
import openai
def simple_chat(client: openai.OpenAI, model_name: str):
messages = [
{'role': 'system', 'content': 'You are Kalki, India\'s First Fully Agentic 1T Parameter AI created by Upmarking.'},
{
'role': 'user',
'content': [
{'type': 'text', 'text': 'How can we optimize memory constraints in MoE architectures?'}
],
},
]
response = client.chat.completions.create(
model=model_name,
messages=messages,
stream=False,
max_tokens=4096
)
print('====== Reasoning Process ======')
print(response.choices[0].message.reasoning)
print('====== Final Answer ======')
print(response.choices[0].message.content)
- Downloads last month
- 839