Evaluating LLM Cost-Performance Under Rising Inference Prices: A Trading Simulation Game Test

    As flagship model inference prices rise again, raw leaderboard scores matter less than cost per unit of useful output. This article describes a reproducible evaluation using a one-shot, deployable market-manipulation trading game: what the task tests, how prompts were kept comparable, which cost and quality signals to record, and a simple framework for routing work by task type.

    1. Background: Price Increases Make Cost-Performance a Practical Need

    Over the past two years, large-model inference pricing has moved from premium rates to commodity pricing and, more recently, back up for some flagship offerings. Several leading models have raised inference prices on their top tiers. Developers who used to run experiments casually are now seeing bills that are hard to ignore.

    The direct result is a shift in the question that matters: not only “which model is the smartest,” but “how much intelligence do you get per unit of spend.” That calls for a reproducible, quantitative evaluation close to real development work, not a leaderboard score alone.

    A useful method should meet three conditions:

    1. Realistic tasks. The test should resemble actual development, such as generating a complete, deployable application in one pass, rather than an isolated single-turn Q&A.
    2. Measurable cost. Token usage, cache hit rate, and the final bill should be recorded precisely.
    3. Comparable results. Outputs from different models should be deployed in the same kind of environment so people can experience the differences directly.

    2. Test Task: A Trading Simulation Game

    2.1 Why this task

    The task is a market-manipulation simulation game. The model must generate, in one shot, an interactive web app in which the user plays a dominant trader against a crowd of small automated traders. Those bots follow classic market-microstructure ideas—the informed-trader behavior under a market-maker model described in Kyle’s 1985 paper—or act as pure noise traders.

    The task stresses several abilities at once:

    • Domain knowledge. The model needs concepts such as informed traders, noise traders, and VWAP (volume-weighted average price).
    • Engineering. Game logic, parameterized noise trading, and a price-impact function must become runnable code.
    • Product sense. It has to feel like a game: a UI, round goals, and feedback.

    2.2 Prompt essentials

    The core prompt is meant to do the following:

    1. Design a game in which the user plays a market manipulator
    2. who trades against a group of retail bots that follow a classic
    3. market-maker trading style with different parameters,
    4. or against pure noise traders.

    A second requirement turns the sandbox into a game by adding per-round goals:

    1. Goals for each round:
    2. 1. Push the closing price above a specified strike.
    3. 2. Accumulate a 5k position in batches below VWAP.
    4. 3. Distribute a large block without breaking the price.

    A practical detail matters for fairness: models differ in how they support multi-turn iteration. Some web interfaces do not offer versioned code management, so a second-round request gets mixed with the first result. For a side-by-side test, prefer a single prompt that asks for the full result at once, so every model sees the same input.

    3. Evaluation Dimensions and What the Runs Showed

    3.1 Dimensions

    Dimension What it captures
    Task completion Whether the code deploys and runs as-is, whether the game mechanics are complete, and whether there are obvious logic bugs
    Experience quality Interaction feel, visual presentation, and whether bot behavior has a recognizable “market” character
    Token use Total consumption and the effect of the reasoning-depth setting
    Cache hit rate The share of cached tokens, which directly affects actual cost
    Unit cost Final bill divided by useful output

    3.2 Observations from the runs

    With the same prompt and the same style of deployment environment (static hosting), the models diverged clearly:

    1. Cost can differ by about two orders of magnitude. A lightweight, fast tier can finish the same task for a few cents (on the order of millions of tokens, with a workable cache hit rate), while a flagship deep-reasoning tier can cost tens of times more. For well-structured engineering work with a clear spec, the lighter tier is often “good enough,” and the cost-performance gap is decisive.

    2. Reasoning depth should match the task. A deep-thinking setting helps open-ended design. When the prompt is already specific and the work is mostly implementation, the extra quality falls off quickly, while token use grows linearly or worse.

    3. First-pass success is a hidden cost. Some models produce something you can deploy immediately. Others need two or three manual fixes before they run. Repair time belongs in total cost; a cheaper invoice is not cheaper if a person has to patch it.

    4. Cache hit rate is an underused cost lever. For the same task shape, a system prompt and context layout that reuse a stable prefix can cut cost sharply. When you write the calling code, keep the prefix context stable on purpose.

    4. A Reproducible Cost-Performance Framework

    The practice above compresses into a general loop:

    1. 1. Pick 3–5 “one-shot” tasks close to real work, each with clear acceptance criteria.
    2. 2. Use one shared prompt. Do not patch across extra turns if you want inputs to stay identical.
    3. 3. Deploy every model’s output into the same kind of environment.
    4. 4. Record total tokens, cache hits, bill amount, and time spent on manual fixes.
    5. 5. Score cost-performance as:
    6. task completion × experience score / (money cost + time cost converted to the same unit).
    7. 6. Re-run on a schedule. Models and prices move fast; a conclusion from six months ago may already be stale.

    5. Conclusion: There Is No Permanent Cost-Performance Winner

    Price increases are a reminder that cost-performance is dynamic. The durable asset is the ability to evaluate it yourself.

    Practical suggestions:

    • Build your own benchmark set instead of relying only on public leaderboards. Leaderboards measure capability ceilings; your tasks measure your real cost.
    • Route by task type. Use a lighter model for structured engineering work, and reserve a flagship deep-reasoning tier for open-ended design. That split saves a large share of spend.
    • Treat context as an engineering surface. A stable prompt prefix and a high cache hit rate cut cost without changing the product.
    • When you use a hosted inference service or an integrated development platform, prefer one that exposes usage detail and cache statistics. Without those numbers, cost optimization has nothing to act on.

    Spend a small amount, run a task you already understand, and put the models on the same stage. That answers the question better than most third-party write-ups: under today’s prices, which model is the cost-performance choice for your work.

    Appendix: Theoretical background on market microstructure

    Kyle’s 1985 paper set the basic framework for analyzing the game between an informed trader and a market maker. A single informed trader hides private information by controlling the pace of trading; the optimal strategy folds information into price at a roughly constant rate. Noise traders supply the liquidity cover that makes that concealment possible. The retail bots in this test are a parameterized version of that setup: different risk-aversion coefficients, different information precision, plus pure noise traders. Together they form a simulation that still “feels” like a market, and a strong probe of both financial knowledge and engineering ability in a large model.