Guides

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

NameFree termsLinks
GitHub CopilotWorks with GitHub Copilot, including the free plan
CursorWorks with a Cursor plan, including free Hobby
Mistral VibeWorks with a Mistral account, free too
OpenCodeWorks 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

APIs with an ongoing free tier 13

NameFree termsTrains on inputLinks
Google Gemini APIFlash, Flash-Lite, and Gemini 2.5 Pro are free. Request limits applyFree tier may be used for training
GroqFree for about 30 requests a minute and 1,000 a day. Varies by modelNot checked
OpenRouter:free models: 20 requests a minute, 50 a day. 1,000 a day after you add $10 or moreNot checked
NVIDIA NIMFree for about 40 requests a minute, for development and testingNot checked
MistralThe free plan includes monthly creditsFree tier may be used for training
Hugging FaceFree gets $0.10 a month, PRO gets $2 in creditsNot checked
SambaNovaFree for up to 20 requests a minute and 20 a dayNot checked
Z.ai GLMSome Flash models are freeNot checked
CohereTrial key: up to 1,000 calls a month and 20 a minuteNot checked
Ollama CloudThe free plan has starter credits. Some models only, one request at a timeNot checked
Vercel AI Gateway$5 in credits per team each month. Ends after your first paymentNot checked
Cloudflare Workers AIWorkers AI models get 10,000 free Neurons a day (varies by model; pay per use beyond that)No
FreeLLMAPIThe relay is free. Limits depend on each provider you addFree tier may be used for training

APIs with sign-up credit 6

NameFree termsTrains on inputLinks
CerebrasThere is no ongoing free tier. Add a payment method to get $5 in credits for 30 daysNot checked
Fireworks$1 in credits when you sign upNot checked
NebiusSign up and add a card to get $1 in credits for 30 daysNot checked
NovitaCredits when you sign upNot checked
Upstage SolarCredits when you sign upNot checked
Alibaba Qwen (Model Studio)Tokens when you sign upNot checked

Local models, no quota 8

NameFree termsLinks
OllamaFree, runs on your PC
LM StudioFree, runs on your PC
llama.cppFree, runs on your PC
JanFree, runs on your PC
Foundry LocalFree, runs on your PC
Docker Model RunnerFree, runs on your PC
vLLMFree, your own server
SGLangFree, your own server