Poe API
GPT-5-Codex
By
GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. It supports multimodal inputs such as images or screenshots for UI development and a 400k token context window.
Note:
We recommend using GPT-5-Codex only for agentic and interactive coding use cases.
Optional parameter:
Set reasoning effort: Select from `minimal`, `low`, `medium`, `high`. Minimal reasoning effort is set by default
Powered by OpenAI: gpt-5-codex. Learn more
- OFFICIAL
Build with GPT-5-Codex 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 = "gpt-5-codex",
input = "Create a webpage where I can heavily stylize and dramatize inputted text in real-time"
)
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







