Skip to contentমূল লেখায় যান

Part 02পর্ব 02 · Getting Started

Claude Models

Pick the model and the effort level that fit each testing task. A quick test-data fix and a deep root-cause analysis do not need the same model, and the model IDs in your agents and pipelines must stay current.

10 min read10 মিনিটে পড়া যায় · 8 sections8টি সেকশন · 8 sources8টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Pick a model, see the billমডেল বেছে নিন, বিল দেখুন

Slide the task size and compare the cost across four models, then raise the effort.কাজের আকার স্লাইড করুন, চারটি মডেলের খরচ তুলনা করুন, তারপর এফোর্ট বাড়ান।

2 min2 মিনিট7 steps7টি ধাপ
  • Windowউইন্ডো1M tok
  • Sonnet / MTokSonnet দাম / MTok$2 / $10
1M tokens · all four1M টোকেন · সবাইFableFable5.25.2OpusOpus5.55.5SonnetSonnet5.55.5HaikuHaiku5.55.5

You’ll learnআপনি শিখবেন

  • What each model costs per MTokপ্রতিটি মডেলের প্রতি MTok-এর দাম
  • How task size sets the billকাজের আকার কীভাবে বিল ঠিক করে
  • Why a model choice scales every billমডেল বাছাই কেন প্রতিটি বিল বদলে দেয়
  • Which model fits which jobকোন মডেল কোন কাজের জন্য
  • What high and max effort dohigh ও max এফোর্ট কী করে

The current lineup

The current lineup has four models. Source 1সোর্স 1

ModelAPI IDWhat the docs say it is forLatencyPrice per MTok (input / output)
Claude Fable 5.2claude-fable-5-2"For demanding reasoning and long-horizon agentic work"Moderate$8 / $40 Source 1সোর্স 1
Claude Opus 5.5claude-opus-5-5"For long-running agentic coding and knowledge work"Moderate$4 / $20 Source 1সোর্স 1
Claude Sonnet 5.5claude-sonnet-5-5"The best combination of speed and intelligence"Fast$2 / $10 Source 1সোর্স 1
Claude Haiku 5.5claude-haiku-5-5"For high-volume, latency-sensitive tasks such as classification, extraction, and routing"Fastestfrom $0.10 / from $0.50 Source 1সোর্স 1

All four models have a 1M-token context window, a 128K-token maximum output, and a reliable knowledge cutoff of Jun 2026. Source 1সোর্স 1 Actual latency depends on prompt length, output length, and thinking effort. Source 1সোর্স 1

Every Claude model ID is a pinned snapshot, including the dateless IDs used from the 4.6 generation on. Source 1সোর্স 1

Price details

These are Claude API prices. Source 2সোর্স 2

Tokens and words

On the current tokenizer (introduced with Claude Opus 4.7), 1M tokens is roughly 555k words. Models before it fit about 750k words in 1M tokens. Source 1সোর্স 1 The newer tokenizer produces approximately 30% more tokens for the same text. Source 2সোর্স 2

Common mistake: the old 0.75 words-per-token rule

On current models, one token is about 0.55 words, not 0.75. If you estimate cost from word counts with the old rule, your estimate is too low. Source 1সোর্স 1

To see what a session uses, run /context to visualize current context usage. Source 3সোর্স 3 Run /usage to show session cost, plan usage limits, and activity stats. Source 3সোর্স 3

সহজ English

Claude has four current models. Source 1সোর্স 1

  • Claude Fable 5.2 (claude-fable-5-2) is for demanding reasoning and long agentic work. Its speed is moderate. It costs $8 for each million input tokens and $40 for each million output tokens.
  • Claude Opus 5.5 (claude-opus-5-5) is for long-running agentic coding and knowledge work. Its speed is moderate. It costs $4 / $20.
  • Claude Sonnet 5.5 (claude-sonnet-5-5) gives the best mix of speed and intelligence. It is fast. It costs $2 / $10.
  • Claude Haiku 5.5 (claude-haiku-5-5) is the fastest. It is for high-volume tasks that must be quick, such as classification, extraction, and routing. It costs from $0.10 / from $0.50.

All four models can read 1M tokens at one time and write up to 128K tokens. Their knowledge cutoff is Jun 2026. Source 1সোর্স 1 Batch API requests cost 50% less. Source 1সোর্স 1

