Kimi models inference

Run Moonshot AI’s current Kimi models for long-context agents, coding, reasoning, research, and multimodal workflows through Nebius Token Factory’s OpenAI-compatible API.

Kimi-K3.1-Pro for coding and research

Build long-running coding and research agents that can analyze documents, interpret images, and use tools.

Kimi-K3 for long-running agents

Use Kimi-K3 for demanding reasoning, coding, tool use, and multimodal work across a 1,024K-token context.

Kimi-K2.7-Code for software engineering

Work across repositories, tools, and long implementation trajectories with a code-focused reasoning model.

Up to 1M-token context

Keep large codebases, research trails, documents, and agent histories in one working context.

Reasoning and tool calling

Connect Kimi models to external functions and orchestrate multi-step application logic.

Start with a shared API

Evaluate the current Kimi lineup through public Token Factory endpoints without provisioning infrastructure.

Choose your Kimi model

From $2.00 / 1M input tokens

Kimi-K3.1-Pro

Open-weight multimodal mixture-of-experts model with 2.8T total parameters and 104B active parameters.

Best for: coding agents, financial research, and interactive 3D projects.

  • 1M-token context
  • Text and image input, text output
  • Reasoning, tool calling, and structured output
  • Public and dedicated endpoints available
  • Public endpoint pricing per 1M tokens is 2.00 USD for input, 0.20 USD for cached input, and 10.00 USD for output.
From $3.00 / 1M input tokens

Kimi-K3

Frontier multimodal model for long-running agents and complex reasoning

Best for: advanced agents, research, coding, reasoning, tool use, and image-aware workflows

  • 1,024K-token context
  • FP4 serving configuration
  • Vision input, tool calling, and reasoning available
  • Public endpoint available
  • $3.00 / 1M input tokens · $15.00 / 1M output tokens
From $0.95 / 1M input tokens

Kimi-K2.7-Code

Code-focused reasoning model for long-context software engineering

Best for: coding agents, repository-scale work, tools, and long implementation trajectories

  • 256K-token context
  • FP4 serving configuration
  • Tool calling and reasoning available
  • Public endpoint available
  • $0.95 / 1M input tokens · $4.00 / 1M output tokens

Benchmarks

Kimi K3.1 Pro

Coding, research, and 3D creation

  • 63.64% on Terminal-Bench 4.0, evaluated by Vals AI with Mini-SWE-agent
  • 92.1 on BrowseComp, reported by Moonshot AI
  • 92.7 Voxel IoU on BenchCAD with tools, reported by Moonshot AI on a 1,000-case subset

Kimi K3

Agentic research and coding

Moonshot reports:

  • 95.0 F1 on DeepSearchQA
  • 94.5 on MCPMark-Verified
  • 88.3 on Terminal-Bench 2.1

A strong candidate for tool-using research and long-horizon coding agents.

Kimi K2.7

Code — software-engineering agents

Compared with K2.6, K2.7 Code improves from 50.9 to 62.0 on Kimi Code Bench v2 and from 72.8 to 81.1 on MCPMark-Verified, while using approximately 30% fewer thinking tokens.

Built for multi-step software-engineering work.

A simple and friendly UI for a smooth user experience

Compare Kimi-K3.1-Pro, Kimi-K3, and Kimi-K2.7-Code in the Playground on your own coding tasks, long prompts, and tool schemas. Try image inputs with Kimi-K3.1-Pro or Kimi-K3, then export an API-ready request.

Full screen image

Familiar API at your fingertips

Use the OpenAI-compatible API and switch between Kimi models by changing the model ID.

import openai
import os

client = openai.OpenAI(
    api_key=os.environ.get("NEBIUS_API_KEY"),
    base_url='https://api.tokenfactory.nebius.com/v1/'
)

completion = client.chat.completions.create(
    messages=[{
        'role': 'user',
        'content': 'Review this code change and suggest tests for edge cases.'
    }],
    model='moonshotai/Kimi-K3.1-Pro'
)

Choose how to run Kimi

Deployment option

Best for

What you get

Public endpoints

Evaluation, prototyping, and variable traffic

Pay-per-token access with no deployment required

Dedicated endpoints

Workloads that need isolated capacity or regional control

Kimi-K3.1-Pro supports dedicated endpoints. Check the model catalog for other Kimi models.

Custom deployments

Private weights or specialized requirements

Workload-specific sizing and deployment support

Frequently asked questions

Choose Kimi-K3.1-Pro for long-running coding, financial research, or 3D creation. Use Kimi-K3 for long-context multimodal agents and Kimi-K2.7-Code for repository-scale software engineering.