Please send the HTML fragment you want translated.
Kimi API · Ace Data Cloud

Kimi K3 API
Flagship Model for Coding and Agents

Access Kimi K3 through an OpenAI-compatible format. Features a 1M Token context window, native visual understanding, and long-horizon coding capabilities, with reasoning_effort available to control reasoning effort.

🚀 Kimi K3 🧠 Max Reasoning 🔌 OpenAI Compatible 🌐 Chinese and English
🤖
K3
Flagship Model
🧠
2.8T
Total MoE Parameters
💰
Low Cost
Below Official Pricing
⚡
1M
Context Window

Why Use Kimi Through Ace Data Cloud?

Kimi K3 is Moonshot AI's flagship model, designed for long-horizon coding, complex reasoning, and end-to-end knowledge work. It features a 1M Token context window, enabling it to continuously understand large codebases and coordinate tools to complete multi-step tasks.

Ace Data Cloud provides Kimi K3 and K2 Series APIs in an OpenAI-compatible format. Simply change the base URL and model name to integrate with your existing OpenAI SDK.

Core Capabilities of the Kimi K3 API

A unified interface for complex programming, Agents, and knowledge work

🔌

OpenAI-Compatible Format

Call Kimi K3 through /v1/chat/completions, with compatibility for the OpenAI SDK, streaming responses, and tool calls.

🧠

Max Reasoning Mode

K3 always has reasoning enabled. Currently, the only supported value for reasoning_effort is max, making it suitable for complex programming, mathematics, and Agent tasks.

🌐

Optimized for Chinese and English

Excellent native Chinese comprehension alongside outstanding English performance. Ideal for Chinese-language scenarios, cross-language translation, and multilingual application development.

💻

Top-Tier Coding Capabilities

K3 is designed for long-horizon programming tasks. It can understand large codebases, coordinate terminal tools, and handle code generation, debugging, and review.

⚡

Streaming

Supports SSE streaming with real-time, token-by-token output. Simply set stream: true to enable streaming responses.

📄

Structured Output

Specify the JSON output format through response_format and use JSON Schema to obtain structured API response data.

Python
from openai import OpenAI
client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.acedata.cloud/v1"
)
response = client.chat.completions.create(
  model="kimi-k3",
    messages=[
    {"role": "system", "content": "Answer concisely. Output only tested Python code, without explanations; ensure duplicate elements do not cause infinite recursion."},
        {"role": "user", "content": "Implement a quicksort algorithm in Python"}
    ],
  reasoning_effort="max",
  stream=False
)
print(response.choices[0].message.content)
Actual Response (Simplified)
{
  "id": "msg_HvLVj1NEhTi0osEguZllkYpI",
  "object": "chat.completion",
  "created": 1784466676,
  "model": "kimi-k3",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "```python\ndef quicksort(arr):\n    if len(arr) <= 1:\n        return arr\n    pivot = arr[len(arr) // 2]\n    left = [x for x in arr if x < pivot]\n    middle = [x for x in arr if x == pivot]\n    right = [x for x in arr if x > pivot]\n    return quicksort(left) + middle + quicksort(right)\n```"
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 128,
    "completion_tokens": 1493,
    "total_tokens": 1621
  }
}

Switch with One Line of OpenAI SDK Code

Simply change base_url and model to use Kimi K3 in your existing OpenAI project, and adjust reasoning effort through reasoning_effort.

1

Get an API Key

Register with Ace Data Cloud and obtain your Bearer Token from the console

2

Modify base_url

Set base_url to https://api.acedata.cloud/v1

3

Select the Kimi Model

Set model to kimi-k3; to explicitly configure the reasoning parameter, use reasoning_effort="max"

What Can You Build with the Kimi API?

From Chinese NLP to long-horizon coding — developers are using Kimi K3 to build these applications

💬

Chinese Conversational Assistants

Build high-quality Chinese customer service, knowledge Q&A, and personal AI assistants with native Chinese understanding that far surpasses general-purpose models

💻

Code Generation and Review

K3 supports code generation, bug fixing, code reviews, architectural recommendations, and multi-step terminal tool collaboration

🌐

Cross-Language Translation

Native Chinese-English bilingual capabilities make it ideal for high-quality translation, localization, and multilingual content generation

🔬

Advanced Reasoning and Analysis

Mathematical problem-solving, logical reasoning, and data analysis — Thinking mode provides step-by-step reasoning

Get Started in 3 Easy Steps

From registration to sending your first Kimi K3 message in less than 3 minutes

01

Register and Get Your API Key

Create a free account on Ace Data Cloud and generate your Bearer Token from the dashboard.

02

Make Calls Using the OpenAI SDK

Set base_url to Ace Data Cloud, select kimi-k3, and you're ready to go.

03

Integrate and Scale

Embed Kimi K3 into your application. The OpenAI-compatible format makes switching between models effortless.

