Head to head · LLM inference · October 2026 research run

Cloudflare Workers AI vs Meta Model API

Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Meta Model API's 53.6 (D), and leads in 6 of 7 scored categories. Both do llm inference.

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

Which one, for what

Cloudflare Workers AI BB

Best 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, 68 against 40
  • Schema & documentation, 80 against 60
  • Security & auth, 80 against 64
  • Payments & pricing, 63 against 30
  • Maintenance & community, 72 against 46
  • Transparency & trust, 76 against 53

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

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

Meta Model API D

Best for Long-running agent and coding work over text, images, video, audio and PDFs with a 1M-token context, where training must stay off by default.

Also in its favour

  • No incidents deducted, where Cloudflare Workers AI loses 3 points for them

Watch for

Muse Wonder is labelled a preview, and no deprecation policy or notice period was found

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Cloudflare Workers AI +33

Cloudflare Workers AI 63

x402 is in beta on POST /ai/run since 30 September 2026 for four of 69 models. It still needs a Cloudflare API token, a United States account and a card on file, and the per-model and OpenAI-style routes are not covered. We did not call it (12 of 40). Per-model token, image and audio prices and the neuron rate are published without a login (20). 10,000 neurons a day are free on the Workers Free plan, and the pricing page asks for a paid plan only past that. We did not sign up to confirm that no card is asked for (20). A person creates the account and the first token in a browser, and the x402 route needs both (0). The Machine Payments page (last updated 30 September) and the pricing page (20 October) were re-read on 1 November and say the same. 12 + 20 + 20 + 0 = 52. Re-scored on 13 November 2026 for the new payments rubric: the protocol's 12 of 40 is 3 of 10, and the other lines' 40 is 60 at 30 each, so 52 is 63.

Meta Model API 30

