/docs/ai-providers/

AI Providers & Models

ClawBlitz supports four AI providers. You bring your own API key and pay the provider directly for token usage.

How Provider Selection Works

When you set up your bot, you choose a provider and paste your API key. Your OpenClaw instance uses that key to make inference calls. You can switch providers or models at any time from the dashboard — the change takes effect after a quick automatic restart (about 15-30 seconds).

ClawBlitz never marks up API costs. Whatever your provider charges per token is exactly what you pay.

Provider Comparison

Provider Top Models Strengths Key Format
OpenAI GPT-4o, GPT-4o-mini, o1, o3-mini Broad tool use, fast responses, largest ecosystem sk-proj-...
Anthropic Claude Opus 4, Claude Sonnet 4, Claude Sonnet 3.5 Strong reasoning, long context, careful outputs sk-ant-...
Google Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash Large context windows, multimodal, competitive pricing AIza...
OpenRouter Any model on OpenRouter Access to dozens of providers through one API key sk-or-...

OpenAI

OpenAI provides the GPT family of models. GPT-4o is the recommended default for most users — it balances capability and cost well. For budget-conscious usage, GPT-4o-mini is significantly cheaper while still handling most tasks.

Getting Your API Key

  1. Go to platform.openai.com/api-keys
  2. Sign in or create an OpenAI account
  3. Click Create new secret key
  4. Copy the key (it starts with sk-proj-)
  5. Paste it into the ClawBlitz dashboard under AI Provider

Available Models

gpt-4o # Recommended — best balance of speed and quality
gpt-4o-mini # Budget-friendly, good for simple tasks
o1 # Reasoning model, slower but stronger on complex problems
o3-mini # Compact reasoning model

Anthropic

Anthropic builds the Claude family of models. Claude models are known for strong reasoning, long context handling, and careful, well-structured outputs. Claude Sonnet 4 is a great all-around choice.

Getting Your API Key

  1. Go to console.anthropic.com/settings/keys
  2. Sign in or create an Anthropic account
  3. Click Create Key
  4. Copy the key (it starts with sk-ant-)
  5. Paste it into the ClawBlitz dashboard

Available Models

claude-opus-4-0 # Most capable, best for complex tasks
claude-sonnet-4-0 # Recommended — great balance of speed and quality
claude-sonnet-3-5 # Previous gen, still very capable

Google

Google's Gemini models offer large context windows and strong multimodal capabilities. Gemini 2.5 Pro is the top-tier option, while Flash models provide faster and cheaper responses.

Getting Your API Key

  1. Go to aistudio.google.com/apikey
  2. Sign in with your Google account
  3. Click Create API key
  4. Select or create a Google Cloud project
  5. Copy the key and paste it into the ClawBlitz dashboard

Available Models

gemini-2.5-pro # Most capable, large context window
gemini-2.5-flash # Recommended — fast and cost-effective
gemini-2.0-flash # Previous gen flash, very cheap

OpenRouter

OpenRouter acts as a unified gateway to dozens of AI providers. With a single API key, you can access models from OpenAI, Anthropic, Google, Meta, Mistral, and many others. This is useful if you want flexibility to try different models without managing multiple accounts.

Getting Your API Key

  1. Go to openrouter.ai/keys
  2. Sign in or create an OpenRouter account
  3. Click Create Key
  4. Copy the key (it starts with sk-or-)
  5. Paste it into the ClawBlitz dashboard

When using OpenRouter, you select which model to use from the ClawBlitz dashboard. The available model list depends on what OpenRouter currently supports.

Switching Providers or Models

You can change your AI provider or model at any time without restarting your bot.

  1. Open the ClawBlitz dashboard
  2. Navigate to the AI Provider section
  3. Select a new provider from the dropdown
  4. If switching providers, paste your new API key
  5. Choose the model you want to use
  6. Click Save

The change applies to the next message your bot processes. In-progress conversations will finish using the previous model.