LLM OPTIMIZATION · FIELD NOTES

LLM Optimization: Optimize the Inputs, Not the Black Box

You cannot optimize a black box by typing prompts at it. You optimize the inputs the model retrieves — extractable, corroborated facts on pages with real authority — and then you measure whether you actually get cited.

July 10, 2026·Luke McCormack·9 min read

Search “LLM optimization” and the results cannot agree on what you asked. Half the page is machine-learning engineering — quantization, KV caches, inference cost. The other half is marketing — “get ChatGPT to talk about your brand” — and most of it hands you the same ritual: type prompts into ChatGPT, see if your name comes up, tweak something, type the prompts again. That ritual has a fatal flaw. You cannot optimize a black box by guessing prompts at it. You can only optimize the inputs it retrieves — structured, extractable, corroborated facts on pages that already carry authority — and then measure whether you actually get cited.

This guide is about the second meaning of the term — LLM optimization for visibility, not for inference cost — done as an engineering discipline instead of tea-leaf reading. It sits under our AI search pillar and leans on its siblings for depth: answer engine optimization for the citation tactics, and closed-loop SEO for the verification mechanics. What this post adds is the argument the ranking pages skip: the model is not the surface you work on. The retrieval layer is.

“LLM optimization” means two different things

The live Google SERP for this exact keyword makes the split visible. Mirantis and the OpenAI developer docs rank for optimizing the model — making inference faster and cheaper. Semrush and Conductor rank for optimizing for the model — making a brand show up in AI answers. An AI Overview sits above all of them, there is no featured snippet, and the People-Also-Ask box carries both intents at once. The engines themselves have not decided what this query means, which is exactly why most content written for it is muddled.

LLM inference optimizationLLM optimization for visibility (LLMO)
Who does itML engineersMarketers, SEOs, content teams
The objectThe model itself — weights, serving, costThe inputs the model retrieves — your pages
Typical workQuantization, distillation, KV caching, batchingExtractable structure, corroborated facts, authority
Success metricLatency and cost per tokenCitations and mentions in AI answers
This articleNot thisThis
Two disciplines share one keyword. This guide is about the second — and about doing it with evidence instead of vibes.

Worth knowing before you invest: the keyword itself draws around 720 searches a month at a keyword difficulty of 1 — real, rising demand with almost no established authority on the visibility meaning. The category is young enough that the standard advice has not hardened into anything good. That is an opportunity, and a warning about what you will read elsewhere.

Why prompt-guessing is not optimization

The default LLMO workflow — ask ChatGPT about your category, note whether you appear, adjust copy, ask again — feels empirical. It is not, for four structural reasons. The outputs are non-deterministic: the same prompt returns different answers on different runs, so a mention appearing or vanishing between Tuesday and Thursday tells you nothing about anything you changed. The outputs are personalized and context-dependent: what the model says in your session, with your history, is not what it says in a prospect’s. The models update silently: a shift in answers may be a new model version, new retrieval behavior, or a new system prompt — none of which you caused. And the sample is hopelessly small: ten hand-typed prompts against a surface that fields millions of phrasings is not a measurement, it is an anecdote.

A mention that appears between Tuesday and Thursday proves nothing about what you shipped. Non-deterministic output cannot be your feedback signal — the inputs and the citations can.

The black-box problem

None of this means AI answers are unknowable. It means the model’s output is the wrong layer to work on. Every consumer-facing answer engine that matters — Google’s AI Overviews and AI Mode, Perplexity, ChatGPT when it browses, Claude when it is connected to the web — composes its answers from retrieved documents. Retrieval is not a black box. It is the same observable, rankable, measurable web you already work on. The model is the chef; you do not optimize the chef. You optimize what is in the pantry.

Optimize the inputs, not the model

Working the input layer means making your pages the documents a retrieval step selects and a synthesis step can confidently quote. Three properties decide that, in rough order of how often they are the bottleneck.

Extractable structure

A model composing an answer under a token budget reaches for passages it can lift with minimal rewriting. That rewards a specific shape: a heading phrased as the question, followed immediately by a self-contained 40-to-60-word answer, followed by the evidence. One idea per paragraph. Definitions stated flatly, not teased. Schema — FAQPage, Article with a named author, HowTo where genuine — so the engine can classify each passage without guessing. The full tactical treatment lives in the AEO guide; the principle here is that structure is not cosmetic. It is the difference between a page a model can quote and a page it skips for one it can.

Corroborated facts

