[bmdpat]
All writing
5 min read

Why production AI is moving to open weights

I tested a local-first writing pipeline on an RTX 5090. Gemma 4 writes the draft, deterministic checks catch errors, and frontier QA decides what ships.

Share LinkedIn

Short answer: I do not need a frontier model to write every first draft. I need one where mistakes are expensive. On my RTX 5090, a local 26B model can do the high-volume writing pass. Deterministic checks and an independent frontier reviewer decide whether the draft is safe to publish.

That is not a theory. I ran the split on this post.

Gemma 4 26B wrote the draft through Ollama. The model was fully resident on the 5090. The accepted local generation took 6.2 seconds. Before the file entered review, code checked the metadata, post length, banned phrases, internal links, prompt block, CTA, and every percentage or dollar claim.

Then a separate frontier model reviewed the result. It rejected the first draft.

That rejection is the important part.

What did the local model get wrong?

The local draft had three real problems.

First, it split the digits in the 41% figure. Second, it omitted the closing line required by the reusable prompt block. Third, the source card did not contain the primary links needed to support its Vercel numbers, even though those numbers were in the writer's verified source pack.

The deterministic gate caught unsupported percentages in an earlier attempt. The frontier reviewer caught the corrupted number and the provenance gap in the accepted attempt. The repair script refused to make a subjective source decision and left the post blocked.

That is the behavior I want. Local generation can be cheap and fast because every later stage is allowed to say no.

Why move the writing pass to a 5090?

The economics now support this split outside my machine too.

Hugging Face reports that Chinese models accounted for 41% of model downloads on its platform. Vercel reports open-weight models handled 29% of AI Gateway tokens in June 2026 on under 4% of spend. Frontier labs still retained 95% of spend.

Those numbers do not say frontier models are obsolete. They say production volume and premium judgment are separating.

Writing a first draft is high-volume and reversible. Factual review is lower-volume and higher consequence. Running both steps on the most expensive model wastes the frontier budget on work my hardware can already do.

The same logic applies to classification, extraction, summaries, support drafts, and log analysis. Start with tasks where a bad local result can be rejected before a customer sees it.

For the machine details, read my 5090 local inference guide. For the budget side, see AI agent cost control.

Where should frontier models stay in the loop?

I am keeping frontier models on four jobs:

  1. Claim verification against primary sources.
  2. Voice review for public writing.
  3. Decisions where a false positive can publish, charge money, or change production state.
  4. Recovery when the local model fails the deterministic contract repeatedly.

I am moving routine drafting to the 5090. The local writer cannot approve its own work. It cannot publish. Its only output is a draft in a queue.

This boundary matters more than the model name. A local model with direct publish access is a bad design. A frontier model with direct publish access can still be a bad design. The controls need to live in code, not in a prompt asking the model to be careful.

What makes the pipeline permanent?

The old pipeline started at QA. If the morning digest created a content task but no draft, QA saw an empty folder and reported success. The publisher also saw an empty folder and reported success. Every process was green while the actual outcome was red.

The new chain starts earlier:

  1. The digest routes a source-backed content task.
  2. At 7:45 CT, Gemma 4 26B converts one eligible task into a draft.
  3. Code rejects malformed metadata, weak structure, unsafe language, and unsupported numeric claims.
  4. At 8:30 CT, an independent frontier provider reviews the surviving draft.
  5. The repair and publisher stages keep their existing gates.
  6. At 9:35 CT, the healer reruns the full chain and checks the live site.

Provider limits are scoped too. If the Claude subscription is exhausted, Claude is removed from the QA chain. That no longer disables Codex, Grok, or Gemini. Known Codex quota failures are skipped instead of consuming the whole review window.

The target is not zero frontier use. It is spending frontier attention where it changes the result.

Accompanying prompt

What the prompt does: This prompt helps you design a two-tier workflow where a local model generates content and a frontier model audits it for accuracy.

Copy/paste this prompt:

Copy-ready prompt

Paste the exact block into your coding agent.

No article chrome, no footnotes, no formatting drift.

Role: You are an AI Workflow Architect specializing in hybrid local-frontier pipelines. Context: I am running high-volume text generation on a local RTX 5090 setup using Ollama. I use frontier models (like Claude or GPT) only for final quality audits to keep costs low. Task: 1. Analyze the provided raw text generated by my local model. 2. Identify any factual hallucinations or logical inconsistencies. 3. Check if the tone meets my brand guidelines. 4. Provide a "Pass" or "Fail" grade for each section. Output: - Error Log: List specific errors found. - Audit Score: A score from 1 to 10. - Corrected Version: The final text ready for publication. Constraints: - Do not rewrite the entire text if it is already correct. - Focus only on factual accuracy and risk mitigation. - Keep the feedback concise.
21 lines810 chars
Ready

This prompt and every other one we publish live in the free prompt library.

Copy the block above.

Weekly measured local runs: https://bmdpat.com/5090-reports

Get the Local AI Field Kit

Four copy-ready tools now, then measured local AI field notes M-F only when there is something worth sending.

Free. One-click unsubscribe. No sponsored placements. Your email is used only for these notes.

PH

Patrick Hughes

Building BMD HODL — a one-person AI-operated holding company. Nashville, Tennessee. Twenty-Two agents.

More writing