claude-code

AI Coding Assistants

Claude Code

Anthropic’s coding agent for terminal, IDE, web, desktop, and SDK workflows, powered by Claude Opus 5.5

Pricing: From $17/mo + usage. Best for Developers delegating multi-file implementation, debugging, refactoring, and test work inside a real repository and Engineering teams that want the same coding agent across terminal, IDE, desktop, web, mobile, and Slack surfaces.

Claude subscriptionPrimaryFrom $17/moPaid-plan usage creditsBundled accessClaude Console standard modeUsage-based API

Overview

Bottom line

Claude Code is Anthropic’s official agentic coding tool designed to operate directly inside a developer’s terminal, command-line environment, IDE, and programmatic Agent SDK surfaces. Unlike traditional code-completion extensions that suggest passive inline snippets, Claude Code functions as an autonomous, full-lifecycle software engineer. It reads local repository file trees, executes shell commands, runs unit tests, resolves build errors, reviews git diffs, and orchestrates complex multi-file architectural refactors with minimal human intervention.

At its technical core, Claude Code operates via an iterative agentic loop: it inspects code context, devises an execution plan, modifies code across multiple files, executes terminal verification commands to observe runtime behavior, and self-corrects based on compiler diagnostics and test output.


Technical architecture and execution surfaces

Claude Code is engineered to integrate natively across diverse software development workflows:

  • Terminal-Native CLI: Operates as an interactive REPL or non-interactive scriptable binary (claude) across macOS, Linux, and Windows (via WSL2). It integrates seamlessly with standard command-line utilities including git, grep, find, npm, pnpm, cargo, and docker.
  • Model Context Protocol (MCP) Integration: Claude Code natively supports Anthropic’s open Model Context Protocol. Developers can connect external database servers, internal API documentation, Jira issue trackers, and GitHub enterprise repositories directly into Claude Code’s runtime context via local MCP configuration files (mcp.json).
  • Claude Agent SDK: For automated software engineering workflows, the Claude Agent SDK allows developers to invoke Claude Code programmatically inside continuous integration (CI) pipelines, automated security scanning workflows, and headless background code refactoring agents.
  • IDE & GUI Extensions: While terminal-first, Claude Code integrates with Visual Studio Code, Cursor, JetBrains IDEs, and web-based workspace environments, synchronizing file changes and diff reviews in real time.

Frontier model configuration and intelligence tiers

Claude Code allows developers to configure underlying frontier models based on reasoning depth, execution speed, and token cost. On the Anthropic API, the opus alias selects Opus 5.5, the sonnet alias selects Sonnet 5.5 and the haiku alias selects Haiku 5.5 (Claude Code v2.1.293 or later); Claude Platform on AWS, Amazon Bedrock, Google Cloud and Microsoft Foundry map sonnet to older Sonnet versions and haiku to Haiku 4.5:

Configured Model

Architectural Role

Reasoning Style

Best Suited Development Tasks

Default Billing Profile

Claude Opus 5.5

Default Workhorse

Adaptive thinking (medium effort by default)

Complex full-stack implementation, multi-file refactoring, debugging subtle race conditions

Included in Pro/Max/Team/Enterprise limits; $4/$20 per 1M tokens on the API

Claude Sonnet 5.5

High-Speed Workhorse

Adaptive thinking (medium effort by default; needs Claude Code v2.1.284 or later)

Rapid feature prototyping, test generation, documentation, standard API integration

Included in plan limits; $2/$10 per 1M tokens on the API

Claude Haiku 5.5

Low-Latency Assistant

Adaptive thinking (medium effort by default on the Claude API; needs Claude Code v2.1.293 or later)

Quick syntax fixes, single-line script debugging, git commit message drafting, subagent tasks

Lowest token burn rate: $0.10/$0.50 per 1M tokens for prompts up to 100K tokens, $0.50/$2.50 above; legacy Haiku 4.5 costs $1/$5

Claude Fable 5.1

Deep Architectural Analyst

Maximum reasoning for long-horizon work

Monorepo migration, complex security validation, legacy codebase modernization

Usage credits on Pro and Standard seats; shared weekly usage on Max and Premium; $10/$50 per 1M tokens on the API


The four-way billing and credential matrix

Claude Code does not use a single rigid price tag. Instead, Anthropic provides four distinct authentication and billing routes tailored for different developer workflows:

1. Claude Pro and Claude Max Subscription OAuth Sign-In

  • How It Works: Individual developers sign in directly via browser OAuth using their existing Claude Pro ($20/month) or Claude Max (from $100/month) credentials, or a Team or Enterprise seat. Zero API keys are required.
  • Usage Allocations: Activity draws directly from your subscription’s included capacity. Pro accounts enjoy interactive command sessions subject to five-hour usage limits shared with Claude app use, while Claude Max provides 5x or 20x the Pro usage for heavy full-time coding.
  • Best For: Individual software engineers conducting interactive, human-steered terminal development during normal business hours.

