mlx-optiq
← Models

Kimi K3.1 Pro

Kimi K3.1 Pro on OptiQ Cloud, billed per token.

cloud

Kimi K3.1 Pro is Moonshot AI's coding model, with a context window of about 1 million tokens. It is served by OptiQ Cloud in the precision Moonshot released it in, billed per token. OptiQ Cloud serves Kimi K3.1 Pro in full precision, and your requests are never used for training.

Input$2.50 / M
Cached input$0.25 / M
Output$12.40 / M
Context1M tokens
Typical speed

Next to the other OptiQ Cloud models

Scores are from each maker's model card, for benchmarks that more than one card reports; OptiQ did not run them. Prices are what OptiQ Cloud charges.

Output price, $ per million tokens

Output price, $ per million tokensDeepSeek V4.1 Flash $0.50; GLM 5.3 Flash $0.50; Qwen3.8 27B $2.00; MiMo V2.6 Flash $0.65; MiniMax M3 $2.00; MiMo V2.6 Pro $1.80; GLM 5.3 $4.40; DeepSeek V4 Pro $6.60; Kimi K3.1 Pro $12.40DeepSeek V4.1 Flash$0.50GLM 5.3 Flash$0.50Qwen3.8 27B$2.00MiMo V2.6 Flash$0.65MiniMax M3$2.00MiMo V2.6 Pro$1.80GLM 5.3$4.40DeepSeek V4 Pro$6.60Kimi K3.1 Pro$12.40

Input price, $ per million tokens

Input price, $ per million tokensDeepSeek V4.1 Flash $0.10; GLM 5.3 Flash $0.15; Qwen3.8 27B $0.15; MiMo V2.6 Flash $0.22; MiniMax M3 $0.50; MiMo V2.6 Pro $0.90; GLM 5.3 $1.40; DeepSeek V4 Pro $2.20; Kimi K3.1 Pro $2.50DeepSeek V4.1 Flash$0.10GLM 5.3 Flash$0.15Qwen3.8 27B$0.15MiMo V2.6 Flash$0.22MiniMax M3$0.50MiMo V2.6 Pro$0.90GLM 5.3$1.40DeepSeek V4 Pro$2.20Kimi K3.1 Pro$2.50
The figures as a table
ModelOutput, $ per M tokensInput, $ per M tokens
DeepSeek V4.1 Flash$0.50$0.10
GLM 5.3 Flash$0.50$0.15
Qwen3.8 27B$2.00$0.15
MiMo V2.6 Flash$0.65$0.22
MiniMax M3$2.00$0.50
MiMo V2.6 Pro$1.80$0.90
GLM 5.3$4.40$1.40
DeepSeek V4 Pro$6.60$2.20
Kimi K3.1 Pro$12.40$2.50

Use it

Connect this Mac

Sign in once. New accounts get $2 of credit. See OptiQ Cloud.

pip install mlx-optiq
optiq cloud login

Coding agents

Claude Code, Codex, OpenCode, Mistral Vibe, Hermes Agent and OpenClaw run on it through optiq run. Put claude, codex, opencode, vibe, hermes or openclaw in place of <agent>. Setup for each agent is in Integrations.

optiq run <agent> --cloud kimi-k3.1-pro

No local model is loaded. optiq run starts optiq serve --cloud-only, sets the agent up for this session only, and stops the server when the agent exits.

OptiQ Code

Boost: this model leads the task and your local model is its helper.

/boost kimi-k3.1-pro

OptiQ Lab, and any app that talks to optiq serve

Pick optiq-cloud/kimi-k3.1-pro in the model list. With no local model:

optiq serve --cloud-only

The API, from anywhere

Create a key on the dashboard.

curl https://cloud.mlx-optiq.com/api/v1/chat/completions \
  -H "Authorization: Bearer $OPTIQ_CLOUD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "kimi-k3.1-pro",
       "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI

client = OpenAI(
    base_url="https://cloud.mlx-optiq.com/api/v1",
    api_key="<your key>")
reply = client.chat.completions.create(
    model="kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)

Details

Input$2.50 per million tokens
Cached input$0.25 per million tokens
Output, including reasoning$12.40 per million tokens
Context window1M tokens
Longest reply131,072 tokens
Model idkimi-k3.1-pro on the API, optiq-cloud/kimi-k3.1-pro in optiq serve