PastAGI

PastAGI

By
Download on the App Store

All PastAGI episodes

  • GPT-6.2 Rate Limits Cut Effective Capacity 29 Percent
    Work per window after the patch = old work ÷ 1.4 ≈ 0.71 × old work. The loss is about 28.6 percent, which rounds to 29 percent. Restoring the old capacity requires growing the limit itself by 40 percent.
    | Tier | Limits bind faster | Work per window after | Effective capacity change |
    |---|---|---|---|
    | Astra | 40 percent | 1 ÷ 1.4 ≈ 0.71 | roughly 29 percent less |
    | Sol | 25 percent | 1 ÷ 1.25 = 0.80 | 20 percent less |
    Make it concrete with a hypothetical pipeline. Suppose an Astra workload completed 70,000 units of work per window last week, where a unit is whatever you actually meter: accepted tasks, agent turns, tokens. After the patch the same workload completes 70,000 ÷ 1.4, or 50,000 units. The 20,000-unit gap lands somewhere: queued jobs, backpressure, shed demand, or missed SLAs.
    Two details sharpen the arithmetic past the headlines. First, loss and cure are asymmetric: a 29 percent cut needs a 40 percent restoration, because the limit must scale by 1.4 to hand back the old work per window, so anyone negotiating compensation should anchor on the 40. Second, the loss only bites if you were limit-bound. A workload cruising at half its cap sees no change, because the meter never reached the limit before or after. Effective capacity loss is a marginal concept, and it lands hardest on the deployments that trusted the published number enough to size their service on it.
    ## Rate Limits as a Movable Accounting Surface
    Economists have a name for what happened here: [a natural experiment](https://www.jstor.org/stable/2698663). List price held constant, model held constant, one variable moved, the quota ledger. That is clean attribution, the kind production systems almost never offer. The GPT-6.2 billing patch is a rare measured demonstration of what a quota change alone does to delivered capacity.
    The pricing page stayed still while the shadow price moved. Run the unit economics for a saturated workload: you pay M per period for a tier that delivers K windows of capacity, each window worth C units of work, so effective unit cost is M ÷ (K × C). Cut C by 28.6 percent and unit cost rises by 40 percent, with no invoice line saying so. That is the definition of a shadow price lever, a knob that changes what you pay per unit of delivered work without a single published number moving. The cost model on this site already prices Astra per accepted task, and the honest post-patch update is a 1.4 multiplier on effective unit cost for every saturated window.
    The published limit, meanwhile, is weaker than it looks. OpenAI's [rate limits documentation](https://developers.openai.com/api/docs/guides/rate-limits) describes how tier limits are organized, and major API providers generally document that usage limits can change at their discretion. This incident is the case study in what that discretion means: binding rates moved by tens of percent overnight as a side effect of a billing correction, with no pricing page event and no model release note. A documented limit is a snapshot of policy. Observed throughput is the only floor you can stand on.
    ## What the Extra Reset and Free Fast Mode Restore
    Value the remedy the way an accountant would, component by component, in units of capacity.
    The extra reset is worth at most one additional window of quota per period, and the exact value depends on your reset cadence. If the billing period already contains N windows, the remedy adds 1/N of period capacity, once. Set that against the loss: roughly 29 percent less work per window on Astra, on every window, until the limits themselves change. For any period with more than a handful of windows, one extra window is a rounding error next to the cut. It is a genuine goodwill gesture with a small, bounded, one-time capacity value.
    Free GPT-6.2 Fast Mode through year-end for business users restores speed, and speed is real money for latency-sensitive products. Interactive agents and chat surfaces with a human watching a spinner benefit directly, and the [Fast Mode documentation](https://developers.openai.com/api/docs/guides/fast-mode) covers what the mode changes. But faster inference does not change the size of the limit. If quota meters work per window, a faster engine mostly gets you to the cap sooner inside the window, and throughput-bound batch work gains no additional units. The grant is also time-boxed: any architecture that starts leaning on it inherits a cliff at year-end.
    The sizing mismatch is where production feels it. A deployment tuned for last week's capacity carries queue depths, concurrency settings, and retry budgets built to absorb routine variance, say 10 percent. A 29 percent throughput drop blows through that headroom. Queues back up, retry-on-429 logic amplifies load exactly when quota is scarcest, and the dashboards read like your code broke when the ledger moved. So the remedy restores speed for business users and goodwill for everyone, and neither restores the per-window capacity a deployment was sized against.
    ## Three Failure Modes for API-Dependent Products
    If your product rides a vendor's tiered API, three distinct failure modes can take you down, and they differ mainly in how loudly they announce themselves.
    | Failure mode | Where it appears | How you find out | Standard hedge |
    |---|---|---|---|
    | Access loss | Deprecation notices, account actions | Announced, usually with lead time | Model abstraction, alternative providers |
    | List price change | The pricing page | Visible the moment you look | Cost model alerts, renegotiation |
    | Quota shrinkage | Often nowhere public | Production 429s, or nothing | Quota telemetry, multi-vendor routing |
    Access loss is loud, because vendors want orderly migration and publish deprecation windows. List price changes are at least legible, a number moving on a page you already bookmarked. Quota shrinkage by ledger is the quiet one. It never touches a pricing page and never appears in a model release note, because it is not a product event. This incident is the archetype: the trigger was communicated as an apology, while the consequence, limits binding 40 and 25 percent faster, was discovered by users watching their own meters.
    The pattern generalizes: remedies get announced, mechanisms do not. A vendor can communicate the remedy for a change, collect the goodwill, and leave the operational consequence for your pager to find at 3 a.m. That is why quota volatility belongs on the API dependency risk register as its own line, with an owner and a detection signal, next to access loss and price change. This site already plans for the first two. The patch is the argument for the third.
    ## How to Monitor GPT-6.2 Rate Limits as a Variable
    ![Rate limit monitoring on an API usage dashboard that tracks quota burn and error signals across usage windows.](https://images.pexels.com/photos/38984789/pexels-photo-38984789.jpeg?auto=compress&cs=tinysrgb&h=650&w=940)
    Rate limit monitoring is what turns a silent cut into a detected one. Five signals, all cheap, all derived from logs you should already keep:
    1. **Work completed per window.** The direct measure of effective API capacity. Count units of work per usage window, per tier, in your own unit of account. This is the number the patch moved.
    2. **Time-to-limit.** Minutes from window start to the first quota-exhaustion error. This patch would have dropped Astra time-to-limit by about 29 percent overnight, with zero deploys on your side. Traffic growth can mimic that signature, which is what signal four is for.
    3. **429 and quota-exhaustion counts.** Track the volume, and watch the distribution inside the window. Errors clustering in the first minutes mean the limit binds early, a vendor-side signature; errors at the end of a window track ordinary saturation.
    4. **Burn-rate trend, correlated with deploys.** Usage velocity can rise because you shipped a heavier workload or because the vendor re-metered the same workload. Monitoring OpenAI quota burn rate next to your deploy log separates the two: a burn-rate shift with no matching deploy is a supply-side suspect.
    5. **Tier changelog checks.** Usage limit changelogs, the provider status page, and tier announcements, checked on a schedule. Cheap, and it catches the changes that do get documented.
    ### The Canary and the Alert
    A canary workload closes the attribution problem that makes OpenAI usage limits hard to monitor: your own traffic moves the meter, so a demand change and a supply change look identical in aggregate. Run one fixed workload, the same request mix and volume, every window, and log its work-per-window. Demand is held constant by construction, so any change in the canary's output is a change in supply, and its trailing median becomes your cleanest baseline for vendor-side capacity.
    One workable alert: trip if the canary's work-per-window falls below 85 percent of its trailing seven-window median, and escalate if it repeats. On Astra, this patch would have printed roughly 71 percent of baseline, tripping the threshold in the first window and confirming a vendor-side change on the second. Detection lands on the order of one usage window instead of one billing cycle, which is the difference between a reroute and an incident.
    This is not a novel discipline, either. Cloud engineers already treat service quotas as alarmable resources, with [CloudWatch service quota alarms](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Quotas-Visualize-Alarms.html) as the canonical example, and [Google's SRE book](https://sre.google/sre-book/service-best-practices/) makes measured capacity and error budgets core operating practice rather than assumption. API quota deserves the same status as any cloud quota: a resource with a number, a trend, and an alarm attached.
    ### Hedging Options
    Monitoring tells you the quota moved. Hedging decides whether it hurts. Multi-vendor routing with fallback on rate-limit errors is the standard structural answer, and [LiteLLM's routing documentation](https://docs.litellm.ai/docs/routing) describes a mature implementation of that pattern. The costs are real: capability differences across models, prompt fidelity drift between vendors, and a router in your critical path. Route the throughput-bound batch work first, since it tolerates model substitution far better than interactive sessions do.
    ## What to Watch Next
    Three watch items, ordered by how soon they can hurt you.
    1. **Usage limit changelogs and the provider status page.** The next announced GPT-6.2 rate limits change appears here, and checking is a two-minute weekly task.
    2. **Billing corrections on your tier.** This patch arrived as an accounting fix, not a product change. Any future billing correction on Astra or Sol should trigger an immediate comparison of time-to-limit against your canary baseline.
    3. **The Chat and Work mode merger test.** A merger that re-meters usage across surfaces would be another silent capacity event, and it would look exactly like this one: a quota change wearing a product story.
    The decision rule for teams riding Astra or Sol is short. Size against observed work-per-window with explicit margin, not the published limit. Keep a canary running so the margin is measured rather than assumed. Give quota volatility a line on the dependency risk register with a named owner. Above all, treat the published number as what this incident proved it is, a marketing constant until your own meter says otherwise. Until vendors version their quotas the way they version their models, the meter on your side is the only changelog you can trust.]]>
    0 min
  • AI Exoplanet Discovery, Decoded as a Build Spec
    The trust boundary sits where the cost of an undetected error jumps from re-running a notebook to months of follow-up effort and telescope time, and no amount of model capability moves it.
    ## The Domain Knowledge the Humans Supplied
    The agent knew how to call functions, not what a real transit looks like. The humans supplied the priors and the eyes, and itemizing them makes the division of labor explicit rather than implied:
    - **Transit shape priors.** Planetary transits are boxy and symmetric with a flat bottom. Grazing binaries are V-shaped. It is a glance-level call on the folded light curve, but only for someone who has seen a lot of both.
    - **Astrophysical consistency.** Depth, duration, and period have to make sense for a planet orbiting that particular star. A dip too deep or too long for the period points at a star, not a planet.
    - **Noise judgment.** Knowing which signal-to-noise values mean anything for this star, this cadence, and this detrending window, and which are noise dressed up as signal.
    - **Artifact recognition.** Rolling bands, thermal glitches, and sector-boundary quirks mimic periodic dips. Recognizing them is experience, not inference.
    - **Claim discipline.** Deciding what counts as a candidate, what gets discarded, and what wording the result deserves.
    Every item on that list is a judgment whose error is expensive to detect. Nothing downstream can cheaply verify that a shape call was correct. That is the profile of work you keep human, and it is the complement of the stages above, where a mistake costs seconds to spot.
    ## Why Agents Win Here and Lose on Kaggle
    We have pointed AI agents for data analysis at Kaggle competitions before, and the result was uncomfortable: on the tasks we tried, agentic pipelines lost to a two-line baseline. The Codex and Astra exoplanet discovery story is the constructive inversion of that result, and the deciding variable is the one threaded through every section above.
    A Kaggle competition is clean, private, and single-metric. The agent gets a training set, a leaderboard score, and a target number. Every intermediate artifact it produces (feature tables, model weights, ensemble code) is unverifiable against ground truth, because the ground truth is held out and hidden. The only feedback arrives as one scalar, after the work is done. When the agent overfits, the failure stays silent until the private leaderboard disagrees, and by then there is nothing to audit. Under those conditions, elaborate autonomous machinery is unverifiable risk, and the two-line baseline wins on parsimony.
    The public-archive pipeline is the opposite on every axis. The data is messy but fully visible. The methods are established and re-runnable. Every stage emits an artifact a human checks in seconds: the file downloaded, the fold shows a repeatable dip, the periodogram peak survives a re-run, the injection test recovers the synthetic transit. Errors are loud and early, and ground truth exists outside the model. That is the environment where an agentic AI pipeline earns its keep, doing the glue work of retrieval, cleaning, and logging that humans do badly and reluctantly.
    There is a deeper lineage, too. The pattern that let two amateur astronomers turn up AI exoplanet candidates in public data predates language models entirely. Planet Hunters, in its [first results paper](https://arxiv.org/abs/1109.4621), showed that volunteers eyeballing the same public Kepler light curves found candidates the automated pipeline had missed, and the project later found PH1b, a planet orbiting a pair of stars. Public data plus human judgment is the durable formula. Agents compress the toil and skill barrier between having an idea and having a running pipeline, and they do not replace the judgment at the end of it.
    ## The Build Spec You Can Reuse on Any Public Dataset
    Strip out the astronomy and what remains is an agentic AI pipeline for public datasets, built around a delegation contract.
    **Point an agent at a stage only when all three hold:**
    1. The data is public and served through a documented API.
    2. The method is established, with published code and known failure modes.
    3. The stage emits a cheap, objective artifact (a file, a plot, a table, a log line).
    **Keep humans on everything else**, above all vetting, interpretation, and the strength of any claim you make in public. Delegate where errors are cheap to detect, keep the stages where they are expensive.
    **A concrete starting point.** Pick another archive with the same shape: LIGO's open gravitational-wave data, the Zwicky Transient Facility's public alert stream, or Gaia's catalog releases all have documented interfaces and canonical tooling. Then run the same sequence. The agent retrieves, cleans, executes the canonical algorithm, and logs every artifact. A human inspects the outputs and owns the verdict.
    The finds in this AI exoplanet discovery story may or may not survive follow-up, and that uncertainty was priced in from the first paragraph. The candidates sit exactly where the system says they should sit, below the vetting line, pending the human and telescope work that turns a signal into a planet. What transfers is the boundary itself: the agent owns assembly, the human owns the verdict, and any dataset where you can draw that line cleanly is a dataset an agent can help you build on.]]>
    0 min
  • Meta Ranking Engineer Agent Is a Supply Chain, Not a Genius
    Meta's own words: humans remain key stakeholders throughout, "reviewing key decisions, confirming judgment calls, and ultimately approving what ships."
    Meta even measures adoption partly by counting human interventions, an odd metric if the goal were removing humans and a sensible one if the goal is spending human judgment only where it binds.
    So the verdict on the Meta Ranking Engineer Agent, calibrated: autonomy pays in throughput, logistics, and judgment-heavy execution; the judgment that gates proof and release still sits with humans. Agents earn their keep by running more experiments in parallel, keeping multi-day training jobs alive, triaging failures, and moving proven techniques before their shelf life expires. Nothing in either post shows a human checkpoint removed at any fleet size, and Meta's roadmap concedes the point by pursuing self-evolving agent learning rather than declaring current strategies sufficient.
    Signals that would change this verdict, each checkable when Meta or others publish: per-stage failure and rejection rates for agent-driven work; compute accounting that includes the agent stack's own consumption; replication outside Meta, on fleets without template standardization; and any post describing a release approved without a human checkpoint. Until one of those lands, copy the supply chain. The invention half was never the part that needed help scaling.]]>
    0 min
  • Inkling 2 Mini Review With the Loop Math Included
    tokens per second ≈ effective memory bandwidth ÷ bytes read per emitted token
    Bytes read per token is model size times how many times you re-read it, and loop count is the multiplier nobody prints. Assume a well-tuned runtime achieves 60–80% of theoretical bandwidth, which is typical for llama.cpp-class engines. Using 70% and a 14 GB 4-bit model:
    | Machine | Peak bandwidth | ~70% effective | Single pass | Four loops |
    |---|---|---|---|---|
    | Base M4 | 120 GB/s | ~84 GB/s | ~6 tok/s | ~1.5 tok/s |
    | M4 Pro | 273 GB/s | ~191 GB/s | ~14 tok/s | ~3.5 tok/s |
    | M4 Max | 546 GB/s | ~382 GB/s | ~27 tok/s | ~7 tok/s |
    | RTX 5080 laptop | ~960 GB/s | ~672 GB/s | ~48 tok/s | ~12 tok/s |
    The Apple figures come from [Apple's MacBook Pro specs](https://support.apple.com/en-us/121553); the NVIDIA figure from [RTX 5080 laptop specs](https://www.techpowerup.com/gpu-specs/geforce-rtx-5080-mobile.c4236). Treat every cell as a ceiling, not a promise. If only a recurrent sub-block re-reads rather than the full model, real numbers land between the last two columns, and adaptive loop counts mean some tokens cost more than others.
    Even with those caveats the shape holds: laptop LLM inference speed for a looped 26B model lands in single digits to low tens of tok/s on anything short of a Max-class chip or a big discrete GPU, and the RTX 5080's 16 GB barely holds the weights with any context. Any looped model tokens per second estimate you read that ignores the loop factor is fiction by omission.
    ## Prefill, KV Cache, and the Coding Agent Turn
    A coding agent turn is mostly reading: repo map, open files, instructions, and prior turns stream in, and a comparatively short diff streams out. Hundreds of thousands of input tokens against a few thousand output tokens is normal. That shape collides with two looped-specific unknowns.
    First, whether recurrence runs during prefill is implementation-dependent. If loops apply to prompt processing too, the up-front cost of a 100k-token context multiplies along with decode. Two serving stacks can honestly report wildly different agent latencies on the same model.
    Second, standard KV caching assumes one pass per layer per token. Looped recurrence breaks that assumption, so KV cache reuse in looped transformers may be limited or entirely stack-specific. In the worst case, every agent turn re-reads the full accumulated context from scratch, and a ten-turn refactor pays ten full prefills.
    The API side has already engineered around exactly this problem: [Anthropic's prompt caching pricing](https://platform.claude.com/docs/en/about-claude/pricing) discounts cached context reads because vendors know prefill dominates agent bills. If your local looped runtime cannot cache across turns, you pay full freight every step while the API pays a fraction. This is the biggest unfalsified risk in the local plan.
    ## Five Workloads Priced, Local Versus API
    ![A cost comparison weighing local LLM vs API coding agent cost across everyday coding workloads.](https://images.pexels.com/photos/8962460/pexels-photo-8962460.jpeg?auto=compress&cs=tinysrgb&h=650&w=940)
    Illustrative math, stated assumptions: $3 per million input tokens and $15 per million output, in the range of current frontier coding models (verify against [a live pricing tracker](https://benchlm.ai/llm-pricing) before you decide). Local latencies assume the M4 Max row above, roughly 27 tok/s single-pass and 7 with four loops.
    | Workload | Shape | Local estimate | API estimate |
    |---|---|---|---|
    | Inline completion | 1.5k in, 60 out | ~3–12 s per completion | ~half a cent |
    | Mid-file edit, large context | 24k in, 400 out | ~1–3 min | ~$0.08 |
    | Full-file generation | 3k in, 1.2k out | 45 s–3 min | ~$0.03 |
    | Multi-file agent refactor | ~150k in over ~10 turns, 6k out | tens of minutes to over an hour | ~$0.50–5 with caching |
    | Offline batch | 500 files, 2k in / 300 out each | overnight, unattended | ~$5 |
    Read the last column first: at list prices, common coding tasks cost cents to low single-digit dollars. The local LLM vs API coding agent cost question is therefore almost never about per-task money. It is about latency tolerance, privacy, offline capability, and volume.
    Then read the middle column. Inline completion at 3–12 seconds is borderline for autocomplete and fine for a manual trigger. The agent refactor is where the loop penalty and prefill re-reads stack multiplicatively, and where the API is simply faster on most laptops.
    ## Quantization Loss, Loops, and the Laptop Claim
    How much capability 4-bit costs a looped 26B coding model is genuinely open, and the interaction runs in an unusual direction. Recurrence is a form of test-time compute, and [the latent recurrence paper](https://arxiv.org/abs/2502.05171) argues that added repetition can buy back capability, so a quantized looped model may degrade unevenly rather than uniformly.
    Practically: short completions and mechanical edits often tolerate 4-bit fine, while long-horizon agentic edits, where the model must hold a plan across many loops and turns, degrade differently and worse. Treat "runs on your laptop" as a memory statement, not a quality statement, until someone publishes per-workload measurements. If you take the Inkling 2 Mini llama.cpp GGUF route, validate on your own tasks: fifty real completions from your codebase beat any benchmark delta.
    ## Where This Inkling 2 Mini Review Lands
    Closing the four loops. Memory: 24 GB is the floor, 32 GB is where you actually want to live, and 16 GB machines are out. Speed: single digits to low tens of tok/s loop-adjusted, via one division you can now do yourself. Caching: unverified, implementation-specific, and the biggest risk to agent workloads. API cost: cents to low single-digit dollars per task.
    The adopt-or-pass rule, in order:
    1. **Memory gate.** Under 24 GB, pass. Between 24 and 32 GB, 4-bit with modest context only.
    2. **Classify your workload.** Short-burst inline completion and offline batch lean local. Long agent refactors lean API.
    3. **Estimate loop-adjusted throughput** with the bandwidth formula before believing any tok/s claim, including this one.
    4. **Compute the local coding model vs API break-even.** Local marginal cost is roughly a cent or two of electricity per hour plus your waiting time; the API is volume times per-task price. A nightly offline batch that would cost $150 a month via API is free on hardware you already own.
    The verdict: adopt locally if your dominant work is short inline completion or unattended offline batches and privacy, offline capability, or volume matters. Pass if your daily loop is multi-file agent refactoring, because the loop penalty plus prefill re-reads make the API cheaper and dramatically faster on most laptops. The leaderboard told you the model is good. The arithmetic tells you whether it is yours.]]>
    0 min
  • A Free AI Agent Evaluation, Courtesy of Black Friday
    No price without a link. No link without a timestamp.
    Requiring a verifiable retailer URL and a capture timestamp for every price claim separates grounded answers from plausible invention before any scoring begins.
    ### 2. Stale cache and index lag
    Here the model cites a real, correct product page and still quotes yesterday's price: it links the genuine listing at $1,499, the page now shows $1,099, and the tracker had $1,499 through the day before. Search-grounded systems read an index or cache bounded by freshness, so pre-sale prices often leak into answers during the opening hours of an event, exactly when shoppers ask most. "It cited a source" and "it is current" are different claims, and this mode is the gap between them.
    ### 3. Dead and redirected links
    Sale churn kills pages. Doorbusters sell out and get delisted, variant pages get merged, and product links start redirecting to category listings. The signature is a cited URL that returns a 404, or resolves to the retailer's television category instead of the product. The agent's summary can be accurate about a page that no longer exists.
    ### 4. Wrong-variant comparisons
    The agent answers a slightly different question. You asked for the 65-inch panel; it prices the 55-inch of a cheaper line and declares victory on cost. The signature is a SKU in the answer that does not match the SKU in the query. This mode keeps recurring in consumer AI shopping tests because the answers feel right, and it quietly poisons every cheapest-price claim downstream, since a price for a different product is incomparable rather than cheaper.
    | Failure mode | Transcript signature | Root cause |
    | --- | --- | --- |
    | Price hallucination | Price with no URL, or URL missing the number | Ungrounded prior |
    | Stale cache or index lag | Real page quoted at pre-sale price | Retrieval freshness bounds |
    | Dead or redirected link | 404, redirect chain, category-page landing | Sale-time link churn |
    | Wrong variant | SKU mismatch against the query | Loose query grounding |
    ## The Grading Harness in Three Hours
    You do not need a production LLM eval harness for this. A browser, a spreadsheet, and independent price history are enough to run a real AI agent evaluation in one sitting.
    ### Hour 1: Build the 20-query knowable-answer set
    A knowable-answer query names an exact SKU and retailer so that truth is checkable in seconds: "current price of [model number] at [retailer]" or "cheapest verified price for [exact variant]". Mix stability into the set, roughly 12 staples with long price history (flagship phones, consoles, perennial TV models) and 8 volatile doorbusters. Keep opinion queries like "best TV under $1,000" out of the scored set; they have no checkable truth and they eat grading time. Twenty queries is a ranking instrument, not a publication. It is usually enough to separate model classes decisively; widen to 50 only if two classes tie.
    ### Hour 2: Pin ground truth before the models run
    Use two independent sources: the live retailer page and a price-history tracker. Do not trust the strike-through. Retailer was/now pricing is itself unreliable during sale periods, which is why the [FTC's deceptive pricing guides](https://www.ecfr.gov/current/title-16/chapter-I/subchapter-B/part-233) set expectations around former-price claims, and why your ground truth should come from independent history rather than the retailer's own discount math. For Amazon legs, [Keepa's price history API](https://keepa.com/api-docs/product-object.html) exposes the per-product price series, so record the current price, the 30-day low, and whether the advertised "was" price shows up in that history at all. Timestamp every truth value you write down.
    ### Hour 3: Run all classes in one sitting, log provenance
    Interleave classes per query (chat, agent, API, repeat) so no class gets a systematically fresher window than another. For every answer, log the quoted price, the cited URL, the fetch timestamp, and the step count. Script the browser-agent legs with [Playwright browser automation](https://playwright.dev/docs/intro) so every run drives the identical flow. If the spreadsheet feels flimsy, wrap the loop in [OpenAI's Evals framework](https://github.com/openai/evals) and you own a rerunnable artifact instead of a one-off.
    ## The Price and Provenance Rubric
    This grading rubric for AI agent accuracy has four dimensions, each cheap to score:
    | Dimension | What you check | One workable scale |
    | --- | --- | --- |
    | Price delta | Gap between quoted and true price, relative to truth | Within 2% scores 1.0, within 10% scores 0.5, otherwise 0 |
    | Link validity | URL resolves to that product page | Live page 1.0, redirect 0.5, dead link 0 |
    | SKU match | Exact variant named in the answer | Binary |
    | Provenance | Price visible on the cited page at fetch time | Binary |
    Three judge rules keep the grading honest. Strip model names first and score blind. Snapshot every cited page when you grade, because sale pages change under you. Grade within 30 minutes of the run, or volatility starts masquerading as error.
    ### Cost per query as a scored dimension
    Cost belongs in the rubric, not the footnotes, because the classes sit roughly an order of magnitude apart per query. Show the components and the math writes itself. A grounded chat call is one model invocation plus a grounding surcharge; Google, for example, prices Search grounding separately from token usage on its [Gemini API pricing page](https://aistudio.google.com/docs/pricing). A browser-agent session on the same query is a dozen navigations, each wrapped in planning and extraction calls, which stacks into dozens of model calls plus page-load latency before the answer lands. At similar per-call rates, that arithmetic puts the agent leg around 10x the grounded call, and the multiplier moves with step count, which is why the harness logs steps. That is the entire cost-per-query AI agent comparison, done without opening an invoice.
    ## Search-Grounded Chat vs Browser Agents vs Shopping APIs
    ![How AI shopping agents compare on retrieval freshness, price accuracy, and cost per query when sale prices shift hourly.](https://images.pexels.com/photos/32021560/pexels-photo-32021560.jpeg?auto=compress&cs=tinysrgb&h=650&w=940)
    The browser agent vs search API question for shopping resolves cleanly once you score freshness, accuracy, and cost as separate dimensions.
    | Class | Freshness source | Dominant failure mode | Cost per query | Wins on |
    | --- | --- | --- | --- | --- |
    | Search-grounded chat | Web index with cache lag | Stale prices early in the event | Low | Broad recall, quick price checks |
    | Autonomous browser agent | Live page reads | Wrong variants, dead ends, stalls | High | Interaction, filters, cart checks |
    | Shopping API | Retailer's structured feed | Catalog coverage gaps | Lowest where covered | Exact SKU prices |
    Search-grounded chat, whether [search-enabled ChatGPT](https://openai.com/index/introducing-chatgpt-search/) or Gemini with Search grounding, reads the index and inherits the cache window. During the first hours of an event that is exactly the wrong window, so stale-cache errors cluster there. The upside is breadth: it surfaces retailers no API covers, at the lowest cost per useful answer.
    Browser agents read the live page, so they can beat index lag when they land correctly. Their failure profile shifts rather than shrinks: wrong variants, dead links, and stalls on consent walls and anti-bot interstitials. They also burn the most tokens per answer.
    Shopping APIs such as Amazon's Product Advertising API or Google's Content API for Shopping return structured current fields, which kills SKU ambiguity outright, at trivial per-call cost. The catch is coverage: they only know participating catalogs, and they report the listed price, not whether the discount is real. Price history still does that job.
    The verdict, calibrated to what this harness usually shows: for volatile ground truth, retrieval freshness beats agent autonomy on price accuracy. Grounded chat typically matches or outperforms a browser agent on price delta at a fraction of the cost, while the browser agent earns its premium only when the task genuinely requires interaction, such as applying filters, checking region variants, or verifying the price at the cart step. If the product lives inside a shopping API's catalog, use the API and skip the contest.
    ## Reusing the Harness Beyond Black Friday
    Once you know how to evaluate AI shopping agents under price volatility, Black Friday is just the first date on the calendar. The same protocol runs on Prime Day, console and GPU launches, restock waves, and ticket drops, anywhere the correct answer changes by the hour.
    Keep the query set fixed and let only the ground truth move; comparability lives there. Rerun per event, plus a light monthly drift run to catch behavior changes after model updates. Score deltas across releases turn this into a standing AI agent evaluation suite for live-web agents, a benchmark nobody had to fund.
    Safety limits, stated plainly. The harness grades, it never buys. Keep every agent read-only: no checkout flows, no payment details, no stored cards. If you must exercise a purchase path, stop at the cart total and treat that as the last observable.
    The next time a chatbot quotes you a price that looks too good, you now have the vocabulary to label the failure and a harness to check it in minutes. If you build these systems, you have a quarterly adversarial benchmark that costs nothing and forgives nothing.]]>
    0 min
  • When Kimi Code CLI on Bedrock Beats a Subscription Agent
    cost per accepted task = (tokens per accepted task × blended price per million) ÷ 1,000,000
    Two terms, both hiding a lot.
    **Tokens per accepted task** counts every pass, accepted or not: the planning turn, the repository reads, the tool outputs, the diff you rejected, the retry after a failed tool call. A shipped 300-line diff is on the order of ten thousand tokens; the session that produced it often burns one to two orders of magnitude more, because each iteration re-sends a context window that only grows. Approximate it as context per pass × passes per task. With million-token windows in play, passes, not prices, dominate the bill.
    **Blended price** is your effective rate across input and output tokens. Whatever the current Kimi K2 Bedrock price per million tokens is for the model you pin, and whatever weighting your traffic produces, pull it from the [Bedrock pricing page](https://aws.amazon.com/bedrock/pricing/) and collapse it into one number.
    The consequence is uncomfortable for bargain hunters: a model at a third of the per-token price that needs three passes to accept what a premium model accepts in one costs the same per accepted task. Iteration count, not headline price, is the largest hidden variable in this comparison, so measure it before trusting any savings claim derived from a benchmark.
    ## The arithmetic at four usage volumes
    ![Deciding when API pricing beats a subscription for coding agents is a break-even calculation based on your own accepted task volume.](https://images.pexels.com/photos/8962460/pexels-photo-8962460.jpeg?auto=compress&cs=tinysrgb&h=650&w=940)
    Assumptions, stated so you can replace them:
    - 2 million tokens per accepted task, a placeholder until you measure your own
    - blended columns of $0.25, $0.50, $1.00, and $2.00 per million tokens, illustrative rather than quotes
    - a $200 per month individual seat as the subscription comparator, the top individual Claude Code tier at list at the time of writing per [Claude plans and pricing](https://claude.com/pricing)
    | Accepted tasks / month | Tokens (2M each) | $0.25 / M | $0.50 / M | $1.00 / M | $2.00 / M |
    |---|---|---|---|---|---|
    | 50 (side project) | 100M | $25 | $50 | $100 | $200 |
    | 200 (solo full-time) | 400M | $100 | $200 | $400 | $800 |
    | 500 (small team) | 1B | $250 | $500 | $1,000 | $2,000 |
    | 2,000 (heavy team) | 4B | $1,000 | $2,000 | $4,000 | $8,000 |
    Read the table through four personas.
    1. **Side project, ~50 tasks.** Metered spend lands between $25 and $200. A $20 entry seat wins at almost any blended price before you count the setup work. Subscription.
    2. **Solo full-time, ~200 tasks.** At $0.50 blended, metered exactly ties the $200 seat; below that it wins, above that the seat wins. The tie-breaker is limits: if subscription caps stall you mid-sprint, the seat's real cost is lost throughput.
    3. **Small team, ~500 tasks.** Metered runs $250 to $1,000 against roughly $400 to $600 in seats. The crossover sits inside this band, and pooled metered spend replaces per-seat accounting.
    4. **Heavy team, ~2,000 tasks.** Metered spans $1,000 to $8,000 against about $1,000 in seats, so it only wins at low blended prices. Note the honest comparator at this volume, though: per-token API spend, because seats cannot physically serve 2,000 accepted tasks within their limits.
    The general rule compresses to one line: **break-even tasks = monthly seat spend ÷ (tokens per task in millions × blended price)**. A $200 seat, 2M tokens per task, $0.50 blended gives 200 tasks; halve the price and the break-even doubles. Figuring out when API pricing beats a subscription for coding agents is a division problem, not a benchmark result.
    ## Where Claude Code and Codex subscriptions still win
    **Hard tasks.** On the gnarliest tickets (unfamiliar codebase, cross-cutting refactor), frontier models often accept in fewer iterations. If a premium model ships in one pass what takes an open-weight model three, its per-accepted-task token count is a third, and even at several times the per-token rate it can cost less per task. Check the [per-token API rates](https://platform.claude.com/docs/en/about-claude/pricing) for Claude against your measured iteration ratio before assuming cheap tokens win. Cheap tokens win where iteration counts are comparable, and only there. The Claude Code versus pay-per-token API question flips by task difficulty.
    **Predictability.** Claude Code subscription cost is flat and forecastable, which finance can budget. A metered agent with a runaway loop is an incident with an invoice attached; the caps in the last section exist for precisely that reason.
    **Zero infra.** Seats need no IAM design, no region strategy, no bearer-token debugging, and no quota management. For a solo developer shipping 50 tasks a month, that convenience is worth more than any token discount.
    **Admin you already have.** Seats ride existing SSO and procurement, and Codex usage limits reset on a schedule and scale with plan tier, which many teams find sufficient; see [Codex plans and limits](https://chatgpt.com/codex/pricing/) for the current tiers.
    ## A decision checklist for your PR volume
    Compute your own crossover instead of trusting ours. Six inputs decide it.
    | Input | Where to get it | What it flips |
    |---|---|---|
    | Accepted tasks per month | PR history and agent session logs | compare against your break-even line above |
    | Tokens per accepted task | one to two weeks of metered pilot usage | recalibrates the 2M placeholder |
    | Blended price per million | the Bedrock pricing page for your pinned model | moves break-even linearly |
    | Iteration ratio vs current model | A/B the harness on 30 real tickets | above ~1.5x, the token discount evaporates |
    | Residency and audit needs | your security team | a hard point for the Bedrock path, price aside |
    | Existing AWS footprint | platform team | no footprint adds friction cost to metering |
    Plain rules of thumb:
    - Under roughly 100 accepted tasks a month with no governance mandate, stay on a subscription.
    - Hitting subscription caps weekly means metered wins on throughput even at price parity.
    - Team-scale volume plus a low blended price points to metered, with pooled budgeting.
    - Regulated data or a required audit trail points to Bedrock regardless of the arithmetic.
    ## If you choose Bedrock, set the guardrails first
    ### Least-privilege IAM before the first prompt
    Give the CLI a dedicated role, separate from human access, scoped to the exact inference profile. A Bedrock IAM policy for a coding CLI should name one ARN, not `foundation-model/*`:
    ```json
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Sid": "InvokeOneKimiProfileOnly",
    "Effect": "Allow",
    "Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"],
    "Resource": "arn:aws:bedrock:REGION:ACCOUNT:inference-profile/global.moonshotai.MODEL-ID",
    "Condition": {
    "StringEquals": {
    "bedrock:InferenceProfileArn": "arn:aws:bedrock:REGION:ACCOUNT:inference-profile/global.moonshotai.MODEL-ID"
    }
    }
    }
    ]
    }
    ```
    Adapted from the policy in AWS's walkthrough, which also adds a `bedrock:CallWithBearerToken` action if you rely on the short-term credential flow.
    ### Pin the region in the agent config
    Because the provider ignores your AWS CLI region settings, set `AWS_REGION` explicitly in config.toml and treat it as part of the residency design. Cross-check the [region compatibility tables](https://docs.aws.amazon.com/bedrock/latest/userguide/models-region-compatibility.html); global profiles cost less but span a geography, so a strict residency requirement means a geographic profile instead.
    ### Cap the spend
    Metered agents fail open. Configure [AWS Budgets alerts](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) at, say, 50 and 90 percent of forecast, and use budget actions to attach a deny policy when a threshold is crossed, so a looping agent loses its credentials before it loses your month.
    ### Log it, then pilot
    [CloudTrail logging for Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/logging-using-cloudtrail.html) records each invocation with the calling identity and model, which answers the auditor's question of who ran the agent against what; token counts come from Bedrock's usage metrics, not the trail. Then pilot before you migrate: two weeks, 30 to 50 real tickets, one repo. Measure tokens per accepted task and the accept rate, drop those numbers into the break-even formula, and let your own usage, not a launch post, pick the winner.]]>
    0 min
  • Gemini 4 Neon and the Six-Week Frontier Model Problem
    Pin what customers see. Alias what they do not. Gate every move with evals, and never let a retirement date be the thing that moves you.
    | | Strong eval coverage (golden set plus gates) | Weak or ad hoc evals |
    |---|---|---|
    | **High blast radius** (customer-facing paths) | Alias with a small canary and a pinned rollback model | Pin now, and schedule migration well before the retirement date |
    | **Low blast radius** (internal tooling) | Alias, spot-check weekly | Pin with a calendar-driven requalification date |
    Two worked cases make the rule concrete. An internal meeting summarizer rides the alias: upgrades arrive free, occasional weirdness is tolerable, and a weekly spot check catches drift. A customer-facing invoice extractor pins to a specific sibling and moves only when its eval gate passes, scheduled to land comfortably before the published retirement date, because silently wrong extractions reaching customers cost more than the migration work ever will. Whether to pin or alias Gemini model IDs in production is a per-task risk decision, not a global setting.
    ```yaml
    # illustrative policy shape, not literal API identifiers
    invoice_extraction:
    strategy: pinned
    model: gemini-4-neon
    gate: evals.invoice_suite # must pass before any model move
    migrate_by: retirement_date_minus_14_days
    internal_summarizer:
    strategy: alias
    model: gemini-4-current-midtier
    canary: 10_percent
    rollback: last_evaluated_sibling
    ```
    The Gemini model deprecation schedule gives you the deadline. Your eval suite is what tells you whether to jump early.
    ## Eval Harnesses That Re-Run on Every Release
    Start from the gap sequence, not a QA calendar: sibling launches landed 28, then 15, then 6 days apart, and Argon retired at roughly six weeks old. At that cadence, the decision to re-run LLM evals when a new model version ships has to be automatic, which makes the harness event-driven infrastructure with its own runtime budget rather than a scheduled eval job someone remembers to run.
    Four design constraints fall out of that math:
    1. **The trigger watches the API surface, not the calendar.** Poll the models list or release notes, because a 6-day gap beats any weekly triage rotation. If your trigger is a human noticing, your first signal will be a support ticket.
    2. **The golden set has a runtime budget measured in hours.** Two siblings can land inside one sprint, so a suite that takes two days per run queues behind itself and the second diff arrives stale. Prune to the 100 to 300 real examples that include your known failure modes.
    3. **Per-metric gates get tuned against alert fatigue.** When swaps arrive roughly twice a month, a gate that pages on every minor wobble is muted within a quarter. Set thresholds you would actually act on at 2 a.m.
    4. **The deliverable is the same-day diff.** A generation-to-generation report that lands in the owning team's channel the day a sibling ships is the point of the whole harness; everything upstream exists to produce it.
    The Gemini 4 Neon versus Argon differences that matter are the ones on your own traffic, and the diff settles in an hour what leaderboard speculation argues about for a week:
    | Metric (illustrative, not measured) | Argon run | Neon run | Gate |
    |---|---|---|---|
    | extraction F1 | 0.91 | 0.89 | fail below 0.90 |
    | refusal rate | 0.4% | 1.2% | fail above 1.0% |
    | median tokens per call | 1,450 | 1,890 | flag for cost review |
    | cost per 1,000 calls | $6.90 | $7.95 | flag |
    That table shows the artifact's shape, not measured results for either model. A failed gate on an alias swap then hands off to the canary and rollback model from the previous section, so a bad generation touches a sliver of traffic for minutes instead of the whole path for days.
    ## Cost Forecasts Keyed to Generation, Not Model ID
    ![LLM cost forecasting when model prices change keys budgets to generation slots and tracks sibling price, verbosity, and cache hit rate deltas separately.](https://images.pexels.com/photos/7054368/pexels-photo-7054368.jpeg?auto=compress&cs=tinysrgb&h=650&w=940)
    Rebuild the budget line around the generation and tier slot, say "Gemini 4 midtier," rather than a single model ID, and track three deltas explicitly: per-sibling price, tokens per call, and cache hit rate. LLM cost forecasting when model prices change is really forecasting all three.
    Some worked arithmetic at an illustrative volume of 5M input and 1M output tokens per day. At Neon's reported rates, that is $15 of input plus $15 of output, about $30 a day or $900 a month. Now the two sensitivities teams forget:
    - **Sibling price delta.** If the next swap prices output 25% higher, that is +$3.75 a day, about +$113 a month.
    - **Verbosity delta.** If a behavior change adds 30% output tokens per call at identical prices, that is +$4.50 a day, about +$135 a month.
    Verbosity drift is a price increase that never appears on a price page, and it can rival the headline price move. Caching can outweigh both. Cached input is reported at $0.15 per million tokens, and early hands-on sessions logged a 93% input-cache hit rate, per the roundup. At illustrative volume with 90% of input served from cache, the input line drops from $15 a day to about $2.18. Treat model cache hit rate as a first-class budget variable. Finally, pin your effort level, because cost per task moves with it: Neon reportedly reached index parity with Carbon at $3.74 per task at high effort. Sibling-to-sibling price movement, like [Argon's per-token pricing](https://aipricecompare.org/models/gemini-4-argon.html) against Neon's, belongs in the forecast as its own line item, not a footnote discovered at invoice time.
    ## How Vendor Retirement Policies Compare
    Retirement risk is not unique to Google, which is why the runbook needs an OpenAI, Anthropic, Google deprecation policy comparison with a recheck date:
    | Vendor | Where retirement terms live | Historical norm | Verify now |
    |---|---|---|---|
    | Google | the [Gemini API deprecations page](https://ai.google.dev/gemini-api/docs/deprecations) and [Vertex AI model lifecycle docs](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions?authuser=2&hl=ru) | per-model shutdown dates published in docs | API and Vertex schedules can differ; check the surface you actually call |
    | OpenAI | the deprecations section of its platform docs | notice periods generally measured in months for legacy models | the current notice window for every model you pin |
    | Anthropic | deprecated-model notices in its docs | sunset windows historically in months | whether your pinned version carries a published sunset date |
    | Cross-vendor | [the AI model graveyard](https://aimodelgraveyard.com/provider/openrouter/) | tracks retired models across providers, including OpenRouter-served ones | use it for scanning, not as a contract |
    Treat all of this as a snapshot. These policies change, and a support promise on a marketing page is not a contract term. The docs and your actual agreement are what bind.
    ## The Monday-Morning Checklist
    - Inventory every hardcoded Gemini model ID across services, notebooks, cron jobs, and dashboards. This closes the pinned-Argon failure from above before it pages you.
    - Pull current retirement dates for every model you call. There is no settled answer yet to how often Google retires Gemini models: the record shows one frontier retirement, Argon at roughly six weeks old, with sibling gaps compressed to as short as 6 days, so treat a retirement every few weeks as the current trend at the frontier tier rather than a schedule.
    - Classify each task by blast radius, customer-facing or internal.
    - Assign alias or pin per the table above, and write the policy file where the next engineer will find it.
    - Build golden sets for your top three tasks and agree regression thresholds this week, before you need them.
    - Wire an automatic eval trigger to sibling launches, with the diff report routed to the owning team.
    - Re-key budgets to generation slots with three delta lines: sibling price, tokens per call, cache hit rate.
    - Reread your SLA and contract language for model-version references, then ask the vendor what happens when that version retires early.
    - Diary a quarterly recheck of all three vendors' lifecycle pages.
    Is a weeks-long sibling lifecycle a transitional phase or the new steady state? Nobody outside Google can promise, and the observable record leans one way: launch gaps of 28, then 15, then 6 days, with a frontier sibling retired at roughly six weeks old. For comparison, older tiers moved far slower, and the Gemini 1-3 Pro and Flash lines persisted until the Gemini 4 generation arrived, so the compression is concentrated at the frontier. Plan on the trend rather than the hope.
    The teams that came through this launch week in good shape could answer four questions before Neon shipped: which tasks are pinned and which ride an alias, when their evals last ran against a new sibling, which SLA and contract clauses name specific model versions, and what the generation-keyed budget says the next swap costs. All nine items above exist so those four answers are ready before the next launch week, not during it.]]>
    0 min
  • Coding Agent Sandboxes That Contain Prompt Injection
    1. Is the default network off? Prove it with a failed fetch from inside the sandbox.
    > 2. Name every allowed destination and the reason it is allowed.
    > 3. Who resolves DNS for the sandbox, and can a query leave your allowlist?
    > 4. Which credentials are inside? State the scope, the expiry, and the revocation path.
    > 5. What persists after the run, and what executes it later?
    > 6. Assume the agent is fully hostile. What is the worst it can do over allowed channels?
    If the answers are boring, the sandbox is working. Ship the container you will configure this afternoon. The perfect microVM you postpone until next quarter protects nothing.]]>
    0 min