# Connecting your LLM provider

Tell Nairi which model and provider your agents should use - Claude, Codex, or OpenCode - and supply the API key. Switch providers per agent.



Every agent runs through a coding-agent CLI (Claude Code, Codex, or OpenCode) backed by a model from a provider you choose. Add the provider once, then point each agent at the model you want.

## Adding your own provider [#adding-your-own-provider]

All provider setup lives at **Settings → Integrations → LLM Integrations → Add integration**. Each provider has its own setup tab.

### Anthropic (Claude Code) [#anthropic-claude-code]

Paste an `sk-ant-...` API key. Anthropic bills you directly for model usage. Useful for cost reporting, higher rate limits, or accounting separation.

Models available: Claude Opus 5.5, Opus 5, Fable 5.1, Fable 5, Sonnet 5, Sonnet 4.6, Haiku 5.5, Haiku 4.5, plus older Opus 4.x models.

### Codex (OpenAI) [#codex-openai]

Paste an OpenAI API key. OpenAI bills you per token.

Models available: GPT 5.6, GPT 5.5, GPT 5.4, GPT 5.4 Mini, GPT 5.3 Codex, GPT 5.2.

### OpenCode [#opencode]

OpenCode is a multi-provider gateway that exposes one API for many models. Paste an Opencode Zen API key to connect.

Models available: Claude (Opus 5.5, Fable 5.1, Sonnet 5, Haiku 5.5 and earlier), GPT (6 Astra, 6 Sol, 6 Luna, 5.6 Terra and earlier), Gemini (3.8 Flash, 3.5 Flash Lite, 3.1 Pro), Grok 4.7 and 4.6, DeepSeek (V4.1 Flash, V4 Flash, V4 Pro), GLM 5.3 and 5.3 Flash, Qwen 3.8 Flash and 3.6 Plus, Kimi (K3, K2.7 Code, K2.6), MiniMax M3, Muse Spark 1.3, Jev 1.13, free models such as Big Pickle and Nemotron 3 Ultra, and more (40+ at last count).

## Choosing per agent [#choosing-per-agent]

Each agent picks one provider and one model at a time, set on the agent editor. See [Choosing a model](/help/building-agents/how-to-deploy#choosing-a-model) for which to pick for which kind of work.

You can change an agent's provider or model any time. The change takes effect on the next task; in-flight tasks finish on whatever they started with.

## Related [#related]

* [Choosing a model](/help/building-agents/how-to-deploy#choosing-a-model)
* [Plans & pricing at a glance](/help/getting-started/pricing-overview)

***

*Can't find what you're looking for? Email [support@nairi.ai](mailto:support@nairi.ai).*
