# OpenRouter

> Run Claude Code, Codex CLI, OpenCode, Kilo Code, Qwen Code, Antigravity CLI, GitHub Copilot CLI, Hermes Agent, Pi, omp, Factory Droid or Crush on hundreds of models with one OpenRouter key.

Source: https://docs.neurosquad.ai/en/providers/openrouter

[OpenRouter](https://openrouter.ai) gives you models from many AI labs with a single key, billed to
your OpenRouter credits. NeuroSquad can run **Claude Code**, **Codex CLI**, **OpenCode**, **Kilo Code**, **Qwen
Code**, **Antigravity CLI**, **GitHub Copilot CLI**, **Hermes Agent**, **Pi**, **omp**, **Factory Droid** and **Crush** agents through it (Factory Droid needs no Factory account for this; Antigravity CLI goes through a small translator NeuroSquad runs on your machine, since OpenRouter does not speak its Gemini API).

The same goes for **aider**, **Goose**, **Cline CLI**, **Kimi Code**, **MiMo Code**, **ZCode** and **PenguinHarness** — 19 of the 22 agent CLIs in all. The other three, **Cursor CLI**, **Amp** and **Auggie**, run their models on their vendors' servers, so they can't use OpenRouter.

## 1. Connect your key

**1. Open Settings → Providers**

Press **Get a key** if you don't have one yet — it opens OpenRouter's site.

**2. Paste the key and press Save and test**

You'll see **Key works**. The key is encrypted by your operating system and only ever handed to
the agents you point at it.

Once connected, the same page shows what you've **Spent** today, this week and this month, your
limit if you set one on OpenRouter, and the list of available **Models**.

## 2. Create an agent on a model

In the add menu, choose **New agent… (provider, model, role)**. The dialog asks for:

- **Harness** — which agent program to run (Claude Code, Codex CLI, OpenCode, Kilo Code, Qwen Code, Antigravity CLI, GitHub Copilot CLI, Hermes Agent, Pi, omp, Factory Droid or Crush).
- **Provider** — **OpenRouter**, or **Default (harness login)**.
- **Model** — search the catalogue; each model shows its context size and price per million tokens.
Leave it on **Harness default** to let the agent choose.
- **Role** (optional) — see [Roles](https://docs.neurosquad.ai/en/agents/roles).
- **Name** (optional).

The agent's card shows a chip with its provider and model.

## Change it later

Open **Provider and model** in the agent card's menu, pick new values and press **Apply**. The change
takes effect the next time the agent starts.

## Without a key

If no key is saved, nothing is sent to OpenRouter: the agent simply runs on its **default login**, and
its chip turns amber to tell you so. The **New agent** dialog also warns you and offers **Open
settings**.

> Claude Code is only guaranteed to work with Anthropic's own models. On other models, its tools may
> not work properly — the model picker warns you.
