openai/gpt-5.1-codex-maxOpenAI's highest-capacity Codex model with maximum context and compute for large-scale code generation and agentic software engineering.
| Mode | responses |
| Context Window | 272K tokens |
| Max Output | 128K tokens |
| Function Calling | Supported |
| Vision | Supported |
| Reasoning | Supported |
| Web Search | - |
| Url Context | - |
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.1-codex-max",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)OpenAI-compatible endpoint. Start building in minutes.