---
title: Moonshot AI (China)
---

<!-- THIS FILE IS AUTO-GENERATED BY website/scripts/generate-model-docs.js. DO NOT EDIT MANUALLY. -->

# Moonshot AI (China)

Use `moonshotai-cn/<model>` with VoltAgent's model router.

## Quick start

```ts
import { Agent } from "@voltagent/core";

const agent = new Agent({
  name: "moonshotai-cn-agent",
  instructions: "You are a helpful assistant",
  model: "moonshotai-cn/kimi-k2-0711-preview",
});
```

## Environment variables

- `MOONSHOT_API_KEY`

## Provider package

`@ai-sdk/openai-compatible`

This provider uses the OpenAI-compatible adapter.

## Default base URL

`https://api.moonshot.cn/v1`

You can override the base URL by setting `MOONSHOTAI_CN_BASE_URL`.

## Provider docs

- https://platform.moonshot.cn/docs/api/chat

## Models

<details>
  <summary>Show models (5)</summary>

- kimi-k2-0711-preview
- kimi-k2-0905-preview
- kimi-k2-thinking
- kimi-k2-thinking-turbo
- kimi-k2-turbo-preview

</details>
