Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

claude.dev 17 min read How-to mediumAdept

Which Claude model should you build with? Fable, Opus, Sonnet, or Haiku

Opus 5.5 at medium effort is the recommended starting point for most coding and knowledge work. From there, drop to Sonnet 5.5 for well-scoped tasks, drop to Haiku 5.5 for high-volume classification, extraction and subagent work, or move up to Fable 5.2 for major migrations, research and long unattended runs. Adjust effort before switching models, add self-verification first, and price your hardest tasks: Opus 5.5 at low with failures re-run at high passed about 97% of SWE-bench Pro tasks for about $0.17 each, versus 95.3% at $0.29 when every task ran at high. Practical mechanics include cache-write costs when switching models, which thinking blocks each model can read, routing subagents to Haiku via Claude Code config, and the advisor tool beta.

Assumes: LLM API usageprompt caching basicsClaude Code subagents

Related posts

  • We Got Claude to Build CUDA Kernels and teach open models!

    Hugging Face mediumAdept

    upskill is a CLI that uses a strong teacher model (Claude Opus 4.5) to turn an agent trace into a portable Agent Skill (SKILL.md), auto-generates test cases, and measures skill lift on cheaper or local student models with and without the skill. Applied to building CUDA kernels with Hugging Face's kernel-builder, a ~520-token skill raised a quantized local GLM-4.7-Flash from 40% to 85% on the generated tests. The gains were not uniform across models. Some models used fewer tokens with the skill, while Opus gained no accuracy and spent more tokens, so each model should be evaluated on both accuracy and token cost before a skill is adopted.

  • The Open Source AI Stack

    Together AI easyNovice

    Adopting open models for agentic coding is framed as a five-layer "MIGHT" stack: model, inference provider, gateways/routers, harness and tools (skills and MCP), with each layer swappable independently so new models can be tried in minutes. Large MoE models like Kimi K3 suit ambiguous multi-step work such as refactors and debugging, while small models like GLM 5.3 Flash are roughly 20x cheaper and match them on tightly scoped tasks. Gateways such as OpenRouter, Vercel AI Gateway and LiteLLM route across providers, and harnesses like OpenCode or Amp execute the tool calls the model requests. The practical advice is to treat model choice as tool selection and to start fresh sessions often to keep context clean.

  • Sourcegraph MCP server and a cheaper model beat a Mythos-class model alone

    Sourcegraph easyNovice

    On nine discovery-heavy CodeScaleBench tasks, Claude Sonnet 4.6 using the Sourcegraph MCP server with no source on disk scored a mean reward of 0.698, beating Claude Fable 5 with a full local checkout (0.568) and winning six of nine tasks at $1.02 versus $1.83 per quality point. The gap concentrates on cross-repository discovery such as vulnerability tracing and cross-organization dependency following, while tasks both setups already solve tie and Fable won one cross-org task. The sample is small because Fable 5 access was restricted shortly after release, so it is an early signal: cheaper models with good code retrieval can outperform frontier models on navigation-heavy agent work.

  • CoderForge-Preview: SOTA open dataset for training efficient coding agents

    Together AI hardMaster

    CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench. The trajectories were generated with Qwen3-Coder-480B in OpenHands Docker environments, filtered by rejection sampling and permissive-license audits, and cost about $130K to produce at a ~90% prompt cache hit rate. Fine-tuning Qwen3-32B on the passing trajectories, using Ulysses sequence parallelism, multipacking and token-level loss normalization at 128K context, reaches 59.4% pass@1 on SWE-Bench Verified, and a 4B model reaches 43.0%. Ablations show a repetition penalty helps only early checkpoints, so later checkpoints should be run without one.

  • Is it agentic enough? Benchmarking open models on your own tooling

    Hugging Face mediumAdept

    A benchmarking harness measures not just whether a coding agent solves a task with a library, but how much work it took: turns, tokens, time, errors, and behavior "markers" such as whether it used a CLI or the pipeline API. Using transformers as the case study, open models driven by the pi coding agent run across models × revisions × tasks × three tiers (bare install, cloned source, packaged Skill), with each run on Hugging Face Jobs. Adding a CLI and Skill cut time for large models like Kimi-K2.6, GLM-5.1 and MiniMax-M2.7. In the clone tier it raised median input tokens from about 4k to 6.4k, because agents read the new CLI code. Small models such as Qwen3-4B sometimes did worse, since they lean on memorized API patterns, so library changes aimed at agents should be measured against the models expected to use them.

The quest for software engineering knowledge.

Look:
Layout: