Skip to main content
Model ID

API Usage

You can interact with the Kimi-K2.6 model through a RESTful API using an OpenAI-compatible interface. Kimi-K2.6 supports both Thinking mode and Instant mode.

API Examples

Generate a Chat Completion

Use the chat completion endpoint to generate responses from the K2.6 model.

Shell

Function Call Example