Qwen4-Max
qwen/qwen4-max
Qwen4-Max through Alibaba Cloud Model Studio, with text, reasoning, tools and image input.
Launched on IteraCompute
- Input
- $1.50
- Output
- $4.50
USD / 1M tokens
USD / 1M tokens
Catalog updated: 2026-10-29.
Efficient reasoning model for focused, high-volume tasks, with text and image input and configurable reasoning effort.
https://api.iteracompute.com/v1Authorization: Bearer ITERACOMPUTE_API_KEYChoose request fields, response parsing and stream completion by endpoint. This table describes wire formats; see this model's capabilities and verification scope.
| Customer endpoint | Model status | Input / output budget | Result | SSE completion |
|---|---|---|---|---|
OpenAI Chat CompletionsPOST /v1/chat/completions | Declared for this model | messagesmax_tokens | choices[0].message.content | [DONE] |
OpenAI ResponsesPOST /v1/responses | Declared for this model | inputmax_output_tokens | output[] (SDK: output_text) | response.completed |
Anthropic MessagesPOST /v1/messages | Declared for this model | messages; system (top-level)max_tokens (required) | content[] | message_stop |
For the Messages SDK use https://api.iteracompute.com as base URL; max_tokens is required. Do not reuse another protocol's fields.
Includes this model's ID, wire formats and parameter constraints. Check this page's verification scope and current prices before use.
# IteraCompute · openai/gpt-6-luna
Model ID: openai/gpt-6-luna
Base URL (OpenAI SDK): https://api.iteracompute.com/v1
Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY
Content-Type: application/json
Use only the customer endpoints below. Request and response formats differ by protocol. An endpoint declaration does not certify every capability.
## 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
Configuration and parameter acceptance do not establish semantic capability. Do not invent undisclosed defaults.
Current parameter configuration is unconfirmed. Check the model page and current catalog before calling.
## 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.
Responses is stateless on this route: send the full conversation, store=false and background=false; previous_response_id and conversation are unavailable. Cache affinity does not guarantee a cache hit. GPT-6 Chat may be bridged to Responses.
Use the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.
These parameters and ranges come from the model’s existing default configuration, not live verification of the current route. Published configuration takes precedence.
Click a parameter to copy its name; scroll the table horizontally to see all columns. Usage notes identify protocol differences; identical names do not guarantee cross-endpoint support.
| Parameter | Type | Acceptance | Range | Usage / protocol |
|---|---|---|---|---|
| integer | Reference: supported | [1, 128000] | Output token budget; includes reasoning where applicable. Chat Completions / Messages. | |
| integer | Reference: supported | [1, 128000] | Alternative Chat output budget; use only when accepted by this model. | |
| integer | Reference: supported | [1, 128000] | Responses output budget. Chat acceptance must be checked separately. | |
| number | Reference: supported | [0, 2] | Sampling randomness. An accepted but ignored value does not control generation. | |
| number | Reference: supported | [0, 1] | Nucleus sampling probability threshold. | |
| number | Reference: supported | [-2, 2] | Penalize tokens already present in the generated text. | |
| number | Reference: supported | [-2, 2] | Penalize repeated tokens according to frequency. | |
| integer | Reference: supported | [1, 1] | Number of completions; many routes accept only 1. | |
| boolean | Reference: supported | — | Enable SSE streaming; completion markers depend on the protocol. | |
| array | Reference: supported | — | Tool definitions; the application executes tool calls and returns results. | |
| any | Reference: supported | — | Choose whether and which tool to call; allowed shapes vary by protocol. | |
| object | Reference: supported | — | Text: Chat output format. Images: b64_json only; not text JSON mode. | |
| any | Reference: supported | — | Reasoning control; object or boolean depends on the model and protocol. | |
| enum | Reference: supported | [false] | Responses storage control; acceptance does not establish retention guarantees. | |
| enum | Reference: supported | [false] | Responses: background execution (false on stateless routes). Images: auto, opaque or transparent. | |
| enum | Reference: supported | ["none","low","medium","high","xhigh","max"] | Chat reasoning effort; use the model's listed values, not another protocol's shape. |
POST /v1/chat/completions
{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
}Parameter revision:6caa3f4313ac
Click a parameter to copy its name.
| Parameters | Usage |
|---|---|
| Use the exact model ID and chat message list | |
| Use tools to define functions and role=tool to return their results | |
| Use SSE streaming with final usage | |
| Set an output budget within the model and account limits |
Parameters vary by model. Keep model-specific controls separate from shared OpenAI-compatible fields.
Interface reference checked: 2026-10-23
| Parameters | Usage |
|---|---|
| Chat uses max_tokens or max_completion_tokens; Responses uses max_output_tokens. Use positive integers within Gateway limits. | |
| Effort supports low/medium/high/xhigh/max (default medium). Only Luna accepts none. Omit sampling and logprobs while reasoning is enabled. |
2026-10-26
Current parameter configuration is unconfirmed; the historical example below has not been verified against the current configuration.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.iteracompute.com/v1",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.chat.completions.create(
model='openai/gpt-6-luna',
messages=[{'role': 'user', 'content': 'Reply OK'}],
max_tokens=256,
reasoning_effort='low',
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.chat.completions.create({
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
});
console.log(response.choices[0].message.content);curl https://api.iteracompute.com/v1/chat/completions \
-H "Authorization: Bearer ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.iteracompute.com/v1",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.responses.create(
model='openai/gpt-6-luna',
input='Reply OK',
max_output_tokens=256,
reasoning={'effort': 'low'},
)
print(response.output_text)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.responses.create({
"model": "openai/gpt-6-luna",
"input": "Reply OK",
"max_output_tokens": 256,
"reasoning": {
"effort": "low"
}
});
console.log(response.output_text);curl https://api.iteracompute.com/v1/responses \
-H "Authorization: Bearer ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"input": "Reply OK",
"max_output_tokens": 256,
"reasoning": {
"effort": "low"
}
}'import os
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.iteracompute.com",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.messages.create(
model='openai/gpt-6-luna',
max_tokens=256,
messages=[{'role': 'user', 'content': 'Reply OK'}],
output_config={'effort': 'low'},
)
print("".join(block.text for block in response.content if block.type == "text"))import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.iteracompute.com",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.messages.create({
"model": "openai/gpt-6-luna",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"output_config": {
"effort": "low"
}
});
console.log(response.content.filter(block => block.type === "text").map(block => block.text).join(""));curl https://api.iteracompute.com/v1/messages \
-H "x-api-key: ITERACOMPUTE_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"output_config": {
"effort": "low"
}
}'Prices in USD per 1M tokens, checked 2026-11-17: $0.10 input, $0.01 cached input, $0.50 output.
Official billing conditions reviewed 2026-11-11. USD per 1M tokens; standard real-time calls, excluding batch, Flex, priority modes and free quotas.
OpenAI Standard API, per 1M tokens (input / cache read / output): ≤272K input tokens $0.10 / $0.01 / $0.50; >272K $0.20 / $0.02 / $0.75 for the full request. Cache writes cost $0.125 (30m) or $0.25 (12h) in the lower tier; both double above 272K. Regional processing adds 10% where available.
Official pricing and conditions 1 · Official pricing and conditions 2
openai/gpt-6-lunaBackend revision: not disclosedUse the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.
Price source: Public Models API · Price and precision evidence are reviewed separately.
Cache-read rates require actual cache hits. A missing rate (—) is unknown, not zero. See usage limits for account and Gateway context restrictions.
Input includes cache reads and writes; these portions must not overlap. Output already includes reasoning; enter reasoning as a subset, never add it twice. Count agent steps and retries as requests.
Estimated monthly cost
—USDGPT-6 Luna
Cache hits and capacity are not guaranteed.
Use for code review, document analysis and multi-step work. Gateway tool cycles were verified on both Chat Completions and Responses API. The tested Chat Completions settings were reasoning_effort=low for Astra and Sol, and reasoning_effort=none for Luna.
Set base_url to https://api.iteracompute.com/v1 and model to openai/gpt-6-luna. Authenticate with your IteraCompute API key.
See the pricing section for current input, cached-input and output rates in USD per 1M tokens. Check the refresh time before use.
See the summary above for the context and maximum output available through this API. Input and requested output share the context budget.
Create your key, choose a tool and get a non-empty first reply.
Explore the models selected for New Arrivals, with API pricing, supported capabilities and integration guides.
qwen/qwen4-max
Qwen4-Max through Alibaba Cloud Model Studio, with text, reasoning, tools and image input.
Launched on IteraCompute
USD / 1M tokens
openai/gpt-6.1-terra
OpenAI text and visual reasoning model for applications, coding and document workflows.
Launched on IteraCompute
USD / 1M tokens
gemini/gemini-nano-banana-2.1
Generate images from text and edit reference images through one image API, with native image and reasoning usage.
Launched on IteraCompute