openai-sdk changedcli-sdks-libraries/libraries/openai-sdk
Recorded here
Lines+36added
Lines−0removed
From line
2
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
## Availability ### API support #### [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages)
The whole hunk
from line 2, old and new numbered
/
from line 2
22title: OpenAI SDK compatibility
33url: https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/openai-sdk
44description: Anthropic provides a compatibility layer that lets you use the OpenAI SDK to test the Claude API. With a few code changes, you can evaluate Anthropic model capabilities.
5featureMetadata:
6 status: ga
7 supportedModels:
8 - claude-fable-5-1
9 - claude-mythos-5-1
10 - claude-fable-5
11 - claude-mythos-5
12 - claude-mythos-preview
13 - claude-opus-5-5
14 - claude-opus-5
15 - claude-sonnet-5-5
16 - claude-sonnet-5
17 - claude-haiku-5-5
18 - claude-haiku-4-5-20251001
19 - claude-opus-4-8
20 - claude-opus-4-7
21 - claude-opus-4-6
22 - claude-sonnet-4-6
23 - claude-opus-4-5-20251101
24 - claude-sonnet-4-5-20250929
25 supportedPlatforms:
26 Claude API: ga
527---
628
729<Note>
from line 496
474496| `openai-version` | Always `2020-10-01` |
475497| `authorization` | Fully supported |
476498| `openai-processing-ms` | Always empty |
499
500## Availability
501
502OpenAI SDK compatibility is available on every model.
503
504### API support
505
506#### [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages)
507
508* Availability: Available
509
510| Status | Cloud platforms |
511| --------- | --------------- |
512| Available | Claude API |
477513
No line in this hunk matches that.