
Claude Opus 5.5 API
claude-opus-5-5Claude Opus 5.5 是 Anthropic Claude 5.5 家族的第一款模型,2026 年 9 月 22 日发布。在 APIMODELS 上输入 $2.40、输出 $12.00 每 1M token,比 Anthropic 官方 $4 / $20 低 40%,缓存读 $0.12、缓存写 $3.00。Anthropic 自己的说法是:大多数工作上达到 Claude Fable 5.1 的水平,而典型负载的运行成本比 Opus 5 低 40%,定位是长时间运行的 agent 编码与知识工作。规格与 Fable 5.1 一致:100 万 token 上下文、128K 最大输出、文本与图像输入,知识截止 2026 年 6 月。自适应思考常开且不能关闭,思考深度用 effort 参数控制(默认 medium);从 Fable 5.1 延续下来的四个破坏性变更要留意:强制工具调用会报错、thinking 块绑定产生它的模型、旧的 computer_20251124 工具不再接受、工具调用之间的文本会放进 thinking 块里返回。它也很会用代码做动效设计:写出 canvas、SVG 或 Remotion 程序,由无头浏览器渲染成 MP4,适合动态文字、UI 演示、图表动画和 logo 演绎(写实镜头交给视频模型)。通过 /v1/messages 或 OpenAI 兼容的 /v1/chat/completions 一把 key 调用,失败不收费。
API Documentation
View complete API reference with all parameters and examples.
Advanced Features
Streaming
Enable real-time streaming responses with Server-Sent Events.
{
"model": "claude-opus-5-5",
"stream": true,
"max_tokens": 1024,
"messages": [...]
}Function Calling (Tools)
Enable Claude to use tools and call functions.
{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"tools": [{
"name": "get_weather",
"description": "Get current weather for a location",
"input_schema": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}],
"tool_choice": {"type": "auto"},
"messages": [{"role": "user", "content": "What's the weather in Tokyo?"}]
}PDF Support
Analyze PDF documents by sending them as base64 encoded content.
{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"messages": [{
"role": "user",
"content": [{
"type": "document",
"source": {
"type": "base64",
"media_type": "application/pdf",
"data": "<base64_encoded_pdf>"
}
}, {
"type": "text",
"text": "Summarize this document."
}]
}]
}Structured Output (JSON Schema)
Get structured JSON responses that match your schema.
{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"output_format": {
"type": "json_schema",
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer"}
},
"required": ["name", "age"]
}
},
"messages": [{"role": "user", "content": "Extract info: John is 30 years old"}]
}Web Search
Enable Claude to search the web for up-to-date information.
{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"tools": [{
"type": "web_search_20250305",
"name": "web_search",
"max_uses": 5
}],
"messages": [{"role": "user", "content": "What's the latest news about AI?"}]
}API Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g., claude-opus-5-5) |
| messages | array | Yes | Array of message objects with role and content |
| max_tokens | integer | Yes | Maximum tokens in the response (1 - 128000) |
| system | string | No | System prompt to set context |
| stream | boolean | No | Enable streaming responses (SSE) |
| temperature | number | No | Sampling temperature (0.0 - 1.0) |
| top_p | number | No | Nucleus sampling threshold (0.0 - 1.0) |
| top_k | integer | No | Top-k sampling (0 - infinity) |
| stop_sequences | array | No | Sequences that stop generation |
| tools | array | No | Function calling tools definition |
| tool_choice | object | No | Tool selection strategy (auto/any/tool) |
| thinking | object | No | Enable extended thinking mode |
| output_format | object | No | Structured output with JSON schema |
Full API Documentation
View complete API reference with streaming, thinking, and more.
Pricing
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
官方六折
$2.40 / $12.00 每 1M token,Anthropic 官方 $4 / $20;缓存读 $0.12
Fable 级产出,Opus 价格
Anthropic:大多数工作达到 Fable 5.1 水平,运行成本比 Opus 5 低 40%
100 万上下文、128K 输出
与 Fable 5.1 同一规格;文本与图像输入;知识截止 2026 年 6 月
自适应思考常开
不能关闭,用 effort 控制深度(默认 medium);强制工具调用会报错
代码做动效设计
写出 canvas、SVG 或 Remotion 代码再渲染成 MP4;我们实测 12 秒短片花了 $0.368
关于 Claude Opus 5.5
Claude Opus 5.5 是由 Anthropic 提供的大语言模型 API。Claude Opus 5.5 是 Anthropic Claude 5.5 家族的第一款模型,2026 年 9 月 22 日发布。在 APIMODELS 上输入 $2.40、输出 $12.00 每 1M token,比 Anthropic 官方 $4 / $20 低 40%,缓存读 $0.12、缓存写 $3.00。Anthropic 自己的说法是:大多数工作上达到 Claude Fable 5.1 的水平,而典型负载的运行成本比 Opus 5 低 40%,定位是长时间运行的 agent 编码与知识工作。规格与 Fable 5.1 一致:100 万 token 上下文、128K 最大输出、文本与图像输入,知识截止 2026 年 6 月。自适应思考常开且不能关闭,思考深度用 effort 参数控制(默认 medium);从 Fable 5.1 延续下来的四个破坏性变更要留意:强制工具调用会报错、thinking 块绑定产生它的模型、旧的 computer_20251124 工具不再接受、工具调用之间的文本会放进 thinking 块里返回。它也很会用代码做动效设计:写出 canvas、SVG 或 Remotion 程序,由无头浏览器渲染成 MP4,适合动态文字、UI 演示、图表动画和 logo 演绎(写实镜头交给视频模型)。通过 /v1/messages 或 OpenAI 兼容的 /v1/chat/completions 一把 key 调用,失败不收费。 通过 APIMODELS 平台,您可以使用统一的 API 接口调用该模型,按量计费、价格透明。当前定价:Input: $2.40, Output: $12.00 per 1M tokens。
核心功能
- 官方六折 -- $2.40 / $12.00 每 1M token,Anthropic 官方 $4 / $20;缓存读 $0.12
- Fable 级产出,Opus 价格 -- Anthropic:大多数工作达到 Fable 5.1 水平,运行成本比 Opus 5 低 40%
- 100 万上下文、128K 输出 -- 与 Fable 5.1 同一规格;文本与图像输入;知识截止 2026 年 6 月
- 自适应思考常开 -- 不能关闭,用 effort 控制深度(默认 medium);强制工具调用会报错
- 代码做动效设计 -- 写出 canvas、SVG 或 Remotion 代码再渲染成 MP4;我们实测 12 秒短片花了 $0.368
适用场景
聊天机器人与客服
构建智能对话系统,自动回答用户问题,提升客户服务效率。
内容生成
自动撰写文章、邮件、广告文案等文本内容,提高内容产出效率。
编程助手
辅助代码编写、调试和代码审查,加速软件开发流程。
数据分析
理解和分析非结构化数据,提取关键信息并生成报告摘要。
为什么选择 APIMODELS
- 统一 API 接口 -- 一个 API Key 调用所有模型,无需分别注册各平台账号
- 价格透明 -- 按量计费,每个模型页公开单次调用价格,适合小微开发者和初创团队
- 即开即用 -- 注册即可使用,支持 Stripe 和支付宝充值
- 完整文档 -- 提供详细的 API 文档和代码示例(cURL、Python、Node.js)
常见问题
Claude Opus 5.5 的价格是多少?
Claude Opus 5.5 通过 APIMODELS 平台调用,当前定价:Input: $2.40, Output: $12.00 per 1M tokens。按量计费,用多少付多少。
如何使用 Claude Opus 5.5 API?
在 APIMODELS 注册账号并获取 API Key,然后通过我们的统一 API 端点调用即可。我们提供详细的 API 文档和 cURL、Python、Node.js 代码示例。
APIMODELS 与 Anthropic 官方 API 有什么区别?
APIMODELS 通过聚合平台提供与官方相同的 Claude Opus 5.5 模型。我们提供统一的 API 接口,无需分别注册各平台账号,一个 API Key 即可调用所有模型。
Claude Opus 5.5 在 apimodels 上多少钱?比官方便宜多少?
输入 $2.40、输出 $12.00 每百万 token,缓存读 $0.12、缓存写 $3.00。Anthropic 官方是 $4 / $20、缓存读 $0.20,所以我们低 40%。按实际 token 扣费,失败的请求不收钱,也没有月费门槛。
Opus 5.5 和 Opus 5、Fable 5.1 怎么选?
Anthropic 自己的定位是:Opus 5.5 在大多数工作上达到 Fable 5.1 的水平,而典型负载的运行成本比 Opus 5 低 40%。在我们这里 Opus 5.5 是 $2.40 / $12.00,Opus 5 是 $3 / $15,Fable 5.1 是 $5 / $25 —— 除非你已经验证某个任务只有 Fable 5.1 做得对,否则从 Opus 5.5 开始是更划算的默认选择。规格三者一致:100 万上下文、128K 输出。
从 Opus 5 迁到 Opus 5.5 要改什么?
模型名改成 claude-opus-5-5 即可,但有四个破坏性变更:自适应思考常开、不能再关闭(用 effort 控制深度,默认 medium);强制工具调用(tool_choice 指定某个工具)会报错;thinking 块绑定产生它的模型,跨模型续对话不能带旧的 thinking 块;旧的 computer_20251124 工具不再接受。另外工具调用之间的文本会放进 thinking 块里返回,用它做进度提示的应用要设置 display。
怎么调用?支持 OpenAI 格式吗?
两种都行:Anthropic 原生 POST https://api.apimodels.app/v1/messages,或 OpenAI 兼容的 /v1/chat/completions,model 填 claude-opus-5-5,Authorization: Bearer 你的 apimodels key。流式、工具调用、图片输入都支持;提示词缓存按 Anthropic 的 cache_control 用法,命中按 $0.12 计。
Claude Opus 5.5 能做动效设计(motion design)吗?怎么做?
能,但靠写代码。Opus 5.5 只输出文字、不输出视频,所以做动效时它写的是一个把每一帧画出来的程序:暴露 renderFrame(t) 或 seek(t) 的 HTML canvas / SVG 页面,或者一个 Remotion 合成;再由无头浏览器逐帧渲染、ffmpeg 编码成 MP4。它擅长动态文字、UI 演示、数据图表动画、logo 演绎和讲解动画;写实镜头、真人和自然的镜头运动交给 Seedance 2.5、Veo 3.1 这类视频模型。我们自己跑通的完整流程就在本页,另见 https://apimodels.app/zh/access/claude-opus-5-5-video。
最好用的 Opus 5.5 动效设计提示词是哪条?
流传最广的是 @stephanlivera 在 2026 年 9 月 25 日发的那一句,原帖浏览超过 200 万:「make a dynamic 15-second motion graphics video that shows what an incredible motion designer you are, like it's your showreel for a résumé. go all out.」它适合用来测环境是否跑通,但大家跑出来的东西彼此很像。真正耐用的是长 brief:先说清要向你要哪些素材、只定一种风格和一个强调色、列出禁用的默认特效、每个镜头都落在拍点网格上、写明 seek(t) 渲染约定。7 份署名的原文连同成片收在 https://apimodels.app/zh/claude-opus-5-5-video-prompts/motion-graphics。
通过 API 用 Opus 5.5 做一条动效视频要花多少钱?
我们在 apimodels.app 的实测是一次流式调用:31,786 个输出 token、6 分 37 秒、实扣 $0.368,得到一段 12 秒 1280x720 的短片,渲染在本地完成、不花钱。按每百万 token $2.40 / $12 计,每 1 万个输出 token 是 $0.12,所以一条需要 3 万到 8 万 token 思考和代码的短片,单次大约 $0.36 到 $0.96,另加几分钱输入。反复修改的长时间 agent 会话会更贵:作者们自述的成片投入从约 $2 到 $400 不等。失败的调用不收费。
Claude Opus 5.5 和其它大语言模型模型相比怎么选?
在 APIMODELS,Claude Opus 5.5 与 60+ 个模型共用一个 API Key、一个余额,所以选型只看合不合适,不存在锁定。它支持 40% Below Official、1M Context、Agentic Coding、Adaptive Thinking,你可以在价格和能力上把它和其它大语言模型模型对比,换模型只需改一个模型名字符串——无需新账号、无需重新对接。所有大语言模型模型与实时价格见 apimodels.app/models。
Claude Opus 5.5 支持哪些能力?
Claude Opus 5.5 支持:40% Below Official、1M Context、Agentic Coding、Adaptive Thinking。完整参数与调用方式见 APIMODELS 的 API 文档。
国内可以调用 Claude Opus 5.5 API 吗?
可以。APIMODELS 提供可直接访问的统一 API,一个 API Key 即可调用 Claude Opus 5.5,无需分别注册官方账号、也无需自行处理官方接口的网络访问。
支持哪些付款方式?
我们支持 Stripe(Visa、Mastercard 等国际信用卡)和支付宝付款。充值后积分即时到账。
相关模型
Opus 5.5 动效设计:怎么做、擅长什么,附一次实跑和完整提示词
用 Claude Opus 5.5 做动效设计,靠的是代码,不是生成像素。模型只输出文字,所以它写的是一个把每一帧画出来的程序(带 renderFrame(t) 或 seek(t) 的 HTML canvas 页面,或者一个 Remotion 合成),再由无头浏览器加 ffmpeg 把这些帧编码成 MP4。我们在 2026 年 9 月 30 日通过 apimodels.app 把整条流程跑了一遍:一次 API 调用,一支 12 秒、1280x720 的产品短片,用无头 Chrome 渲染 360 帧、ffmpeg 编码。下面是我们实际做的每一步和花的钱。
这一次的数据
- 模型
- claude-opus-5-5
- 首个字
- 110 s
- 总耗时
- 6 min 37 s
- 输出 token
- 31,786
- 实扣
- $0.368
- 帧数 / 渲染耗时
- 360 / 14 s
- 成片
- 12 s · 1280x720 · 30 fps · 1.8 MB
Opus 5.5 动效设计擅长什么
- 动态文字:踩着节拍落下的字、遮罩显现、文字变形进入下一个场景。
- UI 与产品演示:光标逐个点过界面,一个形状依次变成按钮、加载条、播放器、图表。
- 数据图表动画:每个数字、每条坐标轴都必须准确的那种。
- logo 演绎与结尾品牌卡:时间点精确、品牌色准确。
- 讲解动画,包括 Manim 风格的数理讲解,配音后期再加。
- 社媒短模板与循环动画(竖屏或方形),换一段文字几秒就能重渲。
它不适合做什么
凡是要像实拍的:写实的人物、自然的镜头运动、物理效果、皮肤和布料质感。代码画的是图形和文字,拍不出实景。这类镜头交给视频模型,让 Opus 5.5 写分镜和提示词,或者在素材上用代码叠字幕和图形。在 apimodels.app 上它们和 Opus 5.5 用同一个 key:
流传最广的那句提示词
这句提示词由 @stephanlivera 在 2026 年 9 月 25 日发出,原帖浏览超过 200 万,被重跑了成千上万次。拿来测环境是否跑通很合适;但正因为用的人太多,跑出来的东西彼此很像,案例库里那些长 brief 更耐用。
make a dynamic 15-second motion graphics video that shows what an incredible motion designer you are, like it's your showreel for a résumé. go all out.提示词作者 @stephanlivera,逐字取自原帖 · x.com/stephanlivera
这样跑一次大概花多少:我们自己那条 12 秒的实测,31,786 个输出 token,实扣 $0.368。按每百万 token $2.40 / $12 计,每 1 万个输出 token 是 $0.12,所以一条需要 3 万到 8 万 token 思考和代码的短片,单次大约 $0.36 到 $0.96,另加几分钱输入。渲染在你自己的机器上完成,不花钱。
1. 要的是「带帧协议的程序」,不是「一段视频」
让后面一切成立的只有一条规矩:页面必须暴露 window.renderFrame(t),每次从零画出第 t 秒那一帧,不读时钟、不用随机数、调用之间不留状态。这样脚本可以按任意顺序要第 0 帧、第 1 帧……第 359 帧,每次得到同一张画面,这正是视频编码需要的。自己用 requestAnimationFrame 播放的页面在浏览器里看着没问题,但没法逐帧精确导出。我们还在提示词里把节奏定死(120 BPM,每 0.5 秒一拍),并要求模型把节拍表写成注释;它写了 24 拍,每个转场都落在拍上。
2. 先按时间段讲故事,再讲风格
在任何视觉细节之前,先写清每个时间段发生什么(问题、转折、收尾)。点名你要在画面上出现的文字,也说清楚不许出现什么(我们要求用简单的圆角标签,不要真实公司的 logo)。风格放最后、写短:一个强调色、用哪种缓动、明确一句「最后 3 秒不要杂乱」。我们发出的完整提示词在下面,一字未改。
我们发出的提示词(原文)
You are writing a program that renders a video. Output one complete, self-contained HTML file and nothing else.
Rules for the program (these make it renderable frame by frame):
1. A single <canvas> of exactly 1280x720, no CSS scaling, black page background.
2. Expose a global function window.renderFrame(t) that draws the frame at time t (seconds, 0 <= t < 12) from scratch. Everything on screen must be a pure function of t: no Date.now, no performance.now, no Math.random (use a seeded PRNG if you need noise), no accumulated state between calls, no requestAnimationFrame loop.
3. Also expose window.DURATION = 12 and window.FPS = 30. When the page is opened normally, play it once in a loop with requestAnimationFrame by calling renderFrame, so a human can preview it.
4. No external assets, fonts, images or libraries. Use system-ui for text.
5. The rhythm is 120 BPM: a beat every 0.5 s. Put every major cut, text entrance and impact on a beat time (a multiple of 0.5). List the beat plan as a comment at the top of the script.
The story (tell this, then decide the visuals):
A 12-second promo for "APIMODELS", an API gateway. Problem, then turn, then payoff:
- 0-3 s: a developer's screen is cluttered with many different API keys and SDK logos flying in from every side, overlapping, getting chaotic (draw them as simple rounded labels such as "image", "video", "LLM", "audio", "key_1", "key_2", "sdk", not real company logos).
- 3-4.5 s: everything snaps together on a beat and collapses into one glowing key.
- 4.5-9 s: from that one key, lines fan out to a grid of model cards that light up one per beat (label them "145 models", "image", "video", "LLM", "audio", "one endpoint").
- 9-12 s: clean end card: the word APIMODELS, the line "One key. Every model.", and "apimodels.app" small underneath; hold still for the last second.
Style: dark background, one accent colour (electric violet #7c5cff) plus white, motion with easing (easeOutCubic / easeInOutQuad written by you), subtle depth (scale and blur fall-off), no clutter in the final 3 seconds.
Before the code, do not explain. Return only the HTML.3. 用流式调用 Opus 5.5,不要限制 max_tokens
Opus 5.5 先思考再写,思考过程计入输出。这条提示词下,回答的第一个字在 110 秒后才出现,整个回复用了 6 分 37 秒:31,786 个输出 token,换来约 16,000 字符的 HTML。请求要用流式,保持连接不断;也不要传一个小的 max_tokens,你不传网关就不会替你加,模型按自己的上限处理。这次调用按每百万 token $2.40 / $12 计,实扣 $0.368,准确金额可以用 GET /v1/records/{id} 查到。
curl https://api.apimodels.app/v1/chat/completions \
-H "Authorization: Bearer $APIMODELS_API_KEY" \
-H "Content-Type: application/json" \
-d "$(jq -n --rawfile p prompt.md \
'{model:"claude-opus-5-5", stream:true, messages:[{role:"user", content:$p}]}')" \
--no-buffer > stream.txt
# no max_tokens on purpose: this run used 31,786 output tokens, mostly thinking4. 用无头 Chrome 渲染每一帧
打开页面、停掉它自带的预览循环,然后对每一帧调用 renderFrame(i / 30),把 canvas 读成 PNG。360 帧在笔记本上用了 14 秒,页面零报错。再用 H.264 加 faststart 编码,得到一个 1.8 MB、哪里都能播的文件。
// render.mjs — pnpm add puppeteer-core; uses the Chrome you already have
import puppeteer from 'puppeteer-core'
import { mkdirSync, writeFileSync } from 'node:fs'
mkdirSync('frames', { recursive: true })
const browser = await puppeteer.launch({
executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
})
const page = await browser.newPage()
await page.setViewport({ width: 1280, height: 720 })
await page.goto('file://' + process.cwd() + '/promo.html')
await page.evaluate(() => { window.requestAnimationFrame = () => 0 }) // stop the preview loop
const { DURATION, FPS } = await page.evaluate(() => ({ DURATION, FPS }))
for (let i = 0; i < DURATION * FPS; i++) {
const png = await page.evaluate((t) => {
window.renderFrame(t)
return document.querySelector('canvas').toDataURL('image/png')
}, i / FPS)
writeFileSync(`frames/f${String(i).padStart(4, '0')}.png`, Buffer.from(png.split(',')[1], 'base64'))
}
await browser.close()ffmpeg -framerate 30 -i frames/f%04d.png -c:v libx264 -pix_fmt yuv420p -crf 20 -movflags +faststart promo.mp4
# add a soundtrack afterwards if you have one:
# ffmpeg -i promo.mp4 -i beat.mp3 -c:v copy -shortest promo-with-audio.mp45. 先看关键帧,再评价成片
在故事节点抽几帧拼成一张图,和需求对照:这里是 2.3 秒(混乱)、3.5 秒(一把钥匙)、7.2 秒(模型卡逐个点亮)、11.3 秒(结尾品牌卡)。四帧第一次就全对上了。要改的话按时间码和拍点提(「7.5 秒时第六张卡带脉冲点亮」),并要求它返回完整文件,免得帧协议被改坏。

我们遇到的限制
- 没有声音。程序只画画面;配乐用 ffmpeg 事后合进去,节拍用你给模型的那个 BPM。
- 首字慢。这类提示词大约要等两分钟才出第一个字;流式能保住连接,客户端超时设短了就会断。
- 它不检查自己的输出。模型没有运行过这个页面,是我们运行的。一定要渲染、看帧,把 HTML 当成未经测试的代码。
相关指南
思路来源:这套做法受 EianLu 在 X 上关于用 Opus 5.5 做动效视频的长文启发。本页的提示词、代码、成片和数字全部来自我们自己的运行。 在 X 上阅读原文
Opus 5.5 动效设计案例
查看全部 60 条 →社区作者公开的提示词,可直接复制修改。每条都标注作者并回链原帖。
15 秒动效设计师简历 Showreel(一句话原型)
make a dynamic 15-second motion graphics video that shows what an incredible motion designer you are, like it's your showreel for a résumé.…
作者 @stephanlivera
加长版 Showreel 提示词(列出技术清单)
Create a bold, dynamic 15-second motion graphics showreel that feels like the ultimate portfolio piece of an exceptionally talented motion d…
作者 @lukasersil
一个形状踩着节拍变遍 12 种 UI 状态(可复用 XML 模板)
<inputs> Ask me for: 8 to 12 UI states I want the shape to become (e.g. button, loader, player, slider, toggle, tabs, chart, command palette…
作者 @twoclipping
相关阅读
接入方式、地区可用性,以及和同类模型的横向对比。
- Claude API 价格对比(2026)—— Fable 5.1 / Opus 5.5 / Sonnet 5.5 / Haiku 5.5 实测
- Claude Opus 5.5 vs Sonnet 5.5(以及 Sonnet 5):跑分、价格与怎么选
- Claude Opus 5.5 vs Fable 5.1:跑分、价格,以及 Fable 什么时候还值得
- Claude Opus 5.5 vs GPT-6 与 GPT-6.1(Sol、Astra):价格、规格与怎么选
- 在 Claude Code 里用 Opus 5.5:两分钟配置、每次会话花多少钱、effort 怎么设
- Claude Sonnet 5.5 价格:每百万 token $2 / $10、缓存价与单任务真实成本(2026)
- 用 Claude Opus 5.5 做视频:代码渲染的动效短片实测(提示词、花费、成片)
- Claude Opus 5.5 免费吗?注册送额度可试用,无需订阅