OpenCode Free Models: $0 Stack, 12 Steps, 60 Min [2026] Recursive released Flint in late October 2026, a 40-billion-parameter mixture-of-experts coding model that activates about 2.5 billion parameters per token, with weights published on Hugging Face under the Apache 2.0 license. A tutorial from Shattered builds a $0 OpenCode coding-assistant stack in 12 steps around Flint, noting that OpenCode's free hosted models — GLM-5.3-Flash Free, Nemotron 3.5 Lightning Free and Nemotron 3.5 Super VL Free, listed as limited-time offers as of November 2, 2026 — rotate and carry differing data-retention terms, while OpenCode Go costs $10 a month and Go Teams $20 per member per month. The guide cites Stack Overflow's 2025 developer survey finding that 31% of developers already use AI agents at work. Recursive shipped Flint in late October 2026, a 40-billion-parameter mixture-of-experts coding model that activates about 2.5 billion parameters per token. The company says the weights sit on Hugging Face under the Apache 2.0 license, so anyone can run them on their own hardware see Recursive’s Flint announcement https://recursive.com/updates/introducing-recursive-flint . For OpenCode users, that rewrites the math on a zero-dollar setup. A free hosted model can vanish next week. A model on your own disk stays put. This tutorial builds a $0 open-source AI coding assistant stack around OpenCode in 12 steps. You will inventory the free hosted models, pull Flint to your machine, serve it through an OpenAI-compatible endpoint, wire both tiers into one config, and add a guard script that blocks accidental paid usage. A small benchmark harness then tells you which tier deserves which job. If you want the plain install first, the earlier OpenCode and Ollama setup walkthrough https://shattered.io/open-source-ai-coding-assistant-opencode-ollama-2026/ covers that ground, and this guide picks up where it stops. Why build around churn instead of picking one free model and hoping? Stack Overflow’s 2025 developer survey reported that 31% of developers already use AI agents at work, according to the survey team’s results write-up https://stackoverflow.blog/2025/08/01/diving-into-the-results-of-the-2025-developer-survey/ . Most of those developers pay a vendor. The free alternative works, but only if you treat “free” as a moving target with data terms attached. Everything below follows that rule. Don't miss new tech stories on Google Add Shattered once in the Google app and our stories show up in your news suggestions. Add now https://www.google.com/preferences/source?hl=en&q=https%3A%2F%2Fshattered.io%2F What “Free” Means in OpenCode Right Now OpenCode’s own site states that the app is 100% free to use and ships with a set of free models, with extra costs only when you connect other providers. That sentence hides three separate things: a free client, a rotating list of free hosted models, and paid plans sitting one click away. Mixing them up is how people end up with a surprise bill. The free hosted list rotates. As of November 2, 2026, OpenCode’s models page labels GLM-5.3-Flash Free, Nemotron 3.5 Lightning Free, and Nemotron 3.5 Super VL Free as available for a limited time. The page says the GLM provider follows a zero-retention policy and does not train on your data. For both Nemotron entries, the page says the team is using the window to collect feedback and improve the model. Read that as a reason to keep proprietary code away from those two endpoints. A third-party account from October 19, 2026, posted on note.com https://note.com/kiyo697/n/n80fc438ebc10?hl=en , reached the same conclusion from the other direction. It listed several free endpoints at $0 for input and output, called them limited-time offers, and found that data terms differed by provider. Some providers kept requests for a period, and some could use collected data to improve their models. “Free” did not uniformly mean private. Flint adds a fourth option. Catalog listings show OpenCode carrying a hosted opencode/flint-40b-free identifier, and OpenRouter listing recursive/flint-v1.0:free at $0 for input and output with a context window of roughly 262,000 tokens. Reports also say one OpenCode free route was deprecated around October 22, so treat every identifier in this article as something to confirm on your own machine before you rely on it. Paid rungs exist too. OpenCode Go costs $10 a month, and Go Teams costs $20 per member per month. One third-party directory reports a Go Plus tier at $40 a month, but that figure comes from a single source, so check the pricing page before you budget around it. Release lines matter as well. OpenCode now ships a 1.x line and a 2.x line side by side. Third-party trackers report v2.2.5 as the newest build, dated October 30, 2026, while the 1.x line reached v1.19.5 on October 28. The project distributes 2.x through its website, npm, and Homebrew rather than marking it as the GitHub “Latest” release, so an old client does not move over by accident. A late-October OpenCode roundup https://www.opencode.asia/news/opencode-late-october-roundup/ shows how fast these builds change, which is one more reason to pin versions in this project. Prerequisites and Versions You need a machine that can hold a quantized 40B-parameter model, a terminal, and about an hour. The table lists what the project assumes. Where a version is not pinned, install the current release and write the number into your notes so the setup stays reproducible. | Component | Version or size | Why it matters | |---|---|---| | OpenCode | 2.2.x line v2.2.5 reported newest on Oct 30, 2026 | Client for both free hosted and local models | | Python | Not listed | Runs the guard and benchmark scripts standard library only | | Git | Any current release | Checkpoints before the agent edits files | | Hugging Face CLI hf | Current release of huggingface hub | Downloads the Flint weights | | llama.cpp | Build from the current main branch | Converts, quantizes, and serves the model | | Disk space | About 80 GB for the BF16 download, plus 25 GB for a 4-bit file estimate | Weights land twice during conversion | | RAM or unified memory | 32 GB minimum for a 4-bit build, 48 GB or more preferred estimate | The whole file loads into memory | | OpenRouter account | Free tier, optional | Hosts the free Flint route for side-by-side tests | Two hardware notes keep expectations honest. Recursive says Flint generates more than 125 tokens per second on an M4 Pro MacBook Pro and more than 150 tokens per second on a 64GB NVIDIA RTX Spark at short contexts, using its own optimized inference engine. Those numbers come from the vendor and apply to its engine, not to the llama.cpp path in this guide, so expect lower throughput from the generic route. Reporting also describes laptops with roughly 48 GB of memory running the model, which is a single-source figure. The 80 GB figure is simple arithmetic. About 40 billion parameters at 2 bytes each in BF16 lands near 80 GB, and Recursive’s own download command carries the same “about 80 GB” note. A 4-bit quantization shrinks that to roughly a quarter. That is my estimate rather than a published spec, so measure the real file after you build it. Operating system choice shapes the setup more than the model does. macOS on Apple silicon is the easiest path, since llama.cpp uses the GPU through Metal without extra flags. Linux with an NVIDIA card needs the CUDA build flag shown in Step 5, and the SGLang container from Recursive’s card suits that case well. Windows users get the smoothest ride through WSL2, though a native llama.cpp build also works. Whichever route you pick, run every command in this guide from the same shell session so paths line up, and keep the project folder on a fast local disk rather than a network share. Weight files this large punish slow storage during conversion. The Architecture: Three Tiers and a Guard The stack has three tiers and one referee. Tier one is the free hosted models inside OpenCode. They cost nothing, start instantly, and can change or disappear without notice. Tier two is Flint on your own machine. It costs electricity and patience, but it never rotates away. Tier three is a paid ceiling you use deliberately when both free tiers fail. The referee is a guard script that fails loudly if your config points anywhere that could bill you. Why Flint for the local tier? Recursive’s model card reports 54.9% on Terminal-Bench 2.1, 89.7% on SWE-bench Pro v2, and 74.2% on SWE-bench Verified. Those are the company’s release evaluations, so treat them as a starting claim rather than an audit. TechCrunch’s launch coverage https://techcrunch.com/2026/10/21/recursive-launches-flint-a-laptop-coding-model-it-says-was-largely-built-by-ai/ also carried the company’s claim that AI largely built the model, which is likewise a vendor statement. The model supports text input and output, reasoning, and multi-turn tool use, which is what an agent loop needs. The Flint release coverage https://shattered.io/recursive-flint-40b-moe-coding-model-2026/ goes deeper on the architecture if you want the background. Other open models compete for the local slot, and the right pick shifts monthly. The October open-source LLM roundup https://shattered.io/best-open-source-llm-october-2026-kimi-glm-deepseek/ compares several of them on price and strength. This guide uses Flint because it is small enough to run on one machine and permissively licensed, and because OpenCode’s catalog already lists a hosted Flint route you can compare against your local copy. The paid ceiling deserves a number so that “last resort” means something. Mistral Large 4, an open-weights model, lists API prices of $0.70 per million input tokens, $0.07 per million cached input tokens, and $2.10 per million output tokens. A month with 20 million input tokens and 4 million output tokens would cost $14.00 plus $8.40, or $22.40, before any caching discount. Mistral Large 4 is a roughly 1-trillion-parameter model, so it is not a laptop download. Use its API as a paid escape hatch, not a local tier. | Tier | Example | Per-token cost | Main catch | |---|---|---|---| | 1. Free hosted | GLM-5.3-Flash Free, Nemotron 3.5 Lightning Free | $0 | Limited-time offers, data terms vary by provider | | 2. Local | Flint on llama.cpp | $0 | Hardware, setup time, lower speed than vendor claims | | 3a. Subscription | OpenCode Go | $10 per month | Allowances apply, plan details can change | | 3b. Team plan | OpenCode Go Teams | $20 per member per month | Priced per seat | | 3c. Metered API | Mistral Large 4 | $0.70 in, $2.10 out per million tokens | Bills by usage, needs a key | Steps 1 to 3: Install OpenCode, Inventory the Free Models, Read the Terms These first three steps cost nothing and change nothing on your disk beyond one folder. They also produce the evidence you need later, because a snapshot of today’s free list is the only way to notice tomorrow’s changes. Step 1: Install OpenCode and Confirm the Release Line Copy the install command from the OpenCode homepage rather than from a blog post, because the project ships through several channels and the commands differ. The official pages list an install script, npm, Homebrew, mise which needs mise 2026.10.9 or later , and Docker images with versioned tags such as ghcr.io/anomalyco/opencode:2.0.0 . Pick one, run it, then create the project folder and confirm what you got. mkdir -p ~/zero-dollar-opencode/{bench,scripts,models,snapshots} cd ~/zero-dollar-opencode git init opencode --version Expected output on the 2.x line looks like this: 2.2.5 If the command prints a 1.x number, you are on the older line. The 1.19.0 release notes describe an upgrade path through opencode upgrade --major , and the TUI also exposes an /update command. Run the major upgrade only after you commit your current config, because 2.x carries breaking changes that its release notes call out. Read those notes line by line before you confirm the jump. Step 2: Snapshot the Free Model List List the models your install can see and keep a dated copy. The opencode models subcommand prints provider and model identifiers. If your build lacks it, open the model picker in the TUI instead, since v2.2.1 added a redesigned picker with favorites, recent models, providers, and variants. opencode models | tee snapshots/all-$ date +%F .txt | grep -i free | tee snapshots/free-$ date +%F .txt wc -l snapshots/free-$ date +%F .txt The output shape matters more than the exact names, because the list changes: opencode/flint-40b-free opencode/