On current models, one token is about 0.55 words, not 0.75. If you use the old rule, your cost estimate is too low. Source 1সোর্স 1

To see what a session uses, run /context and /usage. Source 3সোর্স 3

বাংলা ব্যাখ্যা

এখন Claude-এর চারটি model আছে। Source 1সোর্স 1

  • Claude Fable 5.2 (claude-fable-5-2): কঠিন reasoning এবং long-horizon agentic কাজের জন্য। গতি মাঝারি। দাম প্রতি MTok-এ input $8, output $40।
  • Claude Opus 5.5 (claude-opus-5-5): দীর্ঘ সময় চলা agentic coding এবং knowledge work-এর জন্য। গতি মাঝারি। দাম $4 / $20।
  • Claude Sonnet 5.5 (claude-sonnet-5-5): speed এবং intelligence-এর সবচেয়ে ভালো মিশ্রণ। গতি দ্রুত। দাম $2 / $10।
  • Claude Haiku 5.5 (claude-haiku-5-5): সবচেয়ে দ্রুত। বেশি পরিমাণের এবং latency-sensitive কাজের জন্য, যেমন classification, extraction এবং routing। দাম input-এ $0.10 থেকে, output-এ $0.50 থেকে।

চারটি model-এরই 1M-token context window, সর্বোচ্চ 128K-token output এবং Jun 2026-এর knowledge cutoff আছে। Source 1সোর্স 1 প্রতিটি Claude model ID একটি pinned snapshot। Source 1সোর্স 1 Batch API request-এ 50% ছাড়। Source 1সোর্স 1

এখনকার model-এ এক token মোটামুটি 0.55 শব্দ, 0.75 নয়। পুরোনো নিয়মে word count থেকে হিসাব করলে আপনার cost estimate কম আসবে। Source 1সোর্স 1

একটি session কতটা ব্যবহার করছে দেখতে /context এবং /usage চালান। Source 3সোর্স 3

Retired and deprecated models

The model IDs from older versions of this tutorial are retired on the Claude API:

Model IDRetired onReplacement named in the docs
claude-opus-4-20250514June 15, 2026claude-opus-4-8 Source 4সোর্স 4
claude-sonnet-4-20250514June 15, 2026claude-sonnet-5-5 Source 4সোর্স 4
claude-3-haiku-20240307April 20, 2026claude-haiku-4-5-20251001 Source 4সোর্স 4
claude-opus-4-1-20250805August 5, 2026claude-opus-4-8 Source 4সোর্স 4

Earlier retirements. Claude 3.5 Haiku and Claude 3.7 Sonnet retired on February 19, 2026. Source 4সোর্স 4

Deprecated. Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) is deprecated. It retires on November 30, 2026, and its replacement is claude-sonnet-5-5. Source 4সোর্স 4

Deprecated. Claude Opus 4.5 (claude-opus-4-5-20251101) is deprecated. It retires on January 22, 2027, and its replacement is claude-opus-5-5. Source 4সোর্স 4

Model states. A model moves through four states: Active, Legacy, Deprecated, and Retired. Anthropic gives at least 60 days' notice before it retires a publicly released model. Source 4সোর্স 4

Older models. The Models overview still lists older models, including Claude Fable 5.1, Claude Fable 5, Claude Opus 5, Claude Opus 4.8, and Claude Haiku 4.5. Source 1সোর্স 1 Check the state of each model in the model status table. Source 4সোর্স 4

For the four current models, Anthropic commits to no retirement before these dates: Source 1সোর্স 1

  • Fable 5.2: November 9, 2027
  • Opus 5.5: September 22, 2027
  • Sonnet 5.5: September 28, 2027
  • Haiku 5.5: October 7, 2027

QA tip: search for old IDs

Search your agent files, scripts, and CI configs for claude-opus-4, claude-sonnet-4, and claude-3-. Replace each retired ID with a current one or with an alias.

সহজ English

Some model IDs from older versions of this tutorial are retired on the Claude API. A retired model is one that Anthropic no longer offers. Source 4সোর্স 4

Here is each retired ID, with its date and its replacement:

claude-sonnet-4-5-20250929 is deprecated. It retires on November 30, 2026. Use claude-sonnet-5-5 instead. Source 4সোর্স 4

