• 運算
  • 客戶
  • 價格
登入
More Blog Posts
XDiscordLinkedInYouTube

產品

  • GPU
  • MaaS
  • Studio

開發者

  • 模型總覽
  • 技術文件
  • 詞彙表

公司

  • 關於我們
  • 部落格
  • 活動
  • 合作夥伴
  • 新創計劃
  • 職涯
  • 大使計畫
  • 使命與願景

熱門模型

    掌握 AI 最新動態

    提交即表示您瞭解我們會收集並使用您提交的資訊,其中可能包含個人資訊。

    XDiscordLinkedInYouTube

    Copyright ©2026 All rights reserved.

    隱私政策使用條款法律文件
    More Blog Posts
    Announcements

    Sonnet 5 已經先把事情做完了,何必再付 Opus 的價錢

    Claude Sonnet 5 是史上最具 agentic 能力的 Sonnet,在推理、工具使用與程式撰寫上都逼近 Opus 4.8,在部分知識工作 benchmark 上甚至勝出。

    2026年7月01日

    從 3.5 開始,Sonnet 等級的模型就一直扛著 agentic AI 的工作負載,而 Claude Sonnet 5 接下這個擔子後,跑得更快了。這個模型在關鍵的 agentic benchmark 上追近 Opus 4.8,甚至在 Terminal-Bench 2.1 等項目上直接勝出,價格卻只是前沿推論成本的零頭;同時它也換上了升級版 tokenizer,改寫了吞吐量規劃的算式。

    對於要跑多步驟程式 agent、工具呼叫流程,或長週期推理任務的開發者來說,現在終於有一個能把工作真正做完的模型。過去的 Sonnet,常常卡在半路就停了。

    Sonnet 5 在整套 benchmark 上都優於 Sonnet 4.6:medium effort 下的成本效益大幅提升;effort 拉高後,特定任務類別的表現逼近 Opus 4.8,甚至在某一項知識工作 benchmark 上小幅超越了 Opus 4.8。

    Sonnet 5 能完成過去 Sonnet 半途而廢的複雜任務,而且不必人提醒,就會主動檢查自己的輸出。

    tokenizer 的改變

    Sonnet 5 使用更新過的 tokenizer。同樣的輸入,依內容型態不同會對應到 1.0 至 1.35 倍的 token 數。

    內容型態

    倍數

    程式碼

    約 1.0 倍

    散文/結構化輸出

    約 1.35 倍

    對基礎設施的意義是:同一段提示詞的 token 數變成 1.35 倍,代表每個邏輯請求的推論吞吐量,大約會以同樣的倍數下降,GPU 工時也隨之增加。如果服務堆疊能依工作負載類型,分析 tokenization 的使用樣態,就能更精準地把 GPU 配置調整到剛好的規模。

    把 effort 等級當成推論的調節桿

    等級

    表現

    最適合

    Low

    快速、便宜

    批次處理

    Medium

    成本效益佳

    面向使用者的 agent

    High

    逼近 Opus 4.8

    困難推理、複雜程式開發

    基礎設施重點

    重點

    行動

    token 倍數的預算

    在投入 GPU 容量前先做剖析。每天 1M token 可能會變成 1.35M。

    突發式流量樣態

    工具呼叫帶來的是突發流量,不是穩定串流。低排隊延遲至關重要。

    分層需求

    批次用 low、agent 用 medium、推理用 high。

    對照示範


    Fable 5 is beating Opus 4.8 and Sonnet 5 in price and speed!

    we asked Claude Sonnet 5, Opus 4.8, and Fable 5 to find and fix the bugs in three different scripts

    all three correctly identified the bugs, fixed the code, and delivered the requested correctness reports and test… pic.twitter.com/EMfcQX12Dq

    — GMI Cloud (@gmi_cloud) July 2, 2026


    我們用三組提示詞測試了 Claude Sonnet 5、Opus 4.8 與 GLM 5.2。

    Sonnet 5 平均速度更快,成本比 Opus 4.8 便宜 4 倍,價格與速度則和 GLM 5.2 相近。

    不過整體而言,Opus 產出的環境在功能上更複雜、更完整,唯獨在物理模擬項目上,兩者表現不相上下。

    開發者社群怎麼說

    這次發布,工程師的反應相當熱烈。Reddit 上的 r/ClaudeAI 與 r/ClaudeCode 社群,普遍給了性價比正面評價,把 Sonnet 5 定位成「用零頭的成本,做到 Opus 等級的 agentic 工作」。

    Hacker News 上比較懷疑的看法則認為,Sonnet 5 只是「把底線往上拉」,而不是真正推進前沿。換句話說,它比較適合當 Cowork 與子 agent 任務的預設選擇,而不是 Claude Code 裡最難工作的首選。

    也有開發者指出,Sonnet 5 在最高推理 effort 下有效率問題,在高 effort 等級時,燒掉的 token 比 GPT-5.5 等同級模型更多。

    工程師必須知道的事

    每個團隊在部署 Sonnet 5 之前,都該評估一些正式環境的考量,其中包含資安防護。Anthropic 的 system card 證實,Sonnet 5 刻意限制了與網路攻擊相關的能力,這一點也在與 Mozilla 合作、針對 Firefox 漏洞利用進行的測試中獲得驗證。

    這個模型從未產出可運作的 exploit,並套用了 Opus 等級的預設防護機制。它對提示詞注入的抵抗力,也比 Sonnet 4.6 有可量測的提升,對於運行工具呼叫 agent 的團隊來說,這會是一項有意義的升級。

    今天就開始打造

    GMI Cloud 在為 agentic 工作負載打造的 GPU 基礎設施上,提供包含 Claude 系列在內的 200 多種模型,並具備對突發流量友善的資源配置,以及跨各種 effort 等級的低延遲服務。

    用 curl 試試看:

    curl https://api.gmi-serving.com/v1/chat/completions \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer $GMI_API_KEY" \
      -d '{
        "model": "anthropic/claude-sonnet-5",
        "messages": [
          {
            "role": "system",
            "content": "You are a helpful assistant."
          },
          {
            "role": "user",
            "content": "Hello!"
          }
        ]
      }'

    用 Python 試試看:

    import os
    from openai import OpenAI
    
    client = OpenAI(
        base_url="https://api.gmi-serving.com/v1",
        api_key=os.environ["GMI_API_KEY"]
    )
    
    response = client.chat.completions.create(
        model="anthropic/claude-sonnet-5",
        messages=[
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Hello!"}
        ]
    )
    print(response.choices[0].message.content)

    歡迎加入我們的 Discord,或追蹤 @gmi_cloud 取得最新消息。

    Roan Weigert

    Roan Weigert

    DevRel @ GMI Cloud

    Build AI Without Limits

    GMI Cloud helps you architect, deploy, optimize, and scale your AI strategies

    FAQ

    Sonnet 5 significantly narrows the agentic performance gap. At high effort, it closes in on Opus 4.8 on BrowseComp and OSWorld-Verified, and even wins on Terminal-Bench 2.1. Teams that need maximum performance still use Opus 4.8, but many workloads can now run on Sonnet 5.

    Ready to build?

    Explore powerful AI models and launch your project in just a few clicks.

    Get Started