Codex Responses Compact
OpenAI 兼容
Responses Compact
POST
Codex Responses Compact
调用示例
请求体结构与 Chat Completions 相同;服务端会先把历史轮次自动压缩,再转发到上游。响应示例
响应结构与 Chat Completions 完全一致;compact 前缀只影响服务端对历史轮次的压缩处理,不改变响应格式。
/v1/chat/completions 一致。
专为 Codex CLI 的长会话设计。其它客户端按
/v1/chat/completions 的方式调用即可。加群 & 客服


Authorizations
Use the API key created at https://coder.visioncoder.cn/key as the Bearer token. Anthropic clients can pass the same key via the x-api-key header.
Body
application/json
Compact request body used by Codex CLI when wire_api="responses" is enabled. Same structure as Chat Completions.