2. Metered Usage Credits (Subscription Overflow)

  • How It Works: Pro and Max subscribers can enable metered Usage Credits in their account settings. When high-intensity coding sessions exhaust the included allocation, Claude Code automatically transitions to drawing from prepaid usage credits without interrupting ongoing tasks.
  • Cost Protection: Users can establish strict monthly spend limits (e.g., $10, $25, or $50) to prevent accidental billing escalation.

3. Anthropic Console API Authentication (Pay-As-You-Go)

  • How It Works: Developers sign in with a Claude Console account or export an ANTHROPIC_API_KEY into their shell environment. Claude Code then operates on standard per-token API pricing ($4.00 / million input tokens and $20.00 / million output tokens for Claude Opus 5.5; $2.00 and $10.00 for Claude Sonnet 5.5, the same as Sonnet 5).
  • Prompt Caching Advantage: Claude Code automatically leverages Anthropic's prompt caching architecture. Repetitive repository indexing and large context reads are billed at the cache-read rate—$0.20 per million tokens on Opus 5.5 and $0.10 on Sonnet 5.5, 95% below each model's base input rate—dramatically reducing daily terminal development costs.
  • Best For: High-volume unattended scripts, headless CI/CD automation, teams requiring unified corporate API billing, and developers who exceed subscription session caps.

4. Fast Mode Throughput

  • How It Works: Fast Mode is a research-preview option that provides significantly faster output on Claude Opus 5.5, Opus 5, and Opus 4.8 on the Claude API.
  • Cost Profile: Fast Mode carries premium pricing—$8 per million input tokens and $40 per million output tokens on Opus 5.5, or $10 and $50 on Opus 5 and Opus 4.8. Subscribers pay for it with usage credits rather than included plan usage, so it suits latency-critical sessions such as release cutovers or live incident mitigation.

Security boundaries, bash permissions, and safety controls

Because Claude Code has the ability to execute shell commands and modify local files, Anthropic implements rigorous defense-in-depth security guardrails:

  • Interactive Command Confirmation: By default, Claude Code pauses and displays exact shell commands before execution (e.g., git commit, rm, npm install, or database migrations), requiring explicit developer confirmation (y/n).
  • Autonomous Execution Mode (--dangerously-skip-permissions): For trusted, sandboxed container environments or headless Docker instances, developers can enable non-interactive execution. In this mode, Claude Code autonomously runs build tools, runs tests, and applies edits without interactive prompts.
  • Git Safety & Worktree Protection: Claude Code inspects working directory status before making broad changes, warning developers if uncommitted changes exist. It operates cleanly with git branching, staging, and stash mechanisms to ensure zero code loss.
  • Sensitive Data & Secret Filtering: The CLI automatically respects .gitignore rules and incorporates built-in pattern matching to avoid reading local environment credential files (.env, .env.local, SSH private keys, and AWS credentials).

Enterprise governance and team workspaces

For engineering organizations, Claude Code integrates with Claude Team ($25/seat/month, or $20 billed annually; Premium seats $125 or $100) and Claude Enterprise subscriptions:

  • Centralized Billing & Seat Management: Organization administrators provision developer seats, manage usage credits, and manage SSO through Google Workspace, Okta, or Microsoft Azure AD.
  • Data Privacy Guarantees: Under Team and Enterprise agreements, code snippets, prompt contexts, and repository contents processed by Claude Code are strictly excluded from Anthropic's foundation model training pipelines.
  • Audit Logging: Enterprise administrators receive centralized audit streams documenting tool usage, model configurations, and developer session frequencies across the organization.

Pricing

How Claude Code pricing works

Access routes

Pricing may differ across app subscriptions, API usage, team workspaces, and enterprise contracts. See the pricing guide for current plan and meter details.

App subscriptionPrimary

Claude subscription

From $17/mo

Claude Code is included with eligible paid Claude plans. Pro is the lowest paid individual entry at $17 per month with annual billing ($200 upfront) or $20 month to month; usage is shared with Claude.

App subscription

Paid-plan usage credits

Bundled access

Eligible individual, Team, and seat-based Enterprise users can continue beyond included limits with separately purchased usage credits. Standard-mode overflow is billed at standard API rates and remains subject to spend controls.

Direct API

Claude Console standard mode

Usage-based API

Console-authenticated Claude Code is metered separately from app subscriptions and billed at Anthropic API rates for the selected model; per-model rates are listed on Anthropic's pricing page and in the Claude pricing guide.

Direct API

Claude Code Fast mode

Usage-based API

Fast mode is a research-preview Opus configuration billed from the first Fast-mode token at $10 per million input tokens and $50 per million output tokens through Claude Console or subscription usage credits.

Team workspace

Claude Team workspace

From $20/seat/mo

Every current Team seat includes Claude Code. Standard seats start at $20 per seat per month with annual billing, while Premium seats provide a larger included usage allowance.

Enterprise sales

Claude Enterprise

From $20/seat/mo

Current self-serve Enterprise starts at $20 per seat plus usage at API rates; sales-assisted and older seat-based arrangements can have different contract, allowance, and usage-credit boundaries.

