Find a model

Browse the full catalog →

K2.7-Code-Highspeed

Open-weights chat model from Kimi. One API key reaches all 2 providers, with automatic failover.

Input / 1M$2.00
Output / 1M$8.44
Context262K
Providers 2 providers, one key

Up to 1 million free tokens. No card required.

Overview

About K2.7-Code-Highspeed

K2.7-Code-Highspeed is an open-weights chat model published by Kimi, with a 262,144-token context window. Through TrustedRouter it runs on 2 providers, with options in the US, from $2.00 per million input tokens.

Model ID
moonshotai/kimi-k2.7-code-highspeed
Publisher
Kimi
Modes
chat
Billing
Credits
Quickstart

Set it up with your agent

Paste this into Claude Code, Cursor or any coding agent.

Use K2.7-Code-Highspeed through TrustedRouter in this project.

1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
   https://api.trustedrouter.com/v1 and read the key from
   TRUSTEDROUTER_API_KEY.
3. Set the model to moonshotai/kimi-k2.7-code-highspeed.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustedrouter.com/v1",
    api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
    model="moonshotai/kimi-k2.7-code-highspeed",
    messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2.7-code-highspeed",
    "messages": [{"role": "user", "content": "What is the capital of France?"}]
  }'
Your agent will need an API key.
2 providers

Providers

Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.

K2.7-Code-Highspeed providers and prices per 1M tokens
Provider Input Cached Output Cost per 1M in + out Details
Kimi logo Kimi $2.00 $0.401 $8.44 $10.44

Retention

Verification: privacy unknown.

No provider-ZDR claim is tracked here. Kimi/Moonshot policy source is linked for users who need to review API retention and processing terms.

Provider policy source

Location

Operator country: SG

Headquarters / registered office: Not verified.

Inference: Inference location not verified; no country-specific residency commitment.

No inference-location declaration has been verified for this provider.

Region pinning through TR: No verified provider-specific location pin documented here.

Full location evidence

Weight format

Unknown

Price and speed

Input $2.0045/1M · Cached input $0.4009/1M · Output $8.44/1M

TTFT: 1.72 s

Speed: insufficient data

Last sample:

Kimi provider page

Tencent Cloud TokenHub logo Tencent Cloud TokenHub $2.00 $0.401 $8.44 $10.44

Retention

Verification: privacy unknown.

TokenHub's Singapore API uses global resource scheduling, not a Singapore-only inference guarantee. Only canaried chat routes with matching regional USD prices are enabled. No verified contractual ZDR, confidential-compute, or upstream E2EE claim is tracked.

Provider policy source

Location

Operator country: Not verified

Headquarters / registered office: Not verified.

Inference: Global, dynamically scheduled inference; no fixed-country residency commitment.

The Singapore TokenHub ingress uses global resource scheduling. Ingress location is not GPU residency.

Region pinning through TR: Not supported by the current TrustedRouter integration.

Reviewed 2026-09-29.

API regions and resource scheduling scope

Full location evidence

Weight format

Unknown

Price and speed

Input $2.0045/1M · Cached input $0.4009/1M · Output $8.44/1M

TTFT: 2.19 s

Speed: insufficient data

Last sample:

Tencent Cloud TokenHub provider page

Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.

FAQ

Questions

What model ID should I use for K2.7-Code-Highspeed?

Use moonshotai/kimi-k2.7-code-highspeed as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.

Do you log my prompts or outputs?

No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.

Which providers serve K2.7-Code-Highspeed?

TrustedRouter currently lists Kimi, and Tencent Cloud TokenHub for K2.7-Code-Highspeed. Provider availability and routing eligibility can change as catalog and health data update.

How much does K2.7-Code-Highspeed cost through TrustedRouter?

The current lowest Credits input price is $2.0045/1M and the lowest Credits output price is $8.44/1M. Prices are per one million tokens and come from the current route catalog.

How do I require zero data retention for K2.7-Code-Highspeed?

Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.

Compare

K2.7-Code-Highspeed vs other models

Start building with K2.7-Code-Highspeed.

Up to 1 million free tokens. No card required.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.