โมเดลราคาองค์กร
500+ AI Model API ทั้งหมดในหนึ่ง API เพียงแค่ใน CometAPI
API โมเดล
นักพัฒนา
เริ่มต้นอย่างรวดเร็วเอกสารประกอบแดชบอร์ด API
บริษัท
เกี่ยวกับเราองค์กร
ทรัพยากร
โมเดล AIบล็อกบันทึกการเปลี่ยนแปลงสนับสนุน
ข้อกำหนดการให้บริการนโยบายความเป็นส่วนตัว
© 2026 CometAPI · All rights reserved
Home/Models/Anthropic/Claude Haiku 4.5
C

Claude Haiku 4.5

อินพุต:$1/M
เอาต์พุต:$5/M
บริบท:200K
เอาต์พุตสูงสุด:8K
Fastest, most cost-effective model.
ใหม่
ใช้งานเชิงพาณิชย์
Playground
ภาพรวม
คุณสมบัติ
ราคา
API
เวอร์ชัน

Claude Haiku 4.5 is a purpose-optimized, smaller-class language model from Anthropic, released in mid-October 2025. It’s positioned as a fast, low-cost option in the Claude lineup that preserves strong capability on tasks like coding, agent orchestration, and interactive “computer-use” workflows while enabling much higher throughput and lower unit cost for enterprise deployments.

Key features

  • Speed & cost-efficiency: Haiku 4.5 is described as more than twice as fast as Sonnet 4 and about one-third the cost of Sonnet 4 (and much cheaper than Opus), making it attractive for scaled usage.
  • Extended thinking: First Haiku model to support extended thinking (summarized / interleaved thought, configurable thinking budgets) for deeper multi-step reasoning while balancing latency.
  • Tools & computer use: Full support for Claude tools (bash, code execution, text editor, web search, and computer-use automation). Designed for agentic workflows and sub-agent architectures.
  • Large context window: 200k token context window (with 1M context options available on larger models as beta for other model classes).

Technical details

  • Training data & cutoff: Haiku 4.5 was trained on a proprietary mix of public and licensed data with a training cutoff around February 2025.
  • Extended-thinking (a hybrid reasoning mode) is supported so the model can trade latency for deeper reasoning when requested.
  • Context window at release is 200,000 tokens, and the model is explicitly context-aware (it tracks how much of the window has been used).
  • Performance / throughput: Early community reports and Anthropic testing cite very high OTPS (output tokens/sec) and anecdotal speeds around ~200+ tokens/sec in some internal/early tests —far faster than many comparable mid-tier models.

Benchmark performance

SWE-Bench (coding): Haiku 4.5 scored ~73.3% on SWE-Bench Verified — a result Anthropic highlights as placing Haiku 4.5 among the world’s best coding models for its class.

img

Terminal / command-line / tool tests: Anthropic reported ~41% on Terminal-Bench (command-line focused) and comparable results to Sonnet 4 and several competing mid-range frontier models on many tool-use benchmarks.

Instruction-following & slide text: internal Anthropic examples claim Haiku 4.5 outperformed previous models on some instruction-following tasks (e.g., slide text generation: 65% vs 44% for a prior premium model in their benchmark).

Real-world automation / agent tasks: third-party evaluations and early adopters report competitive success rates on automated UI/agent tasks (for example, OSWorld-style or agent benchmarks reporting ≈50% success on complex automation in some tests), showing usefulness for scaled workflows though with nontrivial failure modes.

img

Limitations & safety notes

  • Not a frontier model: Anthropic explicitly classifies Haiku 4.5 as not frontier-advancing; it is optimized for efficiency rather than pushing the absolute state of the art. (Anthropic)
  • Occasional sensitive-topic behavior: in some scientific / bio-safety related prompts Haiku 4.5 sometimes returns high-level information with caveats rather than strict refusals; Anthropic flags that as an area under ongoing improvement.
  • Extended-thinking can change behavior (it sometimes increases asymmetry in responses).

