أدلة وتحديثات وملاحظات هندسية من ArgoLink حول البناء بواجهة واحدة لجميع نماذج الذكاء الاصطناعي. Blog

Kimikimi-k2.7-code

Kimi model optimized for coding

$0.76/ 1M input tokens-20%$0.95official price

  • Thinking always enabled
  • Only one valid thinking shape
  • Code-oriented Kimi route
Modality
Text
Endpoint
/v1/responses
Model ID
kimi-k2.7-code
Provider
Kimi

Kimi K2.7 Code API overview

Documented endpoint

Text requests go to /v1/responses. The parameter table below lists the fields this surface documents.

Model provider

Kimi K2.7 Code is published by Kimi and is called through the API model ID kimi-k2.7-code.

Kimi K2.7 Code API pricing

تُحتسب تكلفة Kimi K2.7 Code أقل بنسبة 20% من السعر الرسمي في كل بند أدناه.

ItemArgoLink rateOfficial priceYou save
Input tokens$0.76 / 1M tokens$0.95-20%
Cached input tokens$0.152 / 1M tokens$0.19-20%
Cache write tokens$0 / 1M tokens$0-20%
Output tokens$3.2 / 1M tokens$4-20%

Kimi K2.7 Code API reference

Create an API key in the console, then use the Base URL, endpoint, and request body shown on this page.

Endpoints

  • POSTRecommended/v1/responsesUse the request shape shown below for this model.
  • POSTChat Completions/v1/chat/completionsOpenAI-compatible messages format; use when your client requires this endpoint.
  • POSTAnthropic Messages/v1/messagesAnthropic format for Claude Code and Anthropic SDKs; authenticate with x-api-key.

Authentication

Send your API key as a Bearer token in the Authorization header.

bashPOST /v1/responses
curl -sS https://54-151-42-83.sslip.io/v1/responses \
  -H "Authorization: Bearer $ARGOLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "input": "Explain what this model is good at in one sentence.",
    "stream": false
  }'

Kimi K2.7 Code request parameters

ParameterTypeRequirementWhat it does
modelstringrequiredThe catalog identifier for this page: kimi-k2.7-code.
inputstring or arrayrequiredThe prompt for the recommended Responses request.
streambooleanoptionalSet to true to receive incremental events instead of one response.
toolsarrayoptionalTool definitions supported by the selected protocol; see the protocol guide before adding them.

Kimi K2.7 Code API compared with similar models

ModelModel IDProviderRateBest for
Kimi K2.7 Codekimi-k2.7-codeKimi$0.76 / 1M input tokensKimi model optimized for coding
GPT-6 Astragpt-6-astraOpenAI$8 / 1M input tokensHardest end-to-end reasoning and agentic work
GPT-5.6 Lunagpt-5.6-lunaOpenAI$0.16 / 1M input tokensCost-efficient multimodal
GPT-5.6 Terragpt-5.6-terraOpenAI$1.6 / 1M input tokensBalanced multimodal

More models from this provider

Other models in this modality

Kimi K2.7 Code API FAQ

How do I call Kimi K2.7 Code through ArgoLink?

Create an API key in the console, then send a request to https://54-151-42-83.sslip.io/v1/responses with the model field set to kimi-k2.7-code and your key in the Authorization header. The quickstart above has a runnable request for each supported protocol.

How much does Kimi K2.7 Code cost?

Kimi K2.7 Code costs $0.76 / 1M input tokens. That is 20% below the official rate of $0.95 for the same unit.

Which API protocols work with Kimi K2.7 Code?

Kimi K2.7 Code is reachable over the OpenAI Responses protocol, the OpenAI Chat Completions protocol and the Anthropic Messages protocol, using the model ID kimi-k2.7-code. Any client that can point at a custom base URL works without a vendor SDK change.

What exactly is billed for Kimi K2.7 Code?

Tokens. Input, output and, where the table above lists them, cached-input and cache-write tokens are metered separately at the rates shown, and settled against the usage the request reports.

How should I send the thinking field to Kimi K2.7 Code?

Omit it. If you send it explicitly the only valid shape is {"type":"enabled","keep":"all"}. Thinking is always enabled and reasoning_effort is unsupported.

What happens if I send thinking.type=disabled?

Do not. The current upstream compatibility layer may return HTTP 200 while changing the response model to auto, which no longer satisfies a fixed-model contract.

Welcome Builders

Before you register

Please confirm the following before creating an account.

  • This service is not open to individuals, organizations, or the public in Mainland China, which here does not include the Hong Kong SAR, the Macao SAR, or Taiwan.
  • You are not in a restricted region, are not acting for a restricted user, and will not bypass this restriction with a VPN, a proxy, false details, or registration or payment by another party.
  • You will follow the laws where you are located and the rules of our upstream providers.

Request a Refund

Submit a request and review its status in Top-up Orders.

Complete your contact info

Optional — it helps us reach you for support and events. Fill in at least one; you can change them anytime.

Fill in at least 1 · submitting with all fields empty is not possible 0 / 0