Kimi K2.7 Code

Kimi K2.7 Code

latest
Model IDkimi-k2.7-code
Compare with other models

Kimi K2.7 Code is Moonshot AI's most capable coding model to date, with long-horizon agentic coding, multimodal input (text, image, and video), and thinking mode via the Moonshot API.

262,144 Tokens ContextFast InferenceCodingFunction CallingMultilingualVision Ready
Save 20%
$1.19$0.95/1M

input tokens

$5.00$4.00/1M

output tokens

Cached $0.24$0.19/1M cached tokens

from openai import OpenAI # Initialize the OpenAI client with Qubrid base URL client = OpenAI( base_url="https://platform.qubrid.com/v1", api_key="QUBRID_API_KEY", ) stream = client.chat.completions.create( model="moonshotai/Kimi-K2.7-Code", 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=32768, temperature=1, top_p=0.95, stream=True, presence_penalty=0 ) for chunk in stream: if chunk.choices and chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True) print("\n")

Enterprise
Platform Integration

Docker

Docker Support

Official Docker images for containerized deployments

Kubernetes

Kubernetes Ready

Production-grade KBS manifests and Helm charts

SDK

SDK Libraries

Official SDKs for Python, Javascript, Go, and Java

Don't let your AI control you. Control your AI the Qubrid way!

Have questions? Want to Partner with us? Looking for larger deployments or custom fine-tuning? Let's collaborate on the right setup for your workloads.

"Qubrid helped us turn a collection of AI scripts into structured production workflows. We now have better reliability, visibility, and control over every run."

AI Infrastructure Team

Automation & Orchestration