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 K2.6 is Kimi's flagship versatile model on Alibaba Cloud Model Studio for dialogue and agent tasks, with native multimodal (text + vision) input and optional thinking mode.
/ 1M input tokens
/ 1M output tokens
Cache pricing
/ 1M tokens
Implicit cache
Cache creation
Cache read
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-K2.6",
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=16384,
temperature=0.6,
top_p=0.95,
stream=False,
presence_penalty=0,
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="moonshotai/Kimi-K2.6",
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=16384,
temperature=0.6,
top_p=0.95,
stream=False,
presence_penalty=0,
extra_body={
"enable_thinking": True,
}
)
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-K2.6",
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=16384,
temperature=0.6,
top_p=0.95,
stream=False,
presence_penalty=0,
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="moonshotai/Kimi-K2.6",
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=16384,
temperature=0.6,
top_p=0.95,
stream=False,
presence_penalty=0,
extra_body={
"enable_thinking": True,
}
)
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