Let us concede something before the argument starts: Meta's Llama family has legitimately closed the gap on closed-weight frontier models — Llama 4 405B posted 88.6 on MMLU as of 2026-01-12, within striking distance of GPT-5.5's 90.1 and Claude 4.7 Opus's 89.5. That concession is real, and we want it on the record before we say the next thing. The Ars Technica report that internal AI agents at Meta caused "large-scale, disruptive actions" is not a Llama story. It is an agent-governance story, and the release calendar this desk has been tracking for six weeks makes the implications sharper than the coverage has admitted.

What follows is a flowchart in prose. Three questions, each with a yes and a no branch, each branch pointing at a concrete stack decision. At the end there is a table you can screenshot and paste into a Notion doc. The questions are ordered by cost of getting them wrong — most expensive first. You are being routed, not persuaded.

Question 1: Are You Running Agents With Write Access to Production Systems?

The Meta incident matters because it belongs to a specific category: an agent authorised to take actions inside a live environment did something the operators did not intend, at a blast radius the operators did not anticipate. Read-only agents that summarise dashboards and draft Jira tickets are not in this category. Agents that push commits, rotate keys, delete rows, restart services, modify DNS, or trigger any workflow that costs money or reaches a user — those are in this category.

The reason to ask this first is that the answer determines which axis of the model choice matters most. If the answer is no, benchmark scores dominate. If the answer is yes, the provider's incident-response posture and permissioning primitives dominate, and benchmark scores are secondary.

If Yes

You need a model that ships behind an explicit tool-use permissioning surface, and a provider that treats agent misbehaviour as a first-class incident class rather than a jailbreak footnote. This narrows the frontier options meaningfully. Claude 4.7 Opus (released 2026-04-15, $15 input / $75 output per million tokens) and Claude 4.6 Sonnet (2026-03-10, $3/$15) both ship with the tool-use scaffolding Anthropic has been iterating on since Constitutional AI, and both have a public post-incident cadence.

Codex on GPT-5.5 (released 2026-04-22, $5/$25) is defensible, particularly because OpenAI shipped it as their #1 coding surface in April — the surface has scrutiny that the general chat API does not. Gemini CLI on Gemini 3.1 Pro ($2.50/$10, 2M context) is defensible on capability but the CLI was open-sourced in April and the governance layer is younger than the model. Grok 4 (2026-03-22, $3/$15) is not defensible for this branch — xAI's incident disclosure history is not a track record you want on the other side of a write-access agent.

The Meta incident, whatever the specifics turn out to be, was almost certainly an internal-tools agent with too much scope. The reflex to copy that pattern using Llama 4 405B because it is open-weight and cheap to self-host is exactly the reflex the incident should kill. Open-weight is a supply-chain win. It is not an accountability win.

If No

Read-only summarisation agents can run on whatever you can afford. Gemini 3 Flash (2026-02-28, $0.30/$1.20, 1M context) is the price-per-token winner for high-volume read-only work — think document triage, meeting transcript summarisation, ticket classification. o-mini (2026-02-15, $0.60/$2.40) is the cheaper reasoning tier if the task involves multi-step chains but no side effects.

The interesting move in this branch is to test whether Llama 4 405B self-hosted on your own infrastructure actually saves money at your volume. At 88.6 MMLU it is genuinely competitive, and if the workload is read-only the failure mode of an underperforming answer is a re-run, not an incident. This is the branch where the Llama gap-closing story from earlier in the article actually cashes in.

Question 2: Do You Need the Model Provider to Publish Post-Incident Forensics?

This is a subtler question than the first. Most builders never ask it, then discover during a customer escalation that their model provider does not publish anything actionable about anomalous behaviour. If your product ships to enterprise buyers with compliance functions — banks, healthcare, government contractors, anyone with a SOC 2 auditor asking real questions — the answer is yes and you did not know it yet.

The Meta situation is instructive here because Meta is the provider and the customer. The reporting arrived through Ars Technica, not through a Meta status page or a Llama model-card update. That absence is data. When the provider and the customer are the same organisation, incident disclosure defaults to zero unless the story leaks. When the provider and the customer are different organisations, disclosure defaults to whatever the provider's public commitment is.

If Yes

Anthropic and OpenAI are the two providers with the most consistent public incident cadence, though neither is perfect. Anthropic publishes model cards that flag known failure modes; OpenAI publishes safety systems updates and post-hoc write-ups of notable incidents. Google DeepMind's cadence is improving but is still calibrated to research audiences more than to operators. xAI is not in this category.

The pricing implication is that you are paying a premium for provider maturity, not just capability. Claude 4.7 Opus at $15/$75 is not priced for capability alone — it is priced with the disclosure surface, the enterprise contracting layer, and the incident response function bundled in. GPT-5.5 at $5/$25 is priced with a similar bundle but with a different risk profile (broader consumer surface = broader attack surface). Gemini 3.1 Pro at $2.50/$10 is priced lower in part because the disclosure bundle is still being built out.

