An API key is a long code that lets software, here your agent farm, use an AI model on your own account with that provider. A free key uses the provider's free tier, which has daily limits the provider sets and can change.
Headcount Cloud, the farm that comes with Headcount AI, needs no paid AI plan. It runs on these free keys plus Cloudflare's own free models, and part 2 of the setup video shows every click.
What are the 10 free AI lanes?
A lane is one free model your agents can use: five for text, five for media. Four need no key at all.
| Lane | What it does | Key | Free allowance |
|---|---|---|---|
| Gemini | Main text model: plans, writes, uses tools | Free, from Google AI Studio | About 500 agent steps a day |
| Z.ai GLM | Text backup | Free, from Z.ai | One request at a time |
| OpenRouter free models | Text backup | Free, from OpenRouter | 50 requests a day across free models |
| Workers AI | Text on Cloudflare's own model | None | About 100 agent steps a day |
| Groq | Fast text for short prompts | Free, from the Groq console | Daily limits per model |
| FLUX images | Images from a prompt | None | About 55 to 95 images a day |
| Aura voice | Voiceovers | None | Shares the Workers AI allowance |
| Whisper | Transcripts from audio and video | None | Shares the Workers AI allowance |
| LTX and Wan video | Short clips; Wan animates an image | Free Hugging Face token | Hugging Face's free daily quota |
| Gemini video understanding | Watches a video, returns moments, a transcript or answers | The same Gemini key | Gemini's free tier |
Workers AI, FLUX, Aura and Whisper share Cloudflare's free allowance of 10,000 neurons a day, which resets at 00:00 UTC (Workers AI pricing, checked 1 Dec 2026).
Gemini is the key that matters most. Without it, agents fall back to Cloudflare's small free model, which is slower and does weaker work. Our comparison of free LLM APIs covers each provider.
Step 1Create a free Gemini API key
Sign in with Google at Google AI Studio, click Create API key, pick or create a project, and copy the key.

- Accept AI Studio's terms if it asks. New accounts get a default project.
- Skip billing. The free tier is the one you want.
AI Studio shows your exact free limits, and daily request limits reset at midnight Pacific time (Gemini API rate limits, checked 1 Dec 2026).
Step 2Add free Z.ai and OpenRouter keys as backups
Create a key on the Z.ai API keys page and another on the OpenRouter keys page, and copy both.
On Z.ai, sign up and keep the Standard key type. On OpenRouter, click Create Key and name it; the key starts with sk-or-.
Z.ai lists GLM-4.7-Flash as free on its pricing page (checked 1 Dec 2026). The farm sends it one request at a time, which makes it a steady backup on days Gemini runs out.
OpenRouter's free models allow 50 requests a day in total and 20 a minute (OpenRouter limits, checked 1 Dec 2026). Accounts that have bought credits get more, but you don't need to buy anything.
Step 3Paste the keys into your farm
Paste them into the deploy form when you set up the farm, or later under Settings, AI models.
- On the deploy form, add them next to your Cloudflare token before you click Deploy to my Cloudflare. The Headcount Cloud guide covers the rest.
- Later, add a key on its row in Settings, AI models. The farm tests it before saving, and Groq keys go here too.
- The video lanes take a free Hugging Face token, added on the Tools page under Hugging Face video.
Without a Google account you can still deploy. The farm runs on Cloudflare's free model, about 100 agent steps a day, until you add a key.
Step 4Set a spend cap before you add a paid key
Open Settings, then Spend caps, type a cap for each paid source and click Save.
Caps cover paid AI models (Anthropic, OpenAI or a paid OpenRouter model) and paid data or outreach tools. Each source has three boxes: an amount a day, an amount a month and a number of calls a day. An empty box means no cap, so fill in at least the daily one.
When a source hits its cap, it stops for the day or month. A card on your Overview says so, with a button to raise the cap, and the agents carry on with free models.
Paid jobs show their cost first. Lead enrichment, for example, gives its worst-case cost and waits for your yes. You pay each provider directly, at the prices on its own pricing page.
What happens when a free model runs out or refuses?
The agents move to the next model in your list. On a busy day free Gemini can run out by evening, and a card on your Overview names the limit and the fix, such as "Add a Z.ai key (free)".
The list in Settings, AI models is tried from the top. Free models go first (Gemini, Z.ai, OpenRouter free, Workers AI, then Groq for short prompts), and paid models follow only while under their cap.
Limits reset daily, and the farm retries Gemini during the day instead of waiting for morning. Settings shows today's Workers AI use and when it resets.
Sometimes Settings says "Gemini refuses here" or "User location is not supported". Your farm then sits in a Cloudflare data center where Google's Gemini API refuses requests, and Google lists where it works.
The farm moves itself to Western Europe within the hour when no agent is busy. To move it now:
- Open Settings, then Farm location.
- Click Move my farm and confirm.
- Wait about 1 minute. Memory, runs, chats, schedules, tools, keys and sign-ins all move, and the old farm stays untouched as a backup.












