Get an Anthropic API key
Anthropic's Claude family — Haiku, Sonnet, Opus — is often the strongest choice for brand-tone-sensitive ad copy. The API requires billing (no free tier) but Haiku is cents per generation. In our experience Anthropic is the most reliable of the three providers, making it a great failover.
1. Create an Anthropic account
- Go to console.anthropic.com.
- Sign up with email or Google.
- Verify your email (Anthropic sends a confirmation link).
After verification you land on the Anthropic Console — the developer dashboard for the Claude API.
2. Set up billing
Anthropic doesn't have a free tier. You need to add billing before any API calls work.
- In the left nav, click Billing (or Plans & billing depending on UI version).
- Click Add payment method.
- Add a credit card.
- Anthropic typically requires a minimum $5 prepaid credit purchase to activate API access. Add the minimum.
That $5 lasts a long time for ad-gen. Claude Haiku is roughly $0.25 per million input tokens and $1.25 per million output tokens. A typical ad generation is well under 1k tokens — call it a fraction of a cent per ad.
3. Create the API key
- In the left nav, click API keys (or go directly to console.anthropic.com/settings/keys).
- Click Create Key.
- Give it a name like
trafficloopbackso you can identify it later. - Optionally set a workspace, spend limit, or rate-limit cap. Spend limits are nice for safety — start with $10/month.
- Click Create Key.
- Copy the key immediately. Anthropic shows it once. If you lose it you have to delete and recreate.
Security: the key starts with sk-ant-... and is fully equivalent to your billing credentials. Don't paste it into chat, screenshots, or git. TrafficLoopback stores it encrypted in our database.
4. Add it to TrafficLoopback
- Sign in at trafficloopback.com/login.
- Go to Settings → API keys.
- Click Add key and pick Anthropic.
- Paste the key. Label it (e.g.
Main) and set a priority. - Save.
5. Why Anthropic as failover
If you're running Google or OpenAI as primary, Anthropic is the best secondary choice we've found:
- Reliability — Anthropic has had fewer outages than the other two in 2025–2026.
- Different safety filter — content Google or OpenAI reject (regulated industries, sensitive subjects) often passes Anthropic's checks fine.
- Brand voice — Claude tends to write more naturally in a specific tone, which matters for ad copy.
Pair Anthropic with at least one of:
- Google AI Studio (Gemini) — for the free-tier coverage on routine generation
- OpenAI — for broadest coverage on edge cases
See Why multiple AI keys for the failover mechanics.