Poe API

Chat

Uses Claude-Sonnet-4.5, a model that is powered by Anthropic. Learn more

Build with Claude-Math-Solver using the Poe API

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

Generate API key

Code samples

python
import openai

client = openai.OpenAI(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com/v1",
)

response = client.responses.create(
    model = "claude-math-solver",
    input = "Hello world"
)

print(response.output_text)

See the full documentation for comprehensive guidance on getting started.