Documentation Menu
Choosing Your API Key Provider
Anthropic vs OpenAI vs OpenRouter vs Google — which AI provider to use with your BrainRoad agent.
On this page
BrainRoad uses a bring-your-own-key model. You provide API keys from the AI providers you want your agent to use. This page helps you choose.
Provider Comparison
Anthropic (Claude) — Recommended
Best for: General-purpose agent use, coding, research, writing, and reasoning.
OpenClaw is built and tested against Claude first. If you only add one key, make it Anthropic. Cost: $3–15 per million tokens (input–output). Estimated monthly: ~$5–20 for moderate use.
Setup difficulty: Easy. Takes 2 minutes.
Get your key: console.anthropic.com
OpenAI (GPT-4 / GPT-4o)
Best for: Versatile general-purpose work with GPT-4o, advanced reasoning with o1.
OpenAI offers fast, reliable models that work well for most agent tasks. Cost: $0.15–60 per million tokens (varies widely by model). Estimated monthly: ~$5–30 for moderate use.
Setup difficulty: Easy. Takes 2 minutes.
Get your key: platform.openai.com/api-keys
Google (Gemini)
Best for: Getting started for free with a generous free tier.
Google’s Gemini API includes a free tier with ample monthly tokens — great if you want to explore with zero cost commitment. Cost: Free for light use, ~$1–10/month if you exceed the free tier. Estimated monthly: Free–10 for light to moderate use.
Free tier: Yes, includes Gemini 2.0 and other models.
Setup difficulty: Easy. Takes 1 minute.
Get your key: aistudio.google.com/apikey
OpenRouter
Best for: Accessing multiple providers and models through a single key, or using free models.
OpenRouter is a unified API that routes to Anthropic, OpenAI, Google, Meta, and dozens of other providers. One key gives you access to all of them. Pricing varies by model — OpenRouter adds a small margin on top of underlying provider costs. This is what powers your trial key.
Cost: Varies — many free models available, paid models at provider rates + small margin. Estimated monthly: Free (with free models) to $20+ for premium models.
Free tier: Yes, many free models available.
Setup difficulty: Easy. Takes 2 minutes.
Get your key: openrouter.ai/keys
xAI (Grok)
Best for: Access to Grok models with strong real-time knowledge and coding capabilities.
Grok is a newer model with strengths in real-time reasoning and code generation. Cost: $2–10 per million tokens. Estimated monthly: ~$5–15 for moderate use.
Setup difficulty: Moderate. xAI account setup takes a few extra minutes.
Get your key: console.x.ai
What We Recommend
Start with your trial. When you create your first agent, BrainRoad gives you a 30-day free trial with OpenRouter. Use it to explore the platform with zero payment info required.
Move to Anthropic when the trial ends. Claude is the most tested and best-supported model for OpenClaw agents. For most users, a single Anthropic key is all you need. Cost is predictable and reasonable (~$5–20/month for typical use).
Add a second provider for reliability (optional). If your agent handles anything time-sensitive or mission-critical, add OpenAI or OpenRouter as a fallback. When your primary provider hits rate limits or returns an error, your agent automatically tries the next provider.
Use Google Gemini to start for free (alternative). If you want to avoid Anthropic costs initially, Google’s free tier is generous enough for light exploration. Once you hit the free limit, you can add Anthropic or another provider.
Understanding Your Costs
All costs listed above are provider costs only — BrainRoad does not mark up API usage. You pay the provider directly at their published rates.
How much will I spend? It depends entirely on how active your agent is. Most users with casual to moderate use spend $5–30 per month. Heavy automation or long daily workflows can reach $100–300+ per month.
How do I prevent surprise bills? Set spending limits and alerts on your provider account:
- Anthropic: Go to Billing in console.anthropic.com and set a monthly limit
- OpenAI: Go to Billing → Usage limits and set hard limits
- Google: Set quotas on your Gemini API project
- OpenRouter: Set spending limits in your account settings
Most providers allow you to set limits that prevent charges beyond a certain amount.
Related Docs
- Adding API Keys — step-by-step instructions
- Supported Providers — full list of supported providers
- What Happens During Your Trial — your trial key uses OpenRouter
- API Costs Explained — detailed cost breakdown