Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

home changedhome

Nearest release: v2.1.336, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+329added
Lines−435removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits25to this page, all time

The whole hunk

from line 1, old and new numbered
/
lines

The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.

from line 1
11---
2title: Documentation
2title: Start building with Claude
33url: https://platform.claude.com/docs/en/home
4description: Claude API documentation
4description: Build with Claude models through the Messages API or Claude Managed Agents.
55---
66 
77<HomePage>
8 <HomeHero
9 eyebrow="Claude Platform"
10 title="Start building
11with Claude"
12 subtitle="Everything you need to integrate Claude into your applications. From first API call to production."
13 >
14 <HomeQuickChip icon="Play" href="https://platform.claude.com/docs/en/get-started">
15 Quickstart
16 </HomeQuickChip>
17 
18 <HomeQuickChip icon="Key" href="https://platform.claude.com/keys/api-keys">
19 Get API key in Claude Console
20 </HomeQuickChip>
21 
22 <HomeQuickChip icon="CodeBrackets" href="https://platform.claude.com/docs/en/api/overview">
23 API reference
24 </HomeQuickChip>
25 
26 ```python Python
27 import anthropic
28 
29 client = anthropic.Anthropic()
30 
31 message = client.messages.create(
32 model="claude-opus-5-5",
33 max_tokens=1024,
34 messages=[
35 {
36 "role": "user",
37 "content": "Hello, Claude",
38 }
39 ],
40 )
41 for block in message.content:
42 if block.type == "text":
43 print(block.text)
44 ```
45 
46 ```typescript TypeScript
47 import Anthropic from "@anthropic-ai/sdk";
48 
49 const client = new Anthropic();
50 
51 const msg = await client.messages.create({
52 model: "claude-opus-5-5",
53 max_tokens: 1024,
54 messages: [
55 {
56 role: "user",
57 content: "Hello, Claude"
58 }
59 ]
60 });
61 for (const block of msg.content) {
62 if (block.type === "text") {
63 console.log(block.text);
64 }
65 }
66 ```
67 
68 ```go Go
69 import "github.com/anthropics/anthropic-sdk-go/v2"
70 
71 client := anthropic.NewClient()
72 msg, _ := client.Messages.New(
73 context.TODO(),
74 anthropic.MessageNewParams{
75 Model: anthropic.ModelClaudeOpus5_5,
76 MaxTokens: 1024,
77 Messages: []anthropic.MessageParam{
78 anthropic.NewUserMessage(
79 anthropic.NewTextBlock("Hello, Claude"),
80 ),
81 },
82 },
83 )
84 for _, block := range msg.Content {
85 if textBlock, ok := block.AsAny().(anthropic.TextBlock); ok {
86 fmt.Println(textBlock.Text)
87 }
88 }
89 ```
90 
91 ```java Java
92 import com.anthropic.client.okhttp.AnthropicOkHttpClient;
93 
94 var client = AnthropicOkHttpClient
95 .fromEnv();
96 
97 var msg = client.messages().create(
98 MessageCreateParams.builder()
99 .model(Model.CLAUDE_OPUS_5_5)
100 .maxTokens(1024)
101 .addUserMessage("Hello, Claude")
102 .build()
103 );
104 for (var block : msg.content()) {
105 block.text().ifPresent(
106 textBlock -> System.out.println(textBlock.text()));
107 }
108 ```
109 
110 ```ruby Ruby
111 require "anthropic"
112 
113 client = Anthropic::Client.new
114 
115 msg = client.messages.create(
116 model: "claude-opus-5-5",
117 max_tokens: 1024,
118 messages: [{
119 role: "user",
120 content: "Hello, Claude"
121 }]
122 )
123 msg.content.each do |block|
124 puts block.text if block.type == :text
125 end
126 ```
127 
128 ```php PHP
129 use Anthropic\Client;
130 
131 $client = new Client();
132 
133 $message = $client->messages->create(
134 model: "claude-opus-5-5",
8 # Start building with Claude
9 
10 Claude Platform gives you programmatic access to the same Claude models used in claude.ai and Claude Code.
11 
12 <HomeQuickChip primary icon="Play" href="https://platform.claude.com/docs/en/get-started">
13 Quickstart
14 </HomeQuickChip>
15 
16 <HomeQuickChip icon="CodeBrackets" href="https://platform.claude.com/docs/en/api/overview">
17 API reference
18 </HomeQuickChip>
19 
20 <HomePrompt icon="Agent" title="Automate work" short="Automate" project="/claude-api in this project, add an agent that triages our support queue nightly. Ask me what you need to know first." fresh="/claude-api build an agent that triages our support queue nightly. Start a new project for it." explain="Explain how I’d use the Claude API to build an agent that triages our support queue nightly" />
21 
22 <HomePrompt icon="Chat" title="Build chat tools" short="Chat" project="/claude-api in this project, add a support chatbot over our help-center docs. Ask me what you need to know first." fresh="/claude-api build a support chatbot over our help-center docs. Start a new project for it." explain="Explain how I’d use the Claude API to build a support chatbot over our help-center docs" />
23 
24 <HomePrompt icon="CodeBrackets" title="Extract data" short="Extract" project="/claude-api in this project, add a service that turns uploaded invoices into structured JSON. Ask me what you need to know first." fresh="/claude-api build a service that turns uploaded invoices into structured JSON. Start a new project for it." explain="Explain how I’d use the Claude API to build a service that turns uploaded invoices into structured JSON" />
25 
26 <HomePrompt icon="Edit" title="Generate content" short="Generate" project="/claude-api in this project, add a tool that generates on-brand email copy from briefs. Ask me what you need to know first." fresh="/claude-api build a tool that generates on-brand email copy from briefs. Start a new project for it." explain="Explain how I’d use the Claude API to build a tool that generates on-brand email copy from briefs" />
27 
28 ## Explore Claude models
29 
30 If you’re unsure which model to use, start with [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview) for most workloads. Use [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview) 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.
31 
32 * [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview) (`claude-fable-5-2`) — Most capable — *For demanding reasoning and long-horizon agentic work* — $8 / input MTok, $40 / output MTok
33 * [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview) (`claude-opus-5-5`) — Complex projects — *For long-running agentic coding and knowledge work* — $4 / input MTok, $20 / output MTok
34 * [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) (`claude-sonnet-5-5`) — Everyday tasks — *The best combination of speed and intelligence* — $2 / input MTok, $10 / output MTok
35 * [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview) (`claude-haiku-5-5`) — Fastest — *For high-volume, latency-sensitive tasks* — From $0.10 / input MTok, From $0.50 / output MTok
36 
37 [Compare models](https://platform.claude.com/docs/en/models/overview)
38 
39 ## Choose how you build
40 
41 Run your own agent loop on the [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages), or let [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) run the loop, tools, and sandbox for you.
42 
43 | | Messages API | Claude Managed Agents |
44 | ----- | ----- | ----- |
45 | What it is | Direct access to Claude models | A prebuilt agent harness that runs on managed infrastructure |
46 | Best for | Single-turn responses and low-level control | Complex, long-running agents |
47 | Agent loop | You write the tool loop | Anthropic runs the tool loop and multiagent orchestration |
48 | State | You manage the conversation history | Sessions keep history and files for you |
49 | Sandbox | Bring your own | Linux container [hosted by Anthropic](https://platform.claude.com/docs/en/managed-agents/environments), or a [self-hosted sandbox](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes) |
50 
51 [Messages API quickstart](https://platform.claude.com/docs/en/get-started), [Managed Agents quickstart](https://platform.claude.com/docs/en/managed-agents/quickstart)
52 
53 ## Install an SDK
54 
55 Anthropic offers [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) in many popular languages, with built-in streaming, retries, and error handling.
56 
57 ### Python
58 
59 * [Python SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/python)
60 * [PyPI](https://pypi.org/project/anthropic/)
61 
62 ```bash
63 pip install anthropic
64 ```
65 
66 ```python Python
67 import anthropic
68 
69 client = anthropic.Anthropic()
70 message = client.messages.create(
71 model="claude-opus-5-5",
72 max_tokens=1024,
73 messages=[{"role": "user", "content": "Hello, Claude"}],
74 )
75 print(message.content)
76 ```
77 
78 ### TypeScript
79 
80 * [TypeScript SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/typescript)
81 * [npm](https://www.npmjs.com/package/@anthropic-ai/sdk)
82 
83 ```bash
84 npm install @anthropic-ai/sdk
85 ```
86 
87 ```typescript TypeScript
88 import Anthropic from "@anthropic-ai/sdk";
89 
90 const client = new Anthropic();
91 const message = await client.messages.create({
92 model: "claude-opus-5-5",
93 max_tokens: 1024,
94 messages: [{ role: "user", content: "Hello, Claude" }]
95 });
96 console.log(message.content);
97 ```
98 
99 ### C\#
100 
101 * [C# SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/csharp)
102 * [NuGet](https://www.nuget.org/packages/Anthropic)
103 
104 ```bash
105 dotnet add package Anthropic
106 ```
107 
108 ```csharp C#
109 using Anthropic;
110 using Anthropic.Models.Messages;
111 
112 var client = new AnthropicClient();
113 var message = await client.Messages.Create(new()
114 {
115 Model = Model.ClaudeOpus5_5,
116 MaxTokens = 1024,
117 Messages = [new UserMessageParam { Content = "Hello, Claude" }]
118 });
119 Console.WriteLine(message);
120 ```
121 
122 ### Go
123 
124 * [Go SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/go)
125 * [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go/v2)
126 
127 ```bash
128 go get github.com/anthropics/anthropic-sdk-go/v2
129 ```
130 
131 ```go Go
132 package main
133 
134 import (
135 "context"
136 "fmt"
137 "log"
138 
139 "github.com/anthropics/anthropic-sdk-go/v2"
140 )
141 
142 func main() {
143 client := anthropic.NewClient()
144 hello := anthropic.NewTextBlock("Hello, Claude")
145 params := anthropic.MessageNewParams{
146 Model: anthropic.ModelClaudeOpus5_5,
147 MaxTokens: 1024,
148 Messages: []anthropic.MessageParam{anthropic.NewUserMessage(hello)},
149 }
150 message, err := client.Messages.New(context.TODO(), params)
151 if err != nil {
152 log.Fatal(err)
153 }
154 fmt.Println(message.Content)
155 }
156 ```
157 
158 ### Java
159 
160 * [Java SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/java)
161 * [Maven Central](https://central.sonatype.com/artifact/com.anthropic/anthropic-java)
162 
163 ```kotlin
164 implementation("com.anthropic:anthropic-java:3.17.0")
165 ```
166 
167 ```java Java
168 import com.anthropic.client.okhttp.AnthropicOkHttpClient;
169 import com.anthropic.models.messages.MessageCreateParams;
170 import com.anthropic.models.messages.Model;
171 
172 static void main() {
173 var client = AnthropicOkHttpClient.fromEnv();
174 var message = client.messages().create(MessageCreateParams.builder()
175 .model(Model.CLAUDE_OPUS_5_5)
176 .maxTokens(1024)
177 .addUserMessage("Hello, Claude")
178 .build());
179 IO.println(message.content());
180 }
181 ```
182 
183 ### PHP
184 
185 * [PHP SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/php)
186 * [Packagist](https://packagist.org/packages/anthropic-ai/sdk)
187 
188 ```bash
189 composer require "anthropic-ai/sdk" "guzzlehttp/guzzle:^7"
190 ```
191 
192 ```php PHP
193 <?php
194 
195 require 'vendor/autoload.php';
196 
197 use Anthropic\Client;
198 use Anthropic\Messages\Model;
199 
200 $client = new Client();
201 $message = $client->messages->create(
202 model: Model::CLAUDE_OPUS_5_5,
135203 maxTokens: 1024,
136 messages: [['role' => 'user',
137 'content' => 'Hello, Claude']],
138 );
139 foreach ($message->content as $block) {
140 if ($block->type === 'text') {
141 echo $block->text, PHP_EOL;
142 }
143 }
144 ```
145 
146 ```csharp C#
147 using Anthropic;
148 
149 var client = new AnthropicClient();
150 
151 var msg = await client.Messages
152 .Create(new() {
153 Model = Model.ClaudeOpus5_5,
154 MaxTokens = 1024,
155 Messages = [new UserMessageParam {
156 Content = "Hello, Claude"
157 }]
158 });
159 foreach (var block in msg.Content)
160 {
161 if (block.TryPickText(out var textBlock))
162 {
163 Console.WriteLine(textBlock.Text);
164 }
165 }
166 ```
167 
168 ```bash cURL
169 curl https://api.anthropic.com/v1/messages \
170 -H "content-type: application/json" \
171 -H "x-api-key: $ANTHROPIC_API_KEY" \
172 -H "anthropic-version: 2026-10-21" \
173 -d '{
174 "model": "claude-opus-5-5",
175 "max_tokens": 1024,
176 "messages": [{
177 "role": "user",
178 "content": "Hello, Claude"
179 }]
180 }'
181 ```
182 
183 ```bash CLI
184 ant messages create \
185 --model claude-opus-5-5 \
186 --max-tokens 1024 \
187 --message '{
188 role: user,
189 content: "Hello, Claude"
190 }'
191 ```
192 </HomeHero>
193 
194 <HomeSection>
195 <HomeSectionHeader label="Platform" title="Choose how you build" description="Pick the developer surface that matches your approach, and the infrastructure that fits your stack." />
196 
197 <HomePlatformCards>
198 <HomePlatformCard title="Messages" description="Direct model access. You construct every turn, manage conversation state, and write your own tool loop." pictogram="code-terminal">
199 <HomeCardLink icon="play" href="https://platform.claude.com/docs/en/get-started">
200 Quickstart
201 </HomeCardLink>
202 
203 <HomeCardLink icon="book" href="https://platform.claude.com/docs/en/api/messages/create">
204 API reference
205 </HomeCardLink>
206 
207 <HomeCardLink icon="code-brackets" href="https://platform.claude.com/docs/en/cli-sdks-libraries/overview">
208 Client SDKs
209 </HomeCardLink>
210 </HomePlatformCard>
211 
212 <HomePlatformCard title="Managed Agents" description="Fully managed agent infrastructure. Deploy and manage autonomous agents in stateful sessions with persistent event history." pictogram="clouds">
213 <HomeCardLink icon="play" href="https://platform.claude.com/docs/en/managed-agents/quickstart">
214 Quickstart
215 </HomeCardLink>
216 
217 <HomeCardLink icon="book" href="https://platform.claude.com/docs/en/api/beta/sessions">
218 API reference
219 </HomeCardLink>
220 
221 <HomeCardLink icon="brain" href="https://platform.claude.com/docs/en/managed-agents/agent-setup">
222 Define your agent
223 </HomeCardLink>
224 </HomePlatformCard>
225 </HomePlatformCards>
226 
227 <HomePartnerLinks label="Claude is also available on these cloud platforms:">
228 <HomeCloudPartnerLink icon="cloud" href="https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock">
229 Amazon Bedrock
230 </HomeCloudPartnerLink>
231 
232 <HomeCloudPartnerLink icon="cloud" href="https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/overview">
233 Google Cloud
234 </HomeCloudPartnerLink>
235 
236 <HomeCloudPartnerLink icon="cloud" href="https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry">
237 Microsoft Foundry
238 </HomeCloudPartnerLink>
239 </HomePartnerLinks>
240 </HomeSection>
241 
242 <HomeSection>
243 <HomeSectionHeader label="Developer journey" title="From idea to production" description="Follow the lifecycle or jump to what you need." />
244 
245 <HomeJourney>
246 <HomeJourneyTab label="Messages">
247 <HomeJourneyStep title="Get started">
248 <HomeJourneyLink icon="play" href="https://platform.claude.com/docs/en/get-started">
249 Quickstart
250 </HomeJourneyLink>
251 
252 <HomeJourneyLink icon="lock" href="https://platform.claude.com/docs/en/manage-claude/authentication">
253 Connect to the API
254 </HomeJourneyLink>
255 
256 <HomeJourneyLink icon="settings" href="https://platform.claude.com/docs/en/models/overview">
257 Choose a model
258 </HomeJourneyLink>
259 
260 <HomeJourneyLink icon="code-brackets" href="https://platform.claude.com/docs/en/cli-sdks-libraries/overview">
261 Install an SDK
262 </HomeJourneyLink>
263 
264 <HomeJourneyLink icon="message" href="https://platform.claude.com/playground">
265 Try the API in Console playground
266 </HomeJourneyLink>
267 </HomeJourneyStep>
268 
269 <HomeJourneyStep title="Build">
270 <HomeJourneyLink icon="message" href="https://platform.claude.com/docs/en/api/messages/create">
271 Messages API
272 </HomeJourneyLink>
273 
274 <HomeJourneyLink icon="brain" href="https://platform.claude.com/docs/en/build-with-claude/thinking">
275 Thinking
276 </HomeJourneyLink>
277 
278 <HomeJourneyLink icon="image" href="https://platform.claude.com/docs/en/build-with-claude/vision">
279 Vision
280 </HomeJourneyLink>
281 
282 <HomeJourneyLink icon="tool" href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview">
283 Tool use
284 </HomeJourneyLink>
285 
286 <HomeJourneyLink icon="compass" href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool">
287 Web search
288 </HomeJourneyLink>
289 
290 <HomeJourneyLink icon="code" href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool">
291 Code execution
292 </HomeJourneyLink>
293 
294 <HomeJourneyLink icon="database" href="https://platform.claude.com/docs/en/build-with-claude/structured-outputs">
295 Structured outputs
296 </HomeJourneyLink>
297 
298 <HomeJourneyLink icon="lightning" href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching">
299 Prompt caching
300 </HomeJourneyLink>
301 
302 <HomeJourneyLink icon="wifi-high" href="https://platform.claude.com/docs/en/build-with-claude/streaming">
303 Streaming
304 </HomeJourneyLink>
305 </HomeJourneyStep>
306 
307 <HomeJourneyStep title="Evaluate and ship">
308 <HomeJourneyLink icon="lightbulb" href="https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview">
309 Prompting best practices
310 </HomeJourneyLink>
311 
312 <HomeJourneyLink icon="chart" href="https://platform.claude.com/docs/en/test-and-evaluate/develop-tests">
313 Run evals
314 </HomeJourneyLink>
315 
316 <HomeJourneyLink icon="stack" href="https://platform.claude.com/docs/en/build-with-claude/batch-processing">
317 Batch testing
318 </HomeJourneyLink>
319 
320 <HomeJourneyLink icon="verified" href="https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/increase-consistency">
321 Safety and guardrails
322 </HomeJourneyLink>
323 
324 <HomeJourneyLink icon="bolt" href="https://platform.claude.com/docs/en/api/rate-limits">
325 Rate limits and errors
326 </HomeJourneyLink>
327 
328 <HomeJourneyLink icon="calculator" href="https://platform.claude.com/docs/en/about-claude/pricing">
329 Cost optimization
330 </HomeJourneyLink>
331 </HomeJourneyStep>
332 
333 <HomeJourneyStep title="Operate">
334 <HomeJourneyLink icon="settings" href="https://platform.claude.com/docs/en/manage-claude/administering-claude">
335 Administering Claude
336 </HomeJourneyLink>
337 
338 <HomeJourneyLink icon="lock" href="https://platform.claude.com/keys/api-keys">
339 API keys in Claude Console
340 </HomeJourneyLink>
341 
342 <HomeJourneyLink icon="chart" href="https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api">
343 Usage monitoring
344 </HomeJourneyLink>
345 
346 <HomeJourneyLink icon="settings" href="https://platform.claude.com/docs/en/about-claude/models/migration-guide">
347 Model migration
348 </HomeJourneyLink>
349 </HomeJourneyStep>
350 </HomeJourneyTab>
351 
352 <HomeJourneyTab label="Managed Agents">
353 <HomeJourneyStep title="Get started">
354 <HomeJourneyLink icon="play" href="https://platform.claude.com/docs/en/managed-agents/quickstart">
355 Quickstart
356 </HomeJourneyLink>
357 
358 <HomeJourneyLink icon="lock" href="https://platform.claude.com/docs/en/manage-claude/authentication">
359 Connect to the API
360 </HomeJourneyLink>
361 
362 <HomeJourneyLink icon="message" href="https://platform.claude.com/docs/en/managed-agents/onboarding">
363 Build in Console
364 </HomeJourneyLink>
365 </HomeJourneyStep>
366 
367 <HomeJourneyStep title="Define your agent">
368 <HomeJourneyLink icon="brain" href="https://platform.claude.com/docs/en/managed-agents/agent-setup">
369 Agent setup
370 </HomeJourneyLink>
371 
372 <HomeJourneyLink icon="tool" href="https://platform.claude.com/docs/en/managed-agents/tools">
373 Tools
374 </HomeJourneyLink>
375 
376 <HomeJourneyLink icon="lock" href="https://platform.claude.com/docs/en/managed-agents/permission-policies">
377 Tool permissions
378 </HomeJourneyLink>
379 </HomeJourneyStep>
380 
381 <HomeJourneyStep title="Run sessions">
382 <HomeJourneyLink icon="wifi-high" href="https://platform.claude.com/docs/en/managed-agents/events-and-streaming">
383 Streaming and events
384 </HomeJourneyLink>
385 
386 <HomeJourneyLink icon="code-brackets" href="https://platform.claude.com/docs/en/api/beta/sessions">
387 Sessions API reference
388 </HomeJourneyLink>
389 </HomeJourneyStep>
390 
391 <HomeJourneyStep title="Operate">
392 <HomeJourneyLink icon="settings" href="https://platform.claude.com/docs/en/manage-claude/administering-claude">
393 Administering Claude
394 </HomeJourneyLink>
395 
396 <HomeJourneyLink icon="lock" href="https://platform.claude.com/keys/api-keys">
397 API keys in Claude Console
398 </HomeJourneyLink>
399 
400 <HomeJourneyLink icon="chart" href="https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api">
401 Usage monitoring
402 </HomeJourneyLink>
403 </HomeJourneyStep>
404 </HomeJourneyTab>
405 </HomeJourney>
406 </HomeSection>
407 
408 <HomeSection>
409 <HomeSectionHeader label="Models" title="The Claude model family" description="Choose the right model for your use case." />
410 
411 * [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview) (`claude-fable-5-2`) — New — *For demanding reasoning and long-horizon agentic work* — Most capable · Research · Multi-day tasks
412 * [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview) (`claude-opus-5-5`) — New — *For long-running agentic coding and knowledge work* — Complex projects · Agents · Coding
413 * [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) (`claude-sonnet-5-5`) — New — *The best combination of speed and intelligence* — Everyday tasks · Writing · Cost-efficient
414 * [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview) (`claude-haiku-5-5`) — New — *For high-volume, latency-sensitive tasks such as classification, extraction, and routing* — Fastest · Lowest cost · High volume
415 </HomeSection>
416 
417 <HomeSection last>
418 <HomeSectionHeader label="Resources" title="Keep learning" />
419 
420 <CardGroup cols={3}>
421 <Card icon="graduation-cap" title="Courses" href="https://academy.claude.com/courses">
422 Interactive courses to master Claude.
423 </Card>
424 
425 <Card icon="book" title="Claude Cookbook" href="https://platform.claude.com/cookbook">
426 Code samples and patterns.
427 </Card>
428 
429 <Card icon="play" title="Quickstarts" href="https://github.com/anthropics/claude-quickstarts">
430 Deployable starter apps.
431 </Card>
432 
433 <Card icon="star" title="What’s new" href="https://platform.claude.com/docs/en/release-notes/overview">
434 Latest features and updates.
435 </Card>
436 
437 <Card icon="terminal" title="Claude Code" href="https://code.claude.com/docs">
438 An agentic coding assistant in your terminal.
439 </Card>
440 </CardGroup>
441 </HomeSection>
204 messages: [['role' => 'user', 'content' => 'Hello, Claude']],
205 );
206 print_r($message->content);
207 ```
208 
209 ### Ruby
210 
211 * [Ruby SDK docs](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/ruby)
212 * [RubyGems](https://rubygems.org/gems/anthropic)
213 
214 ```bash
215 bundle add anthropic
216 ```
217 
218 ```ruby Ruby
219 require "anthropic"
220 
221 client = Anthropic::Client.new
222 message = client.messages.create(
223 model: Anthropic::Model::CLAUDE_OPUS_5_5,
224 max_tokens: 1024,
225 messages: [{ role: "user", content: "Hello, Claude" }]
226 )
227 puts(message.content)
228 ```
229 
230 ### CLI
231 
232 * [CLI docs](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart)
233 * [Releases](https://github.com/anthropics/anthropic-cli/releases)
234 
235 ```bash
236 brew install anthropics/tap/ant
237 ```
238 
239 ```bash CLI
240 ant messages create \
241 --model claude-opus-5-5 \
242 --max-tokens 1024 \
243 --message '{role: user, content: "Hello, Claude"}'
244 ```
245 
246 ### cURL
247 
248 * [API reference](https://platform.claude.com/docs/en/api/overview)
249 
250 ```bash cURL
251 curl https://api.anthropic.com/v1/messages \
252 -H "Authorization: Bearer $(ant auth print-credentials --access-token)" \
253 -H "anthropic-version: 2026-10-21" \
254 -H "content-type: application/json" \
255 -d '{
256 "model": "claude-opus-5-5",
257 "max_tokens": 1024,
258 "messages": [{"role": "user", "content": "Hello, Claude"}]
259 }'
260 ```
261 
262 ## Explore features
263 
264 Connect Claude to your tools and data, and control how it responds. See the [features overview](https://platform.claude.com/docs/en/build-with-claude/overview) for the full list.
265 
266 <HomeFeatures>
267 <HomeFeature title="Custom tools" href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools" art="custom-tools">
268 Claude asks to call them; your code runs them and returns the result.
269 </HomeFeature>
270 
271 <HomeFeature title="Structured outputs" href="https://platform.claude.com/docs/en/build-with-claude/structured-outputs" art="structured-outputs">
272 Constrains Claude’s response to a JSON schema that you give, so the output is valid and parseable.
273 </HomeFeature>
274 
275 <HomeFeature title="Effort" href="https://platform.claude.com/docs/en/build-with-claude/effort" art="effort">
276 Controls how many tokens Claude spends on a response, trading thoroughness for token efficiency.
277 </HomeFeature>
278 
279 <HomeFeature title="Vision" href="https://platform.claude.com/docs/en/build-with-claude/vision" art="vision">
280 Claude can read and analyze images that you send to it.
281 </HomeFeature>
282 
283 <HomeFeature title="MCP connector" href="https://platform.claude.com/docs/en/agents-and-tools/mcp-connector" art="mcp-connector">
284 Connect Claude to remote MCP servers so it can call their tools, without running your own MCP client.
285 </HomeFeature>
286 
287 <HomeFeature tile title="Streaming" href="https://platform.claude.com/docs/en/build-with-claude/streaming" art="streaming" />
288 
289 <HomeFeature tile title="Computer use" href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool" art="computer-use" />
290 
291 <HomeFeature tile title="Fast mode" href="https://platform.claude.com/docs/en/build-with-claude/fast-mode" art="fast-mode" />
292 
293 <HomeFeature tile title="Prompt caching" href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching" art="prompt-caching" />
294 </HomeFeatures>
295 
296 ## Use Claude on your cloud
297 
298 Use Claude through the cloud account and billing you already have.
299 
300 * [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock): Operated by AWS, inside the AWS security boundary.
301 * [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws): Operated by Anthropic and billed through AWS Marketplace.
302 * [Claude Models on Google Cloud](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/overview): Operated by Anthropic or Google and billed through Google Cloud.
303 * [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry): Azure-native endpoints, billed through the Azure Marketplace.
304 
305 ## Get started
306 
307 1. **Make your first API call:** Set up your environment, install an SDK, and send your first message to Claude. [Go to the quickstart](https://platform.claude.com/docs/en/get-started)
308 2. **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. [Read the authentication guide](https://platform.claude.com/docs/en/manage-claude/authentication)
309 3. **Understand the Messages API:** Learn the core request and response structure, including multi-turn conversations, system prompts, and stop reasons. [Read the Messages API guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages)
310 4. **Choose the right model:** Compare Claude models by capability and cost to pick the best fit for your use case. [See the models overview](https://platform.claude.com/docs/en/models/overview)
311 5. **Explore features and tools:** Discover what Claude can do: thinking, web search, file handling, structured outputs, and more. [Browse the features overview](https://platform.claude.com/docs/en/build-with-claude/overview)
312 
313 ## What’s new
314 
315 * December 3, 2026: [Terraform provider](https://platform.claude.com/docs/en/release-notes/overview#terraform-provider) — We’ve launched the Terraform provider in beta, so you can manage Claude Platform resources as code.
316 * December 1, 2026: [Claude Managed Agents for Amazon Bedrock](https://platform.claude.com/docs/en/release-notes/overview#claude-managed-agents-for-amazon-bedrock) — We’ve launched Claude Managed Agents in beta on Amazon Bedrock.
317 * November 30, 2026: [The new projects experience in the Claude Enterprise Analytics API](https://platform.claude.com/docs/en/release-notes/overview#analytics-api-new-projects-experience) — 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.
318 * November 30, 2026: [Claude Sonnet 4.5 retirement](https://platform.claude.com/docs/en/release-notes/overview#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.
319 * November 30, 2026: [The new projects experience in the Compliance API](https://platform.claude.com/docs/en/release-notes/overview#compliance-api-new-projects-experience) — The Compliance API now covers the new projects experience, in beta for Claude Enterprise organizations.
320 
321 [Release notes](https://platform.claude.com/docs/en/release-notes/overview)
322 
323 ## Additional resources
324 
325 * [Claude Cookbook](https://platform.claude.com/cookbook): Code samples and patterns
326 * [Starter apps](https://github.com/anthropics/claude-quickstarts): Deployable projects to build on
327 * [Courses](https://academy.claude.com/courses): Interactive courses to master Claude
328 * [Claude Code](https://code.claude.com/docs): An agentic coding assistant
329 
330 ## Next steps
331 
332 * [Quickstart](https://platform.claude.com/docs/en/get-started): Make your first API call to Claude.
333 * [Features overview](https://platform.claude.com/docs/en/build-with-claude/overview): Explore Claude’s advanced features and capabilities.
334 * [API reference](https://platform.claude.com/docs/en/api/overview): Look up endpoints, headers, and rate limits.
335 * [Pricing](https://platform.claude.com/docs/en/about-claude/pricing): See prices for models and features.
442336</HomePage>
443337 
Feedback