Integration guides
Northern Inference exposes an OpenAI-compatible endpoint at
https://northerninference.ca/v1. Most tools work with
a base URL swap and your NI key. The Anthropic SDK and Claude Code
use the host root (https://northerninference.ca) instead.
Each guide below shows the correct form for its client.
Claude Code
Use Claude Code through NI (Anthropic SDK client, host-root base URL)
Cursor
Use Northern Inference as your Cursor backend
Continue.dev
Use Northern Inference in Continue (VS Code / JetBrains)
Aider
Use Northern Inference with Aider's pair-programmer CLI
Zed
Use Northern Inference in the Zed editor
Open WebUI
Use Northern Inference with Open WebUI
LibreChat
Use Northern Inference in LibreChat
LangChain / LlamaIndex
Use Northern Inference from LangChain / LlamaIndex
Anthropic SDK
Use the official Anthropic SDK against the /v1/messages endpoint
curl / HTTPie
Talk to Northern Inference directly with curl
Vision & capabilities
Send images and detect per-model capabilities (vision, context window)
Codex
Use Codex with NI's Responses API endpoint
NI Commands (in-chat)
Drive routing from inside any chat client: ni-help, ni-models, ni-map-model, and more
pi (pi-coding-agent)
Use Northern Inference with @mariozechner/pi-coding-agent
OpenClaw
Use Northern Inference with OpenClaw (placeholder)
OpenCode
Use Northern Inference as your OpenCode backend
Hermes Agent
Use Northern Inference as the Hermes Agent backend
Starting from zero
- Sign up at northerninference.ca (starter credits on signup, no card required).
- In the portal, go to Keys → Create key. Copy the
ni_live_…string once shown (it's not displayed again). - Pick an integration above and follow its config snippet. OpenAI-style clients use
https://northerninference.ca/v1. Anthropic SDK and Claude Code usehttps://northerninference.ca(host root). Each guide shows the right form. - Hit your first call. Check the Usage tab in the portal. You'll see the request appear within a few seconds, including the full chain-of-custody record.
Privacy route selection
You pick privacy by picking the model. Northern Inference has no privacy
switch in the request body. Every deployed route on /models
belongs to exactly one privacy tier (shown on each model card), so choosing a
route is choosing the tier. Copy the exact route ID from /models and send it as
your model. Your API key can be limited to certain tiers, and a
route outside those tiers is refused. Sending privacy_tier or
X-Privacy-Tier in the request is rejected, because the route
already carries the tier.
| Tier | Status | Who sees your prompts |
|---|---|---|
| Tier 1: Self-Hosted Hardware | Coming Soon | Only you, on your own compute |
| Tier 2: Nitro Enclave | Coming Soon | Nobody. Cryptographic isolation, where AWS itself cannot read inside |
| Tier 3: Managed Cloud (default) | Live | AWS Bedrock or Azure, in Canadian regions only |
| Tier 4: Provider API | Live | The upstream provider, in the provider's own region, which may be outside Canada |
Need an integration that's not listed? Let us know or open a ticket in the portal. We'll write the guide and publish it here.