Poe API
o4-mini
o4-mini provides high intelligence on a variety of tasks and domains, including science, math, and coding at an affordable price point.
This bot supports 200k tokens of input context and 100k tokens of output context.
This bot supports optional parameters for additional customization.
Powered by OpenAI: o4-mini-2025-04-16. Learn more
Build with o4-mini 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 = "o4-mini",
input = "Hello world"
)
print(response.output_text)See the full documentation for comprehensive guidance on getting started.
More from OpenAI
GPT-Image-2
GPT-5.5-Pro
GPT-5.5
GPT-5.4-Mini
GPT-5.4-Nano
GPT-5.4-Pro
GPT-5.3-Instant
GPT-5.4
GPT-5.3-Codex
GPT-5.2-Codex







