Science & Analytics

The Scientist

The Signal

Perplexity's Search-as-Code work moved their internal WANDR score from 0.152 to 0.386

The same week, Nemotron 3 Ultra hit 48 on AAII (9 above Gemma 4) and MiniMax M3 claims Opus 4.7 parity at 40x lower input cost. The thing these numbers don't tell you is how either holds up on your eval slice, but the cost floor has clearly moved.

In Play

  1. Search-as-Code Rewrites Retrieval Architecture

    Perplexity replaced iterative tool-calling RAG with a model emitting Python against a search SDK, lifting WANDR from 0.152 to 0.386 — a 154% gain from orchestration alone. Mistral simultaneously open-sourced Search Toolkit unifying ingestion, retrieval, and eval. CodeAct applied to retrieval is now the pattern to beat.

    Ask Clarity
  2. Open-Weight Model Baseline Reset

    Nemotron 3 Ultra (550B/55B active MoE) scores 48 on AAII vs Gemma 4's 39, serving at 300+ tok/s. MiniMax M3 claims Opus-parity at 40x lower cost with 59% SWE-Bench Pro and 1M context. Cosmos 3 ships open-weight SOTA multimodal. The open-weight cost decision just changed for coding and retrieval workloads.

    Ask Clarity
  3. Opus 4.8 Benchmark Paradox Exposes Eval Failure

    Opus 4.8 triples GPT-5.5 on ARC-AGI-3 but underperforms it on Datacurve while burning significantly more tokens. A METR RCT found experienced devs are 19% slower with AI on familiar codebases. GitHub admits fine-tuning lost to foundation models. Single-benchmark model selection is now actively misleading — tokens-per-correct-answer is the missing axis.

    Ask Clarity
  4. Enterprise Inference Bill Shock Forces Routing

    Uber burned its full 2026 Claude Code budget by month four. One company hit ~$500M in accidental Claude charges in 30 days. UiPath cut >90% on repeat tasks via routing + reasoning suppression. Snowflake, Palo Alto, and Zscaler all converged on the same playbook: route by complexity, cap by role, disable reasoning on templates.

    Ask Clarity
  5. ML Credential Harvesting: npm + MCP Under Attack

    Self-propagating npm worm hit 90+ redhat-cloud-services packages exfiltrating AWS/GitHub/SSH credentials. codexui-android (27K weekly downloads) steals non-expiring OpenAI refresh tokens. Flowise MCP has a 9.9 CVSS RCE. Claude Code GitHub Actions was chained into a privileged token mint. ML workstations are now the primary target.

    Ask Clarity

Deep Dives

Search-as-Code + the New Open-Weight Baseline: Your RAG Pipeline and Model Choice Both Moved This Week

The Architecture Shift That Outperforms Any Model Swap

Perplexity's Search-as-Code (SaC) delivered a 154% lift on WANDR (0.152→0.386) by replacing iterative tool-calling with a single Python program that drives a search SDK directly. The model didn't change. The orchestration pattern changed: instead of while not done: pick_tool → call → observe → loop, the model emits a Python program that batches queries, map-reduces over indices, and aggregates in one execution. That's CodeAct applied to retrieval, and it eliminates N round-trips of context bloat.

The real news this week isn't NVIDIA's hardware — it's that orchestration architecture is now the dominant lever for agent quality, and your open-weight model choice is finally a cost decision, not a capability decision.

Mistral simultaneously open-sourced a Search Toolkit unifying ingestion, retrieval, and eval in one interface — the open-source counterweight to Perplexity's proprietary approach. Both point at the same shift: retrieval becoming a model-orchestrated control loop rather than a fixed pipeline.


The Open-Weight Bake-Off Has New Entrants

The model landscape moved simultaneously, but the key insight is that model choice is now subordinate to architecture choice:

