Claude Opus 4.5
厂商牌价,无平台加价,按量付费。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。 按 70% 缓存命中率计算的等效输入价:$1.85/M. 通过显式 cache_control 断点开启;缓存读取按输入价的 0.1 倍计费,缓存写入有 1.25 倍(5 分钟 TTL)或 2 倍(1 小时 TTL)加成;各模型有各自的最小前缀长度要求。
30 秒用上 Claude Opus 4.5
OpenAI 兼容:换掉 base_url,SDK 不用改。POST /v1/chat/completions
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(""));关于 Claude Opus 4.5
Claude Opus 4.5 是上一代 Opus 模型,这一版本把 Anthropic 的顶级档重新定价到每百万 token $5/$25,远低于 Claude Opus 4.1 的 $15/$75。
- 它支持 200K token 上下文窗口、最高 64K 输出 token、扩展思考、视觉输入以及 Claude 的工具调用与缓存特性,延迟适中。
- Anthropic 已将它列为旧版模型,建议迁移到更新的 Opus 版本。
- 对于标准化在 OpenAI SDK 上的团队,Synthorai 通过 OpenAI 兼容 chat API 提供 Claude Opus 4.5。
规格与限制
| 最大输出(厂商规格) | 64,000 |
| 模态 | text + image → text |
| 特性 | tools · parallel_tool_calls · structured_output · streaming · vision · batch · caching · reasoning · computer_use |
| 训练数据截至 | 2025-08(可靠回答范围至 2025-05) |
| 备注 | Legacy model; introduced the effort parameter (public beta at launch); 200k context / 64k max output. |
| 提示词缓存 | 显式(需开启) · 最小前缀 4,096 token · TTL 5m default, 1h option · 写入 1.25x (5m) / 2x (1h) |
常见问题
Claude Opus 4.5 API 可以免费试用吗?
可以。新账号可获得 10 次试用调用和最高 $1 的免费额度,无需绑卡。按输入 $5/M 计算,仅这笔额度就足够对 Claude Opus 4.5 发起约 24 次 ~8K token 的请求。
Claude Opus 4.5 最擅长什么?
顶级档重新定价至每百万 $5/$25,以及200K 上下文,支持扩展思考和已列为旧版,建议迁移新版。完整能力请见 About 部分,内容取自厂商官方发布说明。
Claude Opus 4.5 的价格是多少?
在 Synthorai 上,Claude Opus 4.5 输入 $5/百万 token、输出 $25/百万 token,即厂商牌价,无平台加价。缓存命中的输入 token 按 $0.5/M 计费。
Claude Opus 4.5 支持提示词缓存(prompt caching)吗?
支持,需主动开启:用 cache_control 断点标记稳定前缀。缓存命中的输入 token 按 $0.5/M 计费(未命中 $5/M);提示词需有 4,096 token 以上的稳定前缀才能命中缓存(TTL 5m default, 1h option)。 提示词缓存指南 →
如何开通 Claude Opus 4.5?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "claude-opus-4-5" 即可。一把 API key 通用网关上的全部模型。
Claude Opus 4.5 的知识截止日期是什么时候?
Claude Opus 4.5 的知识截止日期为 2025-05,依据厂商官方文档(数据核验于 2026-07-09)。