claude-sonnet-5

Claude Sonnet 5 is the workhorse production model of the Claude family that balances intelligence, speed and cost, and is suitable for the vast majority of enterprise workloads. It can be used in scenarios such as knowledge assistant, complex customer service, code assistance, document analysis, table and file processing, structured extraction, tool calling, and web page operations. Compared with Sonnet 4.6, it uses adaptive thinking by default and adopts a new tokenizer, so the number of tokens and the actual call cost of the same text may change. It is suitable to use it as a universal main model, upgrade to Opus for difficult tasks, and move to Haiku for high-frequency simple tasks.

Context
1000000 tokens
Max output
128000 tokens
Input
llm image
Output
llm

Pricing

Input: $2 / 1M tokens

Output: $10 / 1M tokens

Cached input: $0.2 / 1M tokens

Cache write: $4 / 1M tokens

Endpoints

  • anthropic
  • openai

More models

  • gpt-5.4-nano-1009
  • claude-opus-5

    Claude Opus 5 是面向深度推理、复杂编码、研究分析与高难度创意工作的高级模型。它支持自适应思考,并默认开启思考过程;可通过 effort 调整任务投入程度,适合长周期智能体、复杂软件工程、资料研究、文档生成和多步骤工具编排。该模型支持大上下文、提示缓存和较长输出,但 max_tokens 同时约束思考与最终答案,因此应重新评估旧工作流的输出上限。生产部署前应重点验证延迟、成本、工具调用稳定性和任务边界。

  • glm-5.2

    GLM-5.2 于 2026 年 6 月 17 日正式发布并开源,是 GLM-5 系列的新一代旗舰模型,专为长周期软件工程任务设计。模型延续 MoE 路线,总参数 744B,激活参数约 40B,上下文窗口从 5.1 的 200K 跃升至 100 万 Token,最大输出 131K。关键技术改进包括 IndexShare 机制,在百万上下文下将每 Token 计算量降低 2.9 倍。在 FrontierSWE 基准上,GLM-5.2 得分 74.4,与 Claude Opus 4.8 仅差约 1 分;Terminal-Bench 2.1 从 63.5 跃升至 81.0。模型以 MIT 协议开源,上线首日即完成与华为昇腾、寒武纪等 8 大国产算力平台的适配。

  • vertex/gemini-3.5-flash