Poe API

Bot image for Claude-Haiku-4.5

Claude-Haiku-4.5

Chat

Powered by Anthropic: claude-haiku-4-5-20251001. Learn more
  1. OFFICIAL

Build with Claude-Haiku-4.5 using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code 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-haiku-4.5",
    max_tokens = 1024,
    messages = [{
      "role": "user",
      "content": "Summarize the core ideas presented in the novel 'To Kill a Mockingbird' by Harper Lee"
    }]
)

print(message.content[0].text)

See the full documentation for comprehensive guidance on getting started.


More from Anthropic

Bot image for Claude-Sonnet-4.6
Claude-Sonnet-4.6
Bot image for Claude-Opus-4.6
Claude-Opus-4.6
Bot image for Claude-Opus-4.5
Claude-Opus-4.5
Bot image for Claude-Haiku-4.5
Claude-Haiku-4.5
Bot image for Claude-Sonnet-4.5
Claude-Sonnet-4.5
Bot image for Claude-Opus-4.1
Claude-Opus-4.1
Bot image for Claude-Opus-4
Claude-Opus-4
Bot image for Claude-Sonnet-4
Claude-Sonnet-4
Bot image for Claude-Sonnet-3.7
Claude-Sonnet-3.7
Bot image for Claude-Haiku-3.5
Claude-Haiku-3.5