A model moves through four states: Active, Legacy, Deprecated, and Retired. Source 4সোর্স 4

Anthropic gives at least 60 days' notice before it retires a publicly released model. Source 4সোর্স 4

Anthropic also promises that the four current models will not retire before dates between September and November 2027. Source 1সোর্স 1

A check you can do

Search your agent files, scripts, and CI configs for these three strings:

  • claude-opus-4
  • claude-sonnet-4
  • claude-3-

Replace each retired ID with a current ID or with an alias. An alias is a short name like opus.

বাংলা ব্যাখ্যা

এই tutorial-এর পুরোনো version-গুলোর কিছু model ID এখন Claude API-তে retired: Source 4সোর্স 4

  • claude-opus-4-20250514 June 15, 2026-এ retired হয়েছে। Docs-এ এর replacement claude-opus-4-8।
  • claude-sonnet-4-20250514 June 15, 2026-এ retired হয়েছে। Replacement claude-sonnet-5-5।
  • claude-3-haiku-20240307 April 20, 2026-এ retired হয়েছে। Replacement claude-haiku-4-5-20251001।
  • claude-opus-4-1-20250805 August 5, 2026-এ retired হয়েছে। Replacement claude-opus-4-8।

Claude 3.5 Haiku এবং Claude 3.7 Sonnet February 19, 2026-এ retired হয়েছে। Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) deprecated। এটি November 30, 2026-এ retire হবে, এবং এর replacement claude-sonnet-5-5। Source 4সোর্স 4

একটি model চারটি অবস্থার মধ্য দিয়ে যায়: Active, Legacy, Deprecated এবং Retired। Publicly release করা কোনো model retire করার আগে Anthropic কমপক্ষে 60 দিনের notice দেয়। Source 4সোর্স 4 এখনকার চারটি model-এর জন্য Anthropic কথা দিয়েছে যে এগুলো এই তারিখের আগে retire হবে না: Fable 5.2 November 9, 2027; Opus 5.5 September 22, 2027; Sonnet 5.5 September 28, 2027; Haiku 5.5 October 7, 2027। Source 1সোর্স 1

আপনার agent file, script এবং CI config-এ claude-opus-4, claude-sonnet-4 এবং claude-3- খুঁজুন। প্রতিটি retired ID একটি current ID অথবা একটি alias দিয়ে বদলে দিন।

Model aliases in Claude Code

In Claude Code, you can select a model with an alias instead of a full ID. Source 5সোর্স 5

AliasWhat it selects
fableThe Fable model for your provider, for your hardest and longest-running tasks Source 5সোর্স 5
opusThe latest Opus model for complex reasoning tasks Source 5সোর্স 5
sonnetThe latest Sonnet model for daily coding tasks Source 5সোর্স 5
haikuThe fast and efficient Haiku model for simple tasks Source 5সোর্স 5
bestThe same model as opus Source 5সোর্স 5
opusplanopus in plan mode, then sonnet for code generation and implementation Source 5সোর্স 5
defaultNot a model alias. It clears any model override and goes back to the runtime default for your account. Source 5সোর্স 5
sonnet[1m], opus[1m]The [1m] variants of the aliases Source 5সোর্স 5

What the aliases resolve to depends on the provider: Source 5সোর্স 5

Provideropussonnethaiku
Anthropic APIOpus 5.5Sonnet 5.5Haiku 5.5 Source 5সোর্স 5
Claude Platform on AWSOpus 5.5Sonnet 4.6Haiku 4.5 Source 5সোর্স 5
Amazon Bedrock, Google Cloud's Agent PlatformOpus 5.5Sonnet 4.5Haiku 4.5 Source 5সোর্স 5
Microsoft FoundryOpus 4.6Sonnet 4.5Haiku 4.5 Source 5সোর্স 5

Fable. Unless you set ANTHROPIC_DEFAULT_FABLE_MODEL, fable resolves to Fable 5.2 everywhere except Claude apps gateway sessions, where it resolves to Fable 5. In a gateway that serves it, select Fable 5.2 with /model claude-fable-5-2. Source 5সোর্স 5

Updates. Aliases point to the recommended version for your provider and update over time. Source 5সোর্স 5

The 1M window. Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later run with the 1M window by default, with no [1m] suffix needed. Set CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to remove the [1m] variants. Source 5সোর্স 5

inherit is not a session alias

inherit is a value for the model field of a subagent. It means "use the same model as the main conversation". Source 6সোর্স 6 It is not one of the session aliases in the table above. See Models in subagents.

সহজ English

In Claude Code, you can select a model with a short name (an alias) instead of a full ID. Source 5সোর্স 5

  • fable, opus, sonnet, and haiku select a model of that family. opus and sonnet select the latest model of the family.
  • best selects the same model as opus.
  • opusplan uses opus in plan mode, then sonnet to generate and implement the code.
  • default is not a model alias. It clears your model choice and goes back to the default for your account.

The model that an alias selects depends on your provider. For example, on the Anthropic API, sonnet is Sonnet 5.5. On Microsoft Foundry, it is Sonnet 4.5. Aliases update over time. Source 5সোর্স 5

Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later use the 1M window by default. Source 5সোর্স 5

inherit is not a session alias. It is a value for the model field of a subagent. It tells the subagent to use the same model as the main conversation. Source 6সোর্স 6

বাংলা ব্যাখ্যা

Claude Code-এ পুরো model ID-এর বদলে একটি alias দিয়ে model বেছে নিতে পারেন। Source 5সোর্স 5

  • fable, opus, sonnet এবং haiku সেই family-র model বেছে নেয়। opus এবং sonnet সেই family-র latest model দেয়।
  • best opus-এর একই model বেছে নেয়।
  • opusplan plan mode-এ opus এবং code generation ও implementation-এর জন্য sonnet ব্যবহার করে।
  • default কোনো model alias নয়। এটি যেকোনো model override মুছে আপনার account-এর runtime default-এ ফিরে যায়।
  • sonnet[1m] এবং opus[1m] হলো alias-গুলোর [1m] variant।

কোন alias কোন model দেয় তা provider-এর ওপর নির্ভর করে। যেমন, Anthropic API-তে sonnet মানে Sonnet 5.5, কিন্তু Microsoft Foundry-তে Sonnet 4.5। Alias-গুলো সময়ের সঙ্গে update হয়। Source 5সোর্স 5

Fable model, Sonnet 5 ও তার পরের, Haiku 5.5, এবং Opus 4.7 ও তার পরের model default-ভাবে 1M window-এ চলে, [1m] suffix লাগে না। [1m] variant-গুলো সরাতে CLAUDE_CODE_DISABLE_1M_CONTEXT=1 set করুন। Source 5সোর্স 5

inherit কোনো session alias নয়। এটি subagent-এর model field-এর একটি value, যার মানে "main conversation-এর একই model ব্যবহার করো"। Source 6সোর্স 6

Which model you get by default

Account or providerDefault model
Pro, Max, Team, Enterprise, and Anthropic APIOpus 5.5 Source 5সোর্স 5
Amazon Bedrock, Google Cloud's Agent Platform, Claude Platform on AWSOpus 5.5 Source 5সোর্স 5
Microsoft FoundrySonnet 4.5 Source 5সোর্স 5

No Fable model is the default on any plan or provider. To use Fable 5.2, select it with /model fable or claude --model fable. Source 5সোর্স 5 Fable 5.2 needs Claude Code v2.1.321 or later. Run claude update to upgrade. Source 5সোর্স 5 To use Fable 5.1, select it by ID, for example /model claude-fable-5-1. It needs v2.1.257 or later. Source 5সোর্স 5

Depending on the plan and seat tier, Fable usage can bill to usage credits. In that case, the /model picker shows "Requires usage credits" on the Fable row. Source 5সোর্স 5

সহজ English

Most accounts and providers use Opus 5.5 by default. This includes Pro, Max, Team, Enterprise, the Anthropic API, Amazon Bedrock, Google Cloud's Agent Platform, and Claude Platform on AWS. Microsoft Foundry uses Sonnet 4.5. Source 5সোর্স 5

No plan or provider uses a Fable model by default. To use Fable 5.2, run /model fable or claude --model fable. Fable 5.2 needs Claude Code v2.1.321 or later. Run claude update to upgrade. To use Fable 5.1, run /model claude-fable-5-1. It needs v2.1.257 or later. Source 5সোর্স 5

On some plans and seat tiers, Fable usage can bill to usage credits. Then the /model picker shows "Requires usage credits" on the Fable row. Source 5সোর্স 5

