> ## 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.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# 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.



## 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`. This model is private and no prompt data is stored in any capacity.

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 | [moonshotai/Kimi-K2.7-Code](https://huggingface.co/moonshotai/Kimi-K2.7-Code) |
| Context window | 256K tokens |
| Max output | 64K tokens |
| Reasoning effort | low, medium, high |
| Served precision | INT4 |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 84.3% ±5.1 (95% interval), run by Venice through the API at its default reasoning on Oct 22, 2026 |

### 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.