New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Home / Pricing / Models / kimi-k2.7-code vs kimi-k3.1-pro

kimi-k2.7-code vs kimi-k3.1-pro: API Pricing & Capabilities

Unit prices, a monthly cost example and capabilities of kimi-k2.7-code and kimi-k3.1-pro, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.

kimi-k2.7-code: Kimi K2.7 Code is Kimi's most capable coding model to date. It follows instructions more reliably in long contexts and completes programming tasks at a higher success rate. Supports text, image, and video input; thinking mode only; suitable for conversation and Agent tasks.

kimi-k3.1-pro: Kimi K3.1 Pro is the first model of the new K3.1 series and is currently the most powerful model with 30 trillion parameters, supporting 1 million contexts. The improvements of K3.1 Pro in coding, 3D creation, financial research, and other long-range agent capabilities are particularly significant.

Price overview

For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.

Itemkimi-k2.7-codekimi-k3.1-pro
ProviderMoonshotMoonshot
GroupSelf-Deployed-1Self-Deployed-1
Input (USD / 1M tokens)$0.285$0.60
Output (USD / 1M tokens)$1.20$3.00
Cache read (USD / 1M tokens)$0.057$0.06
Monthly cost example$52.50$120.00

Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.

Prices by group

USD per 1M tokens. Price = base price × group ratio.

kimi-k2.7-code by group

GroupInputOutputCache readMonthly example
Self-Deployed-1$0.285$1.20$0.057$52.50
Self-Deployed-2$0.475$2.00$0.095$87.50
Self-Deployed-3$0.7125$3.00$0.1425$131.25
Kimi-2$1.045$4.40$0.209$192.50

kimi-k3.1-pro by group

GroupInputOutputCache readMonthly example
Self-Deployed-1$0.60$3.00$0.06$120.00
Self-Deployed-2$1.00$5.00$0.10$200.00
Kimi-1$1.50$7.50$0.15$300.00
Self-Deployed-3$1.50$7.50$0.15$300.00
Kimi-2$2.20$11.00$0.22$440.00

Same-group comparison

Groups available to both models, with the monthly cost example in the same group:

Groupkimi-k2.7-codekimi-k3.1-pro
Self-Deployed-1$52.50$120.00
Self-Deployed-2$87.50$200.00
Self-Deployed-3$131.25$300.00
Kimi-2$192.50$440.00

Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.

Capabilities

Itemkimi-k2.7-codekimi-k3.1-pro
ProviderMoonshotMoonshot
Context——
FeaturesConversation · ToolsConversation · Thinking · Tools · Image Recognition
API formatsOpenAI Chat CompletionsOpenAI Chat Completions
Long-context tiersNoNo

Which one to choose

  • Lower cost: kimi-k2.7-code is cheaper — about $52.50 vs $120.00 for kimi-k3.1-pro in the monthly example above.
  • Need Thinking, Image Recognition: kimi-k3.1-pro supports it.
  • Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.

Quick start

Base URL: https://api.openlux.ai/v1. The example uses kimi-k2.7-code; change model to kimi-k3.1-pro to call the other model.

curl · /v1/chat/completions
curl https://api.openlux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Full parameters in the API docs

FAQ

Which is cheaper, kimi-k2.7-code or kimi-k3.1-pro?

At build time, the lowest public prices were: kimi-k2.7-code (Self-Deployed-1 group) input $0.285, output $1.20 per 1M tokens; kimi-k3.1-pro (Self-Deployed-1 group) input $0.60, output $3.00 per 1M tokens. For 100M input + 20M output tokens a month, kimi-k2.7-code costs about $52.50 and kimi-k3.1-pro about $120.00.

Can I use one API key for both kimi-k2.7-code and kimi-k3.1-pro?

Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to kimi-k2.7-code or kimi-k3.1-pro. Usage of both models is billed from the same balance.

Which API formats do kimi-k2.7-code and kimi-k3.1-pro support?

kimi-k2.7-code: OpenAI Chat Completions. kimi-k3.1-pro: OpenAI Chat Completions.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

More

  • kimi-k2.7-code pricing & access
  • kimi-k3.1-pro pricing & access

More kimi-k2.7-code comparisons

  • kimi-k2.7-code vs kimi-k3
  • kimi-k2.7-code vs kimi-k2.6

More kimi-k3.1-pro comparisons

  • kimi-k3.1-pro vs gemini-4-carbon
  • kimi-k3.1-pro vs gpt-5.5-pro
  • kimi-k3.1-pro vs gemini-3.1-pro-preview
  • kimi-k3.1-pro vs grok-4.3
  • kimi-k3.1-pro vs gpt-6.2-astra
  • kimi-k3.1-pro vs claude-opus-5-5
  • kimi-k3.1-pro vs mimo-v2.6-pro
  • kimi-k3.1-pro vs grok-4.7
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |