The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs(moonshot): correct base url and document CN-specific endpoint (#12804)
Lv Zehuidb80b9814145
diff --git a/docs/my-website/docs/providers/moonshot.md b/docs/my-website/docs/providers/moonshot.mdindex ee4f04bd7a0..2e00bae3551 100644--- a/docs/my-website/docs/providers/moonshot.md+++ b/docs/my-website/docs/providers/moonshot.md@@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem';| Description | Moonshot AI provides large language models including the moonshot-v1 series and kimi models. || Provider Route on LiteLLM | `moonshot/` || Link to Provider Doc | [Moonshot AI ↗](https://platform.moonshot.ai/) |-| Base URL | `https://api.moonshot.cn/` |+| Base URL | `https://api.moonshot.ai/` || Supported Operations | [`/chat/completions`](#sample-usage) |<br />@@ -26,6 +26,18 @@ https://platform.moonshot.ai/os.environ["MOONSHOT_API_KEY"] = "" # your Moonshot AI API key```+**ATTENTION:**++Moonshot AI offers two distinct API endpoints: a global one and a China-specific one.+- Global API Base URL: `https://api.moonshot.ai/v1` (This is the one currently implemented)+- China API Base URL: `https://api.moonshot.cn/v1`++You can overwrite the base url with:++```+os.environ["MOONSHOT_API_BASE"] = "https://api.moonshot.cn/v1"+```+## Usage - LiteLLM Python SDK### Non-streaming