Recommended use cases

  • Agentic coding & multi-agent orchestration: fast sub-agents, iterative code refactor, autotests and patch generation. (Good fit.)
  • Real-time, high-volume customer workflows: chat assistants, internal automation where cost-per-request matters. (Good fit.)
  • Tool-enabled workflows & computer control: automating GUI/CLI tasks, document workflows and tool chains where low latency helps. (Good fit.)
  • Not recommended (without controls): standalone roles that require frontier-level scientific sequence design or high-assurance biosecurity tasks. (Exercise caution.)

ราคาสำหรับ Claude Haiku 4.5

สำรวจราคาที่แข่งขันได้สำหรับ Claude Haiku 4.5 ที่ออกแบบมาให้เหมาะสมกับงบประมาณและความต้องการการใช้งานที่หลากหลาย แผนการบริการที่ยืดหยุ่นของเรารับประกันว่าคุณจะจ่ายเฉพาะสิ่งที่คุณใช้เท่านั้น ทำให้สามารถขยายขนาดได้ง่ายเมื่อความต้องการของคุณเพิ่มขึ้น ค้นพบว่า Claude Haiku 4.5 สามารถยกระดับโปรเจกต์ของคุณได้อย่างไรในขณะที่ควบคุมต้นทุนให้อยู่ในระดับที่จัดการได้
ราคา Comet (USD / M Tokens)ราคาทางการ (USD / M Tokens)ส่วนลด
อินพุต:$1/M
เอาต์พุต:$5/M
อินพุต:$1.25/M
เอาต์พุต:$6.25/M
-20%

โค้ดตัวอย่างและ API สำหรับ Claude Haiku 4.5

Claude Haiku 4.5 is a purpose-optimized, smaller-class language model from Anthropic, released in mid-October 2025. It’s positioned as a fast, low-cost option in the Claude lineup that preserves strong capability on tasks like coding, agent orchestration, and interactive “computer-use” workflows while enabling much higher throughput and lower unit cost for enterprise deployments.
POST
/v1/messages
POST
/v1/chat/completions
Python
JavaScript
Curl
import anthropic
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com"

message = anthropic.Anthropic(
    base_url=BASE_URL,
    api_key=COMETAPI_KEY,
)
messages = message.messages.create(
    model="claude-haiku-4-5-20251001",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello, Claude"}],
)
print(messages.content[0].text)

Python Code Example

import anthropic
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com"

message = anthropic.Anthropic(
    base_url=BASE_URL,
    api_key=COMETAPI_KEY,
)
messages = message.messages.create(
    model="claude-haiku-4-5-20251001",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello, Claude"}],
)
print(messages.content[0].text)

JavaScript Code Example

import Anthropic from "@anthropic-ai/sdk";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com";

const anthropic = new Anthropic({
  apiKey: api_key,
  baseURL: base_url,
});

const message = await anthropic.messages.create({
  model: "claude-haiku-4-5-20251001",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello, Claude" }],
});
console.log(message.content[0].text);

Curl Code Example

curl https://api.cometapi.com/v1/messages \
     --header "Authorization: $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "claude-haiku-4-5-20251001",
    "max_tokens": 1024,
    "messages": [
        {"role": "user", "content": "Hello, Claude"}
    ]
}'

รุ่นของ Claude Haiku 4.5

เหตุผลที่ Claude Haiku 4.5 มีสแนปช็อตหลายตัวอาจรวมถึงปัจจัยที่อาจเกิดขึ้น เช่น ความแปรผันของผลลัพธ์หลังการอัปเดตที่ต้องการสแนปช็อตรุ่นเก่าสำหรับความสม่ำเสมอ การให้ช่วงเวลาเปลี่ยนผ่านสำหรับนักพัฒนาเพื่อการปรับตัวและการย้ายข้อมูล และสแนปช็อตที่แตกต่างกันซึ่งสอดคล้องกับเอนด์พอยต์ระดับโลกหรือระดับภูมิภาคเพื่อเพิ่มประสิทธิภาพประสบการณ์ผู้ใช้ สำหรับความแตกต่างโดยละเอียดระหว่างเวอร์ชัน โปรดอ้างอิงเอกสารทางการ
claude-haiku-4-5-20251001
cometapi-haiku-4-5-20251001cursor special version