OpenAIChat
OpenAI: GPT-5.1-Codex-Max
openai/gpt-5.1-codex-max
400KContext Window
128KMax Output
Supported Protocols:reasoninginclude_reasoningseedmax_tokensresponse_formatstructured_outputstool_choicetools
Normal
GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic workflows spanning software engineering, mathematics, and research. GPT-5.1-Codex-Max delivers faster performance, improved reasoning, and higher token efficiency across the development lifecycle.
Capabilities
👁 Vision🧠 Reasoning🔧 Function CallingText GenerationCode GenerationAnalysis & ReasoningReasoning
Technical Specs
Input Modality
Text、Image
Output Modality
Text
Arch
—
Default Temperature
0.7
Default Top_P
1
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $1.2500/M tokens |
| Text Output | — | $10.0000/M tokens |
| Cache Read | — | $0.1250/M tokens |
| Web Search | — | $0.0100/次 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.1-codex-max",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
OpenAI
OpenAI: GPT-5.1-Codex-Max
openai/gpt-5.1-codex-max
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window400K
Max Output128K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →