Hugging Face

Hugging Face: Kimi K2.7 Code (Hugging Face)

stable

Kimi K2.7 Code (Hugging Face) is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

moonshotai__Kimi-K2.7-Codekimi-k2released Jun 12, 2026
Context
262.1K
tokens
Max output
262.1K
tokens
Input
$0.95
per 1M
Output
$4.00
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

Pricing

ItemPriceUnit
Input$0.95per 1M tokens
Output$4.00per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
moonshotai__Kimi-K2.7-Code
Family
kimi-k2
Status
stable
Knowledge
Jan 1, 2025
Released
Jun 12, 2026
Gateway Config
API
2024-01-01
Auth
HUGGINGFACE_API_KEY
Discovery
dynamic
Provider type
meta

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@huggingface/moonshotai__Kimi-K2.7-Code",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://router.huggingface.co/v1
Chat completions
https://router.huggingface.co/v1/chat/completions
Model
moonshotai__Kimi-K2.7-Code
Auth env
HUGGINGFACE_API_KEY

Kimi K2.7 Code (Hugging Face) FAQ

How much does the Kimi K2.7 Code (Hugging Face) API cost?

Through Hugging Face, Kimi K2.7 Code (Hugging Face) costs $0.95 per 1M input tokens and $4.00 per 1M output tokens. The lowest input price in the catalog is $0.67 per 1M tokens on OpenRouter.

What is the context window of Kimi K2.7 Code (Hugging Face)?

Kimi K2.7 Code (Hugging Face) accepts up to 262.1K tokens of context and returns up to 262.1K output tokens on Hugging Face.

Which providers offer Kimi K2.7 Code (Hugging Face)?

Kimi K2.7 Code (Hugging Face) is available from OpenRouter, Fireworks AI, Hugging Face, Moonshot AI and Together AI. Everstack can route between them with automatic fallback when one is unavailable.

What can Kimi K2.7 Code (Hugging Face) do?

Kimi K2.7 Code (Hugging Face) supports chat, function calling, image input and reasoning. It accepts text and image input.

How do I call Kimi K2.7 Code (Hugging Face) through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @huggingface/moonshotai__Kimi-K2.7-Code. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.