Start building with Claude
Claude Platform gives you programmatic access to the same Claude models used in claude.ai and Claude Code.
Explore Claude models
If you’re unsure which model to use, start with Claude Opus 5.5 for most workloads. Use Claude Fable 5.2 for demanding reasoning and long-horizon agentic work, or when your evals on Claude Opus 5.5 at higher effort still fall short. All current models support text and image input, text output, multilingual capabilities, vision, and tool use.
- Input / MTok
- $8
- Output / MTok
- $40
- Input / MTok
- $4
- Output / MTok
- $20
- Input / MTok
- $2
- Output / MTok
- $10
- Input / MTok
- From $0.10
- Output / MTok
- From $0.50
Choose how you build
Run your own agent loop on the Messages API, or let Claude Managed Agents run the loop, tools, and sandbox for you.
Messages API
- What it is
- Direct access to Claude models
- Best for
- Single-turn responses and low-level control
- Agent loop
- You write the tool loop
- State
- You manage the conversation history
- Sandbox
- Bring your own
Claude Managed Agents
- What it is
- A prebuilt agent harness that runs on managed infrastructure
- Best for
- Complex, long-running agents
- Agent loop
- Anthropic runs the tool loop and multiagent orchestration
- State
- Sessions keep history and files for you
- Sandbox
- Linux container hosted by Anthropic, or a self-hosted sandbox
Install an SDK
Anthropic offers client SDKs in many popular languages, with built-in streaming, retries, and error handling.
pip install anthropicimport anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-opus-5-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello, Claude"}],
)
print(message.content)Explore features
Connect Claude to your tools and data, and control how it responds. See the features overview for the full list.
Custom tools
Claude asks to call them; your code runs them and returns the result.
Structured outputs
Constrains Claude’s response to a JSON schema that you give, so the output is valid and parseable.
Effort
Controls how many tokens Claude spends on a response, trading thoroughness for token efficiency.
Vision
Claude can read and analyze images that you send to it.
MCP connector
Connect Claude to remote MCP servers so it can call their tools, without running your own MCP client.
Use Claude on your cloud
Use Claude through the cloud account and billing you already have.
Amazon Bedrock
Claude Platform on AWS
Claude Models on Google Cloud
Microsoft Foundry
Get started
Make your first API call
Set up your environment, install an SDK, and send your first message to Claude.Choose how to authenticate
Pick a credential by where your code runs. On your own machine, sign in with the CLI. In CI or on a server with an identity provider, use Workload Identity Federation. Use a Developer API key where neither works, such as with a tool that needs a key.Understand the Messages API
Learn the core request and response structure, including multi-turn conversations, system prompts, and stop reasons.Choose the right model
Compare Claude models by capability and cost to pick the best fit for your use case.Explore features and tools
Discover what Claude can do: thinking, web search, file handling, structured outputs, and more.
What’s new
- Terraform provider
We’ve launched the Terraform provider in beta, so you can manage Claude Platform resources as code.
- Claude Managed Agents for Amazon Bedrock
We’ve launched Claude Managed Agents in beta on Amazon Bedrock.
- The new projects experience in the Claude Enterprise Analytics API
The Claude Enterprise Analytics API now reports daily usage of the new projects experience, in beta for Claude Enterprise organizations, at GET /v1/organizations/analytics/projects.
- Claude Sonnet 4.5 retirement
We’ve retired the Claude Sonnet 4.5 model (claude-sonnet-4-5-20250929 and claude-sonnet-4-5) on the Claude API.
- The new projects experience in the Compliance API
The Compliance API now covers the new projects experience, in beta for Claude Enterprise organizations.
Additional resources
- Claude Cookbook(opens in new tab)Code samples and patterns
- Starter apps(opens in new tab)Deployable projects to build on
- Courses(opens in new tab)Interactive courses to master Claude
- Claude Code(opens in new tab)An agentic coding assistant