Skip to main content
Cline connects to over 30 cloud providers. This page covers the major ones: what credentials you need, where to get them, and how to configure each in Cline.
If you’re unsure which provider to start with, OpenRouter gives you access to models from all major providers through a single API key — useful for experimenting before committing to a single provider.

Configuring a provider

All providers are configured in the same place:
  1. Click the settings gear icon (⚙️) in the Cline panel.
  2. Select your provider from the API Provider dropdown.
  3. Enter your API key or credentials.
  4. Choose a model from the Model dropdown.

Provider setup

Anthropic makes the Claude family of models. Claude Sonnet and Opus have the strongest tool-use reliability of any model family, making Anthropic a popular first choice for Cline users.Website: anthropic.com

Getting an API key

1

Sign in to Anthropic Console

Go to console.anthropic.com and create an account or sign in.
2

Navigate to API keys

3

Create a key

Click Create Key, give it a descriptive name (e.g., cline), and click Create Key.
4

Copy the key immediately

Copy your key now — Anthropic will not show it again. Store it in a password manager or secrets vault.

Configuration in Cline

  1. Set API Provider to Anthropic.
  2. Paste your key into the Anthropic API Key field.
  3. Select a model — claude-sonnet-4-5-20250929 is the recommended default.

Available models

ModelContextNotes
claude-sonnet-4-5-20250929200KRecommended default
claude-sonnet-4-5-20250929:1m1MLarge codebase variant
claude-opus-4-20250514200KMost capable
claude-opus-4-20250514:1m1MLarge codebase variant
claude-haiku-4-5-20251001200KFast, affordable
claude-sonnet-4-6200KLatest Sonnet

Notes

  • Prompt caching is enabled automatically and reduces costs significantly for repeated context.
  • Extended thinking is available on Sonnet 3.7+ and Opus 4 — enable it in Cline settings for complex reasoning tasks.
  • Rate limits are tier-based. If you hit limits frequently, consider accessing Claude through OpenRouter instead.
  • Pricing: anthropic.com/pricing

Which provider should I use?

SituationRecommended provider
Getting started, want simplicityOpenRouter (one key, many models)
Best Claude reliabilityAnthropic direct
Best GPT modelsOpenAI direct
Largest context windowGoogle Gemini
Enterprise AWS infrastructureAWS Bedrock
Enterprise Azure infrastructureAzure OpenAI
Enterprise GCP infrastructureGCP Vertex AI
Access to many models at onceOpenRouter

Next steps

Model selection guide

Compare models across providers and find the right one for your task.

Context windows

Understand how context limits affect large codebases and how Cline manages them.

Build docs developers (and LLMs) love