Loading model details...
Fetching the latest models and pricing from the API.
Loading model details...
Fetching the latest models and pricing from the API.
Qwen3.8-Max-0902(alias qwen3.8-max-2026-09-02)is an upgraded snapshot of qwen3.8-max. Coding capability breaks new ground, handling more complex engineering-scale projects and long-horizon autonomous development. Collaborative agent performance is significantly enhanced, with greater composure in multi-tool orchestration and end-to-end task delivery. Native vision understanding is refined across chart reasoning, document parsing, and multimodal perception — sharper and more reliable. Retains the 1M context window, thinking mode, and full tool ecosystem, evolving at a higher level of intelligence.
/ 1M input tokens
/ 1M output tokens
Cache pricing
/ 1M tokens
Implicit cache
from openai import OpenAI
# Initialize the OpenAI client with Qubrid base URL
client = OpenAI(
base_url="https://qubrid.com/v1",
api_key="QUBRID_API_KEY",
)
response = client.chat.completions.create(
model="Qwen/Qwen3.8-Max-0902",
messages=[
{
"role": "user",
"content": "Explain the main benefits of using a chat completion API for text generation."
}
],
max_tokens=4096,
temperature=0.7,
top_p=1,
stream=False,
extra_body={
"enable_thinking": True,
}
)
print(response.choices[0].message.content)from openai import OpenAI
# Initialize the OpenAI client with Qubrid base URL
client = OpenAI(
base_url="https://qubrid.com/v1",
api_key="QUBRID_API_KEY",
)
response = client.chat.completions.create(
model="Qwen/Qwen3.8-Max-0902",
messages=[
{
"role": "user",
"content": "Explain the main benefits of using a chat completion API for text generation."
}
],
max_tokens=4096,
temperature=0.7,
top_p=1,
stream=False,
extra_body={
"enable_thinking": True,
}
)
print(response.choices[0].message.content)Example response
A chat completion API provides a standard way to send conversational input and receive model-generated text in a single request. Key benefits include: • Interoperability: any client can use HTTP with JSON request and response bodies. • Flexibility: system prompts, user messages, and parameters such as temperature and max tokens are easy to configure. • Observability: responses typically include token usage fields for cost and performance tracking. A typical integration sends a POST request with the model name and messages array, then reads the assistant message from the first choice in the response.
from openai import OpenAI
# Initialize the OpenAI client with Qubrid base URL
client = OpenAI(
base_url="https://qubrid.com/v1",
api_key="QUBRID_API_KEY",
)
response = client.chat.completions.create(
model="Qwen/Qwen3.8-Max-0902",
messages=[
{
"role": "user",
"content": "Explain the main benefits of using a chat completion API for text generation."
}
],
max_tokens=4096,
temperature=0.7,
top_p=1,
stream=False,
extra_body={
"enable_thinking": True,
}
)
print(response.choices[0].message.content)from openai import OpenAI
# Initialize the OpenAI client with Qubrid base URL
client = OpenAI(
base_url="https://qubrid.com/v1",
api_key="QUBRID_API_KEY",
)
response = client.chat.completions.create(
model="Qwen/Qwen3.8-Max-0902",
messages=[
{
"role": "user",
"content": "Explain the main benefits of using a chat completion API for text generation."
}
],
max_tokens=4096,
temperature=0.7,
top_p=1,
stream=False,
extra_body={
"enable_thinking": True,
}
)
print(response.choices[0].message.content)Example response
A chat completion API provides a standard way to send conversational input and receive model-generated text in a single request. Key benefits include: • Interoperability: any client can use HTTP with JSON request and response bodies. • Flexibility: system prompts, user messages, and parameters such as temperature and max tokens are easy to configure. • Observability: responses typically include token usage fields for cost and performance tracking. A typical integration sends a POST request with the model name and messages array, then reads the assistant message from the first choice in the response.
Streaming supported • Function calling supported • See all examples in Playground Open in Playground for streaming, files, and all parameters.
Open in Playground