# IteraCompute · qwen/qwen4-max Model ID: qwen/qwen4-max Base URL (OpenAI SDK): https://api.iteracompute.com/v1 Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY Content-Type: application/json 仅使用下列客户接口;不同协议的请求和响应结构不可混用。接口声明不等于每项能力均已实测。 ## Chat Completions POST https://api.iteracompute.com/v1/chat/completions Input: messages Output budget: max_tokens Read result: choices[0].message.content SSE completion: [DONE] Docs: https://iteracompute.com/docs.html#api-reference ## Responses POST https://api.iteracompute.com/v1/responses Input: input Output budget: max_output_tokens Read result: output[] (SDK: output_text) SSE completion: response.completed Docs: https://iteracompute.com/docs.html#responses-api ## Messages POST https://api.iteracompute.com/v1/messages Input: messages; system (top-level) Output budget: max_tokens (required) Read result: content[] SSE completion: message_stop Docs: https://iteracompute.com/docs.html#anthropic-messages ## Parameters 配置范围和参数可接收性不等于模型语义能力验收;未公布的默认值不要自行补全。 Parameter revision: 7e613f33e3eb8fe978e5e155b9783070df559968b8342b443854839aa948729f Context tokens: 983616 Maximum output tokens: 262144 Capability tools: configured enabled (see verification scope) Capability reasoning: configured enabled (see verification scope) Capability vision: configured enabled (see verification scope) Capability streaming: configured enabled (see verification scope) Capability json_mode: configured enabled (see verification scope) - max_tokens: integer; accepted; min=1; max=262144; default=未公布. 输出 Token 预算;适用时包含推理 Token。用于 Chat Completions / Messages。 - max_completion_tokens: integer; accepted; min=1; max=262144; default=未公布. Chat 输出预算的另一字段,仅在此模型接收时使用。 - max_output_tokens: integer; accepted; min=1; max=262144; default=未公布. Responses 输出预算;Chat 是否接收此字段须单独核对。 - stream: boolean; accepted; min=unknown; max=unknown; default=未公布. 启用 SSE 流式输出;结束标记因协议而异。 - tools: array; accepted; min=unknown; max=unknown; default=未公布. 工具定义;由应用执行工具调用并回传结果。 - tool_choice: any; accepted; min=unknown; max=unknown; default=未公布. 控制是否调用以及调用哪个工具;值的结构因协议而异。 - response_format: object; accepted; min=unknown; max=unknown; default=未公布. 文本:Chat 输出格式。图片:只接收 b64_json,与文本 JSON 模式不同。 - reasoning: any; accepted; min=unknown; max=unknown; default=未公布. 推理控制;对象或布尔值的具体用法取决于模型和协议。 - reasoning_effort: enum; accepted; values=["none","low","high","xhigh"]; default=high. Chat 推理强度;使用此模型列出的枚举值,不混用其他协议的结构。 ## Chat Completions example · JSON body ```json { "model": "qwen/qwen4-max", "messages": [ { "role": "user", "content": "Reply OK" } ], "max_tokens": 256, "reasoning_effort": "low" } ``` ## Responses example · JSON body ```json { "model": "qwen/qwen4-max", "input": "Reply OK", "max_output_tokens": 256, "reasoning": { "effort": "low" } } ``` ## Messages example · JSON body ```json { "model": "qwen/qwen4-max", "max_tokens": 256, "messages": [ { "role": "user", "content": "Reply OK" } ], "output_config": { "effort": "low" } } ``` ## References Model catalog: https://iteracompute.com/models/ Current prices and billing: https://iteracompute.com/pricing/ Documentation index: https://iteracompute.com/llms.txt Unknown prices are not zero. Account and subscription limits also apply. Never include a real API key in an LLM prompt or client-side code.