Introduction
Sankalp provides a unified API gateway for accessing Indian and international LLMs with built-in data residency controls, cost optimization, and compliance features.Proxy Request
Route requests to LLM providers
List Models
Available models and capabilities
Get Usage
Usage analytics and costs
Key Features
Unified API
Single API for 20+ LLM providers:| Category | Providers |
|---|---|
| International | OpenAI, Anthropic, Google, Meta, Mistral, Cohere |
| Indian | Sarvam AI, Krutrim, BharatGPT, Bhashini |
| Open Source | Llama, Mixtral, Phi (self-hosted) |
Data Residency
Control where your data is processed:Intelligent Routing
- Cost optimization: Route to cheapest capable model
- Latency optimization: Route to fastest available
- Capability matching: Auto-select model by task requirements
- Fallback chains: Automatic failover if primary unavailable
Compliance
- Prompt/response logging for audit
- PII detection and redaction
- Content filtering
- Usage quotas and governance
Quick Example
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /sankalp/proxy | Proxy request to LLM |
POST | /sankalp/proxy/stream | Streaming proxy request |
GET | /sankalp/models | List available models |
GET | /sankalp/models/{id} | Get model details |
GET | /sankalp/usage | Get usage statistics |
GET | /sankalp/usage/costs | Get cost breakdown |

