Moonshot
Synthorai 上的全部 Moonshot 模型:一个端点,实时价格。
2 个模型 · chat / code / reasoning / tools · 输入价低至 $0.574/M
为什么经 Synthorai 使用 Moonshot
- 按量付费,无需订阅。 一把 key 用全部模型,无需 Moonshot 账号。
- 零提示词留存。 网关默认零提示词留存;上游适用 Moonshot 自身的 API 数据政策。 详情 →
- 提示词缓存。 自动缓存,按命中/未命中双价计费:缓存命中的输入 token 按折扣后的缓存命中费率计费,无需任何缓存管理。 缓存读取低至 $0.115/M。
Moonshot 模型与价格
| 模型 | 输入 /M | 输出 /M | 缓存读取 /M | 上下文 |
|---|---|---|---|---|
| Kimi K2.7 Code | $0.95 | $4 | $0.19 | 256K |
| Kimi K2.5 | $0.574 | $3.011 | $0.115 | 262K |
厂商牌价,无平台加价。各模型页价格实时刷新。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。
30 秒用上 Moonshot 模型
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "kimi-k2.7-code",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "kimi-k2.7-code",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("kimi-k2.7-code")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 Moonshot
月之暗面(Moonshot AI)的 Kimi 模型以超长上下文窗口和出色的智能体编码与工具调用性能著称。Synthorai 通过与目录中其他模型相同的 OpenAI 兼容端点提供 Kimi,按量付费,无需单独的 Moonshot 账号。
常见问题
不订阅怎么拿到 Moonshot API key?
不需要 Moonshot 账号:注册 Synthorai,创建一把 API key,本页所有 Moonshot 模型都能通过 OpenAI 兼容端点调用,按量付费,无需订阅(标注「邀请测试」的模型还需申请通过)。
Moonshot API 什么价格?
按 token 计费的模型输入价低至 $0.574/M;每个模型的实时单价见上表,厂商牌价,无平台加价。
可以用自己的 Moonshot 密钥(BYOK)吗?
Moonshot 的 BYOK 暂未开放,请求经 Synthorai 的托管通道按所列费率运行。
Moonshot 的 API 数据留存策略是什么?
网关默认零提示词留存;上游适用 Moonshot 自身的 API 数据政策。