إنتقل إلى المحتوى الرئيسي

AI Models & Assistants

جميع المستويات

Claude is our core — but the same skills travel. This section widens the lens to the whole AI world: the major assistants, how they differ, when to use which, and the techniques that transfer across all of them.

What you'll learn
  • Pick the right model for a job without re-learning the field every time
  • Move between assistants — ChatGPT, Gemini, Grok, open models — without losing your technique
  • Run capable models on your own machine, and know when that is worth it
  • Combine Claude with local models and agent frameworks

Start here​

If you read one page in this section, read this one. Everything below is a branch off it.

Then follow whichever thread matches what you are doing.

The current flagships​

The September 2026 releases at the top of both stacks, read side by side.

The workhorse tier​

The cheap tier is where the interesting numbers are. Same lesson every time: match the model to the shape of the work, not to its position in the price list.

  • Claude Sonnet 5.5: the field guide — Sonnet 5's exact prices, up to 30% less per task: five 400-traps, thinking that moves instead of switching off, and the one benchmark row where it beats Opus 5.5
  • Claude Haiku 5.5: the 100K price cliff — the only current Claude model priced by prompt length: two rate cards 5x apart, where one token past 100,000 reprices the entire request; why the cliff arrives ~23% earlier in text than you expect; the honest saving (~87% below it, ~35% above, not the 90% on the rate card); and the one lever where trimming 21% of a prompt cuts 84% of the cost
  • GPT-6.1 Sol: the field guide for Claude users — Sonnet 5.5's exact rate card at half its cached-read price: the 922K input ceiling inside a 1.05M window, the cost cliff at 272K, tool calling on only one of the two APIs, and the benchmark row Claude still wins by 8.7 points
  • Gemini 3.8 Flash for Claude users — Sonnet-priced, "works harder" by default, ~30% more tokens per task
  • DeepSeek-V4.1-Flash — 552B MIT open weight, 1M context, 890-byte KV cache, a 1–100 effort dial, and a routing change that silently replaced deepseek-v4-pro

Coming from another assistant​

You already know one tool and want your habits to carry over.