ModelTotal / Active ParamsKey MetricCost Position
Nemotron 3 Ultra550B / 55BAAII 48, 300+ tok/s~Dense 70B serving cost
MiniMax M3Undisclosed59% SWE-Bench Pro, 1M ctx~40x cheaper than Opus
Cosmos 3 Super64B (32B+32B)#1 open T2I & I2VOpen commercial license
JetBrains Mellum212B / 2.5B11T tokens, RLVRSub-200ms latency

The sparsity divergence is the underrated story. Nemotron's ~10% active parameters (55B/550B) is roughly 3× denser than Kimi/DeepSeek-class designs (~3%). On NVIDIA-native serving (vLLM + Blackwell + NVFP4), denser MoE amortizes routing overhead better and pushes throughput higher. On cheap rented A100s, the activation-memory bill goes the other way. Don't generalize from someone else's $/token.

MiniMax M3's claimed 40× cost reduction at near-Opus quality is the kind of number that should trigger a shadow-traffic A/B, not a migration plan. Day-0 support on Vercel/Cloudflare/Novita makes the experiment cheap.


What This Means for Your Pipeline

The highest-ROI experiment this quarter has three legs, in priority order:

  1. Search-as-Code spike (2 weeks). Wrap your retrieval layer in an SDK, give a coding-capable model a sandboxed Python executor, and run it against your existing eval. Even capturing 30% of Perplexity's reported lift would dwarf any model swap.
  2. Open-weight cost re-baselining (1 week). Add Nemotron 3 Ultra and MiniMax M3 to your bake-off. Measure tokens-per-resolved-task and $/successful-call, not just accuracy.
  3. Architecture before model. If you're paying frontier API prices for batch coding or retrieval work, the SaC pattern changes more than any model swap can. Test it before the next contract renewal.

What to do

  1. Spike a Search-as-Code prototype: wrap your retrieval layer in an SDK, give a coding-capable model a sandboxed Python executor, run against existing eval set

  2. Add Nemotron 3 Ultra (NVFP4) and MiniMax M3 to your open-weight eval harness alongside current baselines

  3. Pilot Mistral Search Toolkit on a multi-hop subset of your retrieval eval set

The Eval Harness Is Broken: Three Independent Signals Prove It

Opus 4.8's Benchmark Divergence Is the Symptom, Not the Disease

Anthropic shipped Claude Opus 4.8. Three evaluators returned three different verdicts on the same model:

SourceVerdictMethodology
ARC-AGI-33× GPT-5.5 (SOTA)Abstract reasoning, public
DatacurveBelow GPT-5.5, high token costMixed production-shaped tasks
Simon WillisonBetter calibration, catches own flawsQualitative practitioner use

The pattern is straightforward. Any model selection anchored on a single benchmark is broken. A model can win on abstract reasoning and lose on cost-weighted production workloads at the same time. The metric most harnesses are missing is tokens-per-correct-answer. A model that is 5% more accurate but burns 3× the tokens loses on any cost-sensitive workload at scale.


The METR RCT: Developer Productivity Claims Are Built on Sand

A randomized controlled trial with 16 experienced open-source developers across 246 real tasks found AI-assisted coding 19% slower on familiar codebases. Developers expected a 24% speedup going in. They self-reported a 20% speedup coming out. The measured result was negative.

Developer self-report is not a measurement instrument. Anyone running an internal 'did Copilot help us ship' survey is collecting feelings, not throughput.

A Stanford study points the same direction: AI-assisted developers wrote less secure code AND were more confident it was secure. That is a calibration failure, not a skill failure. The vendor claim that 'AI writes 75% of Google's code' is a token-ratio metric with no attribution to merged-and-stable code. The thing this doesn't tell you is whether any of those tokens survived review.


Fine-Tuning Lost to Foundation Models at GitHub Scale

GitHub Copilot invested heavily in per-customer fine-tuning and was overtaken by next-generation foundation models that improved on their own. Kyle Daigle's post-mortem treats fine-tuning as a depreciating asset with a shorter half-life than most roadmaps assume. The architectural survivors: unified SDK/harness across surfaces, micro-skills over mega-skills, and MCP as the enterprise context interface.


What Actually Belongs in the Eval Harness Now

  1. Tokens-per-correct-answer alongside accuracy. Cost-weighted quality on your actual traffic distribution, not on someone else's leaderboard.
  2. Flawed-input flag rate. Inject 50-100 deliberately broken PRs and measure whether the model flags them. Opus 4.8 reports a 4× improvement over 4.7 here, which is the kind of slice that single-number evals erase.
  3. Multi-turn adversarial ASR. Cisco research shows single-prompt safety benchmarks systematically underestimate real-world risk.
  4. Tail-stratified slices. A new paper shows large models beat small ones specifically on rare and complex tasks, because small models overwrite long-tail knowledge. A head-weighted eval will hide that regression until production finds it.

What to do

  1. Add tokens-per-correct-answer and $/successful-task as first-class metrics in your eval harness alongside accuracy

  2. Build a flawed-input honesty eval: inject 50-100 deliberately broken PRs and measure flag rate across Opus 4.8, GPT-5.5, and your current model

  3. Run an internal A/B on AI-assisted vs unassisted task completion using matched pairs — measure time-to-merge and 30-day defect rate, not self-report

  4. Kill any per-customer fine-tuning project where expected lift is <2× what the next foundation model release delivers

Enterprise Inference Cost: The 30-90% Savings Playbook Now Has Real Data

Bill Shock Is Now a Board-Level Problem

Uber exhausted its full-year 2026 Claude Code budget by month four. That alone moves inference cost optimization out of the Q3 backlog. The supporting evidence:

  • Uber burned its 2026 Claude Code budget in month four
  • An unnamed company spent ~$500M on Claude in a single month, described as accidental
  • Amazon killed its internal 'tokenmaxxing' leaderboard that was driving developer consumption too high

Anthropic's revenue curve, $9B to $30B to $47B run-rate in five months, is the same number viewed from the vendor side. The growth is somebody else's uncontrolled inference bill.


The Four-Layer Savings Stack

Four companies with very different workloads — Snowflake, UiPath, Palo Alto Networks, Zscaler — converged independently on the same playbook. Reported savings span 30-90%, which is a wide enough range that the right planning assumption is the low end until you measure your own workload:

TechniqueSavingsEffortBest For
Model routing (task → model tier)Unquantified, foundationalDays–weeksHeterogeneous task workloads
Prompt caching + reasoning suppression>90% on repeat tasks (UiPath)Hours–daysTemplated, repetitive work
Role-based access + token ceilingsNot quantifiedWeeksLong-tail user cost control
Deterministic fallback (Excel/SQL/pandas)Cost AND reliability winProcess changeTabular, numeric, reproducible

The finding worth flagging: Novo Nordisk found vanilla Excel beat Claude on cost AND reliability for clinical trial tabular analysis. On structured numeric work where reproducibility matters, deterministic tools win. The thing the model leaderboards don't measure is that.


Pricing Model Arbitrage Is Now a Lever

Mars negotiated flat per-seat Gemini pricing for 62,000 employees instead of usage-based. Ralliant and PagerDuty are pushing for one-year contracts. Opus 4.8 fast mode dropped 3× to $10/$50 per Mtok at 2.5× standard speed. The pricing surface itself is negotiable in ways it was not six months ago.

A stack that routes every request to a frontier model is paying the 30–90% gap that the four companies above have already stopped paying.

The $500M Failure Mode

A $500M monthly Claude bill implies roughly 10¹¹ to 10¹² tokens processed. That is not a chatbot. It is an unbounded agent loop or a batch pipeline retrying without idempotency. The mitigation is cheap: hard $/token ceilings per API key, per tenant, and per agent session. Trip a circuit breaker at 3× rolling 7-day p99 spend. Add max-step caps to every agent loop and verify termination in CI.

