1. Blocks
  2. Claude API

Claude API

Anthropic's Claude models, called from your server while the app runs.

Priced from vendor pages
Prices checked
16 Oct 2026, 20 Oct 2026
Sources
4
How we check

What it is

The Claude API gives your app Anthropic's Claude models, from Haiku (the cheapest) through Sonnet and Opus to Fable (the most capable). Billing is per million tokens read and written, with lower prices for cached input and half price for batch work that can wait. Our agent-team build pairs a Sonnet or Opus lead with Haiku subagents.

Good for

  • Running several AI agents together on coding or research tasks
  • Cutting cost by sending simple work to the smallest model

Watch out for

  • Costs depend heavily on how many tokens each task uses, so our totals rest on an assumed profile
  • Long prompts on Haiku are billed at a higher rate

How our builds use it

BuildRolePlanMonthlyNotes
Cheap AI agent team (Sonnet/Opus lead + Haiku subagents)Lead (default)Plans, splits work, reviews$2.00 in / $2.50 cache write / $0.10 cache read / $10.00 out per MTokusageVerified
Cheap AI agent team (Sonnet/Opus lead + Haiku subagents)Lead (premium)Hard tasks only$4.00 / $5.00 / $0.20 / $20.00 per MTokusageAbout doubles the bill
Cheap AI agent team (Sonnet/Opus lead + Haiku subagents)SubagentsReads, search, tests, summaries$0.10 / $0.125 / $0.01 / $0.50 per MTokusagePrompts over 100k cost 5×: $0.50 / $0.625 / $0.05 / $2.50

In comparisons

OpenAI vs Claude vs Gemini APIs for a chat feature

Small: Haiku 5.5 ($0.10 in / $0.50 out per million tokens, prompts up to 100K). Mid: Sonnet 5.5 ($2 / $10)

  • The lowest small-model price of the three current-generation models compared here, tied with OpenAI, and half-price batch processing for work that can wait.

Haiku 5.5 costs five times more for prompts over 100,000 tokens ($0.50 in / $2.50 out).

Often used with

Newsletter

Stackable by Stackguide

Price changes on the blocks you use, and new builds, by email.

Build

Directory site with paid listings

A searchable, SEO-friendly niche directory where businesses pay by card to submit or feature a listing.

See the build

Compare

OpenAI vs Claude vs Gemini APIs for a chat feature

What does an AI chat feature cost each month in API fees?

Read the answer