বাংলা ব্যাখ্যা

বেশিরভাগ account ও provider-এ default model হলো Opus 5.5: Pro, Max, Team, Enterprise, Anthropic API, Amazon Bedrock, Google Cloud-এর Agent Platform এবং Claude Platform on AWS। Microsoft Foundry-তে default হলো Sonnet 4.5। Source 5সোর্স 5

কোনো plan বা provider-এ কোনো Fable model default নয়। Fable 5.2 ব্যবহার করতে /model fable অথবা claude --model fable দিয়ে বেছে নিন। Fable 5.2-এর জন্য Claude Code v2.1.321 বা তার পরের version লাগবে। Upgrade করতে claude update চালান। Fable 5.1 ব্যবহার করতে /model claude-fable-5-1 দিন; এর জন্য v2.1.257 বা তার পরের version লাগবে। Source 5সোর্স 5

Plan এবং seat tier অনুযায়ী Fable usage usage credits-এ bill হতে পারে। তখন /model picker-এ Fable row-তে "Requires usage credits" দেখায়। Source 5সোর্স 5

Choose a model

In a session

Run /model with an alias or a full name to switch. Run /model alone to open a picker. Source 5সোর্স 5

/model sonnet

In the picker, Enter switches the model and saves it as your default for new sessions. s switches the model for this session only. Source 5সোর্স 5

At startup

The --model flag and the ANTHROPIC_MODEL environment variable apply only to the session you start with them. Source 5সোর্স 5

claude --model opus
claude --model claude-sonnet-5-5

In settings

Set the model field in a settings file: Source 5সোর্স 5

{
  "model": "opus"
}

When more than one place sets a model, Claude Code uses this order (first wins): Source 5সোর্স 5

  1. /model in the session
  2. --model at startup
  3. ANTHROPIC_MODEL
  4. The model field in settings
  5. ANTHROPIC_DEFAULT_MODEL (needs Claude Code v2.1.236 or later)

To see the current model, look at the status line or run /status, which also shows your account information. Source 5সোর্স 5

Pin a model and add a fallback

To pin a version, use a full model name such as claude-opus-5-5, or set the matching ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, or ANTHROPIC_DEFAULT_FABLE_MODEL variable. CLAUDE_CODE_SUBAGENT_MODEL sets the default model for subagents. Source 5সোর্স 5

--fallback-model switches to another model when the primary model is overloaded or not available. It accepts a comma-separated list. Source 7সোর্স 7

claude --fallback-model sonnet,haiku

Suggestion: pin a full model ID in CI

This is the tutorial's suggestion, not a rule from the docs. Aliases update over time Source 5সোর্স 5, so a CI job that uses opus can change model without a change in your repo. In CI, pin a full model ID such as claude-opus-5-5. Then a change in test-analysis output comes from your code, not from a new model.

সহজ English

A "model" is the Claude version that does the work for you. You can pick it in three places. Source 5সোর্স 5

In a session

At startup

In settings

Set the model field in a settings file. For example, "model": "opus". Source 5সোর্স 5

Sometimes more than one place sets a model. Then the first one in this list wins: Source 5সোর্স 5

  1. /model in the session
  2. --model at startup
  3. ANTHROPIC_MODEL
  4. The model field in settings
  5. ANTHROPIC_DEFAULT_MODEL (needs Claude Code v2.1.236 or later)

To see the current model, look at the status line. You can also run /status. Source 5সোর্স 5

Stick to one version

To keep one exact version, use a full model name. An example is claude-opus-5-5. Source 5সোর্স 5

A backup model

Sometimes the main model is overloaded or not available. Then --fallback-model switches to another model. Source 7সোর্স 7

You can give it a list, with commas between the names. For example, claude --fallback-model sonnet,haiku. Source 7সোর্স 7

A tip from the tutorial

This tip is the tutorial's own. It is not a rule from the docs.

  • Short names like opus update over time. Source 5সোর্স 5
  • So a CI job that uses opus can change model, even when nothing in your repo changed.
  • In CI, use a full model ID such as claude-opus-5-5.
  • Then a change in test-analysis output comes from your code, not from a new model.

বাংলা ব্যাখ্যা

