> ## Documentation Index
> Fetch the complete documentation index at: https://ade-ac1c6011-dependabot-github-actions-actions-cache-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI providers

> Connect coding agents with your own key or subscription, and reach 160+ more models through OpenCode — fully managed by ADE.

ADE runs your chats, CTO tasks, and workers through **coding agents** you already know — Claude Code, Codex, Cursor, and Droid — plus **OpenCode**, a managed layer that opens up subscriptions, provider keys, and 160+ more models behind one roof. Connect at least one before starting agent work.

Settings → Providers is organized into two groups: the coding agents, and everything OpenCode unlocks.

## Coding agents

Each coding agent uses the login or key you already have. ADE detects your existing CLI credentials automatically, so most of these light up green without any extra setup.

| Agent           | Connect with                                                                    |
| --------------- | ------------------------------------------------------------------------------- |
| **Claude Code** | Your `claude` login — a Claude Pro/Max subscription or `ANTHROPIC_API_KEY`.     |
| **Codex CLI**   | Your ChatGPT sign-in — a Plus/Pro subscription or `OPENAI_API_KEY`.             |
| **Cursor**      | A Cursor API key (`CURSOR_API_KEY`). ADE verifies it and lists Cursor's models. |
| **Droid**       | Your Factory login or `FACTORY_API_KEY`.                                        |

<AccordionGroup>
  <Accordion title="Claude Code" icon="anthropic">
    Sign in with a Claude subscription or paste an Anthropic API key. ADE runs Claude through the bundled Claude Agent SDK, so the `claude` CLI does not need to be installed separately. If sign-in is required, the card offers a one-click login. See [Claude Code](/ai-tools/claude-code) for lane context and permission modes.
  </Accordion>

  <Accordion title="Codex CLI" icon="openai">
    Sign in with your ChatGPT account or provide an API key. Codex runs as a CLI-backed session and reaches OpenAI models.
  </Accordion>

  <Accordion title="Cursor" icon="arrow-pointer">
    Add a Cursor API key (or set `CURSOR_API_KEY` in the environment ADE launches from). ADE verifies it with the Cursor SDK and discovers your available models. See [Cursor](/ai-tools/cursor).
  </Accordion>

  <Accordion title="Droid" icon="robot">
    Sign in with Factory or set `FACTORY_API_KEY`. Droid runs as an agent provider and supports AGI mode for larger autonomous tasks.
  </Accordion>
</AccordionGroup>

## OpenCode — universal model access

OpenCode is the managed layer that reaches everything else. ADE downloads and runs it for you, keeps its credentials in an isolated ADE-managed store (never your own `~/.local/share/opencode`), and refreshes its model catalog on its own. One group, four ways in:

<Steps>
  <Step title="Subscriptions">
    Connect a subscription you already pay for — currently GitHub Copilot, ChatGPT Plus/Pro, GitLab, Poe, and DigitalOcean. Click **Connect**, finish the sign-in in your browser, and the row flips to Connected when the provider reports back. The available list comes straight from OpenCode, so it grows over time.

    **Kimi for Coding** connects here too, with a membership key instead of a browser sign-in.

    <Note>
      Claude Pro/Max cannot be used through OpenCode — Anthropic's terms of service don't allow it. Connect Claude through the **Claude Code** agent above instead.
    </Note>
  </Step>

  <Step title="API provider keys">
    Paste a key for any first-class provider — Anthropic, OpenAI, Google AI, Mistral, DeepSeek, xAI, Groq, Together AI, OpenRouter, or **Moonshot AI** (`MOONSHOT_API_KEY`). Use **Verify all** to check every stored key at once. Keys are held in local encrypted storage.
  </Step>

  <Step title="More providers">
    Beyond the first-class rows, OpenCode reaches **160+ more providers**. Search the chip cloud, then paste a key against any provider by its ID. The catalog is cached between sessions, so it renders the moment Settings opens.
  </Step>

  <Step title="Local model servers">
    Point ADE at **LM Studio** or **Ollama** running locally. ADE auto-detects the OpenAI-compatible endpoint, lists the models you've loaded, and lets you set a default per runtime.
  </Step>
</Steps>

### Catalog freshness

The group header shows when the model catalog (from models.dev) last synced. ADE refreshes it on launch and every six hours; hit **refresh** in the header to pull the latest metadata on demand.

### Advanced — custom providers & model slugs

Open **Advanced** to add a custom OpenAI- or Anthropic-compatible provider (name, base URL, key, and model slugs) or to register extra model slugs by `providerId/modelId`. Both flow straight into the managed OpenCode config.

## The models you can reach

Between the coding agents and OpenCode's routing, you get models from every major lab. Pick whichever fits the task.

