Skip to main content
All models

Claude Haiku 3

AnthropicAnthropic docs

claude-3-haiku-20240307

Run Claude Haiku 3 in a hosted Python Task with file inputs and MCP connectors.

Anthropic's fastest, most compact Claude 3 model for near-instant responsiveness. Answers simple queries and requests with unmatched speed.

Deprecated model

This model is deprecated and not recommended for new projects. It retires on April 20, 2026.

What Claude Haiku 3 supports in qbash

  • MCP connectorsCalls tools on MCP connectors during a request.
  • Image inputReads WEBP, PNG, JPEG and GIF images.
  • Document inputReads TEXT, XLS and RTF files.
  • Prompt cachingRepeated input is billed at the cached rate.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Claude Haiku 3 only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
200Ktokens
Max output
4,096tokens
Temperature
0 to 1default 0.7

Use Claude Haiku 3 in a Python Task

qbash.ai.raw calls Claude Haiku 3 from a Task and returns its reply as a string.

main.py
notes = qbash.inputs.get("notes")

summary = qbash.ai.raw(
f"Summarize these meeting notes in five bullets:\n\n{notes}",
model="claude-3-haiku-20240307",
system="You are a concise analyst.",
)

qbash.output({"summary": summary})
Model calls in Tasks

Connect Claude Haiku 3 to MCP servers

In qbash chat and a Task's inline prompts, you can attach MCP connectors to Claude Haiku 3. It calls their tools during the request, for example to read a Postgres table or post to a Slack channel.

This is MCP on the model side. Adding MCP servers to Claude Code or Claude Desktop is a separate setup, and qbash can publish your Tasks as an MCP server for those clients as well.

Claude Haiku 3 pricing

Input$0.25 per 1M tokens
Output$1.25 per 1M tokens
Cache read$0.03 per 1M tokens
Cache write, 5 minutes$0.30 per 1M tokens
Cache write, 1 hour$0.50 per 1M tokens

Standard rates in USD.

Supported file formats

Images

  • WEBP up to 5 MB
  • PNG up to 5 MB
  • JPEG up to 5 MB
  • GIF up to 5 MB

Documents

  • TEXT
  • XLS
  • RTF

Automate Claude Haiku 3 with qbash