DeepSeek-V4.1-Flash1M context, web search, and tool calling fully supported
Try it now

Kimi K3

kimi-k3
Open sourceKimi series

Overview

1M ContextDocument analysisReasoningAgentic tasks

Kimi K3 is Moonshot AI's flagship multimodal model, built around a 1M-token context window and tiered deep reasoning. It keeps hold of the goal through long-document reading, cross-chapter references and multi-turn tool calls; combined with function calling, MCP tools and structured output, it can drive enterprise knowledge-base Q&A and complex automation pipelines.

1M-token context

Loads an entire technical manual, a long research report or a whole code repository in a single pass, with no drop-off in cross-chapter retrieval.

Tiered deep reasoning

Two effort levels, high and xhigh, schedule compute on demand to balance cost against quality.

Structured output

Native JSON Schema and function call support plugs straight into business systems and databases.

Open weights, self-hostable

The K3 series has open weights, so the model can be customized and integrated deeply.

Features

Tool calling✓
Structured output✓
Context caching✓
Batch✓
Web search✓
Streaming✓
Reasoning✓
MCP✓
Prefix completion✕
Fine-tuning✕

Pricing

Input$3/M tokens
Input (cache hit)$0.3/M tokens
Output$15/M tokens

Rate Limits & Context

Context Window1M
Max Output1M
RPM (requests/min)500
TPM (tokens/min)3M

Built-in Tools

code_interpreter

Responses API

web_extractor

Responses API

web_search

Responses API

API Reference

POSThttps://api.tokenfab.com/v1/chat/completions

Request Example

curl https://api.tokenfab.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKENFAB_API_KEY" \
  -d '{
    "model": "kimi-k3",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Summarize this 300,000-word technical document and distill 5 key conclusions."}
    ]
  }'

Response Example

{
  "id": "chatcmpl-kimi-k3-9d2k7f1",
  "object": "chat.completion",
  "created": 1784950000,
  "model": "kimi-k3",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "Key conclusions: (1) long context windows are the key differentiator of new-generation LLMs; (2) reasoning combined with tool calling improves performance on complex tasks; (3) caching significantly lowers the cost of long conversations; (4) structured output makes integration with business systems far more efficient; (5) multimodal capabilities and the open-source ecosystem are turning models into general-purpose AI infrastructure."
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 287412,
    "completion_tokens": 96,
    "total_tokens": 287508
  }
}

Request Parameters

ParameterTypeRequiredDescription
modelstring✓Model ID, e.g. kimi-k3
messagesarray✓List of chat messages, each with role and content
temperaturefloat—Sampling temperature, 0–2, default 0.6
top_pfloat—Nucleus sampling, 0–1, default 0.9
max_tokensint—Maximum output tokens
streambool—Whether to stream the response, default false
toolsarray—Tool definitions for function calling
tool_choicestring—Tool choice policy: auto / none / a named function