← Back to all posts

4 min readUpdated 20 Mar 2026
claude-code

Claude Code: A Deep Dive into Anthropic's Coding Agent

Yap Wei JunSoftware Engineer · Singapore

Listen to this article

AI-generated voice3:51

Download MP3

What is Claude Code?

Think of Claude Code as an engineer working alongside you at the terminal. It's an agentic coding tool designed to read, edit, and understand your codebase, run commands, and integrate with your existing development tools. Anthropic offers it across multiple interfaces: terminal, IDE, desktop app, and browser.

Is Claude Code a CLI?

Yes! Anthropic explicitly positions Claude Code as a command-line tool, giving you direct access to Claude models within your terminal. You can use it to debug, refactor, explain code, update files, and automate tasks without leaving your shell.

Here's how to install it:

curl -fsSL https://claude.ai/install.sh | bash
brew install --cask claude-code

(Windows users can find PowerShell and CMD install commands in the official documentation).

Pricing: Two Paths to Access

The biggest source of confusion is that Claude Code is accessible in two distinct ways:

  1. Subscription Billing: Included with Pro, Max, and certain Team plans.
  2. API Usage Billing: Accessed through an Anthropic Console account or via an API key, where you pay per token consumed.

Subscription Billing (Pro & Max)

If you have a Pro or Max Claude account, Claude Code is included in your subscription. Anthropic states that Pro and Max users get access to Claude Code in the terminal alongside web, desktop, and mobile access – all under a single subscription and plan limits.

API Usage Billing (Console/API Key)

When using Claude Code with an Anthropic Console account or API key, it functions as a developer platform tool, and you're billed based on token consumption. You can monitor your usage with the /cost command. Anthropic warns that if your system has ANTHROPIC_API_KEY set, Claude Code will use that key, potentially incurring API charges instead of utilizing your subscription benefits.

Plans and Pricing Details

Individual Plans

Anthropic offers these individual plans:

  • Free: Limited access.
  • Pro: $20/month or $200/year (includes Claude Code).
  • Max 5x: $100/month (5x more usage than Pro, includes Claude Code).
  • Max 20x: $200/month (20x more usage than Pro, includes Claude Code).

Pro is ideal for regular use, Max 5x for frequent users, and Max 20x for heavy collaboration.

Team Plans

Team plans require a minimum of five members and support up to 150 seats.

  • Standard: $25 per member/month (billed monthly) or $20 per member/month (billed annually).
  • Premium: $125 per member/month (billed monthly) or $100 per member/month (billed annually).

Team plans include Claude Code and offer centralized billing and administrative controls.

Enterprise

Enterprise plans are priced at $20/seat, with usage billed at API rates. They include advanced controls like spend limits, SCIM, audit logs, and role-based permissions.

API Pricing

If you choose the API route, you pay per token:

  • Claude Opus 4.6: $5 per million input tokens / $25 per million output tokens
  • Claude Sonnet 4.6: $3 per million input tokens / $15 per million output tokens
  • Claude Haiku 4.5: $1 per million input tokens / $5 per million output tokens

Anthropic estimates average API usage costs around $6 per developer per day, with 90% of users staying below $12 daily and a typical monthly range of $100–200 per developer (using Sonnet 4.6).

Which Option is Right for You?

  • Solo Developers: Pro is the simplest and most cost-effective starting point if you want Claude Code without API billing complexities.
  • Heavy Users: Max 5x or Max 20x are better suited for frequent Claude users who need higher usage limits.
  • Teams: Team plans provide centralized billing, collaboration features, and administrative controls for organizations of 5-150 people.
  • Programmatic Control: The API/Console path is ideal for building internal tools and automations where you need precise usage metering and programmatic access.

In essence: Claude Code is Anthropic’s coding agent, the CLI is its terminal interface, subscriptions offer convenience and included usage, and API billing provides flexibility and token-level control.

Resources

← Back to all posts