Skip to content
Anthropic

Claude Opus 5.5Careful reasoning

Anthropic's flagship for hard problems: thought-through plans, large projects, long documents. Up to 1 million tokens of context

Claude Opus 5.5

Price shown before you run · One-time payment, no auto-renewal

Claude Opus 5.5

We plan to move our database from MySQL to PostgreSQL with no site downtime. Outline the steps and the main risks, briefly.

Reasons before answering

Zero-Downtime MySQL → PostgreSQL Migration

Steps

  1. Assess and plan

    • Inventory schemas, data types, stored procedures, triggers, and MySQL-specific SQL (e.g., ON DUPLICATE KEY, GROUP BY leniency, backtick quoting, AUTO_INCREMENT, zero dates).
    • Choose tooling: pgloader for the initial load; AWS DMS, Debezium (CDC via binlog), or Striim for ongoing replication.
  2. Convert the schema

    • Map types: TINYINT(1)→BOOLEAN, DATETIME→TIMESTAMP, AUTO_INCREMENT→IDENTITY/sequences, ENUM→CHECK or enum types, utf8mb4→UTF8.
    • Rewrite procedures, triggers, and views in PL/pgSQL.
  3. Make the app database-agnostic

    • Fix queries for Postgres semantics (case sensitivity, strict GROUP BY, LIMIT x,y, IFNULL→COALESCE).
    • Run the test suite against Postgres in CI.
Message Claude Opus 5.5...

What Opus can do

  • 1MContext tokens: long chats and big files
  • PDFReads documents
  • PhotosUnderstands images and screenshots
  • SearchWeb search on a toggle
  • ≈ 3.1 tokensPrice of one run

Thinks before it answers

A scheduling puzzle and a large-codebase cleanup

Reasoning

Tasks: A takes 2 days, B takes 3 days and only after A, C takes 4 days, D takes 1 day after B and C. There are two developers. What is the fastest finish and how should the work be split? Explain your reasoning briefly.

Fastest finish: 6 days

Schedule

DaysDeveloper 1Developer 2
1–2AC
3–4BC
5B(idle)
6D(idle)
  • Developer 1: A (days 1–2), then B (days 3–5), then D (day 6)
  • Developer 2: C (days 1–4), then free

Reasoning

  1. Find the longest dependency chain. A → B → D must happen in sequence and takes 2 + 3 + 1 = 6 days. No number of developers can shorten it, so 6 days is the minimum possible.

  2. Run independent work in parallel. C has no prerequisites, so it can start on day 1 alongside A. It takes 4 days and finishes before B does at the end of day 5, so it never delays D.

  3. Check the other limit. The total work is 10 developer-days, so two developers need at least 5 days. The 6-day chain is the stricter limit.

Ask the same
Large codebase

Our project has a 3,000-line utils.js that every module imports. How do we split it safely? A step-by-step plan.

Splitting a Shared 3,000-Line utils.js Safely

The core strategy is to keep the old import path working the whole time. You turn utils.js into a re-export "barrel," move code out in small behavior-free steps, then migrate consumers gradually. Nothing breaks at any point, and every step is independently revertible.


Phase 0: Build a Safety Net

Ask the same

Contracts and reports

  • Upload a PDF or a document - the model reads it and answers from the text
  • A short summary, key numbers and dates
  • Compares two versions and shows what changed
  • Try Claude Opus 5.5

How to use Claude Opus 5.5

  1. 1Write a questionA task, text or code. Attach a file or a photo if needed
  2. 2Check the priceThe request price is on the button before you send
  3. 3Get the answerAsk to rewrite, refine or keep the conversation going

How much it costs

per typical answer (1,500 input and 700 output model tokens)
≈ 3.1 tokens

The exact price is on the button before you run it

Try Claude Opus 5.5

Questions about Claude Opus 5.5

When is Opus 5.5 a better fit than Sonnet 5.5?

When a task requires complex reasoning and sequential changes across several parts of a large project. For a single feature or localized bug, Sonnet is usually worth considering first.

Can I give Opus architecture documents?

Yes. The model reads files and PDFs, understands images, and supports up to 1,000,000 tokens of context. Specify which requirements are mandatory and which documents describe the project's current state.

Helpful guides

Guides and explainers from our blog

All articles
All articles

Try Claude Opus 5.5

Try for free