Poe API
Claude Opus 4.6 is Anthropic’s most advanced AI model, built for deep reasoning, complex coding, and long‑running autonomous tasks. It excels at planning, debugging, and working across large codebases, and supports a 1M‑token context window for understanding massive amounts of information. Designed for professional knowledge work, it combines state‑of‑the‑art performance with strong safety and reliability.
Optional parameters:
Output effort: At the default effort level (high), the model uses extended thinking when useful, but developers can adjust the effort level to make it more or less selective. Choose none to turn off thinking.
Web search: Enables web search and real-time information access.
Powered by Anthropic: claude-opus-4-6. Learn more
- OFFICIAL
Build with Claude-Opus-4.6 using the Poe API
Start by creating an API key, for use with any bot on Poe:
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",
)
chat = client.chat.completions.create(
model = "claude-opus-4.6",
messages = [{
"role": "user",
"content": "A train leaves at noon, traveling 60 mph. One hour later, another train follows at 80 mph. After how many hours does the second train catch up?"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.