← all posts
// economics · commercial-models

Commercial vs free models for RAG systems: reliability and exit strategy

A local open-weight model does not make your RAG pipeline more reliable, and swapping in the frontier commercial API doesn't either: both skip the work deciding whether a pipeline survives an outage, a rate limit, or a dropped model.

"Commercial versus free" hides four arrangements under two labels: a paid API bundling inference with a service contract, a free tier minus the account manager, an open-weight artifact with variable licensing whose compute someone still pays for, and local inference, trading the invoice for hardware, electricity, maintenance, and capacity planning.

For RAG, the unit that matters is an answer the retrieved passages support: a question, ranked passages, metadata, a citation rule. The failure to defend against is a fluent answer that ignores, merges, or invents evidence, and reads correct until someone checks. A cheap generation that fails validation can cost more than the pricier call that finishes once.

test the outage, not the demo

Reliability means dependency failure, model retirement, version drift, capacity, and recovery time, not demo day. Run a local generator plus embeddings against a commercial API with managed grounding through provider failure, host loss, rate limits, model removal, and a real restore. Use real model IDs and dated prices for the test, then drop them from the rule: catalogs reshuffle, tiers vanish, quants improve.

Give both routes the same evidence and criteria, and count any native-tool gap as a real cost. Track model revision, token counts, latency, energy, and the pass/retry/abstain/human-fix rate, judged against answer-bearing retrieval and citation correctness. Label every failure by mechanism: missing evidence, instruction failure, malformed structure, wrong reasoning, tool error, unsafe action. A local model aces the easy majority and fails only past one visible threshold.

the ledger that actually decides it

Commercial wins when a provider hands you availability your team could not reproduce for the price, not because the strongest API feels safer. Put a cheaper tier in the comparison and cap reasoning effort: managed capacity earns its cost when it removes real work, not because a dashboard exists.

Free or open-weight wins when offline operation, version pinning, and independence from someone else's account are actual requirements. Its edge compounds with steady, narrow, repeatable tasks, and evaporates once the model barely fits, reloads constantly, or needs manual repair from the one engineer who understands it. Spare hardware isn't free if another workload needs it too.

The real mistake is a silent fallback that changes privacy, cost, or behavior mid-incident, unannounced. Attach every number to a workload and a time period, the discipline behind why a flat subscription is often the wrong lens for pricing AI work: price and tokens per second are diagnostic, not an outcome. What matters is cost per task, p95 latency, and attention required.

build the exit before you need it

Put provider-specific handling behind one adapter, keep prompts and schemas in version control, and store job state outside any vendor-only thread object. Contract-test streaming, tool calls, structured output, errors, cancellation, and token accounting for every route supported.

Fallback has to be explicit, the same shape as a local-first cascade: commercial first, local as a declared degraded mode, users told when capability drops, never a quiet swap. If local capacity runs out, silently sending sensitive data to a remote provider breaks the premise.

Re-run the comparison when traffic, versions, prices, licenses, or review practice changes: a choice correct at ten thousand tasks a month can be wrong at a hundred thousand, and a model or free tier that failed last year might look different.

Free and commercial are procurement labels, not reliability guarantees; a completed, correctly cited answer is the only metric that counts. There's no universal winner. I run commercial where outages are costly, local for high-volume jobs I'd rather own than rent, pager included. That's deliberate, and I wouldn't hand it to a team that can't staff the maintenance.

#commercial-models#open-models#cost