# Setup Step 3e - free-model keys

Runs inside setup Step 3, only when `prefs.global.modelRouting.free.enabled` is
true (`/multi-agent:route-on --free`). These are the keys the toolkit's
free-model chain reads; `llm_delegate` and `bulk-read.sh` look for them under
fixed names, so there is no `keychainMapping` entry.

| Key | Provider | Where to get it | Asked |
|---|---|---|---|
| `llm-groq` | Groq (free tier does not train on prompts) | https://console.groq.com/keys | always first |
| `llm-mistral` | Mistral | https://console.mistral.ai/api-keys | only with `modelRouting.free.allowTraining` |
| `llm-gemini` | Google Gemini | https://aistudio.google.com/apikey | only with `allowTraining` |
| `llm-openrouter` | OpenRouter, free models only | https://openrouter.ai/keys | only with `allowTraining` |
| `llm-zai` | Z.AI GLM Flash | https://z.ai/manage-apikey/apikey-list | only with `allowTraining` |
| `llm-cloudflare` | Cloudflare Workers AI (does not train on prompts) | https://dash.cloudflare.com | always; also needs `CF_ACCOUNT_ID` and `LLM_MODEL_CLOUDFLARE` in the server env |
| `llm-nvidia` | NVIDIA NIM | https://build.nvidia.com | only with `allowTraining`; needs `LLM_MODEL_NVIDIA` |
| `llm-aion` | Aion Labs | https://aionlabs.ai | only with `allowTraining`; needs `LLM_MODEL_AION` |

OVHcloud AI Endpoints, Kilo and LLM7 answer without a key (`allowTraining` only,
each with its `LLM_MODEL_<ID>`); a key raises their limits and is saved the same
way as `llm-ovh`, `llm-kilo` or `llm-llm7`. A provider with no default model is
skipped with reason `no-model` until its `LLM_MODEL_<ID>` is set. Cohere,
ModelScope, SiliconFlow and Gonka are in the toolkit catalog for reference only
(non-commercial terms, identity or phone verification) and never join the chain.

Each key is one Token Save Flow pass (`token-save-flow.md`) with the clipboard
save, `pbpaste | credential-store.sh set "<key>" -`, and no author or host step.
Skip writes nothing and moves to the next key. After the last pass, run
`route-state.sh status` so the user sees each saved provider reported ready.

A local Ollama needs no key: the user sets `OLLAMA_MODEL` for the server. The
full contract: `$HOME/.claude/multi-agent-refs/features/free-models.md`.
