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
Price shown before you run · One-time payment, no auto-renewal
We plan to move our database from MySQL to PostgreSQL with no site downtime. Outline the steps and the main risks, briefly.
Zero-Downtime MySQL → PostgreSQL Migration
Steps
-
Assess and plan
- Inventory schemas, data types, stored procedures, triggers, and MySQL-specific SQL (e.g.,
ON DUPLICATE KEY,GROUP BYleniency, backtick quoting,AUTO_INCREMENT, zero dates). - Choose tooling: pgloader for the initial load; AWS DMS, Debezium (CDC via binlog), or Striim for ongoing replication.
- Inventory schemas, data types, stored procedures, triggers, and MySQL-specific SQL (e.g.,
-
Convert the schema
- Map types:
TINYINT(1)→BOOLEAN,DATETIME→TIMESTAMP,AUTO_INCREMENT→IDENTITY/sequences,ENUM→CHECKor enum types,utf8mb4→UTF8. - Rewrite procedures, triggers, and views in PL/pgSQL.
- Map types:
-
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.
- Fix queries for Postgres semantics (case sensitivity, strict
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
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
| Days | Developer 1 | Developer 2 |
|---|---|---|
| 1–2 | A | C |
| 3–4 | B | C |
| 5 | B | (idle) |
| 6 | D | (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
-
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.
-
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.
-
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.
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
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
The Claude family
Four Anthropic models: pick by task difficulty and price
How to use Claude Opus 5.5
- 1Write a questionA task, text or code. Attach a file or a photo if needed
- 2Check the priceThe request price is on the button before you send
- 3Get the answerAsk to rewrite, refine or keep the conversation going
Which one to pick
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
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
Try Claude Opus 5.5
Try for free

