Get started
Introduction
Intelligent Inference (i2) is an OpenAI-compatible inference API to open-weight models, priced and billed in Pakistani rupees, with a data-residency endpoint in Pakistan.
i2 puts leading open-weight models behind one API that any OpenAI client already speaks. You point your existing SDK at a new base URL, use an i2 key, and pick a model from the catalogue. Prices are per million tokens in PKR, drawn from a prepaid balance, so there is no foreign card and no exchange-rate surprise at the end of the month.
What you get
- One endpoint, every model.
POST /v1/chat/completionsin the OpenAI request and response shape, streaming or synchronous. Change themodelstring, not your code. - Keys with real limits. Every API key can carry an expiry, a rupee credit cap and a list of allowed models, and the gateway enforces all three on the request path.
- Rupee billing. Per-million-token prices in PKR, a prepaid balance, and the exact cost of each request reported back to you.
- Visibility. Requests, latency, time to first token, tokens and cost per key, per project and per model, plus a request-by-request log, in the dashboard and over the API.
- Residency. The gateway, its telemetry, the audit log and the billing records run in Pakistan. The PK NPU-native model pool is opening shortly; global pass-through routes serve today.
The two halves of the platform
| Data plane | Control plane | |
|---|---|---|
| What it does | Serves inference | Manages your organisation |
| Base URL | https://api.intelligentinference.ai/v1 | https://api.intelligentinference.ai/api |
| Authentication | Authorization: Bearer sk_i2_… | Session cookie from sign-in |
| Who calls it | Your code | The dashboard, or your own tooling |
| Documented in | Quickstart and the guides | Control plane API |
Most integrations only ever touch the data plane. The control plane is what the dashboard uses; it is documented here so you can script key rotation, read your spend, or pull the request log into your own systems.
Where to start
- Quickstart: a key and a first request in a few minutes.
- Models: the catalogue, route ids and prices.
- Chat completions: the request contract in full, including streaming.
- Errors and retries: every status the gateway returns and what to do about it.
Note These docs describe the platform as it runs today. Where something is not yet available (a
/v1/modelslisting, per-key rate-limit configuration, the PK NPU pool) the page says so rather than describing a roadmap.
Something unclear or wrong on this page? Tell us. Machine-readable copies: llms.txt.