Poe API
Claude-Sonnet-4.5
By
Claude Sonnet 4.5 represents a major leap forward in AI capability and alignment. It is the most advanced model released by Anthropic to date, distinguished by dramatic improvements in reasoning, mathematics, and real-world coding. Supports 1m tokens of context.
Powered by Anthropic: claude-sonnet-4-5-20250929. Learn more
- OFFICIAL
Build with Claude-Sonnet-4.5 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Use it in these apps
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-4.5",
max_tokens = 1024,
messages = [{
"role": "user",
"content": "Make a webpage where I can draw and paint with my mouse"
}]
)
print(message.content[0].text)See the full documentation for comprehensive guidance on getting started.
More from Anthropic
Claude-Sonnet-4.6
Claude-Opus-4.6
Claude-Opus-4.5
Claude-Haiku-4.5
Claude-Sonnet-4.5
Claude-Opus-4.1
Claude-Opus-4
Claude-Sonnet-4
Claude-Sonnet-3.7
Claude-Haiku-3.5







