Poe API
GPT‑5.4 Mini is a fast, affordable general‑purpose model designed for production assistants, coding support, document analysis, and multimodal reasoning. With a 400k‑token context window, it handles complex inputs and scalable workflows with strong reliability.
This bot supports optional parameters for additional customization.
Powered by OpenAI: gpt-5.4-mini. Learn more
- OFFICIAL
- NEW
Build with GPT-5.4-Mini 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.4-mini",
messages = [{
"role": "user",
"content": "Analyze the root causes and subsequent impacts of the Industrial Revolution in Europe"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.