Loading...
    • Developer Guide
    • API Reference
    • MCP
    • Resources
    • Release Notes
    Search...
    ⌘K
    First steps
    Intro to ClaudeQuickstart
    Models & pricing
    Models overviewChoosing a modelWhat's new in Claude 4.6Migration guideModel deprecationsPricing
    Build with Claude
    Features overviewUsing the Messages APIHandling stop reasonsPrompting best practices
    Model capabilities
    Extended thinkingAdaptive thinkingEffortFast mode (research preview)Structured outputsCitationsStreaming MessagesBatch processingPDF supportSearch resultsMultilingual supportEmbeddingsVision
    Tools
    OverviewHow to implement tool useWeb search toolWeb fetch toolCode execution toolMemory toolBash toolComputer use toolText editor tool
    Tool infrastructure
    Tool searchProgrammatic tool callingFine-grained tool streaming
    Context management
    Context windowsCompactionContext editingPrompt cachingToken counting
    Files & assets
    Files API
    Agent Skills
    OverviewQuickstartBest practicesSkills for enterpriseUsing Skills with the API
    Agent SDK
    OverviewQuickstartHow the agent loop works
    MCP in the API
    MCP connectorRemote MCP servers
    Claude on 3rd-party platforms
    Amazon BedrockMicrosoft FoundryVertex AI
    Prompt engineering
    OverviewConsole prompting tools
    Test & evaluate
    Define success and build evaluationsUsing the Evaluation ToolReducing latency
    Strengthen guardrails
    Reduce hallucinationsIncrease output consistencyMitigate jailbreaksStreaming refusalsReduce prompt leak
    Administration and monitoring
    Admin API overviewData residencyWorkspacesUsage and Cost APIClaude Code Analytics APIZero Data Retention
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    Claude Developer Platform

    Start building
    with Claude

    Everything you need to integrate Claude into your applications. From first API call to production.

    What do you want to build?
    ⌘K
    Quickstart
    Get API key
    API reference
    import anthropic
    
    client = anthropic.Anthropic()
    
    message = client.messages.create(
      model="claude-sonnet-4-6",
      max_tokens=1024,
      messages=[{
        "role": "user",
        "content": "Hello, Claude"
      }]
    )
    print(message.content[0].text)
    Platform

    Choose how you build

    Pick the developer surface that matches your approach, and the infrastructure that fits your stack.

    Claude API

    Send a request, get a response. You construct every turn, manage conversation state, and write your own tool loop.

    Quickstart
    API reference
    Client SDKs

    Agent SDK

    Claude Code as a library. Give Claude a task and the SDK runs the loop with built-in file, shell, and web tools.

    Agent SDK quickstart
    TypeScript Agent SDK
    Python Agent SDK
    AWS Bedrock
    Google Cloud Vertex AI
    Microsoft Foundry
    Developer journey

    From idea to production

    Follow the lifecycle or jump to what you need.

    1. 1

      Get started

      Quickstart
      Get API key
      Choose a model
      Install an SDK
      Try the Workbench
    2. 2

      Build

      Messages API
      Extended thinking
      Vision
      Tool use
      Web search
      Code execution
      Structured outputs
      Prompt caching
      Streaming
    3. 3

      Evaluate & ship

      Prompting best practices
      Run evals
      Batch testing
      Safety & guardrails
      Rate limits & errors
      Cost optimization
    4. 4

      Operate

      Workspaces & admin
      API key management
      Usage monitoring
      Model migration
    Models

    The Claude model family

    Choose the right model for your use case.

    Most capable
    Opus 4.6

    Best for complex analysis, coding, and creative tasks requiring deep reasoning.

    Best balance
    Sonnet 4.6

    Ideal balance of intelligence and speed for most production workloads.

    Fastest
    Haiku 4.5

    Lightning-fast responses for high-volume, latency-sensitive applications.

    Resources

    Keep learning

    Courses
    Interactive courses to master Claude.
    Cookbook
    Code samples and patterns.
    Quickstarts
    Deployable starter apps.
    What's new
    Latest features and updates.
    Claude Code
    An agentic coding assistant in your terminal.