Configure Moltbot with Claude
Use Anthropic's Claude models with Moltbot (formerly Clawdbot). Claude is known for being helpful, harmless, and honest.
- ✓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
RecommendedBest balance of intelligence and speed. Recommended for most users.
claude-3-5-sonnet-20241022Input: $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-20241022Input: $0.80/MTok
Output: $4.00/MTok
Claude 3 Opus
Most capable model. Best for complex reasoning and analysis.
claude-3-opus-20240229Input: $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
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
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"
}
}Restart Moltbot
Apply the configuration:
moltbot restart{
"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
Typical monthly costs for Claude 3.5 Sonnet with Moltbot:
Want free AI? Use Ollama with local models for unlimited usage at no cost.
Claude Configured!
Now connect your messaging channels and start chatting.