AI API cost calculator

Monthly cost for 15 APIs, cheapest first. Prices verified 2026-10-17, each with its source.

Your usage

Cheapest paid: Perplexity Decisions API (pplx-decider-flash-v1.2) $1.00/month. Free: OpenAI Moderation.

Monthly cost per API, cheapest first
API and planPer monthPrice dateDetails
OpenAI Moderationomni-moderation-latest · Free$02026-10-17
Perplexity Decisions APIpplx-decider-flash-v1.2 · $0.01 in / $0 out per 1M tokens$1.002026-10-17
Inception Mercury Decidemercury-decide (promo) · $0.02 in / $0 out per 1M tokens$2.002026-10-17
Liquid AI d1d1 · $0.02 in / $0 out per 1M tokens$2.002026-10-17
Perplexity Decisions APIpplx-decider-v1.2 · $0.02 in / $0 out per 1M tokens$2.002026-10-17
Cloudflare ClefClef-flash · $0.038 in / $0 out per 1M tokens$3.802026-10-17
Jev (TypeSafe AI)jev-1.13 / jev-1.14 · $0.042 in / $0 out per 1M tokens$4.202026-10-17
Liquid AI d1-ultrad1-ultra · $0.042 in / $0 out per 1M tokens$4.202026-10-17
LLM Gateway — DecisionsJev 1.13 via LLM Gateway · $0.042 in / $0 out per 1M tokens$4.202026-10-17
Microsoft-Decision-1via OpenRouter (provider Azure) · $0.042 in / $0 out per 1M tokens$4.202026-10-17
AWS Bedrock GuardrailsInvokeGuardrailChecks content filters · $0.07 per 1,000 text units$7.002026-10-17
OpenAI Decisions APIgpt-6-luna · $0.1 in / $0 out per 1M tokens$10.002026-10-17
AWS Bedrock GuardrailsContent filters (text) · $0.15 per 1,000 text units$15.002026-10-17
Cloudflare ClefClef-omni · $0.15 in / $0 out per 1M tokens$15.002026-10-17
Cloudflare ClefClef · $0.24 in / $0 out per 1M tokens$24.002026-10-17
Anthropic Claude (structured outputs)Haiku 5.5 · $0.1 in / $0.5 out per 1M tokens$25.002026-10-17
Azure AI Content SafetyS0 text records (East US) · $0.375 per 1,000 text units$37.502026-10-17
DeepSeek Search & Fetch APISearch · $0.75 per 1,000 calls$75.002026-10-17
DeepSeek Search & Fetch APIFetch · $0.75 per 1,000 calls$75.002026-10-17
Gemini structured output (Vertex AI)Gemini 3.8 Flash (introductory) · $0.75 in / $3.75 out per 1M tokens$1882026-10-17
Anthropic Claude (structured outputs)Haiku 4.5 · $1 in / $5 out per 1M tokens$2502026-10-17
Anthropic Claude (structured outputs)Sonnet 5.5 · $2 in / $10 out per 1M tokens$5002026-10-17
Anthropic Claude (structured outputs)Opus 5.5 · $4 in / $20 out per 1M tokens$1,0002026-10-17

List prices before free allowances and taxes. Formula on hover (cost cell) or under Formula. Presets are our assumptions, not vendor figures.

Not shown for this usage: AWS Bedrock Guardrails (Content filters (image)); Azure AI Content Safety (S0 images (East US)). Per-image and per-text-unit plans appear when those inputs are above 0.

Not comparable

OpenRouter ArmorFree during the beta; OpenRouter says GA pricing will be announced later, and your normal model inference is billed separately.
Vercel AI Gateway — DecisionsPass-through: no markup, you pay the routed provider’s list price, so the cost depends on which model you route to.
Strands Decider 2BOpen weights; you pay your own compute, which depends on your hardware. No per-request price exists.
LayaOpen weights; you pay your own compute, which depends on your hardware. No per-request price exists.
llama.cpp decision endpointFree open-source server; compute cost depends on your hardware.
H2O-Lightning-4BOpen weights; the $0.021 per 1,000 decisions figure is H2O’s own self-hosting estimate, not a price.
Cohere ClassifyNo Classify price is published on cohere.com/pricing.

Use this from your agentHTTP API and MCP

Agents can call the same pricing engine. No key, CORS open, JSON out. Full reference on For agents and in openapi.json. Listed in the directory as our MCP server and our cost API.

Estimate cost over HTTP

curl "https://agentapilist.com/api/cost?requests=100000&input_tokens=1000&output_tokens=300&category=decision"

Remote MCP server (Streamable HTTP)

{
  "mcpServers": {
    "agentapilist": { "type": "http", "url": "https://agentapilist.com/mcp" }
  }
}

Units and presets

tokens_1mUSD per 1M input / output tokens
text_units_1kUSD per 1,000 text units (up to 1,000 characters each)
per_imageUSD per image
requests_1kUSD per 1,000 calls (each request is one call; tokens do not matter)
freeFree (no charge per request)
PresetInputOutputText units
Classification50051
Chatbot turn1,0003001
Agent loop step4,0005004

Presets are our assumptions for typical requests, not vendor figures. Change any input to match your workload.

Cost by APIPre-computed tables

FAQ

How is the monthly cost calculated?

For token-priced APIs: requests × (input tokens × input price + output tokens × output price) ÷ 1,000,000. For AWS Bedrock Guardrails and Azure Content Safety: requests × text units × price per 1,000 text units. Per-image plans multiply requests × images × price per image.

Are free tiers deducted?

No. Costs are list prices before free allowances and taxes. Each row notes its free tier, for example Azure F0’s 5,000 free text records a month or Cloudflare’s 10,000 free Neurons a day.

Where do the prices come from?

Each price was verified on the vendor’s pricing page and shows its date and source link. The table was last checked 2026-10-17.

Why are some APIs missing?

7 APIs are listed as not comparable: open-weight models you self-host, a pass-through gateway, a free beta with no announced price, and one API with no published price.