Loading...
    • 開發者指南
    • API 參考
    • MCP
    • 資源
    • 發行說明
    Search...
    ⌘K
    入門
    Claude 簡介快速開始
    模型與定價
    模型概覽選擇模型Claude 4.6 新功能遷移指南模型棄用定價
    使用 Claude 構建
    功能概覽使用 Messages API處理停止原因提示詞最佳實踐
    上下文管理
    上下文視窗壓縮上下文編輯
    功能
    提示詞快取延伸思考自適應思考思考力度串流訊息批次處理引用多語言支援Token 計數嵌入視覺PDF 支援Files API搜尋結果結構化輸出
    工具
    概覽如何實作工具使用細粒度工具串流Bash 工具程式碼執行工具程式化工具呼叫電腦使用工具文字編輯器工具網頁擷取工具網頁搜尋工具記憶工具工具搜尋工具
    Agent Skills
    概覽快速開始最佳實踐企業級 Skills透過 API 使用 Skills
    Agent SDK
    概覽快速開始TypeScript SDKTypeScript V2(預覽版)Python SDK遷移指南
    API 中的 MCP
    MCP 連接器遠端 MCP 伺服器
    第三方平台上的 Claude
    Amazon BedrockMicrosoft FoundryVertex AI
    提示詞工程
    概覽提示詞產生器使用提示詞範本提示詞改進器清晰直接使用範例(多範例提示)讓 Claude 思考(CoT)使用 XML 標籤賦予 Claude 角色(系統提示詞)串聯複雜提示詞長上下文技巧延伸思考技巧
    測試與評估
    定義成功標準開發測試案例使用評估工具降低延遲
    強化防護機制
    減少幻覺提高輸出一致性防範越獄攻擊串流拒絕減少提示詞洩漏讓 Claude 保持角色
    管理與監控
    Admin API 概覽資料駐留工作區用量與成本 APIClaude Code Analytics API零資料保留
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

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

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    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

    Learn

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

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    使用 Claude 構建

    功能概覽

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

    核心能力

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

    功能描述可用性
    1M token 上下文視窗擴展的上下文視窗,讓您能處理更大的文件、維持更長的對話,並處理更大規模的程式碼庫。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)

    Microsoft Foundry (Beta)
    自適應思考讓 Claude 動態決定何時以及思考多少。這是 Opus 4.6 推薦的思考模式。使用 effort 參數來控制思考深度。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    Agent Skills透過 Skills 擴展 Claude 的能力。使用預建的 Skills(PowerPoint、Excel、Word、PDF)或使用指令和腳本建立自訂 Skills。Skills 使用漸進式揭露來有效管理上下文。Claude API (Beta)

    Microsoft Foundry (Beta)
    批次處理非同步處理大量請求以節省成本。每批次可發送大量查詢。Batch API 呼叫成本比標準 API 呼叫低 50%。Claude API

    Amazon Bedrock

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

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    壓縮針對長時間對話的伺服器端上下文摘要。當上下文接近視窗限制時,API 會自動摘要對話的早期部分。支援 Opus 4.6 和 Haiku 4.5。Claude API (Beta)
    上下文編輯使用可配置策略自動管理對話上下文。支援在接近 token 限制時清除工具結果,以及在延伸思考對話中管理思考區塊。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)

    Microsoft Foundry (Beta)
    資料駐留使用地理控制來控制模型推論的執行位置。透過 inference_geo 參數為每個請求指定 "global" 或 "us" 路由。Claude API
    Effort使用 effort 參數控制 Claude 回應時使用的 token 數量,在回應完整性和 token 效率之間進行權衡。支援 Opus 4.6 和 Opus 4.5。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    延伸思考針對複雜任務的增強推理能力,在提供最終答案之前,透明展示 Claude 的逐步思考過程。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    Files API上傳和管理檔案以與 Claude 一起使用,無需每次請求都重新上傳內容。支援 PDF、圖片和文字檔案。Claude API (Beta)

    Microsoft Foundry (Beta)
    PDF 支援處理和分析 PDF 文件中的文字和視覺內容。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    提示快取(5 分鐘)為 Claude 提供更多背景知識和範例輸出,以降低成本和延遲。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    提示快取(1 小時)延長至 1 小時的快取持續時間,適用於存取頻率較低但重要的上下文,作為標準 5 分鐘快取的補充。Claude API

    Microsoft Foundry
    搜尋結果透過提供具有適當來源歸屬的搜尋結果,為 RAG 應用程式啟用自然引用。為自訂知識庫和工具實現網頁搜尋品質的引用。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    結構化輸出透過兩種方法保證 schema 一致性:用於結構化資料回應的 JSON 輸出,以及用於驗證工具輸入的嚴格工具使用。Claude API

    Amazon Bedrock

    Microsoft Foundry (Beta)
    Token 計數Token 計數讓您能在將訊息發送給 Claude 之前確定訊息中的 token 數量,幫助您對提示和使用量做出明智的決策。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    工具使用讓 Claude 能與外部工具和 API 互動,以執行更多種類的任務。有關支援的工具列表,請參閱工具表格。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry

    工具

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

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

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    程式碼執行在沙盒環境中執行 Python 程式碼,進行進階資料分析。Claude API (Beta)

    Microsoft Foundry (Beta)
    程式化工具呼叫讓 Claude 能從程式碼執行容器中以程式化方式呼叫您的工具,減少多工具工作流程的延遲和 token 消耗。Claude API (Beta)

    Microsoft Foundry (Beta)
    電腦使用透過截圖和發出滑鼠及鍵盤命令來控制電腦介面。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)

    Microsoft Foundry (Beta)
    細粒度工具串流無需緩衝/JSON 驗證即可串流工具使用參數,減少接收大型參數的延遲。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    MCP 連接器直接從 Messages API 連接到遠端 MCP 伺服器,無需單獨的 MCP 客戶端。Claude API (Beta)

    Microsoft Foundry (Beta)
    記憶讓 Claude 能跨對話儲存和檢索資訊。隨時間建立知識庫、維護專案上下文,並從過去的互動中學習。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)

    Microsoft Foundry (Beta)
    文字編輯器使用內建的文字編輯器介面建立和編輯文字檔案,用於檔案操作任務。Claude API

    Amazon Bedrock

    Google Cloud's Vertex AI

    Microsoft Foundry
    工具搜尋透過使用基於正規表達式的搜尋動態發現和載入工具,擴展至數千個工具,優化上下文使用並提高工具選擇準確性。Claude API (Beta)

    Amazon Bedrock (Beta)

    Google Cloud's Vertex AI (Beta)

    Microsoft Foundry (Beta)
    網頁擷取從指定的網頁和 PDF 文件中檢索完整內容,進行深入分析。Claude API (Beta)

    Microsoft Foundry (Beta)
    網頁搜尋使用來自網路的即時、真實世界資料來增強 Claude 的全面知識。Claude API

    Google Cloud's Vertex AI

    Microsoft Foundry

    Was this page helpful?