তিন জায়গা থেকে model বেছে নিতে পারেন: Source 5সোর্স 5

  • Session-এ: /model sonnet-এর মতো alias বা পুরো নাম দিয়ে /model চালান। শুধু /model চালালে একটি picker খোলে। Picker-এ Enter model বদলায় এবং নতুন session-এর default হিসেবে save করে। s শুধু এই session-এর জন্য বদলায়।
  • Startup-এ: claude --model opus বা ANTHROPIC_MODEL environment variable শুধু সেই session-এ কাজ করে।
  • Settings-এ: settings file-এ model field set করুন, যেমন "model": "opus"।

একাধিক জায়গায় model set থাকলে এই ক্রমে প্রথমটি জেতে: /model, --model, ANTHROPIC_MODEL, settings-এর model field, তারপর ANTHROPIC_DEFAULT_MODEL (এর জন্য Claude Code v2.1.236 বা তার পরের version লাগে)। Current model দেখতে status line দেখুন অথবা /status চালান। Source 5সোর্স 5

একটি version pin করতে claude-opus-5-5-এর মতো পুরো model name ব্যবহার করুন, অথবা মিলিয়ে ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL বা ANTHROPIC_DEFAULT_FABLE_MODEL set করুন। CLAUDE_CODE_SUBAGENT_MODEL subagent-এর default model set করে। Source 5সোর্স 5 Primary model overloaded বা available না থাকলে --fallback-model অন্য model-এ switch করে। এটি comma দিয়ে আলাদা করা list নেয়, যেমন sonnet,haiku। Source 7সোর্স 7

এটি tutorial-এর পরামর্শ, docs-এর নিয়ম নয়: alias সময়ের সঙ্গে update হয় Source 5সোর্স 5, তাই CI-তে claude-opus-5-5-এর মতো পুরো model ID pin করুন। তাহলে test-analysis output-এর পরিবর্তন আপনার code থেকে আসবে, নতুন model থেকে নয়।

Effort levels

Each session also has an effort level. The levels you can use depend on the model.

ModelsEffort levels
Fable models, Opus 5.5, Sonnet 5.5, Haiku 5.5low, medium, high, xhigh, max Source 5সোর্স 5
Opus 4.6, Sonnet 4.6low, medium, high, max Source 5সোর্স 5

An unsupported level falls back: for example, xhigh runs as high on Opus 4.6. Source 5সোর্স 5

In Claude Code, the default effort is high on models that support effort. Source 5সোর্স 5 The exceptions are Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5, which default to medium, and Opus 4.7, which defaults to xhigh. Source 5সোর্স 5

Set the effort

claude --effort high

To get deeper reasoning for one prompt without a change to the session setting, use the word ultrathink in the prompt. Source 5সোর্স 5

Which effort to use

LevelGuidance from the docs
lowQuick exchanges that you review Source 5সোর্স 5
mediumThe default on Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 Source 5সোর্স 5
high"Work where verification matters or edge cases are likely" Source 5সোর্স 5
max"may show diminishing returns and is prone to overthinking, so test before adopting it broadly" Source 5সোর্স 5

The model guide says that tuning effort is often a better lever than switching models. Source 8সোর্স 8

Suggestion: effort for QA work

This is the tutorial's suggestion. Raise the effort to high for root-cause analysis and flaky-test triage, where edge cases matter. Keep low or medium for formatting, simple test data, and quick questions.

সহজ English

Each session also has an effort level. The levels you can use depend on the model. Source 5সোর্স 5

  • Fable models, Opus 5.5, Sonnet 5.5, and Haiku 5.5 have low, medium, high, xhigh, and max.
  • Opus 4.6 and Sonnet 4.6 have low, medium, high, and max.

A level that the model does not support falls back. For example, xhigh runs as high on Opus 4.6. Source 5সোর্স 5

On models that support effort, the default is high. But Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 use medium, and Opus 4.7 uses xhigh. Source 5সোর্স 5

To change the effort, use /effort, the left and right arrows in the /model picker, --effort <level>, CLAUDE_CODE_EFFORT_LEVEL, or effortLevel in settings. Source 5সোর্স 5 For deeper reasoning on one prompt only, put the word ultrathink in the prompt. Source 5সোর্স 5

The docs say that max can overthink, so test it first. Source 5সোর্স 5 The model guide says that a change of effort is often a better lever than a change of model. Source 8সোর্স 8

