docs/getting-started/authorizing-with-cline.mdx
Cline connects to AI models through a provider. You have two paths:
Add credits in Cline settings or at app.cline.bot/dashboard.
| Provider | Best For | Setup Guide |
|---|---|---|
| OpenRouter | Multiple models, competitive pricing | Setup |
| Anthropic | Direct Claude access | Setup |
| Claude Code | Claude Max/Pro subscription | Setup |
| OpenAI | GPT models | Setup |
| Google Gemini | Gemini models | Setup |
| AWS Bedrock | Enterprise | Setup |
| DeepSeek | Great value | Setup |
Run models on your own hardware for complete privacy and zero per-request costs.
| Provider | Best For | Setup Guide |
|---|---|---|
| Ollama | CLI-based local runtime | Setup |
| LM Studio | GUI-based local runtime | Setup |
Local models require sufficient hardware (especially GPU memory). See Running Models Locally for requirements.
# Authenticate from the terminal
cline auth
# Shorthand
cline a
Runs the same auth flow as IDE setup.
| Issue | Fix |
|---|---|
| "Unauthorized: Please sign in" | Session expired. Click Sign In to re-authenticate. |
| Browser doesn't open | Check default browser settings. Copy the URL from the Cline output panel manually. |
| Frequent re-authentication | Check org security policies. Ensure you're not clearing IDE secrets. Try a full sign-out/sign-in. |
| Can't access organization | Verify membership at app.cline.bot. Ask your admin about permissions. Sign out and back in. |