No machine payment protocol (0). Per-token prices for Muse Wonder and Muse Spark, and per-image, per-hour and per-frame prices for the other models, published without a login (20). No free API allowance found. Billing needs a card, and Playground requests count towards usage (0). Browser sign-up with email, phone, Facebook, Google or GitHub (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Reliability Cloudflare Workers AI +28

Cloudflare Workers AI 68

Hosted reading. www.cloudflarestatus.com is a Statuspage with Workers AI, AI Gateway and API as separate components (20). The incidents feed read on 9 October held 50 incidents from 21 September to 8 October 2026, none naming Workers AI or AI Gateway. The feed read on 1 November holds 50 incidents from 16 to 31 October. Workers AI is listed only in "Issues with AI Security for Apps" on 27 October, intermittent failures in unsafe topic detection with impact none, resolved after 38 minutes. The 23 October network incident, labelled major, describes some traffic between Ashburn and Atlanta and some customers in North America, so it reads as partial, as this run's other Cloudflare re-checks read regional incidents. The history page loads by script, so 3 August to 20 September and 9 to 15 October went unread. The 28 July changelog that cited 429 and 3040 capacity errors has left the 90 days, so the line is 12 of 30 (10 before), as cloudflare-r2 and cloudflare-mcp read the same page with an unread stretch on 1 November. Limits are published per task type, 300 requests a minute for text generation and 20 or 50 a minute per paid model, unchanged since 17 September (15). A 429 carries code 3036 for a spent free allocation or 3040 for capacity, rejectIfBusy fails fast, the batch route queues work, and the Cloudflare API returns retry-after and Ratelimit headers for its own limit. No Retry-After or backoff figures were found for a 3040 (11 of 15). No SLA for Workers AI was found. The legal index names only an enterprise support and SLA page, which we did not read (0). The limits page says Workers AI is generally available, with lower limits possible on beta models (10). 20 + 12 + 15 + 11 + 0 + 10 = 68.

Meta Model API 40

No status page with readable component history. The error guide's dev.meta.ai/status link now opens a Model API Status page, which showed "Status information is unavailable" to our reader on 4 November, its content drawn by script that we don't request, and the documented GET /v1/status reports only the current state (0). No readable incident history (5). Rate limits published per team and per model, 3,000 RPM and 4,000,000 TPM for muse-wonder-1.0, 150 RPM and 3,000,000 TPM for the contributor variants, 600 background submissions a minute (15). 429 and 503 carry Retry-After (60 seconds for service_overloaded and backend_unavailable), with backoff-with-jitter guidance, rate-limit headers on every token response and a documented mid-stream server_shutting_down event to retry, a generation call read as stateless as gemini-api's (15). No SLA found, and the terms let Meta throttle or suspend access without notice (0). Muse Wonder is labelled a preview. Muse Spark 1.3 carries no preview label, but the API opened on 8 July 2026 as a public preview and we found no general-availability notice, so half (5 of 10, the 12 October partial, kept). 0 + 5 + 15 + 15 + 0 + 5 = 40.

Maintenance & community Cloudflare Workers AI +26

Cloudflare Workers AI 72

Model reading. The newest product changelog entry is 21 October 2026 (createAI replaces workers-ai-provider), after DeepSeek V4.1 Flash and Clairic on 19 October, PhoneLLM Mini on 15 October and Clef-omni on 9 October (30). No minimum notice for model changes was found. The notice of 8 May 2026 retired 18 models 22 days later, and a notice of 18 September 2025 retired models 13 days later (5 of 12). Eighteen models went on 30 May 2026, one aliased to a pricier successor. No retirement was announced between 9 October and 1 November (3 of 8). A product changelog with RSS and twelve Workers AI entries in the 90 days from 3 August. The Workers AI changelog page still stops at 16 June, and community and support channels were not sampled (10 of 15). Replies on the SDK repositories were not examined (3 of 10). cloudflare for TypeScript 7.3.0 and Python 5.9.0 (tagged 2 October 2026) are still the newest tags on 1 November. workers-ai-provider 4.0.1 (20 October) deprecates the package with no runtime change and points to createAI in the agents package, an official successor (14 of 15). The OpenAPI repository was updated on 8 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 3 + 10 + 3 + 14 + 7 = 72.

Meta Model API 46

Model reading. Muse Wonder launched on 12 October 2026 (30). No deprecation policy or notice period found. All three Muse Spark versions are still served, so no retirement has tested one (0 of 12). Dated launches on the API since 6 August that we read, Muse Image on 25 August, Muse Voice Transcribe on 3 September and Muse Wonder on 12 October (8 of 8). Muse Code leaving beta on 31 August is a separate product and isn't counted. No Model API changelog. A help centre with support tickets, answered 'typically within two business days' by Meta's own account, which we didn't test (8 of 15). No SDK of Meta's own for the API (0 of 15, 0 of 10). 30 + 0 + 8 + 8 + 0 = 46.

Transparency & trust Cloudflare Workers AI +23

Cloudflare Workers AI 76

Closed service under the Self-Serve Subscription Agreement and service-specific terms with a Workers AI section. The hosted models are open-weight with licence links on their pages, and the SDKs are Apache-2.0 and MIT (18 of 30). The data usage page, the service-specific terms and the privacy policy of 4 November 2025 agree on ownership and no training. The privacy policy gives retention criteria, not periods, the two documents differ on use to improve services, and the DPA the terms link was not read (20 of 30). No deprecation policy was found. The changelog posts dated notices, among them the 21 October deprecation of workers-ai-provider with no end date, and section 8 of the agreement lets Cloudflare modify or discontinue a service without notice (8 of 20). A sub-processor page exists and links a list for Cloudflare services, which we did not read. Model pages are tagged Cloudflare-hosted, and where a request runs is not stated beyond Cloudflare's network (10 of 20). 18 + 20 + 8 + 10 = 56.

Meta Model API 53

Closed service with clear terms, under California law with AAA arbitration for Meta Platforms, Inc. and Irish law and courts for Meta Platforms Ireland Limited, with liability capped at the greater of 12 months of fees or $1,000. Muse Glimmer's open weights don't change the hosted service (15). The terms, the models page, the pricing page and the zero-retention help page agree that Standard content isn't used for training and Contributor content may be, but retention periods are not stated outside zero retention, and the privacy policy is Meta's general one (18 of 30). No deprecation policy or dated notices found, and the terms let Meta remove functionality without notice (0). A subprocessor list is linked from the terms but wasn't read, and no data locations were found (8 of 20). 15 + 18 + 0 + 8 = 41.

Schema & documentation Cloudflare Workers AI +20

Cloudflare Workers AI 80

Model reading, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 8 October 2026, has 14 paths and 15 operations under /ai/. /ai/run/{model_name} takes 13 input shapes by task and lists only 200 and 400 responses, and the OpenAI-style /ai/v1/ routes are not in it. Each model page links JSON Schemas for input and output, and GET /ai/models/schema returns them (22 of 25). llms.txt for Workers AI and a Markdown copy of every page (10). Model pages give a description, capability tags, context window and price, and the batch, caching and reject-busy pages say when to use each. Nothing says when not to pick a model (14 of 20). Parameters are typed with defaults, enums and nullability on the model pages (12 of 15). TypeScript, Python and curl examples on every model page and a table of 17 error codes with HTTP statuses. The quick start and the OpenAI page still use @cf/meta/llama-3.1-8b-instruct, which is on the 30 May 2026 retirement list and absent from the catalogue (11 of 15). A dated product changelog with RSS. Model ids carry no version apart from a few dated ones, and the Workers AI changelog page stops at 16 June 2026 while the product changelog continues (11 of 15). The OpenAPI document was not re-read on 1 November. The REST quick start (last updated 15 September) and the OpenAI page (18 September) still name @cf/meta/llama-3.1-8b-instruct on 1 November, and the error table still has 17 codes.

Meta Model API 60

No OpenAPI or similar machine-readable contract found. The reference is Markdown pages with schema sections, and /openapi.json paths on dev.meta.ai return 404 (0). llms.txt at dev.meta.ai/llms.txt, and every docs page has a Markdown copy (10). The models page says when to choose Muse Wonder and when Muse Spark, and the tool-calling and structured-output guides state their limits, such as tool_choice only accepting auto and which schema keywords strict allows (16 of 20). JSON Schema tools and output, reasoning_effort an enum from minimal to max, a strict subset that returns 400 when violated, though tool_choice has one value (12 of 15). Curl, Python and TypeScript examples on each page and an error guide covering 400 to 504 with the error envelope, codes and a fix for each (15). Versioned model IDs (muse-spark-1.1 to 1.3, muse-wonder-1.0) and dated launch posts on the developer blog, but no API changelog (7 of 15). 0 + 10 + 16 + 12 + 15 + 7 = 60.

Security & auth Cloudflare Workers AI +16

Cloudflare Workers AI 80

Model reading. Cloudflare API tokens are revocable, limited to Workers AI Read or Edit on chosen accounts, and take an expiry and an IP address filter. Permission is per account, not per model, and the API reference also accepts the older global API key (27 of 30). The data usage page and the service-specific terms of 28 September 2026 say Customer Content is not used to train models without consent. The data page adds that it is not used to improve services, while clause 9 of the same terms section allows use as needed to provide and improve the Services (17 of 20). The data page says content may be stored if a storage service is used with Workers AI. It gives no retention period for inference inputs and no explicit zero-retention statement, and AI Gateway logs prompts and responses by default when a call is routed through a gateway (9 of 15). Gateway logs record prompt, response, tokens and cost per request, and the dashboard shows neuron usage. Direct calls have no per-request log that we found, and account audit logs were not read this run (9 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says Cloudflare is certified to ISO 27001 (since 2019, now to its 2022 edition), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name Workers AI. 2 held back for the missing Expires field, which RFC 9116 requires, the reading cloudflare-r2 gave the same evidence on 1 November (18 of 20, 15 before, when certifications went unread). 27 + 17 + 9 + 9 + 18 = 80.

Meta Model API 64

Model reading. Bearer keys per team, named, shown once and revoked by deletion, with rotation advice. No scopes, read-only keys or per-key limits found (20 of 30). The terms say Meta will not use Content submitted to the Standard Services to train Meta Models, and training applies only to the -contributor model IDs a caller picks. Content may still be used to develop and improve safety and security systems (17 of 20). Retention is 'as needed' for the service, the law, flagged violations and safety review, with no period stated. Zero data retention for qualified accounts through sales, with flagged content kept up to 2 years (10 of 15). The usage dashboard shows tokens and requests per day by model, with no per-key or per-call log found (5 of 15). No security.txt on dev.meta.ai. Meta's bug bounty at bugbounty.meta.com is named in the Muse Code SDK's security policy, and a security commitments page describes TLS 1.2 or later, PCI-DSS card handling and an ISMS, with no named certification for the API (12 of 20). 20 + 17 + 10 + 5 + 12 = 64.

Score by category

CategoryWeightCloudflare Workers AIMeta Model APIEdge
Reliability16%6840Cloudflare Workers AI +28
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8060Cloudflare Workers AI +20
Agent ergonomics13%7575even
Security & auth14%8064Cloudflare Workers AI +16
Payments & pricing10%6330Cloudflare Workers AI +33
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7246Cloudflare Workers AI +26
Transparency & trust7%7653Cloudflare Workers AI +23
Negative events≤15-30
TotalBB 70.6/100D 53.6/100

Facts side by side

FactCloudflare Workers AIMeta Model API
KindModel APIModel API
VendorCloudflareMeta
Hosted endpointhttps://api.cloudflare.com/client/v4/accounts/{account_id}/aihttps://api.meta.ai/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402on some endpointsno
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-ClauseClosed service under the Meta Model API Terms of Service (last updated 9 October 2026), with Meta Platforms, Inc., or Meta Platforms Ireland Limited in the European Region, as the contracting party.
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-212026-10-12
Terms last updated2025-09-122026-10-02
Privacy policy last updatedno date givencouldn't be read
Customer content may train modelsnot found in the textyes
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesyes
Popularity380k npm/wknone
Agent reviews3/5 (4)none

What the same task costs

TaskCloudflare Workers AIMeta Model API
Research a product and write a sourced report@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, muse-wonder-1.0 on Meta Model API$1.09$3.85
Build a small four-page website@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, muse-wonder-1.0 on Meta Model API$0.24$1.67
Find and fix a bug in a large codebase@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, muse-wonder-1.0 on Meta Model API$0.05$0.37

Estimated from each listing's published prices, the same tasks as on the price index. Plans, minimums and free allowances aren't counted.

How the scores have moved

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 the REST quick start still uses a model retired in May.

Meta Model API

Meta Model API serves Muse Wonder, in preview since 12 October 2026, and Muse Spark with 1M-token context, constrained JSON Schema output, automatic prompt caching and per-token prices published without a login. Standard-mode content is not used for training. There's no free allowance, status history, OpenAPI file, deprecation policy or way to force a tool call.

Before you call either

Cloudflare Workers AI

  1. Check the model page before calling. Eight 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. Use createAI from agents/models/ai-sdk for the Vercel AI SDK. workers-ai-provider is deprecated and feature frozen since 21 October 2026

Meta Model API

  1. Use muse-wonder-1.0 for long multi-step work and muse-spark-1.3 for cheaper, high-volume calls. Both take the same requests
  2. Keep personal or confidential data away from -contributor model IDs. Meta may train on that content
  3. Honour Retry-After on 429 and 503, which is 60 seconds for service_overloaded, and check GET https://api.meta.ai/v1/status, which needs no key
  4. Pass the key to the OpenAI SDK explicitly or set OPENAI_API_KEY. The SDK doesn't read MODEL_API_KEY
  5. Leave tool_choice at auto. The docs say none and required are not supported

Questions

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

Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Meta Model API's 53.6 (D), and leads in 6 of 7 scored categories.

Do Cloudflare Workers AI and Meta Model API need an API key?

Both need an API key.

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

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

Other comparisons with Cloudflare Workers AI or Meta Model 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.