The tutorial suggests high for root-cause analysis and flaky-test triage. Use low or medium for formatting, simple test data, and quick questions.

বাংলা ব্যাখ্যা

প্রতিটি session-এর একটি effort level-ও আছে। কোন level ব্যবহার করা যাবে তা model-এর ওপর নির্ভর করে। Source 5সোর্স 5

  • Fable model, Opus 5.5, Sonnet 5.5, Haiku 5.5: low, medium, high, xhigh, max।
  • Opus 4.6, Sonnet 4.6: low, medium, high, max।

Unsupported level fall back করে, যেমন Opus 4.6-এ xhigh চলে high হিসেবে। Effort support করে এমন model-এ default হলো high। তবে Fable 5.2, Opus 5.5, Sonnet 5.5 ও Haiku 5.5-এর default medium, আর Opus 4.7-এর default xhigh। Source 5সোর্স 5

Effort বদলাতে /effort, /model picker-এর left ও right arrow, startup-এ --effort <level>, CLAUDE_CODE_EFFORT_LEVEL অথবা settings-এর effortLevel ব্যবহার করুন। max শুধু current session-এ কাজ করে, যদি না আপনি এটি CLAUDE_CODE_EFFORT_LEVEL দিয়ে set করেন। Source 5সোর্স 5 Session setting না বদলে একটি prompt-এ গভীর reasoning চাইলে prompt-এ ultrathink শব্দটি লিখুন। Source 5সোর্স 5

Docs অনুযায়ী high সেই কাজের জন্য, যেখানে verification জরুরি বা edge case থাকার সম্ভাবনা আছে। max-এ diminishing returns এবং overthinking হতে পারে, তাই বড় পরিসরে ব্যবহারের আগে test করুন। Source 5সোর্স 5 Model guide বলে, model বদলানোর চেয়ে effort tune করা প্রায়ই বেশি ভালো উপায়। Source 8সোর্স 8

Tutorial-এর পরামর্শ: root-cause analysis ও flaky-test triage-এ high দিন। Formatting, সহজ test data ও ছোট প্রশ্নে low বা medium রাখুন।

Models in subagents

The model field of a subagent accepts sonnet, opus, haiku, fable, a full model ID such as claude-opus-5-5, or inherit. Source 6সোর্স 6

Claude Code resolves the model of a subagent in this order: Source 6সোর্স 6

  1. The model passed for that one invocation
  2. The model field in the subagent definition
  3. CLAUDE_CODE_SUBAGENT_MODEL
  4. The model of the main conversation

When you switch with /model, the switch also reaches subagents that inherit the model of the main conversation. Source 5সোর্স 5

Example: a qa-agent that always uses Sonnet, and an sdet-agent that follows the main conversation.

---
name: qa-agent
description: Senior QA engineer. Finds bugs and designs test cases.
model: sonnet
---
---
name: sdet-agent
description: SDET. Traces code flow and finds the root cause of failures.
model: inherit
---

The Subagents page explains the other fields.

সহজ English

A subagent can have its own model. Its model field accepts sonnet, opus, haiku, fable, a full model ID such as claude-opus-5-5, or inherit. Source 6সোর্স 6

Claude Code picks the model of a subagent in this order: Source 6সোর্স 6

  1. The model given for that one invocation
  2. The model field in the subagent definition
  3. CLAUDE_CODE_SUBAGENT_MODEL
  4. The model of the main conversation

If you switch with /model, the switch also reaches the subagents that inherit the model of the main conversation. Source 5সোর্স 5

In the example, qa-agent always uses Sonnet. sdet-agent uses inherit, so it follows the main conversation.

বাংলা ব্যাখ্যা

Subagent-এর model field-এ sonnet, opus, haiku, fable, claude-opus-5-5-এর মতো পুরো model ID, অথবা inherit দেওয়া যায়। Source 6সোর্স 6

Claude Code এই ক্রমে subagent-এর model ঠিক করে: Source 6সোর্স 6

  1. সেই একটি invocation-এর জন্য দেওয়া model
  2. Subagent definition-এর model field
  3. CLAUDE_CODE_SUBAGENT_MODEL
  4. Main conversation-এর model

