转载笔记:本文是对 OpenAI 官方开发者文档《Using GPT-6.2》(developers.openai.com)及 The Decoder 2026 年 11 月 21 日相关报道的总结笔记,不是原文转载。文中 8 份提示词为 OpenAI 官方原文引用(官方公开发布供开发者复制使用),其余内容为总结。原文链接:https://developers.openai.com/api/docs/guides/latest-model 、https://the-decoder.com/openai-shares-new-prompting-tips-for-gpt-6-2-astra-and-sol-to-fix-brief-answers-and-unnecessary-questions/
说明:核查时(11 月 23 日约 09:00)x.com 全站返回 HTTP 403,相关讨论帖未能打开;本文的细节以 OpenAI 官方文档为准。GPT-6.2 Astra 与 Sol 于 11 月 17 日发布,本指南是随后的迁移与提示词补充。
GPT-6.2 Astra 与 Sol 上线一周后,OpenAI 补了一份官方使用指南,核心就两件事:第一,模型的行为变了,旧的系统提示词要跟着改;第二,API 的行为也变了,旧的集成方式可能悄悄丢东西、烧更多钱。指南里直接给了 8 份能复制粘贴的提示词,针对的都是 OpenAI 在使用 GPT-6.2 过程中实际观察到的问题。
模型行为的四个变化
OpenAI 先列出 GPT-6.2 Astra 的四点行为特征,每一点都对应后面的一组提示词:
- 写作风格: 默认比以前的模型更简洁直接。迁移时要重新审视系统提示词里“简洁一点”之类的指令——现在可能已经多余,甚至会让回答过短。
- 任务完成: 用户意图不明确时,模型可能提出下一步建议然后停下来等确认。长任务需要给它“自己做合理假设、继续干活”的空间。
- 代码风格: 比前代写出更高效、更高质量的代码。需要明确告诉它项目里已有的约定。
- 前端设计: 界面需要特定外观时,要直接在提示词里指定图片与排版,否则它会按自己的默认审美来。
写作:三份提示词
第一份:把模型当日常协作伙伴。 适用于把它当同事和思考伙伴的场景:用用户和来源的术语、主动语态、关键点放前面。
(作者原文引用)
Write using terminology the user and sources use. Keep technical details and use domain-specific language when they make the explanation more precise. Use the active voice and keep closely related details together. Cover the key points up front, and avoid references that the reader can only make sense of later in the response. Give the user enough context to follow your reasoning.
第二份:替用户给外部受众写东西。 写文档、邮件、消息、对外帖子时,让模型先想清楚读者是谁——外部读者大概率没有用户的背景信息,编辑时则要保留作者原意和措辞。
(作者原文引用)
When drafting a message or any other material on behalf of the user to be sent to an external audience, consider who will read it and tailor the content to that intended audience. The intended audience likely does not have the same context as the user, so ensure that you provide the background information or reasoning required for the audience to understand the content. When reviewing or editing existing content, preserve the author's content and wording, and follow the user's instruction carefully for what edits they want.
第三份:最终答案必须独立成篇。 长任务里模型会把推理过程或别的 Agent 消息里的缩写、行话带进最终回答。OpenAI 的要求是:最终答案是用户第一次看到成果的地方,不能依赖之前被折叠起来的中间评论。
(作者原文引用)
Treat your final answer as the user's first look at your work, and not as a continuation of intermediate commentary. The final answer must always be fully self-contained: users should never need to read earlier commentary updates for context, since they are collapsed when the final answer is shown to the user.
Write the final answer and all other human-facing material anew for the intended reader. Do not copy or closely paraphrase your reasoning or adopt its writing style. Do not carry over working shorthand, jargon, or abbreviations from your reasoning, tool calls, or instructions to subagents and automations.
任务完成:三份提示词
第四份:别停下来等,自己把下一步做了。 只有任务范围发生重大变化、确实被卡住、需要用户拍板,或是不可逆/破坏性操作时才停下来问。
(作者原文引用)
Avoid stopping to end the turn while the task is incomplete or if there is an authorized next step you can take, and instead take the next steps within task scope to progress the user's request. If your final response before ending the turn is a suggested next step, a plan, a request to the user for a routine decision, instructions for a task to execute, or similar handoff to the user, take these steps yourself to make progress towards what the user asked for. Make sure that you have authorization to do so, and flag any assumptions or decisions you make to the user.
Only stop to clarify with the user if there is significant change in task scope, you are concretely blocked, have a decision that the user needs to resolve, or before irreversible or destructive actions.
第五份:坚持到底,交付完整结果。 要求模型在结束前自查是否满足了用户请求的每一部分,必要时自己建隔离 worktree、解决合并冲突、建 draft PR——除非明显是破坏性或不可逆的操作。
(作者原文引用)
Bias towards action, and persist until you've completed the task the user asked for. Avoid stopping to end the turn while the task is incomplete or if there is an authorized next step you can take, and instead take the next steps within task scope to progress the user's request. Make sure that you have accounted for every part of the user's request, and persist until you've delivered a result that fully satisfies the user's goal. If a task requires sustained work, do all the necessary work until the intended outcome is completely fulfilled.
Progress autonomously towards the user's goal (e.g. creating isolated worktrees / checkouts if needed, resolving merge conflicts, creating draft PRs etc) unless they are clearly destructive or irreversible. Before ending a turn or calling your work complete, check that your work fully satisfies what the user asked for. If any steps remain or any part of the result still needs verification, follow through on this work before finishing.
第六份:细节不明就做可逆假设,别反问。 只有确实无法继续时才停下来。
(作者原文引用)
Make reasonable, reversible assumptions to carry work forward and state them if it progresses the task within scope. Do not second guess yourself, stop after describing what you could do, offer to do the work, or provide a partial answer unless there is no way you can proceed.
OpenAI 还补充:提高推理强度(reasoning effort)有助于模型在复杂或长期任务的最后检查环节坚持到底;如果应用里有 request_user_input_async 这类异步提问工具,GPT-6.2 可以先问用户,同时继续做不依赖答案的那部分工作。
写代码:一份提示词,四条规则
GPT-6.2 写代码更高效,但 OpenAI 提醒开发者先把代码库的约定写清楚:什么时候复用已有逻辑、改动范围收多窄、什么情况下才补测试。
(作者原文引用)
Above all, be thorough in producing high-quality, correct code that completely fulfills the user's task. Keep the code easy to read and verify that the user-requested outcome works as they intend. Follow these instructions when coding:
(a) Reuse existing logic in the user's repo when you can. You should reuse existing classes, methods, representations, and APIs in the codebase as long as they preserve correctness. Before consolidating or removing code, preserve the behavior its callers rely on unless the task requires changing it.
(b) Skip new tests unless requested, required by the repo, or needed to catch a specific regression existing tests would miss.
(c) Make sure that code is human readable. Do not use fewer lines, shorter variable names, minified formatting, or dense one-liners as substitutes for simplicity. Ensure that comments and variable names are readable and understandable to a human. Code-golfed expressions count as overly complex when they encode many branches, conditions, or hidden assumptions.
(d) Avoid unnecessary indirection and abstraction. Helper functions, utility functions, and class abstractions can add cognitive complexity even when they do not add branches.
值得注意的是第 (b) 条:GPT-6.2 默认只在被要求、仓库规定或能抓住现有测试漏掉的特定回归时才写新测试。The Decoder 指出这与 9 月的 GPT-6 Astra 相反——当时哪怕很小的改动也会触发全面测试。这次的方向是少写测试、少造抽象,换取更快的交付。
做前端:一份提示词
如果应用依赖特定的视觉风格,要在提示词里说清楚用什么图片、什么字体。默认规则:优先用 ImageGen 或图片搜索找的真实图片,只有用户明确要求时才用 SVG;界面文案只保留用户需要知道、需要操作或明确要求的内容,装饰性编号、填充式徽章、重复标题和复述界面本身的解释性文字都去掉。
(作者原文引用)
When generating webpages or apps with a frontend user interface, follow these instructions:
- When choosing visuals, generally prefer realistic images from ImageGen or image search that suit the project's style and purpose. Use SVGs when the user specifically asks for them.
- Include a text element only when it provides information the user needs, helps them navigate or act, or fulfills an explicit content request. Remove decorative numbering, filler badges, redundant headings, and explanatory copy that merely restates what the surrounding interface already makes clear, while preserving necessary labels, instructions, and status feedback.
OpenAI 还建议:做视觉工作时可以给 GPT-6.2 一张设计软件里的参考图,或让它用 GPT Image 生成一张;一旦它抓住了想要的外观,再让它按这个参考去建素材、渲染并迭代。
API 迁移:三处容易踩的坑
指南的后半部分是给已经接入 API 的开发者的迁移清单,其中三处最容易出问题:
- 编辑历史会丢弃推理内容。 从 GPT-6.2 起,Responses API 在对话中途编辑历史(前缀编辑)、切换到某些其他模型、或更换最终用户/组织时,会丢弃此前的推理条目。后果是回答质量可能下降,模型还会花更多 token 把之前的工作重做一遍。修复方法是:跨轮次改设置时保持前缀不变。顺带一提,一个很常见的触发场景是把当天日期放进系统提示词——每天日期一变,历史就被“编辑”了,推理也就丢了。
instructions字段的位置变了。 GPT-6.2 起,Responses API 会把顶层的instructions追加到input之后,超出可缓存的边界,结果是这些 token 每次都按普通输入计费,也无法通过previous_response_id复用。正确做法是把长期稳定的指令放进input开头的developer消息里,顶层instructions只留给当次请求才有效的指导。- 推理强度与不支持的参数。 新集成从
medium起步;原来用none或minimal的改用low(none会被拒绝)。工具调用必须用 Responses API,Chat Completions 虽然支持这两个模型,但工具调用需要 Responses。迁移时删掉temperature、top_p、logprobs、top_logprobs;Responses 请求里还要从include中去掉message.output_text.logprobs。
其他迁移要点:长耗时请求可以用后台模式(Background mode,公开测试),两小时或八小时的折扣完成窗口替代 Flex 处理——GPT-6.2 Astra 与 Sol 不支持 service_tier: flex;从 GPT-5.5 或更早版本迁移时,把 prompt_cache_retention 换成 prompt_cache_options.ttl 设为 "30m";两个模型都支持零数据留存(ZDR,获批组织、符合条件的端点)以及美国和欧盟数据驻留,Standard、Fast 与 Batch 处理都支持,Ultrafast 仅支持美国数据驻留;要用 Codex 做迁移的话,OpenAI 提供了官方的 OpenAI Docs skill。
定价与上下文
- GPT-6.2 Astra: 每百万 token 输入 8 美元、缓存输入 0.40 美元、输出 40 美元(272,000 token 以内);超过 272,000 token 后涨到输入 16 美元、缓存 0.80 美元、输出 60 美元。上下文窗口 1,050,000 token,最多输入 922,000 token,最多输出 128,000 token。
- GPT-6.2 Sol: 每百万 token 输入 2 美元、缓存 0.10 美元、输出 10 美元,与 GPT-6.1 Sol 持平。
- Codex: 长编码会话到 272,000 token 时会自动压缩上下文。
怎么用这份指南
最省事的用法是按场景取提示词:日常写作用第一份,对外发文加第二份,长任务收尾加第三份;想让 Agent 少问问题、多干活,就把第四、五、六份拼进系统提示词;写代码用第七份、做前端用第八份。迁移 API 的团队先处理前缀编辑和 instructions 位置这两处——它们不报错,只会悄悄让质量下降、账单变贵,第一次请求还测不出来。
执笔

