Claude Haiku 5.5

    anthropic/claude-haiku-5.5
    試驗場

    Small, fast model for high-volume, latency-sensitive summarization, subagents, and browser use, with stronger coding and computer use than the prior generation.

    Cost Effective程式Real-time ResponseLightweightClassificationAgent
    模態
    輸入 / 輸出價格
    $0.1 / $0.5M tokens
    上下文
    1M
    發布時間
    2026-10-07

    價格

    規格0 - 100K> 100K
    輸入$0.1/ M tokens$0.5/ M tokens
    輸出$0.5/ M tokens$2.5/ M tokens
    快取讀$0.01/ M tokens$0.05/ M tokens
    快取寫$0.125/ M tokens$0.625/ M tokens

    快速開始

    可直接貼上執行下方範例程式碼。Gate.AI API 與 OpenAI 相容,多數 SDK 只需替換 base URL;切換模型時,只需修改模型 ID。

    1

    Get your API key

    Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.

    前往控制台建立金鑰
    2

    Make a request

    Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.

    POSThttps://api.gate.ai/anthropic/v1/messages
    curl --location "https://api.gate.ai/anthropic/v1/messages" \
      --header "x-api-key: {API_KEY}" \
      --header "anthropic-version: 2023-06-01" \
      --header "Content-Type: application/json" \
      --data '{
      "model": "claude-haiku-5.5",
      "max_tokens": 256,
      "messages": [
        {"role": "user", "content": "Hello"}
      ]
    }'
    3

    Handle the response \\& streaming

    By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.

    POSThttps://api.gate.ai/anthropic/v1/messages
    curl --no-buffer --location "https://api.gate.ai/anthropic/v1/messages" \
      --header "x-api-key: {API_KEY}" \
      --header "anthropic-version: 2023-06-01" \
      --header "Content-Type: application/json" \
      --data '{
      "model": "claude-haiku-5.5",
      "max_tokens": 256,
      "messages": [
        {"role": "user", "content": "Hello"}
      ],
      "stream": true
    }'

    端點

    以 Anthropic Messages API 格式建立訊息,支援文字、圖片、工具與延伸思考。

    POSThttps://api.gate.ai/anthropic/v1/messages
    欄位
    值
    x-api-key
    Gate.AI API key header with the value {API_KEY}
    anthropic-version
    Anthropic protocol version; for example 2023-06-01
    Content-Type
    請求內容型別,固定為 application/json
    model
    Model ID; the current model is claude-haiku-5.5
    max_tokens
    Maximum number of tokens the model may generate
    messages
    Ordered array of Anthropic messages
    stream
    Whether to return the result as an SSE stream

    相關模型

    Claude Sonnet 5.5

    Sonnet-class model for well-scoped everyday work, with stronger feature building, bug fixing, and office deliverables than the prior generation, suited to responsive agentic loops.

    Claude Opus 5.5

    Successor to Opus 5 for demanding reasoning, coding, and long-horizon agent work; excels at multi-step changes across large codebases and sustained knowledge tasks.

    Claude Opus 5

    Flagship model for demanding reasoning, coding, and long-horizon agentic work, spanning end-to-end software, code review, parallel subagent coordination, visual analysis of charts and documents, and complex office deliverables.

    Claude Sonnet 5

    Coding and agent quality approach the frontier, with native reasoning built in, well-suited for complex planning and long-horizon professional tasks that require cross-step consistency.

    Claude Fable 5

    Claude Fable 5 is Anthropic’s advanced long-horizon reasoning model, supporting text, image, and file inputs with text output. It features reasoning capabilities and a 1M-token context window, making it suitable for autonomous knowledge work, software development, and complex multi-step tasks.

    Claude Opus 4.8

    Opus family flagship with reasoning. Suited for long-horizon autonomous agents, large-codebase analysis, and multimodal knowledge work.

    Claude Opus 4.8 beta

    Opus family flagship with reasoning. Suited for long-horizon autonomous agents, large-codebase analysis, and multimodal knowledge work.

    Claude Opus 4.7 beta

    Built for long-running async agents, excelling at complex multi-step tasks and end-to-end workflow execution.

    Claude Opus 4.7

    Built for long-running async agents, excelling at complex multi-step tasks and end-to-end workflow execution.

    Claude Sonnet 4.6

    Anthropic 品質與成本的最佳平衡。