Cline Provider
Sign in with Google, GitHub, or email. No API keys to manage — access multiple models with built-in billing, free options, and early access to new releases.Best for: Most users, fastest setup
Bring Your Own Key (BYOK)
Use 3rd party provider or API keys from Anthropic, OpenAI, OpenRouter, or any supported provider. Run models locally with Ollama or LM Studio for complete privacy.Best for: Enterprise, custom billing, local models
Setup Steps
Select a Provider
Choose from the API Provider dropdown:
- Cline — simplest setup, no API key needed
- OpenRouter — many models, one API key
- Anthropic — direct Claude access
- Ollama / LM Studio — run models locally
Authenticate
Cline Provider: Click Sign In and authenticate via Google, GitHub, or email. See OAuth details below.BYOK: Paste your API key from your provider’s dashboard.Local: No key needed — just ensure your local server is running.
API keys are stored in your system’s credential manager and sent only to your selected provider. They are never logged or transmitted to Cline’s servers.
Choose a Model
Select a model from the Model dropdown. Consider:
- Context window — how much code the model can process at once
- Speed — smaller models respond faster
- Cost — varies by model; local models are free
Cline Provider
The Cline Provider gives you one account, one billing relationship, and access to models from Anthropic, OpenAI, Google, and more.- No API key juggling — one sign-in, multiple models
- Built-in billing — add credits once, use across all models
- Free models — search “free” in the model selector to find no-cost options tagged FREE
- Stealth models — early access to new releases before they’re widely available
- Always current — new models added as they launch
Adding Credits
Click Add Credits in Cline settings or visit your account dashboard. Credits work across all available models.How OAuth Works
Bring Your Own Key (BYOK)
Use your own API keys when you need specific billing arrangements, higher rate limits, access to beta models, or local privacy.Cloud Providers
Local Models
Run models on your own hardware for complete privacy and zero per-request costs.
Local models require sufficient hardware (especially GPU memory). See Running Models Locally for requirements.
Which Model Should I Choose?
| Priority | Recommended Model |
|---|---|
| Reliability | Claude Sonnet 4 |
| Value | Qwen3 Coder |
| Speed | Cerebras GLm 4.6 |
| Privacy | Any Ollama/LM Studio model |
| Existing subscription | Claude Code with Max/Pro |
Learn more about LLMs and models in Chapter 2 of AI Coding University.
CLI Authentication
Account Management
- Balance & usage: Open Cline settings — your credit balance is at the top. Click View Usage for transaction history.
- Switch organization: Go to Cline settings → Switch Organization to change which billing account is charged.
Troubleshooting
| 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. |
Next Steps
- Your First Project — build something with Cline
- Core Workflows — patterns you’ll use daily
- Customization — tailor Cline to your workflow

