HiAPI
OverviewModel MarketplaceAPI KeysUsage StatisticsCall LogsBillingReferralPlaygroundStorageChangelogContact UsSettings
Display unit
N
Powered by hiapi
Settings

Welcome

Contact Us

Kimi K3 is a reasoning model from Moonshot AI. Use Chat Completions for text conversations with three reasoning effort levels and streaming output.

Provider: Moonshot AI

Category: text generation

Endpoint: /v1/chat/completions

Status: Available

Cost: --

Back to models
Moonshot AIText APIOnline

kimi-k3

Kimi K3 is a reasoning model from Moonshot AI. Use Chat Completions for text conversations with three reasoning effort levels and streaming output.

Use in your agent

API access

Endpoint

POST /v1/chat/completions

Base URL

https://api.hiapi.ai

OpenAI Chat Completions compatible. Use one HiAPI key across all available models.

Input price

4,640 Credits

/ 1M tokens

Output price

23,200 Credits

/ 1M tokens

Context

1M

context window

Max output

-

output tokens

PlaygroundAPIPricingCapabilitiesOverview

Run settings

The Playground charges the signed-in account balance without requiring an extra API key. Server-side API calls still require a HiAPI API key.

Try kimi-k3

Ask a question to stream the answer and inspect token usage, latency, and estimated cost.

kimi-k3 API Quickstart

Call kimi-k3 with the OpenAI-compatible Chat Completions format. Copy a ready-to-use cURL, Python, or Node.js example below.

View full API reference
Code Example
API Endpoint:/v1/chat/completions
curl -X POST "https://api.hiapi.ai/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kimi-k3",
  "stream": false,
  "messages": [
    {
      "role": "user",
      "content": "用三句话解释 LRU 缓存策略。"
    }
  ],
  "reasoning_effort": "max"
}'

Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.

Compatible with the OpenAI Chat Completions format. Set the base URL, API key, and model name to get started.

kimi-k3 full API documentationManage API keysUse the same HiAPI key across all available models.

kimi-k3 API Pricing

Billing follows the input, output, and cache token categories actually reported in usage. All prices below are shown per 1 million tokens.

Input tokens
4,640 Credits/ 1M tokens

Prompts and context sent to the model

Output tokens
23,200 Credits/ 1M tokens

Responses and reasoning generated by the model

Cache read
464 Credits/ 1M tokens

kimi-k3 Model Specifications

These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.

Streaming
Supported
Tool calling
Supported
Structured JSON
Supported
Reasoning
Supported
Input modalities
text
Output modalities
text
Reasoning efforts
low · high · max
Max output
-

About kimi-k3

Kimi K3 is a reasoning model from Moonshot AI. Use Chat Completions for text conversations with three reasoning effort levels and streaming output.

HiAPI exposes this model through /v1/chat/completions. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.

Provider
Moonshot AI
Endpoint
/v1/chat/completions
Context window
1M
Released
2026-07-17

How to Use kimi-k3

The Playground and API share the same model ID, so three steps take a tested prompt into production.

  1. Step 1

    Validate online

    Test the system prompt, output length, and model-supported reasoning options in the Playground.

  2. Step 2

    Manage API keys

    View an existing key or create another after signing in; one key works across all available models.

  3. Step 3

    Integrate your server

    Send requests to /v1/chat/completions and track cost with the usage object.

Need to compare models and billing tiers?View live pricing for all models

Frequently asked questions

Which Kimi K3 reasoning level should I choose?

Start with low for extraction, rewriting, and short questions; try high for analysis with several steps, and compare max on difficult reasoning or coding tasks. reasoning_effort defaults to max and offers only low, high, and max, without medium or none. Higher effort may generate more reasoning tokens and take longer, so compare answer quality and usage on your task.

Why are there no thinking-off or temperature controls?

Thinking is always enabled for this Kimi K3 integration. Try low to reduce work instead of sending thinking.type=disabled. The Playground omits thinking, temperature, and top_p. When migrating from another model, remove those controls and select an effort using the top-level reasoning_effort field.

Why can a short answer still incur substantial output-token usage?

Generated reasoning is also billed as output, so the visible answer length is not the total output count. usage.completion_tokens already includes reasoning tokens; completion_tokens_details.reasoning_tokens, when returned, is a breakdown rather than an extra charge to add. Calculate ordinary input, cache reads, and output separately: divide each token count by one million and multiply by its current USD rate shown on this page.

Can I keep only the final answer when continuing a conversation?

Keep the required conversation history in order and replay the complete assistant message returned by the API, including content, any reasoning_content, and any tool_calls. Saving only the final text discards context used for reasoning or tool continuation. This Playground preserves the reasoning content returned by the model.

Are tools executed automatically when Kimi returns tool_calls?

No. The model proposes a function and its arguments; your application executes it. Append the original assistant message and a role=tool result message to messages. Its tool_call_id must match the original call id, then request the next response. Do not send the tool result only as an ordinary user message.

How do JSON mode and strict JSON Schema differ?

response_format.type=json_object requests JSON, while your application still validates its business fields. To constrain fields and types, use response_format.type=json_schema with response_format.json_schema.schema and response_format.json_schema.strict=true. Parse the final JSON from choices[0].message.content, without concatenating reasoning_content. The JSON output switch in this Playground uses json_object.

Can I send images or video because the official Kimi model supports vision?

This HiAPI Kimi K3 integration currently exposes text input and text output only. The official model's visual capabilities do not mean image or video input is enabled here. Use text messages rather than copying image_url or video_url examples from the provider. Any future input support will be reflected in this page's capability list and Playground controls.

Can I use the Responses API or migrate by changing only the model name?

This integration currently exposes POST /v1/chat/completions with model=kimi-k3; Responses is not an enabled endpoint for it. With the OpenAI SDK, use chat.completions.create and messages, update the reasoning fields, and preserve complete assistant history. You can reuse one HiAPI API key, but existing Responses code also needs its request and response handling adapted.

Why does repeating the same context not always produce the same cache charge?

Cache-read billing uses the actual usage.prompt_tokens_details.cached_tokens returned for the request. Repeated text does not guarantee a hit. Keep the initial system prompt, tool definitions, and fixed context stable, then append new messages; changing reasoning_effort can also affect cache hits. When cached_tokens is zero, do not estimate that input at the cache-read rate.

Does a 1M context window mean a single response can contain one million tokens?

No. Context size and the maximum output for one request are different limits. This page does not infer an output limit from the 1M context window and displays “-” for an unconfirmed maximum. Set max_tokens as the output budget for a request. If finish_reason is length, check whether an output limit was reached before splitting the task or continuing the response.