Poe API
GPT-5.1
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.
Powered by OpenAI: gpt-5.1. Learn more
Build with GPT-5.1 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Use it in these bots
See allCode samples
Responses API
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 = "gpt-5.1",
input = "Hello world"
)
print(response.output_text)See the full documentation for comprehensive guidance on getting started.
More from OpenAI
New
GPT-Image-2.5-Sunburst
New
GPT-Image-2.5-Flare
GPT-6-Astra
GPT-OSS-120B
GPT-5.6-Luna
GPT-5.6-Terra
GPT-5.6-Sol
GPT-Image-2
GPT-5.5-Pro
GPT-5.5







