🦞
AI Model Configuration

Configure Moltbot with Claude

Use Anthropic's Claude models with Moltbot (formerly Clawdbot). Claude is known for being helpful, harmless, and honest.

🎯 Why Choose Claude?
  • Excellent at following instructions — Claude excels at complex, multi-step tasks
  • 200K context window — Process long documents and maintain conversation history
  • Strong coding abilities — Great for automation scripts and technical tasks
  • Safety-focused — Built to be helpful while avoiding harmful outputs

Available Claude Models

Claude 3.5 Sonnet

Recommended

Best balance of intelligence and speed. Recommended for most users.

claude-3-5-sonnet-20241022

Input: $3.00/MTok

Output: $15.00/MTok

Claude 3.5 Haiku

Fastest and cheapest. Great for simple tasks and high-volume usage.

claude-3-5-haiku-20241022

Input: $0.80/MTok

Output: $4.00/MTok

Claude 3 Opus

Most capable model. Best for complex reasoning and analysis.

claude-3-opus-20240229

Input: $15.00/MTok

Output: $75.00/MTok

* Prices per million tokens as of January 2026. Check Anthropic's pricing page for current rates.

Setup Instructions

1

Get Your API Key

Sign up at Anthropic and generate an API key:

  • • Go to console.anthropic.com
  • • Create an account or sign in
  • • Navigate to API Keys section
  • • Click "Create Key" and copy it
2

Configure Moltbot

Add Claude configuration to your config file:

{
  "agent": {
    "provider": "anthropic",
    "model": "claude-3-5-sonnet-20241022",
    "apiKey": "sk-ant-api03-YOUR-KEY-HERE"
  }
}
3

Restart Moltbot

Apply the configuration:

moltbot restart
Advanced Configuration
{
  "agent": {
    "provider": "anthropic",
    "model": "claude-3-5-sonnet-20241022",
    "apiKey": "sk-ant-api03-...",
    "maxTokens": 4096,
    "temperature": 0.7,
    "systemPrompt": "You are a helpful personal assistant named Moltbot."
  }
}
  • maxTokens — Maximum response length (default: 4096)
  • temperature — Creativity level 0-1 (default: 0.7)
  • systemPrompt — Custom personality and instructions
Cost Estimation

Typical monthly costs for Claude 3.5 Sonnet with Moltbot:

Light usage (~100 messages/day)~$5-10/mo
Moderate usage (~500 messages/day)~$25-50/mo
Heavy usage (~2000 messages/day)~$100-200/mo

Want free AI? Use Ollama with local models for unlimited usage at no cost.

Claude Configured!

Now connect your messaging channels and start chatting.