/model দিয়ে model বদলালে, যে subagent-গুলো main conversation-এর model inherit করে, সেগুলোতেও এই পরিবর্তন পৌঁছায়। Source 5সোর্স 5

উদাহরণে qa-agent সবসময় Sonnet ব্যবহার করে, আর sdet-agent (model: inherit) main conversation-কে অনুসরণ করে। অন্য field-গুলোর ব্যাখ্যা Subagents পেজে আছে।

Choose a model for QA tasks

The Anthropic model guide gives these starting points: Source 8সোর্স 8

The guide describes two ways to start: efficiency-first (begin with Haiku 5.5) or capability-first (begin with Opus 5.5). It also tells you to create benchmark tests for your own use case. Source 8সোর্স 8

Suggestion: starting models for QA tasks

The table below is the tutorial's suggestion, not Anthropic guidance. Use it as a starting point and check it with your own tests.

QA taskStarting modelWhy
Requirement analysis, test designopusNeeds careful reasoning about edge cases
Root-cause analysis of a failure across many filesopus, or fable if the result is still weakLong, multi-step investigation
Daily test writing and code explanationsonnetFast, and meant for daily coding work
Bulk triage of test logs, classification of failureshaikuHigh volume, simple decisions
Subagents that repeat one small taskhaikuMany parallel calls, lower cost

সহজ English

The Anthropic model guide gives these starting points: Source 8সোর্স 8

  • Start most workloads with Claude Opus 5.5.
  • Use Fable 5.2 for demanding reasoning and long agentic work. Also use it when your evals at xhigh or max effort still fall short.
  • Use Haiku 5.5 for real-time applications, high-volume processing, low-cost work, and sub-agent tasks.

The guide gives two ways to start. Efficiency first: start with Haiku 5.5. Capability first: start with Opus 5.5. It also tells you to make benchmark tests for your own use case. Source 8সোর্স 8

The tutorial suggests these starting models. This is not Anthropic guidance, so check it with your own tests:

  • opus for requirement analysis and test design.
  • opus for root-cause analysis across many files. Use fable if the result is still weak.
  • sonnet for daily test writing and code explanation.
  • haiku for bulk triage of test logs, for classification of failures, and for subagents that repeat one small task.

বাংলা ব্যাখ্যা

Anthropic-এর model guide এই starting point-গুলো দেয়: Source 8সোর্স 8

  • বেশিরভাগ workload Claude Opus 5.5 দিয়ে শুরু হয়।
  • কঠিন reasoning ও long-horizon agentic কাজের জন্য, অথবা xhigh বা max effort-এও আপনার evals যথেষ্ট ভালো না হলে Fable 5.2 ব্যবহার করুন।
  • Real-time application, high-volume processing, cost-sensitive কাজ এবং sub-agent task-এর জন্য Haiku 5.5 ব্যবহার করুন।

Guide শুরু করার দুটি উপায় বলে: efficiency-first (Haiku 5.5 দিয়ে শুরু) অথবা capability-first (Opus 5.5 দিয়ে শুরু)। নিজের use case-এর জন্য benchmark test তৈরি করতেও বলে। Source 8সোর্স 8

নিচের পরামর্শ tutorial-এর নিজের, Anthropic-এর guidance নয়। নিজের test দিয়ে যাচাই করে নিন:

  • Requirement analysis ও test design: opus
  • অনেক file জুড়ে failure-এর root-cause analysis: opus, ফল দুর্বল হলে fable
  • প্রতিদিনের test লেখা ও code ব্যাখ্যা: sonnet
  • Test log-এর bulk triage ও failure classification: haiku
  • একই ছোট কাজ বারবার করে এমন subagent: haiku
  1. [1]
    Models overview

    Anthropic (Claude Platform docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  2. [2]
    Pricing

    Anthropic (Claude Platform docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  3. [3]
    Commands

    Anthropic (Claude Code docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  4. [4]
    Model deprecations

    Anthropic (Claude Platform docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  5. [5]
    Model configuration

    Anthropic (Claude Code docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  6. [6]
    Create custom subagents

    Anthropic (Claude Code docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  7. [7]
    CLI reference

    Anthropic (Claude Code docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  8. [8]
    Choosing the right model

    Anthropic (Claude Platform docs) · accessed 2026-11-27দেখা হয়েছে: 2026-11-27