> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Kimi K2.7 Code API

> Kimi K2.7 Code API on Venice: 256K context, $0.75 input and $3.50 output per 1M tokens. Private, with zero data retention. Pricing, specs and code examples.

> [accordion] Plain-text specification
>
> ## Kimi K2.7 Code API
>
> Kimi K2.7 Code is a large language model by Moonshot AI, available on the Venice API as `kimi-k2-7-code`. It runs privately, with zero data retention.
>
> Kimi K2.7 Code is Moonshot AI's coding-focused agentic model built on Kimi K2.6, with 1T total parameters and 32B active parameters. It always operates in thinking mode, supports text and image input, and targets long-horizon software engineering, agentic task decomposition, and multi-turn coding workflows with 256K context.
>
> ### Kimi K2.7 Code API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `kimi-k2-7-code` | Standard | Private | $0.75 / $3.50 per 1M |
>
> ### Kimi K2.7 Code specifications
>
> | Spec | Value |
> | - | - |
> | Provider | Moonshot AI |
> | Released | Jun 13, 2026 |
> | Privacy | Private |
> | Status | Stable |
> | Open weights | Yes |
> | Context window | 256K tokens |
> | Max output | 64K tokens |
> | Reasoning effort | low, medium, high |
> | Served precision | INT4 |
>
> ### How to use the Kimi K2.7 Code API
>
> Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "kimi-k2-7-code"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/chat/completions \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "kimi-k2-7-code",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "high"
>   }'
> ```
>
> ### Related models
>
> * [Qwen 3.6 Plus Uncensored API](https://docs.venice.ai/models/qwen-3-6-plus-uncensored.md): $0.625 / $3.75 per 1M
> * [NVIDIA Nemotron 3 Ultra API](https://docs.venice.ai/models/nvidia-nemotron-3-ultra.md): $0.625 / $3.13 per 1M
> * [Seed 2.1 Turbo API](https://docs.venice.ai/models/seed-2-1-turbo.md): $0.625 / $3.13 per 1M
> * [Grok Build 0.1 API](https://docs.venice.ai/models/grok-build-0-1.md): $1.00 / $2.00 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.