Skip to content

Moonshot models

Run Moonshot AI’s Kimi models on Modal for agentic coding, long-horizon tool use, and reasoning. Use them through Model APIs with per-token billing, or deploy them on Dedicated Endpoints with compute-based billing.

Which Moonshot models can you run on Modal?

ModelArchitectureContextModalitiesInput / Output
Kimi K3.1 Pro2.8T MoE1MText · Image$2.00 / $10.00
Kimi K32.8T MoE1MText · Image$3.00 / $15.00
Kimi K2.6 NVFP41T MoE256KTextDedicated only

All prices per million tokens. Dedicated Endpoint compute is billed by the second. See compute pricing.

Frequently asked questions about Kimi models on Modal

  • Kimi K3.1 Pro is the latest and most capable model in the family: it builds on Kimi K3 with more post-training and large-scale reinforcement learning, for coding, financial research, and agentic work with a one-million-token context window. Kimi K3 is the earlier flagship for long-horizon coding, agentic knowledge work, and reasoning, with text and image input. Kimi K2.6 is the previous generation, a 1-trillion-parameter agentic model with a 256K-token context window, served on Modal as NVIDIA’s NVFP4 quantization.

  • You can run Kimi models on Modal through serverless Model APIs, which bill per token with no infrastructure to manage, or on Dedicated Endpoints, which give you your own autoscaling deployment for dedicated inference. Both serve an OpenAI-compatible API, so you can use the OpenAI SDK or any compatible client with the URL, model name, and credentials from your Modal dashboard. See the Model APIs guide and the Dedicated Endpoints guide.

  • Model APIs run Kimi on Modal-managed shared capacity: you pay per input, cached input, and output token, and there is nothing to scale or keep warm. Dedicated Endpoints run Kimi on GPUs reserved for your workload, billed by the GPU second, with control over minimum, maximum, and buffer containers, and they scale to zero when idle. See Modal pricing.

  • Yes. Modal is supported natively in coding harnesses like Claude Code, Codex, OpenCode, Omp, and Hermes Agent. You can use Kimi K3.1 Pro, Kimi K3, or any other model supported in Model APIs. See the setup steps for each agent.

  • No. With Model APIs, Modal runs and autoscales the model, and you only send requests. With Dedicated Endpoints, Modal chooses the GPUs and serving configuration, starts containers when requests arrive, and scales down to zero when the endpoint is idle. You only set capacity limits if you want them.

Ship your first app in minutes

$30 / month free compute