# Connecting your LLM provider

Tell Nairi which model and provider your agents should use — Claude, Codex, or OpenCode.



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 4.7, Claude Sonnet 4.6, Claude Haiku 4.5.

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

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

Models available: 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, Sonnet, Haiku), GPT (5.5, 5.5 Pro, 5.4, 5.4 Mini, 5.3 Codex), Gemini 3.1 Pro, Gemini 3 Flash, GLM, Qwen, Kimi, MiniMax, and more (30+ 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).*
