Moonshot

Kimi K3

moonshot/kimi-k3
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*/v1/completions

Kimi K3 是 Kimi 迄今能力最强的旗舰模型,拥有 2.8 万亿参数,基于 KDA 混合线性注意力机制(Kimi Delta Attention)和注意力残差(Attention Residuals)技术构建,原生支持视觉理解,并拥有 100 万 token 上下文窗口。它是全球首个开源的 3 万亿级别模型,面向长程编程、知识工作和推理等前沿智能场景而设计。

Input / output modalities
文本 · 图像 · 视频 to 文本
Reference input / output price
Input¥20Output¥100per 1M tokens
Context window
1M
Added to catalog
Jul 17, 2026

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Moonshot AI¥20¥100¥21M132K
Other-A¥20¥100¥2256K32K
Ali¥20¥100¥21M132K

Moonshot AI

Latency
364.96s
Throughput
28 tokens/s
Context
1M

Pricing

Input
¥20/M tokens
Output
¥100/M tokens
Cached
¥2/M tokens

Specifications

Context
1M
Max output
132K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*/v1/completions

Other-A

Latency
4.86s
Throughput
75 tokens/s
Context
256K

Pricing

Input
¥20/M tokens
Output
¥100/M tokens
Cached
¥2/M tokens

Specifications

Context
256K
Max output
32K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*/v1/completions

Ali

Latency
1.28s
Throughput
63 tokens/s
Context
1M

Pricing

Input
¥20/M tokens
Output
¥100/M tokens
Cached
¥2/M tokens

Specifications

Context
1M
Max output
132K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*/v1/completions

Kimi K3 code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="moonshot/kimi-k3", messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

Related Models