Skip to main content
Kimi-K2.5 is a multimodal chat model by MoonShot (月之暗面), available through AnyFast via an OpenAI-compatible interface. It achieves open-source SoTA across agent, coding, and vision-understanding tasks, and supports vision and text input, thinking and non-thinking modes, and both conversational and agent workloads.

Key capabilities

  • OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
  • 256K context — 262,144 tokens for large documents and multi-turn conversations
  • Vision understanding — Accepts image and text input; reads text, colors, and shapes in images
  • Thinking mode — Toggle via the thinking parameter; returns reasoning_content
  • Agent & coding — Open-source SoTA on agent and code tasks
  • Rich features — Tool Calls (function calling), JSON Mode, Partial Mode, web search, and automatic context caching

Quick example

Note: For vision, message.content must be an array of objects (not a string), and do not serialize the array into a string. image_url accepts a base64 data URI (data:image/png;base64,...) or a file reference (ms://<file_id>). Tokens served from the context cache are reported in usage.prompt_tokens_details.cached_tokens.

Parameters

API Reference

View the interactive API playground for Kimi-K2.5.