If No

You have optionality most builders do not realise they have. Open-weight is genuinely on the table — Llama 4 405B is the obvious candidate, and Mistral's offerings are in the same territory. The tradeoff you are accepting is that when something goes wrong, the forensic trail is yours to reconstruct from your own logs. If your infrastructure logs are good and your incident-response function is internal, this can be a net win. If your logs are patchy, you are trading upfront cost for downstream forensic work you cannot do.

Grok 4 becomes defensible in this branch specifically because the disclosure gap stops mattering. If you would not have read the post-incident write-up anyway, its absence is not a decrement. At $3/$15 with X/Twitter realtime context, Grok 4 has a real niche for workloads that benefit from that data stream — social monitoring, trend detection, brand response. The 256k context window is a real constraint compared to Claude's 1M or Gemini's 2M, so plan around it.

Question 3: Is Your Workload Bounded by Context Window or by Reasoning Depth?

The frontier has bifurcated in an important way that most model selection guides still miss. Gemini 3.1 Pro's 2M context window is a different product from Claude 4.7 Opus's 1M context window, which is a different product from GPT-5.5's 400k window. And SWE-bench Verified — Claude 4.7 Opus at 82.4, GPT-5.5 at 80.8, Claude 4.6 Sonnet at 77.5, Gemini 3.1 Pro at 75.3, Grok 4 at 74.0 as of the respective release dates — is measuring something orthogonal to context capacity.

This desk's read is that context length and reasoning depth have decoupled at the frontier. Gemini leads on context, Claude leads on coding depth, GPT-5.5 leads on the generalist blend. The old habit of picking one model and using it for everything is a habit that gets more expensive every quarter.

If Yes — Context Window Bound

Gemini 3.1 Pro wins if the workload genuinely needs 2M tokens — codebase analysis at repo scale, legal discovery, book-length document processing. The pricing helps: $2.50/$10 is roughly a sixth of Claude 4.7 Opus per token, and the context window is twice as large. For workloads that fit in 1M, Claude 4.7 Opus is defensible on quality at the higher price, but you should have a specific reason to pay 6x per token.

Do not use context window as a substitute for retrieval. If your workload is 800k tokens of documents that could be embedded and retrieved into a 50k-token prompt, doing that is cheaper and usually more accurate than stuffing the full corpus. The 2M context window exists because some workloads genuinely resist retrieval — long-range reasoning across a codebase, for instance, or a document where the relevant passage is not identifiable by keyword.

If Yes — Reasoning Depth Bound

Claude 4.7 Opus at 82.4 SWE-bench Verified and 94.0 HumanEval is the current frontier for coding-shaped reasoning. GPT-5.5 at 80.8 and 93.2 is close enough that price and surface preference should decide. The 1.6-point SWE-bench gap is inside the methodology noise for many workload types — real production performance depends heavily on prompt structure, tool availability, and evaluation harness, none of which are captured in a leaderboard row.

Gemini 3.1 Pro leads GPQA Diamond at 94.3, above Claude 4.7 Opus's 91.2 and GPT-5.5's 89.6. If the reasoning workload is scientific or research-heavy (medicine, physics, materials, quantitative finance), Gemini's GPQA lead is worth the tradeoff on SWE-bench. If the reasoning workload is code, Claude's SWE-bench lead is the more relevant number.

If You Answered Everything: The Recommendation Matrix

Eight combinations, one row each. The recommendation cell is one sentence, no hedging. If your situation does not fit cleanly into a row, you are probably in Q1=Yes territory and should re-read that section.

Q1 (Write Access)Q2 (Disclosure)Q3 (Bound)Recommendation
YesYesReasoningClaude 4.7 Opus for the agent tier, Sonnet 4.6 for cost-sensitive subtasks.
YesYesContextClaude 4.7 Opus at 1M for the agent; fall back to Gemini 3.1 Pro read-only for the 2M passages.
YesNoReasoningGPT-5.5 with Codex surface — the audit trail is public and the price is honest.
YesNoContextGemini 3.1 Pro on the CLI if you can accept a younger governance surface; otherwise Claude Opus.
NoYesReasoningClaude 4.6 Sonnet at $3/$15 — the workhorse tier is the correct answer here.
NoYesContextGemini 3.1 Pro — the 2M context at $2.50/$10 is the category-defining price.
NoNoReasoningLlama 4 405B self-hosted if volume justifies it; o-mini at $0.60/$2.40 if it does not.
NoNoContextGemini 3 Flash at $0.30/$1.20 for 1M context — the cheapest defensible answer in the matrix.