Comparing before you commit​

  • How to read an AI benchmark without getting fooled — read this before any other row in this list: what a SWE-bench score literally measures, the 4.8 points a vendor's own footnote shows come from the harness rather than the model, the contamination discount that turns 70%-plus into ~23% on unseen code, and a six-question checklist for any number
  • Is the model nerfed? How to actually tell — the question that follows every launch: what a pinned snapshot does and does not guarantee, the seven things that change without a new model, why the most-cited "GPT-4 got dumber" result was an eval bug, and a paired-design protocol you can run yourself
  • Claude vs GPT vs Gemini for coding
  • Reasoning models compared
  • What AI costs across providers
  • Hard spend caps: which providers actually stop the bill — the control that matters once agents can spend while you sleep: one event, four status codes (a 429 with no retry-after on Anthropic's tier cap, a 400 on the limit you set yourself, 429 on OpenAI, 402 on OpenRouter), why no cap can be exact, and the tier where the default safety net disappears
  • Ember-1: Kimi K3's answers for 40% fewer tokens — identical rate card, materially smaller bill: why turning the effort dial down is not the same as efficiency, what one benchmark run really costs, and the reasoning-token share that caps your own saving
  • Prompt caching across providers — explicit vs automatic control, a 512-to-4,096-token eligibility spread, and the break-even rule that says a prefix reused only once can cost you MORE cached than uncached
  • Server-side conversation state across providers — all three majors now keep your conversation for you, and shipped three incompatible contracts: Anthropic's evaporates after 5 idle minutes and requires you to code a replay path, while OpenAI and Google retain it for 30 and 55 days by default — store: true is the setting nobody on your team chose
  • Diffusion LLMs: the models that don't write left to right — a different decoding algorithm, not better hardware: why the open-weight pioneer's own README says quality peaks at one step per token, the conditional-independence bug that makes aggressive parallelism wrong rather than just coarse, how DiffusionGemma converted an autoregressive Gemma 4 for under 10% of its training budget, and the masked-infill jailbreak that reaches 100% on an aligned dLLM
  • Latent reasoning: agents that think without words — the first open-weight agent that does most of its thinking as hidden states instead of tokens: 170-183 latent forward passes against ~302 text tokens where a text agent spends ~596, a ~10M-parameter adapter as the entire bridge, the reason the checkpoint loops forever in llama.cpp, and the causal test (44.9-51.3% accuracy loss) that quietly undermines the paper's own "inspectable thoughts" claim
  • Optical context compression: sending text as an image — 86.5% fewer counted tokens on Anthropic, 6.95x MORE on Gemini for short inputs, and the accuracy cliff the token counter cannot see
  • Generative media: image, audio, video
  • World models: what you can actually build today — AMD is paying ~$8.2B for World Labs, and two opposite things share the name: frame generators where the world lives in the model's context and a session caps at 60 seconds, versus 3D generators that hand you Gaussian splats you own, render for free and cannot collide with
  • AI explainer videos: the code-driven pipeline — the model writes a deterministic program, not a video: why Math.random() is banned, Remotion's 3-employee licence cliff, the two Manims that share an import name, and the dwell-time formula that makes it watchable
  • Gemini 3.8 Live and Live Extended Thinking — Google's GA voice models for builders: async tools by default, the 15-min/2-min session walls, and why call cost grows faster than call length

Running models yourself​

Local models trade some capability for privacy, cost control, and working offline. These pages cover when that trade is worth making.

Agents beyond Claude​

  • Local AI agents
  • Open-source agent frameworks
  • The third-party memory layer: how claude-mem works — 103k stars for fixing session amnesia across Claude Code, Cursor and Codex, and what it actually is underneath: a second model in a daemon reading every tool call, whose hosted observer the project's own cost dataset prices as a DeepSeek model; plus the exit-code contract that decides whether a broken memory layer blocks your session
  • Claude, MCP and local tools
  • A2A: the agent-to-agent protocol
  • Agent payments: x402, MPP and AgentCore GA — how agents actually pay for things now
  • Commerce agents blueprint — Anthropic's open-source reference for shopping and merchant agents: the split-agent shape and the staged-write guardrail
  • OpenAI Agents API vs Claude Managed Agents — the two hosted agent loops side by side: permissions, vaults, budgets, network policy, sandbox cost
  • OpenAI Dots: the always-on agent — a persistent agent with its own cloud computer that works while you are logged off: the five-rung permission ladder, why proactive research is read-only at the tool layer rather than the prompt layer, and what the published safety numbers really measure
  • Open Code Review: Alibaba's hybrid AI reviewer — deterministic rails around any model; 4.7x Claude Code's precision on its own benchmark, and a 20% recall ceiling
  • AX (Agent Executor): Google's open agent runtime — kubectl-shaped Tasks, Workspaces, Gateways and Models on top of Agent Substrate; what survives a suspend/resume, the runner contract, and why the June docs no longer match the CLI
  • System One decision models: Jev, Kev and the open clones — a model that returns calibrated probabilities instead of text; what "cannot hallucinate" really guarantees, the vendor numbers next to the one independent test, and where it sits in a Claude agent loop
  • Train your own decision model: Jeff, Jeeves and the DIY stack — the recipe is cross-entropy over option letters plus a separately fitted temperature; ~2 hours on one GPU, the benchmark rows where a 0.8B beats the API by 19 points and the rows where it loses by 30, and the boring embeddings baseline you have to beat first
  • Async-first agent harnesses: what Unreal Agent changes — why turn count, not token count, is what you pay for; 28 turns against 44 for the same score, and the three designs Unreal Labs refused to build
  • Pi 1.0: the minimal harness and the codemode trick — the most complete published answer to MCP context bloat: a QuickJS/WASM sandbox where tool results never enter the transcript, four exposure modes where the default declares nothing, a 3,000-token ceiling on inlined declarations, and a suffix-append trick that keeps your prompt cache alive when a server connects
  • DeepSeek Harness: the agent loop as a plugin — 242k stars and an "everything is a plugin" claim that holds: it runs your Claude Code hooks.json, speaks anthropic-messages, and defaults run_code to codemode
  • Desktop agents without pixels — Vercel's agent-desktop reads OS accessibility trees instead of screenshots, and ships the clearest published spec for how a computer-use harness should handle uncertainty: refs scoped to a snapshot so a stale identifier cannot even be expressed, resolution that fails closed instead of guessing, properties that keep Unknown distinct from Absent, and a retry rule built on delivered vs not delivered rather than success vs failure

Everything in this section​

The full list, including pages added since this index was written.

Gemini 4 Argon: The Field Guide for Claude Users (Sep 30, 2026)

Google's Gemini 4 generation opens with Argon and one headline number: a 1M-token OUTPUT limit, up from 64K. Context stayed at 1M. What the coverage gets wrong: the independent Artificial Analysis index puts Argon at 53 — five points BEHIND Claude Opus 5.5's 58 — and its cheaper $1.99-per-task cost comes from the rate card, not efficiency, since it burns 62K output tokens per task against GPT-6 Astra's 27K. Plus: a 15% hallucination rate (lowest measured), and why you almost certainly cannot call it yet.

Claude Fable 5.1: ما الذي تغيّر وكيف تنتقل إليه

أطلقت Anthropic نموذجي Claude Fable 5.1 وMythos 5.1 في 1 سبتمبر 2026: السعر نفسه $10/$50، وانخفضت قراءات الكاش إلى $0.25، مع ثلاثة تغييرات كاسرة في الـ API (خطأ عند فرض tool_choice، وكتل thinking أحادية الاتجاه، وسجل للإضافة فقط) وخمس ميزات تجريبية إضافية. دليل الترحيل لكل من يثبّت claude-fable-5 أو claude-opus-5.

Claude Fable 5 وMythos 5: الدليل الميداني للنموذج الرائد

كان Fable 5 أول نموذج رائد من فئة Mythos لدى Anthropic — وهو الآن نموذج قديم (legacy) حلّ محله Fable 5.1. تُرفض الطلبات في واجهته البرمجية ضمن الاستجابة نفسها (HTTP 200، stop_reason: refusal)، ولديه adaptive thinking فقط، ولا يعيد التفكير الخام أبدًا. إذا كنت تثبّت نموذجًا من الفئة العليا، فهذا يغيّر طريقة كتابة التكاملات. متى تستخدمه مقابل Opus 4.8، ونمط الـ fallback، وتحولات كتابة الـ prompts.

Claude Opus 5: الدليل الميداني

صدر Opus 5 في 24 يوليو 2026 بوصفه رابع نموذج من Anthropic خلال شهرين: بالسعر نفسه الخاص بـ Opus 4.8 (‏$5/$25) لكن بأكثر من ضعف نتيجة Frontier-Bench، وبثلاثة أضعاف نتيجة أفضل منافس في ARC-AGI-3، ومع مستوى جهد جديد xhigh/max. المعايير المهمة فعلًا، وخطآ 400 اللذان يكسران الترحيل الساذج، ومتى يحلّ Opus 5 محل Fable 5 في منظومتك.

GPT-6.1 Sol: The Field Guide for Claude Users

OpenAI shipped GPT-6.1 Sol at DevDay on September 29, 2026 with the exact rate card Claude Sonnet 5.5 has — $2/$10 — and a cached-input price half of Sonnet's. The launch line is 'near-Astra intelligence for a fifth of the price'. The details that decide whether that is true for you: a 922K input ceiling inside a 1.05M window, a hard cost cliff at 272K tokens, tool calling that only works on one of the two APIs, and the benchmark row where Sonnet 5.5 still wins by 8.7 points.

Gemini 3.8 Flash for Claude Users: The Workhorse That Now Ties Opus 5 on DeepSWE (Sep 2026)

On September 2, 2026, three weeks after 3.7 Flash, Google shipped Gemini 3.8 Flash at the same $0.75 / $3.75 intro price: DeepSWE 73.7 (+8.4), Terminal-bench 2.1 89.4, HLE-Verified 54.9, plus a Cyber variant gated behind the new Fairwind Program. What the headlines skip: it 'works harder' by emitting ~30% more tokens per task, the same model ID migration rules from 3.7 still apply, and Terminal-bench 4.0 is where Claude Opus 5 stays 33 points ahead.

واجهات الوكلاء المتعددين الأصلية: بيتا الوكلاء المتعددين في Responses من OpenAI مقابل البناء بنفسك

في 9 يوليو 2026 أطلقت OpenAI بيتا الوكلاء المتعددين في Responses API ووضع Sol Ultra Mode — أول مزوّد رائد يجعل «النموذج يُنشئ N وكيلًا فرعيًا ويدمج نتائجهم في طلب HTTP واحد» بدائية من الدرجة الأولى. ما الذي صدر فعلًا، وشكل الـ API، وحسابات التكلفة، وما تفعله Anthropic بدلًا من ذلك، ومتى تتفوّق البدائية الأصلية على بناء التوزيع (fan-out) بنفسك.

DeepSeek-V4.1-Flash: A 1M-Context Open Weight That Ties Opus 5 on DeepSWE (Sep 2026)

On September 10, 2026 DeepSeek shipped V4.1-Flash — a 552B MIT-licensed MoE with native vision, a 1M-token window, a KV cache a quarter the size of V4-Flash's, and a 1–100 reasoning-effort dial. It ties Claude Opus 5 on DeepSWE v1.1 (74.2 vs 74.0) at $0.30 per million input tokens, and trails badly on Terminal-Bench. The numbers, the routing change that silently moved every deepseek-v4-pro call, and where Claude still wins.

Open Code Review: Alibaba's Hybrid AI Reviewer vs Claude Code, Codex and Any Model (2026)

Alibaba's open-code-review (ocr) is the AI code reviewer trending on GitHub: a Go CLI that puts deterministic file selection, rule matching and line anchoring around an LLM agent. Same Claude model, 4.7x the precision of a Claude Code review at 1/15 the tokens on its own benchmark — and a best-case recall of 20%. How it works, how to run it with Claude, GPT, Qwen or a local model, delegation mode, CI, and the gotchas.

Gemini 3.8 Live and Live Extended Thinking: The Builder's Field Guide to Google's New Voice Models (Sep 2026)

On September 15, 2026 Google shipped gemini-3.8-live and gemini-3.8-live-extended-thinking. The launch post covers benchmarks. This page covers the rest: which model to pick, the migration traps coming from 3.1 Flash Live (async tools are now the default, thinkingLevel errors, proactive audio can't be turned off), the 15-minute and 2-minute session walls, and why a voice session's cost grows faster than its length.

Diffusion LLMs: The Models That Don't Write Left to Right

Mercury 2 answers a full reasoning question in 1.7 seconds at 1,009 tok/s; Gemini Diffusion samples at 1,479 tok/s against Gemini 2.5 Flash's 272.4. Same transformers, different decoding algorithm. The practical guide: why the open-weight pioneer's own README says quality peaks when you use one step per token, the conditional-independence bug that makes parallel decoding wrong, block diffusion as the fix that restored the KV cache, how DiffusionGemma converted an autoregressive Gemma 4 for under 10% of its training budget, and the masked-infill jailbreak that hits 100% on an aligned dLLM.

Cloudflare Kitesurf: The First Browser Runtime Built for AI Agents (Not Humans)

On August 6, 2026 Cloudflare launched Kitesurf, a stateless, agent-first browser that runs entirely in V8 isolates on Workers. It uses 3-7x less CPU and memory than Chromium on common agent tasks — at the cost of ~1.7x wall-clock time. Written in Rust, using Firefox's CSS parser (Stylo) and the Blitz rendering engine, drop-in compatible with Puppeteer/Playwright via the Chrome DevTools Protocol. This page: what changed, when to reach for it instead of headless Chrome, how to wire it into Claude Code / Codex / your MCP client, and the four things it flat-out can't do yet.

Colibrì: Run a 744B MoE From Your SSD (and What It Really Costs You)

Colibrì is a pure-C, zero-dependency engine that runs GLM-5.2 (744B), Kimi K3 (2.8T), DeepSeek V4.1 Flash and six other frontier MoE models on a 16–32 GB machine by keeping the dense layers in RAM and streaming the routed experts from NVMe. This page explains the memory hierarchy, the numbers that decide whether it is usable for you (0.05 to 6.8 tok/s), the SSD-wear and speculative-decoding gotchas, and the exact commands to get a first token.

OpenAI Agents API vs Claude Managed Agents: The Hosted Agent Loop, Compared

On September 10, 2026 OpenAI put the Codex harness behind a single API call: the Agents API public beta — durable sessions, hosted or self-hosted sandboxes, automatic compaction, tool search, subagents. Anthropic has run the same shape since April as Managed Agents. Both use the same four primitives; they differ on permissions, secrets, budgets, network policy and what the sandbox costs. The side-by-side, the request shapes, the six gotchas, and when to pick which.

AX (Agent Executor): Google's Open Agent Runtime, Explained for Builders (2026)

google/ax hit the Hacker News front page on September 20–21, 2026 (507 points). It is not a model, a harness or a hosted API: it is a kubectl-shaped orchestrator that runs agent Tasks in sandboxes on top of Agent Substrate, with Workspaces (git + MCP + skills), Gateways (egress allowlists) and Models (provider + secret) as declarative resources. What the four primitives do, what survives suspend/resume and what does not, the runner contract your image must honour, the GKE requirements, and why the June-era docs no longer match the CLI.

System One Decision Models: Jev, Kev and the Open Clones, Explained for Builders (2026)

TypeSafe AI's Jev (out of stealth September 15, 2026) is a model that never writes text: you send it program state plus typed questions and it returns calibrated probabilities for all of them in one parallel pass, 70–500 ms, $0.042 per million input tokens, output free. Two Hacker News front-page stories on September 21 (Kev, an Apache-2.0 recreation on Qwen3.5, and the jev-leftpad joke) made it the week's topic. What a System One model actually does, what the 'cannot hallucinate' claim really guarantees, the vendor numbers next to the one independent test, where a decision model belongs in a Claude agent loop, and how to run Kev or Nimble locally.

Train Your Own Decision Model: Jeff, Jeeves and the DIY System One Stack (Sep 2026)

Two weeks after Jev made decision models a category, the open stack caught up: Jeff fine-tunes a 0.8B Qwen into a Jev-compatible classifier in ~2 hours on one workstation GPU, and PostHog's Jeeves shows that letting a decision model think first beats Jev on its own benchmark. What the training recipe actually is (cross-entropy over option letters, a separately fitted temperature), where tiny models beat the API and where they get destroyed, the 26-option ceiling, the 20x CPU latency cliff, and the boring embeddings baseline that scored 93.0% and that you must beat before any of this is worth doing.

OpenAI Dots: The Always-On Agent, and the Permission Ladder Underneath It

At DevDay on September 29, 2026 OpenAI shipped dots — persistent agents that each get their own cloud computer and browser, run on GPT-6 Astra, and keep working while you are logged off. The launch coverage stops at the demo. This page covers the mechanism: the five-rung permission ladder, why proactive research is read-only at the tool layer rather than the prompt layer, what the published safety numbers actually measure, and how a dot compares to Claude Managed Agents and Cowork.

Is the model nerfed? How to actually tell

"They nerfed it" is the most-repeated claim in AI and the least-measured. On the Claude API the weights behind a model ID cannot change — every current ID is a pinned snapshot. But seven other things can change under you without a new model, from a published system-prompt update to a harness that silently swaps models mid-session. Here is what can and cannot move, why the most-cited 'GPT-4 got dumber' result was an eval bug, and a measurement protocol you can run in an afternoon.

Pi 1.0: The Minimal Harness, and the Codemode Trick That Fixes MCP Token Bloat

Pi 1.0 shipped 1 October 2026 and went to #1 on Hacker News. The interesting part is not the TUI — it is the context engineering: a QuickJS/WASM sandbox where tool results never enter the model's context, four MCP exposure modes, a 3,000-token ceiling on inlined tool declarations, and a trick that appends a new system-prompt section to the transcript instead of mutating tool definitions so your prompt cache survives. Plus the deliberate omissions (no sub-agents, no plan mode), the $0.05 cache-warming rule, and the trust gap that loads a cloned repo's AGENTS.md without asking.

DeepSeek Harness: the agent where the agent loop itself is a plugin

DeepSeek Harness (dsh) passed 242,000 stars and shipped desktop installers on 1 October 2026. The headline is 'everything is a plugin' — and unlike most such claims this one is load-bearing: the model adapter, the tool registry, the session log and the agent loop are all replaceable from a YAML patch file. This page covers the three facts that matter to a Claude user (it runs your existing Claude Code hooks.json, it speaks anthropic-messages, and run_code is codemode by default), the three-mode sandbox and the kernel primitives behind it, the append-only session log invariant, and the config override that silently deletes your other providers.

Strata: a 125B MoE at 94 tok/s on a 12 GB Card — and the Exact Bill

Strata runs Qwen3.8-Flash-Next (125B, 6B active) on a 12 GB gaming GPU at interactive speed. This page explains the three architecture facts that make it possible, reads the benchmark table honestly, and prices the quality you give up: 91.3% of SWE-bench Verified against 98.7% of LiveCodeBench, a KV-cache setting that passes needle tests while losing 8-12% perplexity, a speed mode that strips refusal directions, and a measured vision regression on identical weights.

DwarfStar (ds4) and the Rise of Overfit Inference Engines

ds4 is a 23.6k-star, pure-C engine from the creator of Redis that runs DeepSeek V4 Flash, GLM 5.x and Qwen3.8-Flash-Next locally — and refuses to run anything else. This page explains the three mechanisms a general runtime will not give you (asymmetric routed-expert quantization, bounded expert streaming from SSD, KV snapshots that survive a restart), reads its own numbers honestly — the 126 t/s headline is an eight-GPU aggregate across 16 sessions, not your Mac — and prices the real cost of the overfit bet: deliberately disposable model support, 761 open issues, and a main branch that last moved on 20 September 2026.

Whistle: Speech-to-Text in 16.9 MB — and the Benchmark Bars Nobody Labelled

Cactus Compute's Whistle fits a multilingual ASR model in 16.9 MB and hits 11.1 ms to first token on a CPU. The size claim is real. This page reads the vendor's own benchmark chart bar by bar — including the three competitor columns it declines to label — and finds the pattern that explains every field complaint: Whistle wins on close-mic single-speaker audio and is the worst of the three on real meeting audio, 4.6 WER points behind a model 8.6x its size. Plus the 30-second architectural wall, the streaming API the launch thread missed, and the one knob that took a tester from 70/170 to 164/170.

DeepInfer: DeepSeek's Own Inference Engine, Read Honestly

On 20 October 2026 DeepSeek open-sourced DeepInfer, the engine behind its production service — 16.3k stars in a day, 2,251 points on Hacker News. This page covers the four things the headlines missed: it is a vLLM fork, not a from-scratch engine; 'NVIDIA SM100' excludes every H100 and every consumer GPU you own; its decode throughput is published under full-acceptance accounting, which counts drafted tokens whether or not they were accepted; and its genuinely important feature — batch-invariant inference — is mutually exclusive with its own speculative decoder.

The Third-Party Memory Layer: How claude-mem Actually Works

claude-mem has 103,000 GitHub stars and solves the complaint every coding-agent user has: the agent forgets everything when the session ends. Underneath, it is a second model running in a background daemon that reads every tool call you make — and on the hosted path its own cost dataset maps that observer to a DeepSeek model, not Claude. The six hooks, the exit-code contract that can block your session, the three-layer recall that makes the token math work, where the data lands, who pays for the compression, and a checklist for evaluating any memory layer before you install it.

Next​