Chris Barry / Blog

The Stack That Costs Almost Nothing

June 29, 2026

Someone I know, Jim Clover, recently wrote up a development setup on LinkedIn that I'd been circling myself for a few weeks. He concluded that he could do around 85% of his development work with it.

The stack is four tools: Kilo Code, Ollama Cloud, MiniMax M3, and a local embedding model called mxbai-embed-large. None of them is exotic. What caught my attention was the cost: run this way, the work comes out in cents rather than dollars.

Joel Spolsky's Case for Expensive Tools

Joel Spolsky used to argue that you should always buy the best tools and never cheap out on developer productivity, and he was right. His reasoning was simple: developers are expensive, tools are cheap, and anything that makes a developer even slightly faster pays for itself within days.

But Joel's argument assumed that "best" and "most expensive" were roughly synonymous. The best source control, the best IDE and the best hosting all cost money.

That assumption no longer holds as cleanly as it did. You can now put together a capable coding stack for very little money, as long as you're deliberate about where the money needs to go.

The Stack

Kilo Code is the orchestration layer, a VS Code extension that gives AI agents your whole repository rather than the one file you have open. The repository is semantically indexed, so the agent can navigate it by meaning.

Ollama Cloud is the hosting layer. MiniMax M3 is a Chinese model that's competitive with frontier Western models, and here you run it hosted on US servers via Ollama instead of connecting directly to the model creator. Jim flagged this as significant for privacy and security, and I think he's right.

MiniMax M3 is the language model doing the reasoning, code generation and conversation. It's also cheap enough that you stop thinking about token usage, which changes how you work (more on that below).

mxbai-embed-large handles the indexing.

The Embedding Model

Most "cheap AI coding" write-ups focus on the language model and skip past the embedding model, which I think is a mistake.

A language model without good embeddings is like Joel's programmer without a decent codebase search. It's capable, but it spends its time asking "where is that function?" and "what does this module do?", using its reasoning on navigation instead of on the problem you gave it.

That's what mxbai-embed-large is for. It runs locally via Ollama, so your code never leaves your machine, and it generates semantic embeddings of your functions, classes, and methods. When Kilo Code's agent needs to find relevant code, it searches by meaning rather than by string match.

The difference is roughly the one Joel described between a programmer with a good IDE and one editing in Notepad: both can do the job, but one of them is doing it with a handicap.

Setting It Up

Pull the embedding model, which downloads and runs on your machine:

ollama pull mxbai-embed-large

In Kilo Code, open Settings, go to Indexing, and toggle on codebase indexing. Set the embedding provider to Ollama, point it at mxbai-embed-large, and make sure it knows your Ollama URL (usually http://localhost:11434).

For the vector store you have two choices. LanceDB is embedded and requires zero setup, while Qdrant runs via Docker and gives you more control if you want it. For most people, LanceDB is the right answer. Pick one, click save, and watch it index your repository.

Then point Kilo Code at MiniMax M3 via Ollama Cloud for your language model.

The whole thing takes about ten minutes. Fifteen if you've never used Docker.

How the Price Changes the Way You Work

Jim's observation about cost bears repeating. With Anthropic or OpenAI, heavy coding usage can easily run $50 to $100 or more per day. That's fine for a well-funded team and prohibitive for a solo developer, a small consultancy or a startup watching every dollar. With this stack, the same work costs cents.

The price changes your behaviour. When tokens are expensive, you self-censor. You don't ask the AI to explore three different approaches, because that's three times the cost, and you don't ask it to review its own work, because that's another round trip. You skip the quick questions and the "am I thinking about this right?" moments, because each one feels like dropping a coin in a meter.

When tokens cost almost nothing, you stop rationing. You use the AI the way you'd use a colleague at the next desk: for the architecture decisions and for "does this variable name make sense?" alike.

What the Other 15% Is For

Jim is keeping Claude Code and Codex, and he doesn't claim MiniMax M3 is better than Anthropic's best. His point is that for the bulk of everyday development work (the implementation, the refactoring, the debugging, the "I need to add a feature that's similar to this other feature") a near-frontier model at a fraction of the cost is good enough.

The expensive tools come out for the remaining 15%: the hard problems, the architectural decisions that need the sharpest reasoning, and the security reviews where you want the absolute best. This is how every mature industry works. You don't use your best saw for every cut; you save the precision instruments for the work that demands them.

The Atwood Test

Jeff Atwood once said that the best way to evaluate a technology was to ask: "What does this let me do that I couldn't do before?"

This stack doesn't let you do anything new. Every capability here existed before, at higher price points.

What it does is remove the last economic barrier to AI-assisted development, for everyone rather than only companies with budgets. That includes the solo developer, the hobbyist, the consultant who bills by the project and can't pass infrastructure costs through, and the developer in a country where $100/month for API access is a meaningful percentage of their income.

Once the cost drops below the point where you bother thinking about it, the tool becomes infrastructure, like electricity or an internet connection. You use it without noticing the moment it became part of the work.

The Trade-Offs

MiniMax M3 is good, but it isn't the best. For straightforward coding tasks, the difference between it and frontier models is hard to spot. For genuinely hard reasoning, the kind of problem where you need the model to hold twelve constraints in its head simultaneously, the gap is real.

The privacy story with Ollama Cloud is better than connecting directly to model creators, but it's still a cloud service. If your threat model requires that code never leaves your machine, you need to run the language model locally too, which limits you to smaller models. The embedding stays local either way, and that's the more sensitive part.

And cheap isn't free. The model could get more expensive or the hosting could change, so building your workflow around aggressive pricing is a bet that the pricing stays aggressive.

Summing Up

The trade-offs are real, and so is the rest of it: ten minutes to set up, capable enough for most day-to-day coding, local embeddings that keep your codebase private, and a cost low enough that you stop rationing it. That last one changes the daily experience most, because you end up using the AI steadily rather than sparingly.

I don't think this replaces the frontier tools, and it doesn't need to. Work that could run $50 to $100 or more a day with Anthropic or OpenAI now costs cents, which makes the economics of AI-assisted development look meaningfully different from how they looked a year ago.