> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cohesive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your model providers

> Use your ChatGPT or Claude subscription, or a provider API key, for supported agent conversations.

Connect an existing subscription in **Settings → Connectors → Model providers**, then choose **ChatGPT** or **Claude** before sending the first message in a new chat.

<Columns cols={2}>
  <Card title="Connect ChatGPT" icon="link" href="/product/account/connect-chatgpt">
    Sign in with the ChatGPT Plus or Pro account you already use.
  </Card>

  <Card title="Connect Claude" icon="link" href="/product/account/connect-claude">
    Sign in with your Claude Pro or Max account.
  </Card>
</Columns>

<Note>
  To use Cohesive from inside Claude instead, see [Connect Claude](/mcp-server/connect/claude) in the MCP docs.
</Note>

These connections pay for supported agent turns. They don't import your ChatGPT or Claude conversations, projects, or app connections. Add the files and [Connectors](/product/connectors/overview) you want the agent to use in Cohesive.

<Note>
  Model providers and the agent picker appear when agent choice is enabled for your organization. If either is missing, contact your organization admin or [Cohesive support](mailto:support@cohesive.ai).
</Note>

## Choose a connection

| Connection | Where to connect | Where to use it |
| - | - | - |
| ChatGPT subscription | **OpenAI → Subscription** | **ChatGPT** in a new chat |
| Claude subscription | **Anthropic → Subscription** | **Claude** in a new chat |
| OpenAI API key | **OpenAI → API Key** | Supported OpenAI models in ChatGPT or OpenCode |
| Anthropic API key | **Anthropic → API Key** | Supported Anthropic models in Claude or OpenCode |

OpenCode uses API keys, so a connected subscription doesn't fund its turns. The **Cohesive** agent option uses platform credits. See [Choose an agent](/product/agent/choosing-an-agent).

## Connect an API key

<Steps>
  <Step title="Open Model providers">
    Open **Settings** from your account menu, select **Connectors**, then **Model providers**.
  </Step>

  <Step title="Choose the provider">
    Click **Connect** beside **OpenAI** or **Anthropic**. If a connection already exists, click **Replace**.
  </Step>

  <Step title="Add the key">
    Select **API Key** under **Credential Type**, paste a key from the provider's console, and click **Connect**. Cohesive checks the key with the provider before saving it.
  </Step>

  <Step title="Start a new chat">
    Choose the agent and model in the composer. Check the funding label beside the model before sending.
  </Step>
</Steps>

## Check which account is used

Each provider has one personal connection in the current organization. **Replace** changes that connection; it doesn't add a second account for the same provider. You can connect OpenAI and Anthropic at the same time.

For supported turns, Cohesive uses your active personal connection first, then an eligible organization key if one exists, then Cohesive's key. The provider row shows the connected account or the key's last four characters.

Subscriptions are personal. Sharing a Canvas doesn't share your subscription with its collaborators.

## Usage and credits

The model menu labels usage as **your subscription**, **connected key**, or **platform credits**. Turns paid through your subscription or connected API key don't also charge Cohesive model credits for those tokens. Other work, such as file processing or additional services, can still use Cohesive credits.

Your provider's allowance and limits still apply. Connecting a provider doesn't replace your Cohesive plan or bypass its usage checks. See [Usage and credits](/product/account/usage).

## Replace or disconnect

Return to **Model providers** and choose **Replace** to change the account or key, or **Disconnect** to remove it. To reconnect a subscription, repeat its sign-in steps.

If a connection is rejected or disconnected, eligible later turns fall back to an organization key or Cohesive's key. Check the provider row and model funding label: fallback can use platform credits.

Credentials are stored encrypted. Cohesive's infrastructure provider applies them to outbound requests and can see those requests. See [Model provider credentials](/product/security#model-provider-credentials).