Why Choose Ace Data Cloud Instead of Using the Moonshot API Directly?

Comprehensive advantages in format compatibility, global availability, and unified interfaces

Comparison Criteria Ace Data Cloud Direct Moonshot API
OpenAI-Compatible Format ✓ Partially compatible
Global Availability ✓ Ready to use out of the box ✗ Restricted in some regions
Streaming ✓ ✓
Unified Multi-Model Interface ✓ GPT / Claude / Gemini / Kimi ✗ Kimi only
Pay-as-You-Go ✓ Flexible top-ups ✓
No Overseas Phone Number Required for Registration ✓ ✗ Chinese phone number required
Thinking Reasoning Models ✓ ✓

Choose the Right Kimi Model

K3.1 Pro and K3 are designed for complex reasoning and Agent tasks, K2.6 is suitable for general-purpose scenarios, and K2.7 Code is designed for programming tasks

K2.6

Efficient General-Purpose

A general-purpose model supporting reasoning, tool calling, and multimodal input, ideal for everyday conversations and Agent tasks.

  • ✓ 256K Context Window
  • ✓ Toggleable Thinking
  • ✓ Ideal for General Conversations and Analysis
  • ✓ Supports Tool Calling
Recommended

Kimi K3

Flagship Model

A flagship model designed for long-running coding tasks and complex Agent workflows. Reasoning is always enabled, and Max reasoning mode is currently supported.

  • ✓ 1M Token Context Window
  • ✓ reasoning_effort: max
  • ✓ Tool Calling and Streaming Output
  • ✓ Top Choice for Complex Coding Tasks

K2.7 Code

Compatible

A K2-series model designed for code understanding, programming, and multi-step tool calling, with support for a 256K context window.

  • ✓ 256K Context Window
  • ✓ Programming and Tool Calling
  • ✓ Enhanced Instruction Following
  • ✓ More Precise Output Control
kimi-k3.1-pro kimi-k3 kimi-k2.6 kimi-k2.7-code

Kimi API Pricing

Pay based on Token usage. No subscription fees, no hidden charges.

Enjoy greater discounts with bulk packages

Pay As You Go
Token Billing
Low Cost Billed per Token

Pay based on actual Token usage, with separate pricing for input and output

  • ✓ Transparent model-based pricing for K3.1 Pro, K3, K2.6, and K2.7 Code
  • ✓ Reasoning Tokens billed based on actual usage
  • ✓ No subscription fees or minimum spending requirements
  • ✓ Separate pricing for input and output
  • ✓ Streaming — Free
View Detailed Pricing View API Documentation
Enterprise
Custom

Dedicated plans for high-usage teams

  • ✓ Tiered discounts based on usage
  • ✓ Priority support and dedicated account manager
  • ✓ Custom rate limits
  • ✓ SLA guarantees
  • ✓ Private deployment solutions
Contact Sales
Please send the HTML fragment you'd like translated.

Frequently Asked Questions

Everything you need to know about using the Kimi K3 API

What tasks is Kimi K3 suitable for? ▾

Kimi K3 is Moonshot AI's flagship MoE model, featuring 2.8 trillion total parameters and a 1M Token context window. It is suitable for large codebase understanding, long-horizon programming, complex reasoning, tool calling, and end-to-end knowledge work.

Does it support the OpenAI SDK? ▾

Yes. When using the OpenAI SDK, simply set base_url to https://api.acedata.cloud/v1 and set the model to kimi-k3. K3 also supports tool calling, streaming responses, and reasoning_effort.

How should reasoning_effort be configured? ▾

K3 always enables reasoning. The only currently supported value is max, which is also used by default when omitted. Please use the supported value.

Official references: Thinking Effort, Model Parameter Reference, and Chat API.

How does its Chinese language capability compare with GPT/Claude? ▾

The Kimi series has native advantages in Chinese comprehension and generation. Meanwhile, K3 also offers excellent capabilities in English, coding, and multilingual tasks, making it suitable for applications serving global users.

How does the pricing work? ▾

Pricing is based on Token usage, with input Tokens and output Tokens charged separately. Prices vary by model. There are no subscription or monthly fees—you only pay for what you use. Refer to the pricing labels on this page for specific rates.

Can I use GPT, Claude, Gemini, and Kimi simultaneously? ▾

Yes! Ace Data Cloud provides access to multiple LLMs, including GPT, Claude, Gemini, and Kimi, through a unified OpenAI-compatible interface. Simply change the model parameter to switch between models. The API format remains exactly the same, so there's no need to maintain multiple codebases. A single API Key gives you access to all models.

Please send the HTML fragment you'd like translated into English.

Get Started with the Kimi K3 API Today

Access Kimi's flagship model and Max reasoning capabilities through an OpenAI-compatible format. Pay as you go, with no subscription fees.

Please send the HTML fragment you want translated.