Poe API
Claude-Sonnet-5.5
Anthropic's Claude Sonnet 5.5 for fast everyday work, coding, and document creation, with a 1M-token context window, image understanding, adjustable reasoning effort, and web search.
Powered by a server managed by @anthropic. Learn more
Build with Claude-Sonnet-5.5 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Use it in these bots
See allCode samples
Messages API
import anthropic
client = anthropic.Anthropic(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com",
)
message = client.messages.create(
model = "claude-sonnet-5.5",
max_tokens = 1024,
messages = [{
"role": "user",
"content": "Hello world"
}]
)
print(message.content[0].text)See the full documentation for comprehensive guidance on getting started.
More from Anthropic
New
Claude-Haiku-5.5
Claude-Sonnet-5.5
Claude-Opus-5.5
Claude-Fable-5.1
Claude-Opus-5
Claude-Sonnet-5
Claude-Fable-5
Claude-Opus-4.8
Claude-Opus-4.7
Claude-Sonnet-4.6







