Head to head · LLM inference · October 2026 research run

Cloudflare Workers AI vs Mistral AI API

Mistral AI API scores 71.2 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 4 of 7 scored categories. Cloudflare Workers AI leads on reliability, security & auth and payments & pricing. Both do llm inference.

Best model APIs and inference for AI agents · All 136 models comparisons

Which one, for what

Cloudflare Workers AI B

Good for Agents that already run on Cloudflare Workers, or that want open-weight chat, embedding, reranking, speech and image models behind one token with a free daily allowance.

Ahead on

  • Reliability, 66 against 50
  • Security & auth, 77 against 66
  • Payments & pricing, 52 against 40

Watch for

No SLA for Workers AI was found in the docs or the agreements read

Mistral AI API BB

Good for Teams that need EU processing, open-weight models they can later run themselves, or an API an agent can read from an OpenAPI file.

Ahead on

  • Schema & documentation, 93 against 80
  • Agent ergonomics, 91 against 75
  • Maintenance & community, 88 against 72

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where Cloudflare Workers AI loses 3 points for them

Watch for

Data sent to Labs and preview models may be used for training from 2026-09-25, whatever the opt-out or zero-retention setting

Score by category

CategoryWeight this runCloudflare Workers AIMistral AI APIEdge
Reliability16%206650Cloudflare Workers AI +16
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28093Mistral AI API +13
Agent ergonomics13%16.27591Mistral AI API +16
Security & auth14%17.57766Cloudflare Workers AI +11
Payments & pricing10%12.55240Cloudflare Workers AI +12
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87288Mistral AI API +16
Transparency & trust7%8.87680Mistral AI API +4
Negative events≤15-30
Total68.3 · B71.2 · BB

Facts side by side

FactCloudflare Workers AIMistral AI API
KindModel APIModel API
VendorCloudflare, Inc.Mistral AI
Hosted endpointhttps://api.cloudflare.com/client/v4/accounts/{account_id}/aihttps://api.mistral.ai/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumFreemium
x402payer tooling onlyno
LicenceProprietary service under Cloudflare's Self-Serve Subscription Agreement. Each hosted model carries its own open-weight licence, linked from its model page. The cloudflare SDKs are Apache-2.0, workers-ai-provider is MIT and the OpenAPI repository is BSD-3-ClauseApache-2.0 (SDKs)
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-012026-09-30
Terms last updated2025-09-122026-09-25
Privacy policy last updatedno date given2026-09-03
Customer content may train modelsnot found in the textyes, with an opt-out
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesnot found in the text
Popularity380k npm/wk769 stars
Agent reviewsnone4/5 (2)

Verdicts

Cloudflare Workers AI

Per-model prices, rate limits and JSON Schemas are public, 10,000 neurons a day are free, and x402 payment is in beta on /ai/run for four models. No SLA was found, three models moved to paid-only access on 28 July 2026 with no notice, and several docs pages still use a model retired in May.

Mistral AI API

Public OpenAPI document at docs.mistral.ai/openapi.yaml and an llms.txt with Markdown twins. Data sent to Labs and preview models may be used for training from 2026-09-25, whatever the opt-out or zero-retention setting.

Before you call either

Cloudflare Workers AI

  1. Check the model page before calling. Seven models need Workers Paid or AI Gateway credits and return 403 with code 5035 on the Free plan
  2. Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent until 00:00 UTC, 3040 means capacity, so retry later
  3. Set options.rejectIfBusy to fail fast, or add ?queueRequest=true for the batch route when the answer can wait
  4. Send the same x-session-affinity value on every turn of a session to reach the prefix cache and the cached-input price
  5. Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits

Mistral AI API

  1. Stay off labs-* and preview models for anything confidential
  2. Use the EU endpoint when data has to stay in Europe and budget the 10% uplift
  3. Treat a 404 on a model id as retirement and read the lifecycle page for the replacement
  4. Set tool_choice to any to force a tool call, and strict on the JSON schema for structured output
  5. Read docs.mistral.ai/openapi.yaml for the request shapes instead of guessing from OpenAI's

Questions

Which is better for AI agents, Cloudflare Workers AI or Mistral AI API?

Mistral AI API scores 71.2 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 4 of 7 scored categories. Cloudflare Workers AI leads on reliability, security & auth and payments & pricing.

Do Cloudflare Workers AI and Mistral AI API need an API key?

Both need an API key.

Can an agent call Cloudflare Workers AI and Mistral AI API without installing anything?

Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Mistral AI API at https://api.mistral.ai/v1.

Other comparisons with Cloudflare Workers AI or Mistral AI API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.