cs.AIAug 17, 2026

The Value of a Prompt: An LLM-Relative Kolmogorov-Complexity Approach

Authors: Rafael Pass

Organizations: Cornell Tech, Technion, TAU

Abstract

In a world where valuable artifacts are increasingly created, completed, or processed by LLMs, the central economic question is not only what the LLM can produce, but what \emph{value} remains in the inputs (i.e., the prompts) we provide to it. Given a prompt, hint, critique, problem statement, or partial solution that helps an LLM produce an artifact zz---a proof, program, design, or scientific hypothesis---how should we measure the value of that input? Intuitively, an input is valuable when it makes the target artifact easier for the model to generate: either by increasing its sampling probability, or by reducing the thinking time needed to find it. We propose a computational Levin--Kolmogorov complexity approach to this problem, by appropriately replacing the universal Turing machine in the classical definitions by the LLM itself. Concretely, we introduce an LLM-relative notion of \emph{probabilistic Levin--Kolmogorov complexity} pKtpKt---treating the model's thinking as the random tape of the program, and charging logarithmically for it in Levin's manner---and define prompt value as algorithmic mutual information with respect to pKtpKt. This captures the intuition above: a prompt having bb bits of value for an artifact zz makes zz 2b2^b times ``easier to obtain'', by multiplying the success probability by 2b2^b, by dividing the required computation by 2b2^b, or by any corresponding tradeoff between probability and computation. In contrast to the classical notion of algorithmic mutual information, ours is efficiently estimable. We additionally show that, under a natural reproduction experiment, a prompt value of bb bits means that reproducing zz without the prompt has median token cost 2b2^b times that of reproducing it with the prompt.

Figures & tables

Explore similar work

CardsList
  1. Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs

    Jul 7, 2026Adrian CosmaInstruction-Tuned ModelsText Analysis and Detection

  2. Less Back-and-Forth: A Comparative Study of Structured Prompting

    May 19, 2026Saurav Ghosh, Gabriella Polach, Abdou SowAutomatic Prompt OptimizationLarge Language Model Responses

  3. Prompts in the Wild: A Large Analyzed Collection of Transactional Prompts in Code

    Aug 13, 2026Victoria Basmov, Yoav Goldberg, Reut TsarfatyPrompt EngineeringFrozen Language Model