Synthesis engines cross-check. A claim that appears once, on your site, in your words, is a candidate. The same claim stated consistently across your site, your documentation, third-party mentions, and structured data is a fact the model can repeat without risk — and models are built to minimize the risk of repeating something wrong. This is why entity consistency matters more in LLMO than it ever did in classic SEO: the engine is not ranking your page, it is deciding whether to assert your claim. Contradictions between your pricing page and your docs, or between your site and your directory listings, quietly disqualify you. Distinctive, attributable claims — a specific number, a named method — survive synthesis best, because the model has a concrete thing to credit.

Host-page authority

Retrieval does not sample the web uniformly. Live-search engines pull heavily from what already ranks; Perplexity’s source set is visibly shaped by conventional search results, and ChatGPT’s browsing mode behaves the same way. A perfectly structured, thoroughly corroborated page on a site with no authority is a well-labeled jar in a pantry the chef never opens. This is the least fashionable part of LLM optimization and the most load-bearing: the boring accumulation of topical depth, internal linking, and earned authority is what gets your pages into the retrieval set at all.

A frosted-glass funnel on a cream surface: three clear glass slabs etched with structured text and a slate-blue seal feed into the funnel's wide mouth, while inside the funnel a dense glass block bearing the gradient-A brand emblem represents the model — a single slate-blue ribbon of light exits the funnel's spout carrying one quoted line, showing that what the model says is composed from the inputs it retrieved
The model is the chef — you optimize the pantry

Ranking is still the admission ticket

The most common LLMO mistake is treating AI visibility as an escape hatch from SEO — as if a site that cannot rank can somehow still be cited. The dependency runs the other way. Because retrieval leans on search, your classic organic position is your admission ticket to the answer; structure and corroboration then decide whether you are quoted once you are in the room. A site with no rankings has no retrieval presence, and no prompt engineering changes that.

But holding a ranking no longer guarantees the reward, and one anonymized example shows both halves at once. On a property we audited, a commercial query sat at average position 6.5 — page one, comfortably inside any retrieval set — and collected 952 impressions over 90 days for exactly zero clicks. The page was being surfaced and never chosen: present in the room, quoted by no one, clicked by no one. That is the zero-click pattern our zero-click SEO guide dissects, and it is the precise gap LLM optimization exists to close. Ranking got the page retrieved. Nothing about its structure made it the source the answer used.

Audited property · two adjacent 28-day windows

Impressions rising from 791 to 2,117 across two consecutive 28-day windows while clicks stay flat near zero21171587.81058.5529.30Window 1Window 2ImpressionsClicks
The input side working while the outcome side does not: impressions on an audited property climbed 168% (791 → 2,117) across back-to-back 28-day windows while clicks stayed flat. The engines retrieved the site more and used it no more. Visibility without citation is the failure mode LLM optimization has to detect — which is why the measurement loop, not the prompt test, is the core of the discipline.Source: Search Console of an anonymized site we audited

The measurement loop is the point

Here is the thesis in one line: input work without a measurement loop is just a different flavor of guessing. Restructuring a page to be extractable is a hypothesis — “this change will get this page cited for these questions” — and a hypothesis without a committed metric and a re-read date is indistinguishable from the prompt ritual it replaced. What separates LLM optimization from LLM superstition is not which tactics you pick. It is whether every change ships with a way to find out if it worked.

Honesty requires saying that citation measurement is immature. There is no Search Console for ChatGPT. But the leading indicators are real, readable, and specific enough to judge individual changes — provided you commit to them before the change ships, the discipline our SEO KPIs guide calls verified causal movement.

SignalWhat it tells youWhere it lives
Impressions on question-shaped queriesYou are entering more answer surfaces, even clickless onesSearch Console — per query, per page
Position on restructured queriesThe engine reads the page as more relevant after the rewriteSearch Console
Branded query volume over timeCitations are building recognition that returns as demandSearch Console
Scheduled citation spot-checksDirect but partial: are the target engines naming you for the target questionsPerplexity / AI Overviews / ChatGPT, sampled on a fixed cadence
AI-referral and assisted visitsDirectional evidence that answers send downstream trafficAnalytics referrers — treat as directional only
The measurable surface of LLM optimization today. Each signal is committed to a specific page or query before the change ships — never read backwards off whatever happened to move.

A working LLM optimization loop

Put the pieces together and the discipline runs as a loop — the same find → fix → verify shape our closed-loop SEO guide describes, pointed at citations instead of clicks. Find: mine Search Console for question-shaped queries where you are surfaced but not chosen — impressions without clicks, rankings without reward. Fix: make the target page extractable and its claims corroborated, and record exactly what changed and when. Commit: before shipping, write down the metric that will judge the change and the threshold that counts. Verify: roughly three weeks later, re-read that exact metric on that exact query, alongside the scheduled citation spot-check. Confirmed, it becomes evidence about what works on your site; failed, the diagnosis reopens — which is also a result.