Capabilities

Input types

text, image, code, file, url

Output types

text, code, file

Supported platforms

Web, iOS, Android, Mac, Windows, Linux

Delivery modes

Web app, Mobile app, Desktop app, Chat app, CLI, IDE extension, SDK

Company context

Company

Anthropic

Founded

Not specified

Headquarters

Not specified

Category

AI Coding Assistants

Evidence boundary

Official sources

Editorial guidance grounded in official product sources.

FAQ

Common questions

How do Opus 5.5 and Sonnet 5.5 fit inside Claude Code?

Both are primary model choices inside Claude Code. Opus 5.5 is the default on Pro, Max, Team, Enterprise and Anthropic API accounts and still leads Sonnet 5.5 on FrontierCode and CursorBench. Sonnet 5.5, selected by the sonnet alias on the Anthropic API, costs half as much per token and posts 70.6% on Terminal-Bench 4.0, compared with 66.4% for Opus 5.5 at its highest (Xhigh) effort, so it suits well-scoped features and bug fixes.

Which Claude plans include Claude Code?

Claude Code is included with Pro, Max, current Team seats, and current Enterprise seats when the user authenticates with the eligible Claude account. The Free Claude plan does not list Claude Code. Older Enterprise contracts can use different seat definitions.

Which accounts default to Opus 5.5 in Claude Code?

Anthropic documents Opus 5.5 as the Claude Code default for Pro, Max, Team, Enterprise, and Anthropic API accounts, as well as Amazon Bedrock and Google Cloud routes; Microsoft Foundry defaults to Sonnet 4.5. Model overrides can be set via configuration or CLI flags.

Does every Claude Code route include a 1M context window and 128K output?

Not on every model. Current models such as Opus 5.5 and Sonnet 5.5 run with a native 1M context window on the Anthropic API, while older Opus 4.6 and Sonnet 4.6 can require usage credits for the 1M option on Pro. The 128K maximum is a synchronous Messages API specification for Opus 5.5 and Sonnet 5.5 and should not be treated as a guaranteed output limit for Claude app or every Claude Code product surface.

Is Fast mode included in a Claude subscription?

No. Fast mode is a research-preview configuration for Opus 5.5, Opus 5, and Opus 4.8. Subscription users need usage credits, and billing begins with the first Fast-mode token at $8 per million input tokens and $40 per million output tokens on Opus 5.5, or $10 and $50 on Opus 5 and Opus 4.8. It is not supported in the VS Code extension or on the listed third-party cloud routes.

Does a paid Claude subscription include Claude API usage?

No. Claude subscriptions and Claude Console or API billing are separate. Claude Code can use the subscription allocation when signed in with a Claude account, but an ANTHROPIC_API_KEY takes precedence and can move the session to separately billed API usage.

Recent updates

Changelog snapshot

Update

Event date

Version Pricing data update

ToolColumn modeling correction: Claude Code's Anthropic API access is now listed as one usage-based route billed at Anthropic API rates instead of separate per-model plans. Per-model rates are listed on Anthropic's pricing page and in the Claude pricing guide. Prices did not change.

Official source Anthropic — Claude API pricing

Verified

Feature

Event date

Version 2.1.293

Claude Code added Claude Haiku 5.5 as the default Haiku model on the Anthropic API, so the haiku alias now selects it, with a 1M-token context window at $0.10/$0.50 per million tokens ($0.50/$2.50 for prompts over 100,000 tokens).

Official source Claude Code changelog — 2.1.293

Verified

Feature

Event date

Version 2.1.284

Claude Code added Claude Sonnet 5.5 as the default Sonnet model on the Anthropic API, so the sonnet alias now selects it, with a 1M-token context window at $2/$10 per million tokens.

Official source Claude Code changelog — 2.1.284

Verified

Feature

Event date

Version 2.2.0

Claude Code integrated Claude Opus 5.5 as the default model for Max, Team Premium, and Enterprise accounts, scoring 66.4% on Terminal-Bench 4.0 with adaptive thinking depth.

Official source Claude Code changelog — Claude Opus 5.5 Support

Verified

Decision rail

Keep the key facts, primary action, and section jumps visible while you evaluate the profile.

Visit Official Site

Last verified October 12, 2026

Pricing
From $17/mo + usage
Platforms
Web, iOS, Android, Mac, Windows, Linux
Access
Web app, Mobile app, Desktop app, Chat app, CLI, IDE extension, SDK
Best for
Developers delegating multi-file implementation, debugging, refactoring, and test work inside a real repository and Engineering teams that want the same coding agent across terminal, IDE, desktop, web, mobile, and Slack surfaces and Organizations that need managed model access, seat controls, usage reporting, and governed coding-agent deployment and Automation owners who can separate interactive subscription use from Console-funded or API-funded execution budgets
Category
AI Coding Assistants

On this page

Share

Pass this page along

Copy the link or send it to the channel where your team compares tools, pricing, and tradeoffs.

Navigation

Tool cluster

Recently published

Reference links