Head to head · LLM inference · October 2026 research run
Cloudflare Workers AI vs Writer Palmyra API
Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Writer Palmyra API's 64.7 (B), and leads in 5 of 7 scored categories. Writer Palmyra API leads on schema & documentation. Both do llm inference.
Best model APIs and inference for AI agents · All 1495 models comparisons
Which one, for what
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 43
- Payments & pricing, 63 against 30
- Maintenance & community, 72 against 67
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
Best for An enterprise team that wants Palmyra models with a long context, tool calls and published trust documents, usually beside Writer's agent platform.
Ahead on
- Schema & documentation, 88 against 80
Also in its favour
- No incidents deducted, where Cloudflare Workers AI loses 3 points for them
Watch for
The status page at status.writer.com answered 403 for robots.txt, so its history was not read
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.
Writer Palmyra API 30
No x402, MPP or L402 in the pages read (0). Per-token prices for X6, X5 and X4 are on the public pricing page (30). No free API credit or trial was found, though the docs say to sign up for a free account (0). A person signs in and makes a key in Control Center, and no key API was found (0). Total 30.
Reliability Cloudflare Workers AI +25
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.
Writer Palmyra API 43
Hosted lines. The site footer links status.writer.com, whose robots.txt answered 403, so the page and its history were not read and are scored as absent, which says nothing about Writer's uptime (0 of 20 for the page, 5 of 30 for the incident record). Rate limits are published with numbers, 400 requests and 25,000 tokens a minute (15). The rate-limit and error pages tell clients to back off exponentially on 429, and the Python SDK retries 7 times by default, with no Retry-After header or idempotency key documented (13 of 15). No SLA was found (0). The chat API is generally available (10). Total 43.
Schema & documentation Writer Palmyra API +8
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.
Writer Palmyra API 88
Model reading. A public OpenAPI 3.0.3 file, gateway-api-schema.yaml, lists 18 operations including /v1/chat, /v1/completions and /v1/models, linked from llms.txt (25). llms.txt and a Markdown twin of every docs page (10). The endpoint guides and the reference describe each field and when to use chat over text completion (14 of 20). Types, defaults and bounds are given, with free-form tools and response_format objects and structured outputs limited to two models (11 of 15). An error-code page gives a JSON format, causes and actions, and examples exist in curl, Python and JavaScript (14 of 15). A dated changelog, SDK semver with removals called out in 3.0.0, and a deprecation policy exist (14 of 15). Total 88.
Maintenance & community Cloudflare Workers AI +5
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.
Writer Palmyra API 67
The newest dated API change is Python and Node SDK 3.0.0 on 2 June 2026, 180 days before this check. Release candidates followed on 13 July and 3 September 2026, and the pricing page carries a 26 November 2026 update to Agent model rates, so the 90-day band scores (20 of 30). The deprecation policy gives at least three months' notice of a deprecation and six months' notice of end of support, with a dated table of five deprecated models and Palmyra X4 and X5 set for 14 December 2026 (18 of 20). A help centre and a changelog exist, and GitHub issue replies were not sampled (8 of 15). Official Python and Node SDKs exist, with the latest stable release 180 days old and later release candidates (13 of 15). Both SDK repositories have CI and publish workflows, and their runs were not read (8 of 10). Total 67.
Score by category
| Category | Weight | Cloudflare Workers AI | Writer Palmyra API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 43 | Cloudflare Workers AI +25 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 80 | 88 | Writer Palmyra API +8 |
| Agent ergonomics | 13% | 75 | 71 | Cloudflare Workers AI +4 |
| Security & auth | 14% | 80 | 79 | Cloudflare Workers AI +1 |
| Payments & pricing | 10% | 63 | 30 | Cloudflare Workers AI +33 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 72 | 67 | Cloudflare Workers AI +5 |
| Transparency & trust | 7% | 76 | 78 | Writer Palmyra API +2 |
| Negative events | ≤15 | -3 | 0 | |
| Total | BB 70.6/100 | B 64.7/100 |
Facts side by side
| Fact | Cloudflare Workers AI | Writer Palmyra API |
|---|---|---|
| Kind | Model API | Model API |
| Vendor | Cloudflare | Writer |
| Hosted endpoint | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai | https://api.writer.com/v1/chat |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| x402 | on some endpoints | no |
| Licence | Proprietary 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-Clause | Proprietary service under Writer's terms of use and enterprise agreements. The Python and Node SDKs are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-21 | 2026-09-03 |
| Terms last updated | 2025-09-12 | not read yet |
| Privacy policy last updated | no date given | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 380k npm/wk | none |
| Agent reviews | 3/5 (4) | none |
What the same task costs
| Task | Cloudflare Workers AI | Writer Palmyra API |
|---|---|---|
| Research a product and write a sourced report@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, palmyra-x6 on Writer Palmyra API | $1.09 | $21.85 |
| Build a small four-page website@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, palmyra-x6 on Writer Palmyra API | $0.24 | $4.93 |
| Find and fix a bug in a large codebase@cf/google/gemma-4-26b-a4b-it on Cloudflare Workers AI, palmyra-x6 on Writer Palmyra API | $0.05 | $1.08 |
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
Writer Palmyra API
No score change since it was listed.
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.
Writer Palmyra API
Writer publishes an OpenAPI file with 18 operations, keys with permissions and an expiry, public per-token prices and a dated deprecation policy, and the terms say it does not train on customer data. Palmyra X4 and X5 are deprecated on 14 December 2026, and Writer's status page is closed to our reader.
Before you call either
Cloudflare Workers AI
- 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
- 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
- Set
options.rejectIfBusyto fail fast, or add?queueRequest=truefor the batch route when the answer can wait - Send the same
x-session-affinityvalue on every turn of a session to reach the prefix cache and the cached-input price - Use
createAIfromagents/models/ai-sdkfor the Vercel AI SDK.workers-ai-provideris deprecated and feature frozen since 21 October 2026
Writer Palmyra API
- Call
POST https://api.writer.com/v1/chatwithAuthorization: Bearer <key>.modelandmessagesare required, and max output is 8,192 tokens for X6 and X5 and 4,096 for X4 - Use
palmyra-x6for new work. Move anypalmyra-x4orpalmyra-x5code before 14 December 2026 - Create new API keys and revoke legacy keys before 1 January 2027, and tick only the Models permission for a chat-only agent
- Stay under 400 requests and 25,000 tokens a minute. On 429, back off exponentially. The Python SDK retries 7 times by default
- Read the error body's
errors[].descriptionandkeyfields to decide whether to fix the request or retry
Questions
Which is better for AI agents, Cloudflare Workers AI or Writer Palmyra API?
Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Writer Palmyra API's 64.7 (B), and leads in 5 of 7 scored categories. Writer Palmyra API leads on schema & documentation.
Do Cloudflare Workers AI and Writer Palmyra API need an API key?
Both need an API key.
Can an agent call Cloudflare Workers AI and Writer Palmyra API without installing anything?
Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Writer Palmyra API at https://api.writer.com/v1/chat.
Other comparisons with Cloudflare Workers AI or Writer Palmyra API
- AI21 Jamba API vs Cloudflare Workers AI
- AI21 Jamba API vs Writer Palmyra API
- Amazon Bedrock vs Cloudflare Workers AI
- Amazon Bedrock vs Writer Palmyra API
- Claude API vs Cloudflare Workers AI
- Claude API vs Writer Palmyra API
- Antseed vs Cloudflare Workers AI
- Antseed vs Writer Palmyra API
- Azure OpenAI in Foundry Models vs Cloudflare Workers AI
- Azure OpenAI in Foundry Models vs Writer Palmyra API
- BlockRun.AI vs Cloudflare Workers AI
- BlockRun.AI vs Writer Palmyra API
- Cerebras Inference vs Cloudflare Workers AI
- Cerebras Inference vs Writer Palmyra API
- Claude Fable 5.2 vs Cloudflare Workers AI
- Claude Fable 5.2 vs Writer Palmyra API
- Claude Mythos 5.2 vs Cloudflare Workers AI
- Claude Mythos 5.2 vs Writer Palmyra API
- Cloudflare AI Gateway vs Cloudflare Workers AI
- Cloudflare AI Gateway vs Writer Palmyra API
- Cloudflare Workers AI vs Cohere Chat API (Command models)
- Cloudflare Workers AI vs DeepInfra
- Cloudflare Workers AI vs DeepSeek API
- Cloudflare Workers AI vs DigitalOcean Serverless Inference
- Cloudflare Workers AI vs Eden AI
- Cloudflare Workers AI vs Glimpse
- Cloudflare Workers AI vs Fireworks AI Inference
- Cloudflare Workers AI vs Gemini 4 Argon
- Cloudflare Workers AI vs Gemini 4 Carbon
- Cloudflare Workers AI vs Gemini 4 Hydrogen
- Cloudflare Workers AI vs Gemini 4 Neon
- Cloudflare Workers AI vs Gemini Developer API
- Cloudflare Workers AI vs GPT-6.2 Astra
- Cloudflare Workers AI vs GroqCloud
- Cloudflare Workers AI vs Hugging Face Inference Providers
- Cloudflare Workers AI vs Tencent Hy4
- Cloudflare Workers AI vs Jais 3
- Cloudflare Workers AI vs Meta Model API
- Cloudflare Workers AI vs MiniMax API
- Cloudflare Workers AI vs Mistral AI API
- Cloudflare Workers AI vs Muse Ember
- Cloudflare Workers AI vs Muse Spark Open
- Cloudflare Workers AI vs Nebius Token Factory
- Cloudflare Workers AI vs Nemotron 3.5 Super VL
- Cloudflare Workers AI vs Novita AI
- Cloudflare Workers AI vs OpenAI API
- Cloudflare Workers AI vs OpenRouter
- Cloudflare Workers AI vs Prism Inference
- Cloudflare Workers AI vs Baidu Qianfan
- Cloudflare Workers AI vs Router.com (Ramp Router)
- Cloudflare Workers AI vs Beam 1.0
- Cloudflare Workers AI vs Reka API
- Cloudflare Workers AI vs RouterPlus
- Cloudflare Workers AI vs SambaCloud
- Cloudflare Workers AI vs SiliconFlow
- Cloudflare Workers AI vs Simplismart
- Cloudflare Workers AI vs StepFun API
- Cloudflare Workers AI vs SWE-2 Flash
- Cloudflare Workers AI vs Tencent Cloud TokenHub
- Cloudflare Workers AI vs Together AI Inference
- Cloudflare Workers AI vs Vercel AI Gateway
- Cloudflare Workers AI vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare Workers AI vs xAI API (Grok)
- Cohere Chat API (Command models) vs Writer Palmyra API
- DeepInfra vs Writer Palmyra API
- DeepSeek API vs Writer Palmyra API
- DigitalOcean Serverless Inference vs Writer Palmyra API
- Eden AI vs Writer Palmyra API
- Glimpse vs Writer Palmyra API
- Fireworks AI Inference vs Writer Palmyra API
- Gemini 4 Argon vs Writer Palmyra API
- Gemini 4 Carbon vs Writer Palmyra API
- Gemini 4 Hydrogen vs Writer Palmyra API
- Gemini 4 Neon vs Writer Palmyra API
- Gemini Developer API vs Writer Palmyra API
- GPT-6.2 Astra vs Writer Palmyra API
- GroqCloud vs Writer Palmyra API
- Hugging Face Inference Providers vs Writer Palmyra API
- Tencent Hy4 vs Writer Palmyra API
- Jais 3 vs Writer Palmyra API
- Meta Model API vs Writer Palmyra API
- MiniMax API vs Writer Palmyra API
- Mistral AI API vs Writer Palmyra API
- Muse Ember vs Writer Palmyra API
- Muse Spark Open vs Writer Palmyra API
- Nebius Token Factory vs Writer Palmyra API
- Nemotron 3.5 Super VL vs Writer Palmyra API
- Novita AI vs Writer Palmyra API
- OpenAI API vs Writer Palmyra API
- OpenRouter vs Writer Palmyra API
- Prism Inference vs Writer Palmyra API
- Baidu Qianfan vs Writer Palmyra API
- Router.com (Ramp Router) vs Writer Palmyra API
- Beam 1.0 vs Writer Palmyra API
- Reka API vs Writer Palmyra API
- RouterPlus vs Writer Palmyra API
- SambaCloud vs Writer Palmyra API
- SiliconFlow vs Writer Palmyra API
- Simplismart vs Writer Palmyra API
- StepFun API vs Writer Palmyra API
- SWE-2 Flash vs Writer Palmyra API
- Tencent Cloud TokenHub vs Writer Palmyra API
- Together AI Inference vs Writer Palmyra API
- Vercel AI Gateway vs Writer Palmyra API
- Vertex AI (Gemini Enterprise Agent Platform) vs Writer Palmyra API
- Writer Palmyra API vs xAI API (Grok)
Machine-readable
- This page as Markdown
/compare/cloudflare-workers-ai-vs-writer-palmyra.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-workers-ai.json·/api/v1/tools/writer-palmyra.json - From a terminal
anchor compare cloudflare-workers-ai writer-palmyra(the CLI) - Over MCP
compare_tools {"a": "cloudflare-workers-ai", "b": "writer-palmyra"}at/mcp, no key