<Frame>
  <div style={{ display: "flex", flexWrap: "wrap", gap: "1rem", alignItems: "center", justifyContent: "center", padding: "1.25rem 0.5rem" }}>
    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/anthropic.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=383208e0a413108129c9784b1e7b2369" alt="Anthropic Claude" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/anthropic.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/wucm4GDJF_anIvMe/media/logos/models/openai.svg?fit=max&auto=format&n=wucm4GDJF_anIvMe&q=85&s=8928d83581bc7aa8a610d8769e5cfcb9" alt="OpenAI" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/openai.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/gemini-color.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=78abf7b4c25b3be5a279c33350f5f03b" alt="Google Gemini" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/gemini-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/deepseek-color.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=b2bda34ab17ab209dc79135351e8b003" alt="DeepSeek" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/deepseek-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/wucm4GDJF_anIvMe/media/logos/models/qwen-color.svg?fit=max&auto=format&n=wucm4GDJF_anIvMe&q=85&s=26a32902726b354ebd54af178d2535b8" alt="Qwen" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/qwen-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/mistral-color.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=cb2984124fc64a0fbbe48f4a43da17be" alt="Mistral" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/mistral-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/meta-color.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=0bc79967895ba5a68501ad5a98e11097" alt="Meta Llama" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/meta-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/grok.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=08e0a633c661e60332978fc82e167a6a" alt="Grok" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/grok.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/wucm4GDJF_anIvMe/media/logos/models/ollama.svg?fit=max&auto=format&n=wucm4GDJF_anIvMe&q=85&s=061a2673271cf86af85dd8ef5a39c7c7" alt="Ollama" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/ollama.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/wucm4GDJF_anIvMe/media/logos/models/perplexity-color.svg?fit=max&auto=format&n=wucm4GDJF_anIvMe&q=85&s=ebcb716a05e3658216753415fefd9212" alt="Perplexity" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/perplexity-color.svg" />

    <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/logos/models/cohere-color.svg?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=9fdb2c4053e30217682f2d27ff91467a" alt="Cohere" style={{ height: "40px", background: "#fff", borderRadius: "12px", padding: "10px 14px" }} width="16" height="16" data-path="media/logos/models/cohere-color.svg" />
  </div>
</Frame>

A model that still needs a key or sign-in shows dimmed in the model picker with a set-up shortcut that jumps straight back to this page.

## Permission presets

Providers expose different native permission models. ADE maps them into a small set of practical choices.

| Preset style     | Use it when                                                |
| ---------------- | ---------------------------------------------------------- |
| Plan / read-only | You want the agent to inspect and propose first.           |
| Default / edit   | You trust the lane and want normal coding flow.            |
| Full access      | You are in a trusted environment and want minimal prompts. |
| Custom           | You want the provider's own config to decide.              |

Set stricter modes for unfamiliar repositories. The full mapping lives in [Permissions](/configuration/permissions).

## Cost and usage

Running several agents in parallel can spend quickly. Use cheaper models for routine follow-up and stronger models for planning, architecture, and hard debugging. The top-bar **Usage** popup shows live provider quota windows and lets you set a budget cap; **Settings → Stats** is the retrospective view of token, cost, and GitHub activity.

<Frame caption="Live provider usage and quota windows in the top-bar Usage popup.">
  <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/features/settings/provider-usage.webp?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=3f5889ef8819db7b42ebd179934ce724" alt="Per-provider usage and quota windows in ADE" width="640" height="711" data-path="media/features/settings/provider-usage.webp" />
</Frame>

## Troubleshooting

<AccordionGroup>
  <Accordion title="OpenCode won't launch on macOS">
    If OpenCode is blocked by macOS Gatekeeper, its diagnostics report a quarantined binary and the exact fix — clear the quarantine attribute with `xattr -d com.apple.quarantine <path>` (the card shows the full path), then re-check.
  </Accordion>

  <Accordion title="A CLI shows as detected but not signed in">
    Run the login command the card suggests, then hit **Refresh**. If a CLI is installed but not found, make sure it is on the shell PATH that ADE launches from.
  </Accordion>
</AccordionGroup>

<Warning>
  Provider calls go directly from your machine to the provider or local endpoint you configure. Keep keys out of committed files — ADE stores them in local encrypted settings.
</Warning>

<CardGroup cols={2}>
  <Card title="Permissions" icon="shield-check" href="/configuration/permissions">
    Lane scope, provider modes, and how secrets are handled.
  </Card>

  <Card title="Settings" icon="sliders" href="/configuration/settings">
    Every Settings section and a first-pass order.
  </Card>
</CardGroup>
