Poe API
OpenAI’s flagship general‑purpose model, built for advanced reasoning, comprehension, and creativity. It delivers robust performance across text and code, with significant improvements in factual accuracy, long‑context understanding, and multilingual fluency. Ideal for research, content creation, analysis, and problem‑solving in any domain.
Supports 400k of input context window.
Optional parameters:
Set reasoning effort: Select from `low`, `medium`, `high`. No reasoning effort by default.
Set web search and real-time information access: toggle it `on`, otherwise it is `off` by default.
Set verbosity to control response details at the end of your message: Select from `low`, `medium`, `high`. This is set to `medium` by default.
Powered by OpenAI: gpt-5.1. Learn more
- OFFICIAL
Build with GPT-5.1 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 = "gpt-5.1",
messages = [{
"role": "user",
"content": "Explain the concept of black holes in a way that a 10-year-old would understand"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.