---
title: "Building with Claude Sonnet 5.5"
description: "Claude Sonnet 5.5 keeps Sonnet 5's per-token pricing ($2/$10 per million input/output tokens) and runs about 30% faster while using fewer tokens per task."
url: "https://swe.quest/articles/building-with-claude-sonnet-5-5-a71d8c5a25ced5ac"
canonical: "https://claude.dev/blog/building-with-claude-sonnet-5-5/"
source: "claude.dev"
published: "2026-09-28"
difficulty: "medium"
kind: "How-to"
reading_minutes: 11
tags: ["llms","api-design","ai-agents","ai-coding"]
---

# Building with Claude Sonnet 5.5

A post on [claude.dev](https://swe.quest/sources/claude-dev.md), published 2026-09-28, 11 min read, How-to. Original: [https://claude.dev/blog/building-with-claude-sonnet-5-5/](https://claude.dev/blog/building-with-claude-sonnet-5-5/)

## Summary

Claude Sonnet 5.5 keeps Sonnet 5's per-token pricing ($2/$10 per million input/output tokens) and runs about 30% faster while using fewer tokens per task. It targets well-scoped coding, documents and repeatable agent tasks, with Opus 5.5 reserved for long-horizon work that needs careful judgment. Migrating from Sonnet 5 involves several breaking API changes: thinking is on by default and \`disabled\` returns a 400 error (use \`between\_tools\` instead), forced \`tool\_choice\` is replaced by \`auto\` plus strict tools, computer use moves to a new toolset type, and advisor pairings are restricted. Tuning advice: re-run effort sweeps because effort levels were recalibrated, set max\_tokens to 128k for agentic coding, remove old prompt workarounds, and take advantage of the lower 512-token cache minimum.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- Claude Messages API
- LLM tool use ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- prompt caching ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))

## Keywords

Claude Sonnet 5.5, Claude Opus 5.5, Claude API, Claude Code, adaptive thinking, Amazon Bedrock

## Related posts

- [Which Claude model should you build with? Fable, Opus, Sonnet, or Haiku](https://swe.quest/articles/which-claude-model-should-you-build-with-fable-opus-sonnet-or-haiku-6c6ec0a3b89623a4.md): claude.dev · 2026-11-09 · Medium · 17 min read · LLMs, AI for coding, AI agents, Cost optimization
  Opus 5.5 at medium effort is the recommended starting point for most coding and knowledge work.
- [Introducing advanced tool use for Claude](https://swe.quest/articles/introducing-advanced-tool-use-for-claude-32d8b50cd1a805ad.md): Anthropic Engineering · 2025-11-24 · Medium · 15 min read · AI agents, LLMs, API design
  Claude's API gains three tool-use features aimed at agents working with large tool libraries: Tool Search Tool, Programmatic Tool Calling and Tool Use Examples.
- [We Got Claude to Build CUDA Kernels and teach open models!](https://swe.quest/articles/we-got-claude-to-build-cuda-kernels-and-teach-open-models-729005bab002af9e.md): Hugging Face · 2026-01-28 · Medium · 13 min read · AI agents, AI for coding, Evaluation, LLMs
  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.
- [Designing the hf CLI as an agent-optimized way to work with the Hub](https://swe.quest/articles/designing-the-hf-cli-as-an-agent-optimized-way-to-work-with-the-hub-e1ef73909553085b.md): Hugging Face · 2026-06-04 · Medium · 14 min read · Developer tools, AI agents, AI for coding, Evaluation
  Hugging Face rebuilt its hf CLI to serve both humans and coding agents.
- [The Multi-Model Playbook](https://swe.quest/articles/the-multi-model-playbook-1f23a70284b23c2b.md): Benchling Engineering · 2026-01-16 · Medium · 7 min read · LLMs, AI agents, AI for coding, System design
  Production LLM agents that run across multiple providers (Claude, GPT, Gemini, Llama, Nova) work best when tasks are decomposed into either small complex subtasks or large simple ones.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