The pattern you should notice is that the Q1 answer drives price ceiling more than any other axis. Write-access agents route to models that cost 5-25x more per token than read-only alternatives, and that spread is almost entirely governance premium, not capability premium. If you can architect the workload to avoid write access — event-sourced designs with human approval steps, dry-run modes, staged rollouts — you can cut the model bill by an order of magnitude without touching capability.

Signals to Watch

The Meta incident is one data point. Whether it becomes a category-defining event depends on what happens next. Watch four specific things over the next 90 days: (1) whether Meta publishes any post-incident write-up with mechanism-level detail, or whether the story stays at the Ars Technica reporting level, (2) whether any frontier lab releases a new tool-use permissioning primitive positioned explicitly as a response to internal-agent incidents, (3) whether enterprise contracts start including agent-behaviour SLAs alongside uptime SLAs, and (4) whether the price gap between write-capable and read-only model tiers widens or narrows at the next round of pricing updates. If items 3 and 4 both move, the incident will have repriced the category. If neither moves, the industry will have absorbed it and moved on.

FAQ

Did the Ars Technica report specify which models caused the disruptive actions at Meta?

The report characterised the actions as "large-scale, disruptive" and attributed them to internal AI agents, but the underlying model architecture and the specific tool permissions were not disclosed in the initial coverage. Meta has not published a post-incident forensic write-up as of this article. That absence is itself informative — it suggests the incident is being handled through internal governance rather than public disclosure, which is the default posture when the provider and the operator are the same organisation.

How does Llama 4 405B actually compare to the closed-weight frontier in early 2026?

Llama 4 405B posted 88.6 on MMLU and 89.0 on HumanEval as of 2026-01-12. That puts it within roughly 1.5 points of GPT-5.5 (90.1 MMLU, 93.2 HumanEval) and Claude 4.7 Opus (89.5 MMLU, 94.0 HumanEval) on general knowledge and coding. The gap is real but small. Where the gap widens is on SWE-bench Verified and GPQA Diamond, where Meta has not published competitive numbers and closed-weight frontiers dominate. For read-only workloads the delta rarely matters; for agentic workloads it can.

What is the actual price delta between the Claude and Gemini frontier tiers right now?

Claude 4.7 Opus is $15 input / $75 output per million tokens as of 2026-04-15. Gemini 3.1 Pro is $2.50 input / $10 output as of 2026-04-18. That is a 6x delta on input and 7.5x on output. The context window comparison is 1M for Claude versus 2M for Gemini. If your workload uses the full context regularly, the effective cost gap widens further because Gemini fits twice as much per call. Claude's premium is defensible for coding-depth workloads and for the tool-use governance surface, not for context length alone.

Should the Meta incident change how I think about self-hosting open-weight models?

It should sharpen the question but not answer it. Self-hosting Llama 4 405B gives you full logging and forensic ownership, which is a real advantage in the aftermath of an incident. It also gives you full responsibility for the safety layer that Anthropic and OpenAI ship as part of their API. The Meta incident happened inside a company that has world-class ML infrastructure and safety research. If you are considering self-hosting because you assume you can do better than Meta on internal governance, examine that assumption carefully.

Which coding CLI is the correct default for a small team in mid-2026?

Claude Code (bundled in Claude Pro at $20/month) and Codex (bundled at $20/month for OpenAI Pro) are the two defensible defaults. Claude Code leads on SWE-bench Verified (82.4 vs 80.8) and on tool-use permissioning maturity. Codex leads on multi-surface integration — CLI, IDE, and web share state. Gemini CLI (open-sourced April 2026, free) is a strong third option for cost-sensitive teams but the governance layer is younger. Aider on a Claude 4.6 Sonnet API key ($3/$15) is the cheapest defensible option for solo builders.

Does GPQA Diamond actually predict production reasoning quality, or is it gameable?

GPQA Diamond is one of the least gameable benchmarks currently in wide use because the questions are drawn from graduate-level exams in physics, biology, and chemistry, and the answer set requires domain expertise to construct. Gemini 3.1 Pro's 94.3 score, Claude 4.7 Opus's 91.2, and GPT-5.5's 89.6 broadly track subjective reports from researchers using these models on scientific reasoning tasks. That said, no benchmark predicts production performance for a specific workload — always run your own eval on a representative sample before committing to a provider.

What would actually change if a frontier lab shipped a post-incident agent governance primitive?

The most impactful move would be a permissioning surface that allows the operator to declare intent bounds separately from capability bounds — for instance, "this agent may read from database X but may not write, and may only execute functions on the approved allowlist even if it reasons its way to a different plan." Anthropic's tool-use API is closest to this today. Whether OpenAI or Google ships an equivalent, and whether either lab positions it explicitly in response to incidents like Meta's, is the signal to watch. That framing would tell you the category has repriced.