Loading...
    • 開發者指南
    • API 參考
    • MCP
    • 資源
    • 發行說明
    Search...
    ⌘K

    第一步

    Claude 介紹快速入門

    模型與定價

    模型概覽選擇模型Claude 4.5 的新功能遷移到 Claude 4.5模型棄用定價

    使用 Claude 建構

    功能概覽使用 Messages API上下文視窗提示詞最佳實踐

    功能

    提示詞快取上下文編輯延伸思考串流訊息批次處理引用多語言支援Token 計數嵌入向量視覺PDF 支援Files API搜尋結果Google Sheets 附加元件

    工具

    概述如何實現工具使用代幣高效工具使用細粒度工具串流Bash 工具代碼執行工具電腦使用工具文字編輯工具網頁擷取工具網路搜尋工具記憶工具

    代理技能

    概述在 API 中開始使用 Agent Skills技能編寫最佳實踐使用 Agent Skills 與 API

    Agent SDK

    概述Agent SDK 參考 - TypeScriptPython SDK

    指南

    串流輸入處理權限會話管理託管 Agent SDK修改系統提示SDK 中的 MCP自訂工具SDK 中的子代理SDK 中的斜線命令SDK 中的代理技能追蹤成本和使用量待辦事項清單SDK 中的外掛程式

    API 中的 MCP

    MCP 連接器遠端 MCP 伺服器

    Claude 在第三方平台上

    Amazon BedrockVertex AI

    提示工程

    概述提示詞生成器使用提示模板提示詞改進器保持清晰和直接使用範例(多樣提示)讓 Claude 思考(思維鏈)使用 XML 標籤給 Claude 分配角色(系統提示詞)預填 Claude 的回應串接複雜提示長文本技巧延伸思考技巧

    測試與評估

    定義成功標準開發測試案例使用評估工具降低延遲

    加強防護措施

    減少幻覺提高輸出一致性防範越獄handle-streaming-refusals減少提示詞洩漏保持 Claude 的角色特性

    管理和監控

    Admin API 概述使用量和成本 APIClaude Code 分析 API
    Console
    使用 Claude 建構

    功能概覽

    探索 Claude 的進階功能和能力。

    核心功能

    這些功能增強了 Claude 在各種格式和使用案例中處理、分析和生成內容的基本能力。

    功能描述可用性
    1M 代幣上下文視窗擴展的上下文視窗,允許您處理更大的文件、維持更長的對話,並使用更廣泛的程式碼庫。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)
    Agent Skills使用 Skills 擴展 Claude 的功能。使用預先構建的 Skills(PowerPoint、Excel、Word、PDF)或使用指令和指令碼建立自訂 Skills。Skills 使用漸進式揭露來有效管理上下文。Claude API (Beta)
    批次處理非同步處理大量請求以節省成本。發送包含大量查詢的批次。批次 API 呼叫的成本比標準 API 呼叫低 50%。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    引用在來源文件中建立 Claude 的回應。使用引用,Claude 可以提供對其用於生成回應的確切句子和段落的詳細參考,從而產生更可驗證、更值得信賴的輸出。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    上下文編輯使用可配置的策略自動管理對話上下文。支援在接近代幣限制時清除工具結果,以及在擴展思考對話中管理思考區塊。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)
    擴展思考針對複雜任務的增強推理功能,在提供最終答案之前提供對 Claude 逐步思考過程的透明度。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    Files API上傳和管理檔案以與 Claude 一起使用,無需在每個請求中重新上傳內容。支援 PDF、影像和文字檔案。Claude API (Beta)
    PDF 支援處理和分析 PDF 文件中的文字和視覺內容。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    提示快取 (5m)為 Claude 提供更多背景知識和範例輸出,以降低成本和延遲。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    提示快取 (1hr)擴展的 1 小時快取持續時間,適用於不經常存取但重要的上下文,補充標準 5 分鐘快取。Claude API
    搜尋結果透過提供具有適當來源屬性的搜尋結果,為 RAG 應用程式啟用自然引用。為自訂知識庫和工具實現網路搜尋品質的引用。Claude API

    Google Cloud's Vertex AI
    代幣計數代幣計數使您能夠在將訊息發送到 Claude 之前確定訊息中的代幣數量,幫助您對提示和使用做出明智的決定。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    工具使用使 Claude 能夠與外部工具和 API 互動,以執行更廣泛的任務。如需支援的工具清單,請參閱工具表。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    工具

    這些功能使 Claude 能夠透過各種工具介面與外部系統互動、執行程式碼和執行自動化任務。

    功能描述可用性
    Bash執行 bash 命令和指令碼以與系統 shell 互動並執行命令列操作。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    程式碼執行在沙箱環境中執行 Python 程式碼以進行進階資料分析。Claude API (Beta)
    電腦使用透過擷取螢幕擷圖和發出滑鼠和鍵盤命令來控制電腦介面。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)
    細粒度工具串流串流工具使用參數而不進行緩衝/JSON 驗證,減少接收大型參數的延遲。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    MCP 連接器直接從 Messages API 連接到遠端 MCP 伺服器,無需單獨的 MCP 用戶端。Claude API (Beta)
    記憶使 Claude 能夠跨對話儲存和檢索資訊。隨著時間推移建立知識庫、維持專案上下文,並從過去的互動中學習。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)
    文字編輯器使用內建文字編輯器介面建立和編輯文字檔案以執行檔案操作任務。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI
    Web 擷取從指定的網頁和 PDF 文件檢索完整內容以進行深入分析。Claude API (Beta)
    Web 搜尋使用來自網路各地的當前、真實世界資料增強 Claude 的綜合知識。Claude API

    Google Cloud's Vertex AI
      © 2025 ANTHROPIC PBC

      Products

      • Claude
      • Claude Code
      • Max plan
      • Team plan
      • Enterprise plan
      • Download app
      • Pricing
      • Log in

      Features

      • Claude and Slack
      • Claude in Excel

      Models

      • Opus
      • Sonnet
      • Haiku

      Solutions

      • AI agents
      • Code modernization
      • Coding
      • Customer support
      • Education
      • Financial services
      • Government
      • Life sciences

      Claude Developer Platform

      • Overview
      • Developer docs
      • Pricing
      • Amazon Bedrock
      • Google Cloud’s Vertex AI
      • Console login

      Learn

      • Blog
      • Catalog
      • Courses
      • Use cases
      • Connectors
      • Customer stories
      • Engineering at Anthropic
      • Events
      • Powered by Claude
      • Service partners
      • Startups program

      Company

      • Anthropic
      • Careers
      • Economic Futures
      • Research
      • News
      • Responsible Scaling Policy
      • Security and compliance
      • Transparency

      Help and security

      • Availability
      • Status
      • Support center

      Terms and policies

      • Privacy policy
      • Responsible disclosure policy
      • Terms of service: Commercial
      • Terms of service: Consumer
      • Usage policy

      Products

      • Claude
      • Claude Code
      • Max plan
      • Team plan
      • Enterprise plan
      • Download app
      • Pricing
      • Log in

      Features

      • Claude and Slack
      • Claude in Excel

      Models

      • Opus
      • Sonnet
      • Haiku

      Solutions

      • AI agents
      • Code modernization
      • Coding
      • Customer support
      • Education
      • Financial services
      • Government
      • Life sciences

      Claude Developer Platform

      • Overview
      • Developer docs
      • Pricing
      • Amazon Bedrock
      • Google Cloud’s Vertex AI
      • Console login

      Learn

      • Blog
      • Catalog
      • Courses
      • Use cases
      • Connectors
      • Customer stories
      • Engineering at Anthropic
      • Events
      • Powered by Claude
      • Service partners
      • Startups program

      Company

      • Anthropic
      • Careers
      • Economic Futures
      • Research
      • News
      • Responsible Scaling Policy
      • Security and compliance
      • Transparency

      Help and security

      • Availability
      • Status
      • Support center

      Terms and policies

      • Privacy policy
      • Responsible disclosure policy
      • Terms of service: Commercial
      • Terms of service: Consumer
      • Usage policy
      © 2025 ANTHROPIC PBC