What to do

  1. Instrument top-5 inference workloads with per-call token + cost telemetry this week; identify candidates where a smaller model (Haiku/Flash/4o-mini) suffices

  2. Add hard $/token ceilings per API key, per tenant, and per agent session in your LLM gateway; trip circuit breaker at 3× rolling 7-day p99

  3. Pilot a model router: cheap model (Haiku/Flash class) for triage, premium (Opus/o-series) only on escalation. Measure quality delta before assuming flagship needed

  4. Add a non-LLM baseline gate (pandas/DuckDB/SQL) to your eval harness for any tabular or numeric task before approving an LLM solution

ML Credential Harvesting Wave: Your Laptop Is the Target

Three Active Attacks on ML Developer Credentials This Week

The common factor across this week's disclosures is straightforward once you map the attack surface: ML developer tooling is where the high-value credentials sit, and supply-chain attackers have priced that in. A working laptop holds Hugging Face tokens, OpenAI and Anthropic API keys, AWS creds for training buckets, MLflow and W&B tokens, and GitHub PATs. Every one of those is worth more to an attacker than the source code they sit next to.

AttackVectorBlast RadiusStatus
npm worm (Miasma/Shai-Hulud)90+ @redhat-cloud-services packages, self-propagatingAWS/GitHub/SSH/npm credentialsLive, package still active
codexui-androidnpm tarball exfiltrates auth.json to fake SentryOpenAI non-expiring refresh tokensLive, 27K weekly downloads
Flowise MCP RCE (CVSS 9.9)Ghost commands through stdio transportAgent runtime env, all credentials in process scopePatch needed
Claude Code GH ActionsPermission bypass + prompt injection → OIDC exfilPrivileged GitHub App token with write accessPatched

Why This Is Worse for ML Teams

The codexui-android case is the most surgical of the three. Since version 0.1.82 it reads auth.json and exfiltrates tokens to sentry.anyclawstore dressed up as Sentry telemetry. The malicious chunk-PUR7OUAG.js loader exists only in the npm tarball. The GitHub repo is clean. The thing this doesn't tell you is how much of your review pipeline is reading the repo and not the published artifact. For most teams, the answer is all of it.

The Flowise MCP vulnerability is structurally different and roughly as dangerous. MCP stdio transports run as child processes of the host, inheriting env vars, file descriptors, and network reachability. An RCE at that layer is functionally a credential heist against whatever environment the agent runs in: model registry tokens, vector DB creds, S3 keys for training data.

Once an AI coding agent has filesystem access and a credential path, it is an untrusted dependency until proven otherwise.

The Emerging Defense Layer

Two tools worth evaluating, with conditions:

  • Prempti (Apache 2.0, Falco-based): intercepts AI agent tool calls against YAML rules covering .env, ~/.ssh, ~/.aws paths, sandbox-disable attempts, and MCP poisoning
  • Pipelock: open-source agent firewall with Verifiable Egress Control over HTTP, MCP, A2A, and WebSocket

Caveat: both are cooperative layers. They see declared commands, not the runtime behavior of compiled binaries. Useful as mitigations. Not solutions, and worth deploying with that distinction in mind.

What to do

  1. Run `npm ls @redhat-cloud-services` across all DS/ML repos and developer laptops today; quarantine hits and rotate every credential in the keychain (HF, OpenAI, Anthropic, AWS, MLflow, W&B, GitHub PATs)

  2. Audit all CI/CD pipelines for codexui-android (any version ≥0.1.82); revoke OpenAI refresh tokens at account level — rotation alone won't help since refresh tokens don't expire

  3. Inventory every MCP server in your agent stack; patch Flowise, isolate stdio transports in non-privileged containers with no network egress to internal services

  4. Add a rule to your dependency review pipeline that flags any npm package whose published tarball diverges from its declared GitHub source

The bottom line

Orchestration architecture just became the dominant lever for agent quality — Perplexity's Search-as-Code delivered 2.5× on retrieval with zero model changes — while Opus 4.8's benchmark divergence proved that single-number evals are now actively misleading, an active npm worm is harvesting ML credentials from developer laptops right now, and Uber blowing its entire 2026 Claude budget by month four means every team without per-task cost telemetry is flying blind into the same wall.