Anthropic
Synthorai 上的全部 Anthropic 模型:一个端点,实时价格。
9 个模型 · chat / code / tools / thinking · 输入价低至 $1/M
为什么经 Synthorai 使用 Anthropic
- 自带密钥(BYOK)。 自带你的 Anthropic 密钥,或你的 AWS Bedrock / GCP Vertex 凭据。零加价,早期访问期间免费。
- 零提示词留存。 网关默认零提示词留存。注意:Anthropic 的 Fable 5 档在所有云上都要求 30 天留存。 详情 →
- 提示词缓存。 通过显式 cache_control 断点开启;缓存读取按输入价的 0.1 倍计费,缓存写入有 1.25 倍(5 分钟 TTL)或 2 倍(1 小时 TTL)加成;各模型有各自的最小前缀长度要求。 缓存读取低至 $0.1/M。
Anthropic 模型与价格
| 模型 | 输入 /M | 输出 /M | 缓存读取 /M | 上下文 |
|---|---|---|---|---|
| Claude Fable 5邀请测试 | $10 | $50 | $1 | 200K |
| Claude Opus 4.5 | $5 | $25 | $0.5 | 200K |
| Claude Opus 4.6 | $5 | $25 | $0.5 | 1M |
| Claude Opus 4.7 | $5 | $25 | $0.5 | 1M |
| Claude Opus 4.8 | $5 | $25 | $0.5 | 1M |
| Claude Sonnet 4.5 | $3 | $15 | $0.3 | 200K |
| Claude Sonnet 4.6 | $3 | $15 | $0.3 | 1M |
| Claude Sonnet 5 | $2 | $10 | $0.2 | 1M |
| Claude Haiku 4.5 | $1 | $5 | $0.1 | 200K |
厂商牌价,无平台加价。各模型页价格实时刷新。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。
30 秒用上 Anthropic 模型
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="claude-opus-4-5",
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: "claude-opus-4-5",
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": "claude-opus-4-5",
"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: "claude-opus-4-5",
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("claude-opus-4-5")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 Anthropic
Anthropic 打造 Claude 模型家族,从前沿的 Fable/Mythos 档到 Opus、Sonnet 和 Haiku,以出色的推理、编码和智能体工具调用以及大上下文窗口著称。在 Synthorai 上,所有 Claude 模型都位于同一个 OpenAI 兼容端点之后:换掉 base_url,代码不用改。提示词缓存价格按厂商费率透传。
常见问题
不订阅怎么拿到 Anthropic API key?
不需要 Anthropic 账号:注册 Synthorai,创建一把 API key,本页所有 Anthropic 模型都能通过 OpenAI 兼容端点调用,按量付费,无需订阅(标注「邀请测试」的模型还需申请通过)。
Anthropic API 什么价格?
按 token 计费的模型输入价低至 $1/M;每个模型的实时单价见上表,厂商牌价,无平台加价。
可以用自己的 Anthropic 密钥(BYOK)吗?
可以。自带你的 Anthropic 密钥,或你的 AWS Bedrock / GCP Vertex 凭据。零加价,早期访问期间免费。你的密钥存放在加密保管库中,使用它的请求按厂商牌价计费。
Anthropic 的 API 数据留存策略是什么?
网关默认零提示词留存。注意:Anthropic 的 Fable 5 档在所有云上都要求 30 天留存。