Choosing Models: Free, Local, and Paid
Choose a model and coding tool, then test them on a free local project.
Content date: October 24, 2026.
Plain English
The model writes answers, the agent can act on them, and the editor holds your files. Their costs are separate: a free editor can still use a paid model. Chat plans and APIs are billed separately. An API lets software call a model, and free API limits vary by model. Trials expire. Downloadable, open-weight models need enough memory and disk space on your computer. Choose by results on your task, not a brand name or benchmark score.
Use this when
Before you pick a coding tool, turn on billing for an API, download a large model, or replace a model that already works.
If you are just starting
Start with a free hosted tool on the computer you have. As of October 2026, options include ChatGPT Free (limited Codex use), Google AI Studio and the free Gemini API tier (including Gemini 3.8 Flash), and GitHub Copilot Free (2,000 code suggestions a month, automatic model choice). For coding agents, compare Claude Code, Gemini CLI, Codex, and Qwen Code. Claude Code needs a paid plan or API credit. Codex Free has limited desktop access, subject to rollout; Plus includes the CLI and IDE extension. Google moved unpaid Gemini CLI users to Antigravity CLI in June 2026. Qwen Code can use a compatible local model, but hardware and model licenses still matter. Check your account's allowance and data terms before relying on any plan. Pasting code between chat and a text editor also works. Leave billing off for the starter project.
When your project grows
Before you rely on a model for real work, test it on realistic tasks, including ones it may fail. As of October 2026, paid options include OpenAI's GPT-6 family (Astra is the flagship), Anthropic's Claude family (Fable 5.1, Opus 5.5, Sonnet 5.5, Haiku 5.5), and Google's Gemini family. Open-weight models you can run locally, if your computer has the memory, include Qwen3-Coder 30B and gpt-oss-20b (both Apache 2.0). These are examples, not a ranking, and names change every few months. Before you change your default model, write down which one you used, how often it succeeded, how fast it was, how many retries it needed, what it cost, its data terms, and your fallback.
Worked example
Maria runs a small tutoring business and needs a contact-page prototype. She has an ordinary laptop and no budget. She asks a free ChatGPT account for an HTML form with a name, email, and message, and saves the files in a folder on her desktop. Halfway through fixing a bug, the chat says she has reached her limit. She saves her files, notes when the allowance resets, and finishes the next morning instead of turning on billing. Her notes list four checks: empty form blocked, bad email blocked, good entry accepted, keyboard works. Those checks show the form works better than the chat saying "done."
Practice
Build a first page on a $0 software budget
- Pick one free route from the official links below. Write down your computer, the account, the allowance you see, whether billing is off, and what the data terms say.
- Build a local contact page with name, email, and message fields and a submit button, using made-up inputs. No server, paid API, outside form service, or purchased assets.
- Test an empty form, a badly formed email, a valid entry, visible focus when you press Tab, labels on every field, and keyboard-only use. The page must say it does not send a message.
- Remove the email check on purpose. Ask the model to fix it, repeat the failing case, and read what it changed.
- Record how many corrections you needed, the time it took, the model's name if shown, any limit you hit, and what you spent (it should be $0). Save the files and notes.
- Optional: run the same checks on a second free route. Mark any comparison you did not test as untested.
Deliverable: A contact page that runs on your computer, your test notes, and a dated decision card naming your route, its limits, and $0 spent on software or AI. Your computer and internet are assumed; real hosting has separate costs.
Common mistakes to watch for
- You assume a free editor includes free AI, and a pop-up asks for an API key and a credit card.
- You count on a student offer or promotional credits that your account does not get.
- You paste customer or student information into the free Gemini tier. Google says unpaid-tier prompts can be used to improve its products and read by human reviewers. (In the EEA, Switzerland, and the UK, paid-tier data terms apply even to free use.)
- You download a local model your laptop cannot run. Ollama's Qwen3-Coder 30B is about 19 GB, and running it needs more memory than that.
- You assume a local model keeps everything on your machine, but Ollama also offers cloud-hosted models and connected tools can send data elsewhere.
- You switch to a newer model because it is new, and your prompts and checks quietly get worse.
Prompting
A weak prompt
Tell me the best AI model and sign me up for it.
A better prompt
Help me choose a coding model and tool with $0 in extra software spending. Compare a free hosted option with a local option only if my computer can run it. Use current official sources for costs, limits, account requirements, data terms, and what happens at each limit. Separate model, editor, agent, API, and hosting costs. Don't enable billing, buy credits, or download large models. Help me build a local HTML, CSS, and JavaScript contact form with made-up inputs. Test validation and keyboard use, fix one bug, and explain the change. Report the model name if visible and anything you couldn't verify.
Setting a $0 limit and a concrete result first keeps you from buying something you do not need, and using the same checks on every model lets you compare free and paid fairly.
Check before you move on
- You wrote down one free route and one fallback.
- Your starter project needs no paid subscription or purchased credits.
- You checked the quota and data terms of your chosen route.
- You checked your computer's memory and disk space before considering a local model.
- You tested with made-up data and saved the files and a screenshot.
You are done when
- Your contact page passes your checks for empty fields, a bad email, a good entry, and keyboard use, and you built it without paying for AI.
- You can explain which route you used, its limits, and what result would be worth paying for.
Questions to think about
Your new code editor is free, but it asks for an API key before the assistant works. Is the AI free too?
No. The editor and the model are billed separately. The key means the model provider charges for use unless its free tier covers you, so check those limits first.
A local model is a 19 GB download and your laptop has 40 GB of free disk space. Will it run well?
Not necessarily. Disk space only stores the files. The model also needs working memory while it runs, and a laptop without enough will be very slow or fail.
Your free allowance runs out halfway through and a banner offers a paid upgrade. What do you do?
Save your files and notes, then wait for the reset or use another free route. The starter project is built to finish without paying, so a limit means pause, not buy.
A paid model builds your form faster, but its form accepts an empty email. Does it win the comparison?
No. A model must pass your correctness checks first. Speed and price only matter between models that already pass.
Official references
- Claude plans (Claude Code access)
- Gemini CLI access and features
- Qwen Code and local model support
- ChatGPT and Codex pricing and free access
- Gemini model pricing and free-tier data terms
- Gemini data-use terms and regional/account exceptions
- GitHub Copilot plans
- Qwen publisher model card
- Qwen3-Coder packages in Ollama
- gpt-oss-20b
- OpenAI model catalog
- Claude model catalog
- Ollama local and cloud behavior