新我们如何抓出挂错模型的卖家,并在发生时为你退款。
Anthropic 标志

如何在Cursor中使用Claude Sonnet 5.5?

anthropic/claude-sonnet-5.5

在Cursor Settings → Models中,将您的 MartLLM 密钥粘贴到 OpenAI API Key字段中,开启 OpenAI base URL 覆盖并输入https://api.martllm.com/v1,开启Use API Key,然后将anthropic/claude-sonnet-5.5添加为自定义模型并在聊天模型选择器中选择它。 这适用于 Cursor 中的聊天:Tab 补全会继续使用 Cursor 提供的模型。

OpenAI API Key
ull_your_key
OpenAI base URL override
https://api.martllm.com/v1
Custom model
anthropic/claude-sonnet-5.5

Cursor 调用:OpenAI 聊天补全 https://api.martllm.com/v1/chat/completions · 完整的Cursor指南

把 ull_your_key 换成你的 MartLLM API 密钥。一个密钥可用于所有工具和所有模型。

通过 API,Claude Sonnet 5.5 在三个地址上响应,使用相同的 MartLLM 密钥和模型 ID anthropic/claude-sonnet-5.5:位于https://api.martllm.com/v1/chat/completions的 OpenAI 聊天补全、位于https://api.martllm.com/v1/responses的 OpenAI Responses API 以及位于https://api.martllm.com/v1/messages的 Anthropic Messages API。

Claude Sonnet 5.5 API 的费用是多少?

在 2026年11月20日,Claude Sonnet 5.5 通过 MartLLM,每百万输入 token 成本为 $0.36,每百万输出 token 成本为 $1.80,比其官方定价 $2.00 和 $10.00 低 82%。市场上共有 37 家供应商提供此服务。在之前的 7 天里,在其 1,301 次流式请求中,有一半在 3.6 秒内收到了第一个 token,典型 prompt 为 136,287 个 token。它支持读取多达 1,000,000 个 token 的上下文。MartLLM 不对这些价格收取额外费用,失败的请求不予计费。

价格更新于 UTC 11:00。

在其他工具中使用 Claude Sonnet 5.5

Cursor 中的其他模型