Loading model details...
Fetching the latest models and pricing from the API.
Loading model details...
Fetching the latest models and pricing from the API.
Kimi K3.1 Pro is Moonshot AI's flagship 3T-class model — a post-trained successor to Kimi K3 with a 1M-token context window, native visual understanding, and configurable reasoning effort (low / high / max). Strong gains in coding, 3D creation, financial research, and agentic workflows.
/ 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="moonshotai/Kimi-K3.1-Pro",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is in this image? Describe the main elements."
},
{
"type": "image_url",
"image_url": {
"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
}
}
]
}
],
max_tokens=300,
temperature=0.7,
stream=False,
extra_body={
"reasoning_effort": "max",
}
)
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="moonshotai/Kimi-K3.1-Pro",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is in this image? Describe the main elements."
},
{
"type": "image_url",
"image_url": {
"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
}
}
]
}
],
max_tokens=300,
temperature=0.7,
stream=False,
extra_body={
"reasoning_effort": "max",
}
)
print(response.choices[0].message.content)Example response
The image shows a clear visual scene with distinct subjects, background context, and balanced composition. Notable elements include primary objects, spatial layout, color and lighting, and any readable text or symbols that support a concise description.
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="moonshotai/Kimi-K3.1-Pro",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is in this image? Describe the main elements."
},
{
"type": "image_url",
"image_url": {
"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
}
}
]
}
],
max_tokens=300,
temperature=0.7,
stream=False,
extra_body={
"reasoning_effort": "max",
}
)
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="moonshotai/Kimi-K3.1-Pro",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is in this image? Describe the main elements."
},
{
"type": "image_url",
"image_url": {
"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
}
}
]
}
],
max_tokens=300,
temperature=0.7,
stream=False,
extra_body={
"reasoning_effort": "max",
}
)
print(response.choices[0].message.content)Example response
The image shows a clear visual scene with distinct subjects, background context, and balanced composition. Notable elements include primary objects, spatial layout, color and lighting, and any readable text or symbols that support a concise description.
Multimodal messages with image_url • Streaming and tool calls supported Open in Playground for streaming, files, and all parameters.
Open in Playground