# Moonshot (Kimi) (/docs/providers/moonshot)


Overview [#overview]

[Moonshot AI](https://www.moonshot.cn) (月之暗面) is a Chinese AI company focused on developing large language models with exceptional long-context understanding capabilities.

**Official Website:** [https://www.moonshot.cn](https://www.moonshot.cn)
&#x2A;*API Documentation:** [https://platform.moonshot.ai/docs](https://platform.moonshot.ai/docs)

Key Features [#key-features]

* **Long Context** — Very large context windows
* **Document Analysis** — PDF, Word, and other formats
* **Web Search** — Built-in web search integration
* **Enhanced Reasoning** — Strong logical and mathematical capabilities
* **Bilingual** — Excellent Chinese and English performance

Usage Example [#usage-example]

```python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.yuhuanstudio.com/v1"
)

response = client.chat.completions.create(
    model="model-id",
    messages=[{"role": "user", "content": "你好！"}]
)

print(response.choices[0].message.content)
```

Available Models [#available-models]

Use the [Models API](/docs/models-api) to query available models:

```bash
curl https://api.yuhuanstudio.com/v1/models?provider=moonshot \
  -H "Authorization: Bearer YOUR_API_KEY"
```

<Callout type="info">
  Models and pricing are synced automatically. Check the dashboard for current availability and rates.
</Callout>

Official Resources [#official-resources]

* [Moonshot Website](https://www.moonshot.cn)
* [Platform](https://platform.moonshot.ai)
* [Documentation](https://platform.moonshot.ai/docs)
