Setting Up AI Providers
A "provider" is the AI service that powers your chats. ClawDesk supports many providers — you can even use several at once and switch between them freely.
What Providers Are Available?
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
| Provider | Top Models | Cost | Needs Internet? |
|---|---|---|---|
| Anthropic | Claude Sonnet, Claude Haiku, Claude Opus | Pay-per-use (~$3-15/M tokens) | Yes |
| OpenAI | GPT-4o, GPT-4, GPT-4o-mini | Pay-per-use (~$2.50-10/M tokens) | Yes |
| Google Gemini | Gemini 2.0 Flash, Gemini Pro | Free tier available | Yes |
| Ollama | Llama 3, Mistral, Gemma, Qwen | Completely free | No (runs locally) |
| Local (Built-in) | Any GGUF model | Completely free | No (runs locally) |
| OpenRouter | 100+ models from all providers | Pay-per-use (varies) | Yes |
| AWS Bedrock | Claude, Llama, Mistral | Pay-per-use | Yes |
| Azure OpenAI | GPT-4o, GPT-4 | Pay-per-use | Yes |
| Cohere | Command R+ | Pay-per-use | Yes |
| Vertex AI | Gemini, PaLM | Pay-per-use | Yes |
Adding a Provider
Step 1: Open Provider Settings
- Click Settings in the left sidebar
- Click the Providers tab
You'll see a list of available providers with fields for API keys and configuration.
Step 2: Enter Your API Key
Find your provider in the list and paste your API key.
An API key is like a password that lets ClawDesk talk to the AI service on your behalf. Each provider gives you a unique key when you sign up for their developer platform. ClawDesk stores your key locally on your computer — it never sends it anywhere else.
Where to get your key:
- Go to console.anthropic.com
- Sign up or log in
- Click API Keys → Create Key
- Copy the key (starts with
sk-ant-...)
In ClawDesk:
- Find "Anthropic" in the providers list
- Paste the key
- Click Save
Available models: Claude Opus, Claude Sonnet, Claude Haiku
Where to get your key:
- Go to platform.openai.com/api-keys
- Sign up or log in
- Click Create new secret key
- Copy the key (starts with
sk-...)
In ClawDesk:
- Find "OpenAI" in the providers list
- Paste the key
- Click Save
Available models: GPT-4o, GPT-4o-mini, GPT-4, o1, o1-mini
Where to get your key:
- Go to aistudio.google.com/apikey
- Sign in with Google
- Click Create API Key
- Copy the key
In ClawDesk:
- Find "Gemini" in the providers list
- Paste the key
- Click Save
Available models: Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash
Google offers a free tier for Gemini API. Great for getting started without paying!
No API key needed! Ollama runs on your computer.
Setup:
- Install Ollama from ollama.com
- Pull a model:
ollama pull llama3.2 - In ClawDesk, find "Ollama" in providers
- URL should be
http://localhost:11434(default) - Click Save
Models you've pulled will appear automatically.
Popular models to try:
ollama pull llama3.2 # Great all-rounder
ollama pull mistral # Fast and capable
ollama pull codellama # Best for coding
ollama pull gemma2 # Good for general tasks
OpenRouter gives you access to 100+ models from many providers through a single API key.
Where to get your key:
- Go to openrouter.ai
- Sign up and add credits
- Go to Keys → create a key
In ClawDesk:
- Find "OpenRouter" in the providers list
- Paste the key
- Click Save
This gives you access to Claude, GPT-4, Llama, Mistral, and many more through one account.
Using Multiple Providers
One of ClawDesk's strengths is using multiple providers at the same time. You can:
- Set up Anthropic, OpenAI, and Ollama all at once
- Switch between them freely in the Chat page
- Use different models for different tasks
Example setup:
- Anthropic Claude for writing and analysis
- OpenAI GPT-4o for coding
- Ollama Llama 3 for quick offline questions
Smart Failover
If one provider goes down or hits a rate limit, ClawDesk can automatically switch to another one. This happens behind the scenes — you won't even notice.
The failover system:
- Tries your selected model first
- If that fails (rate limit, server error, etc.), tries the next available model
- Keeps trying up to 15 times across different models and providers
- If thinking mode hits context limits, it automatically reduces thinking complexity
You don't need to configure this — it works automatically.
How Much Does It Cost?
| Usage Level | Estimated Monthly Cost |
|---|---|
| Light (a few chats per day) | $1-5 |
| Moderate (regular daily use) | $5-20 |
| Heavy (all-day coding assistant) | $20-50 |
| Free (Ollama / local models) | $0 |
| Free (Gemini free tier) | $0 |
You only pay for what you use. There are no subscriptions or monthly fees from ClawDesk — all costs go directly to the AI provider.
Checking Provider Health
In Settings → Providers, each provider shows a health status:
- Green — Connected and working
- Yellow — Connected but experiencing issues
- Red — Not connected or error
Related Guides
- First Launch & Setup → — Initial provider setup
- Running AI Locally → — Use AI for free offline
- Chatting with AI → — Use your providers in conversations