The prompt ritual

Ask ChatGPT about your category. Note whether you appear. Change some copy. Ask again next week and read meaning into the difference — a difference that non-determinism, personalization, or a silent model update could each have produced alone. No record of what shipped, no committed metric, no way to attribute anything.

The input loop

Find queries where you are retrieved but not cited. Restructure the page, timestamp the change, commit the judging metric in advance. Re-read that metric and run the fixed-cadence citation check three weeks later. Every cycle either proves a change or reopens it — and the record of what worked compounds.

Run honestly, the loop produces the one thing the prompt ritual never can: an accumulating, site-specific record of which input changes actually earn citations — answer-first rewrites confirmed on commercial questions, schema additions that moved nothing, corroboration fixes that did. That record is what makes the next cycle smarter than the last. The loop is also relentless clerical work — committed metrics, timestamps, three-week re-reads across dozens of open changes — which is why it suits an agent and defeats vigilance. It is precisely the kind of work the agentic SEO operating model exists to run.

Where LLMO sits next to AEO and GEO

The vocabulary is still settling, and the three terms overlap more than their advocates admit. AEO — answer engine optimization — optimizes for being the cited answer to a question; its unit of success is a citation in a synthesized response. GEO — generative engine optimization — is the wider frame: inclusion and accurate entity representation across generative outputs generally, not only direct answers. LLM optimization, as the market uses the term, is best read as the umbrella over both — with the trap that its name points your attention at the model, the one thing you cannot touch. Whichever label wins, the work underneath is identical: structure the inputs, corroborate the facts, earn the authority, and measure the citations. Pick the term your stakeholders recognize and run the same loop.

720/mo
searches for this keyword, at KD 1
young demand, no hardened playbook yet
952 / 0
impressions vs. clicks, one page-one query, 90 days
retrieved constantly, chosen never
~3 weeks
from shipped change to verified verdict
the loop that separates optimization from superstition

Where to start: read your own retrieval evidence

The first move is not a tool purchase and not a prompt session. It is reading the retrieval evidence you already own: the Search Console record of every query where engines surface your pages, and the gap between how often you are shown and how often you are chosen. The queries with heavy impressions and no clicks are your LLM optimization backlog, already prioritized by demand. A free SEO report runs that find pass against your real data — sign in with Google, connect Search Console, and see which pages are being retrieved and ignored. If you would rather have the whole loop run for you — inputs restructured, metrics committed, outcomes verified on a schedule — book a call and we will walk through what it looks like on your site.

Frequently asked questions

LLM optimization (LLMO) is the practice of making your content the source large language models retrieve and cite when they answer questions in your category. Because the model itself is a black box you cannot touch, the work happens on the input side: structuring pages so answers are extractable, corroborating claims across sources, and building the authority that gets pages into the retrieval set — then measuring whether citations actually follow.
They overlap heavily. AEO (answer engine optimization) targets being the cited answer to a specific question; GEO (generative engine optimization) is the wider frame of inclusion and accurate entity representation across generative outputs. LLM optimization, as the market uses it, is effectively the umbrella over both. The tactics underneath are identical — structure the inputs, corroborate the facts, earn authority, measure citations — so pick the term your stakeholders recognize and run the same loop.
Because the output is not a stable measurement surface. LLM answers are non-deterministic, personalized to the session, and shifted by silent model updates — so a brand mention appearing or vanishing between two prompt tests proves nothing about anything you changed. A fixed-cadence, logged citation spot-check across a fixed question set is a legitimate tracking signal; ad hoc prompting is an anecdote.
Partially, and honestly only via leading indicators plus disciplined spot-checks. Readable today: impression growth on question-shaped queries in Search Console, position movement on restructured pages, branded query lift, and scheduled citation checks across Perplexity, AI Overviews, and ChatGPT. The key is committing the judging metric to each change before it ships, then re-reading it about three weeks later — not reading meaning backwards off whatever moved.
In practice, yes. The retrieval step of every major answer engine leans heavily on conventional search, so your organic position is your admission ticket to the answer. Ranking gets your page retrieved; extractable structure and corroborated claims then decide whether it is the source the answer actually uses. A site with no rankings has no retrieval presence, and no prompt engineering changes that.
Luke McCormack

Written by

Luke McCormack

Founder, My Agentic SEO

SEO & Google specialist leading go-to-market and growth at My Agentic SEO.

More about Luke

Let the agent run the first stage on your real data

Connect your Google Search Console and get a free professional SEO report — diagnosed and prioritized on your actual site. It takes minutes.