31 free AIs for coding
Updated
You don’t need a paid Claude Code or Cursor subscription to code with AI. This page sorts the free options into four groups.
Four kinds of free
- Coding tools with a free plan. Tools like GitHub Copilot and Cursor that you can use on a free plan once you have an account. Free plans come with a fixed allowance.
- APIs with an ongoing free tier. APIs like Google Gemini, Groq and OpenRouter. Create a key and put it into any OpenAI-compatible tool. Expect limits on requests per minute or per day.
- APIs with sign-up credit. You get credit to start and pay once it runs out. Not something to rely on long term.
- Local models. Run a model on your own PC with Ollama or LM Studio. No internet and no quota, but bigger models need a better GPU and more memory.
What to check
- Whether your input is used for training. Some free tiers may train on the code you send. For company code, check the “Trains on input” column first. Entries we couldn’t check say so.
- Limits. One free tier alone runs out fast. Connect two or three so that when one stops, you can carry on with another.
- Terms change. The tables below reflect each provider’s official docs on the date shown. Check the official page again before you rely on it.
Use several as one team
In MoaEditor, Connect free AIs sets up GitHub Copilot’s and Cursor’s free plans, free Groq and OpenRouter keys, and a local model that fits your PC, one after another. The AIs you connect become one team of a director, team leads, staff and interns that splits the work, and when one hits its limit, the next picks up. Free tiers are used with your own account within each provider’s limits and terms.
This list is also on GitHub, with a data.json you can reuse (CC BY 4.0). If terms changed or something is missing, please open an issue.
Checked against each provider’s official docs on 2026-10-10
Coding tools with a free plan 4
| Name | Free terms | Links |
|---|---|---|
| GitHub Copilot | Works with GitHub Copilot, including the free plan | Docs |
| Cursor | Works with a Cursor plan, including free Hobby | Docs |
| Mistral Vibe | Works with a Mistral account, free too | Docs |
| OpenCode | Works with ChatGPT, paid Copilot, OpenCode Zen or Go, or an API key. Without signing in it uses OpenCode free models, which may use what you send to improve the model | Docs |
APIs with an ongoing free tier 13
| Name | Free terms | Trains on input | Links |
|---|---|---|---|
| Google Gemini API | Flash, Flash-Lite, and Gemini 2.5 Pro are free. Request limits apply | Free tier may be used for training | Get keyDocs |
| Groq | Free for about 30 requests a minute and 1,000 a day. Varies by model | Not checked | Get keyDocs |
| OpenRouter | :free models: 20 requests a minute, 50 a day. 1,000 a day after you add $10 or more | Not checked | Get keyDocs |
| NVIDIA NIM | Free for about 40 requests a minute, for development and testing | Not checked | Get keyDocs |
| Mistral | The free plan includes monthly credits | Free tier may be used for training | Get keyDocs |
| Hugging Face | Free gets $0.10 a month, PRO gets $2 in credits | Not checked | Get keyDocs |
| SambaNova | Free for up to 20 requests a minute and 20 a day | Not checked | Get keyDocs |
| Z.ai GLM | Some Flash models are free | Not checked | Get keyDocs |
| Cohere | Trial key: up to 1,000 calls a month and 20 a minute | Not checked | Get keyDocs |
| Ollama Cloud | The free plan has starter credits. Some models only, one request at a time | Not checked | Get keyDocs |
| Vercel AI Gateway | $5 in credits per team each month. Ends after your first payment | Not checked | Get keyDocs |
| Cloudflare Workers AI | Workers AI models get 10,000 free Neurons a day (varies by model; pay per use beyond that) | No | Get keyDocs |
| FreeLLMAPI | The relay is free. Limits depend on each provider you add | Free tier may be used for training | Docs |
APIs with sign-up credit 6
| Name | Free terms | Trains on input | Links |
|---|---|---|---|
| Cerebras | There is no ongoing free tier. Add a payment method to get $5 in credits for 30 days | Not checked | Get keyDocs |
| Fireworks | $1 in credits when you sign up | Not checked | Get keyDocs |
| Nebius | Sign up and add a card to get $1 in credits for 30 days | Not checked | Get keyDocs |
| Novita | Credits when you sign up | Not checked | Get keyDocs |
| Upstage Solar | Credits when you sign up | Not checked | Get keyDocs |
| Alibaba Qwen (Model Studio) | Tokens when you sign up | Not checked | Get keyDocs |