Poe API
o4-mini
By
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
- OFFICIAL
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 apps
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 = "Write a simple function that generates the nth element of the Fibonacci sequence for an input n and then optimize its implementation."
)
print(response.output_text)See the full documentation for comprehensive guidance on getting started.
More from OpenAI
GPT-5.4-Mini
GPT-5.4-Nano
GPT-5.4-Pro
GPT-5.3-Codex-Spark
GPT-5.3-Instant
GPT-5.4
GPT-5.3-Codex
GPT-5.2-Codex
GPT-Image-1.5
GPT-5.2-Pro







