Providers & API Keys

Configure LLM and optional web-search providers in ~/.picoclaw/config.json under providers and tools.web.

LLM providers

ProviderPurposeGet API Key
openrouterLLM (many models)openrouter.ai
zhipuLLM (Zhipu direct)bigmodel.cn
anthropicLLM (Claude)console.anthropic.com
openaiLLM (GPT)platform.openai.com
geminiLLM (Gemini)aistudio.google.com
deepseekLLM (DeepSeek)platform.deepseek.com
groqLLM + voice (Whisper)console.groq.com

Groq provides free voice transcription via Whisper; when configured, Telegram voice messages can be transcribed automatically.

Web search

  • Brave Search: brave.com/search/api — 2000 free queries/month.
  • DuckDuckGo: No API key; enable in tools.web.duckduckgo for fallback.

API key comparison (free tiers)

ServiceFree TierUse Case
OpenRouter200K tokens/monthMultiple models (Claude, GPT-4, etc.)
Zhipu200K tokens/monthBest for Chinese users
Brave Search2000 queries/monthWeb search
GroqFree tierFast inference (Llama, Mixtral), Whisper

Zhipu example

"agents": {
  "defaults": { "model": "glm-4.7", "max_tokens": 8192, "temperature": 0.7 }
},
"providers": {
  "zhipu": {
    "api_key": "YOUR_KEY",
    "api_base": "https://open.bigmodel.cn/api/paas/v4"
  }
}