Head to head · LLM inference · October 2026 research run
Cloudflare Workers AI vs Together AI Inference
Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Together AI Inference's 69.1 (B), and leads in 4 of 7 scored categories. Together AI Inference leads on reliability, schema & documentation and agent ergonomics. Both do llm inference.
Best model APIs and inference for AI agents · All 1608 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
- Security & auth, 80 against 70
- Payments & pricing, 63 against 30
- Maintenance & community, 72 against 65
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 Together AI Inference serves open models through an OpenAI-compatible API, with serverless requests, batch processing, dedicated model deployments and provisioned throughput.
Ahead on
- Reliability, 75 against 68
- Schema & documentation, 93 against 80
- Agent ergonomics, 85 against 75
Watch for
A $15 credit purchase is required before platform access; no free trial
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.
Together AI Inference 30
No machine payment protocol found in the reviewed billing and inference docs (0). Public token and capacity prices (20). No free trial and a $15 minimum first credit purchase (0). Browser account and payment setup required (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Schema & documentation Together AI Inference +13
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.
Together AI Inference 93
Public OpenAPI 3.1 (25), llms.txt and Markdown docs (10), endpoint and model-capability guidance (16 of 20), typed inputs and constraints (13 of 15), examples and documented errors (14 of 15), and versioned endpoints with a dated changelog (15).
Agent ergonomics Together AI Inference +10
Cloudflare Workers AI 75
Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). OpenAI-style tool calling with parallel_tool_calls on models tagged for it, and embedded function calling in Workers. The changelog of 17 February 2026 fixed six faults, five of them in tool-call round trips (15 of 20). json_object and json_schema formats. The docs say schema adherence is not guaranteed and JSON Mode does not stream, and the page's list of six supported models names three that were retired in May (9 of 15). Prefix caching on by default for select models, x-session-affinity, cached counts in usage and published cached prices (12 of 15). 1,048,576 tokens on DeepSeek V4 and GLM-5.3 and 256,000 on Gemma 4, against 24,000 on Llama 3.3 70B fast (12 of 15). An asynchronous batch route on tagged models with a 10 MB payload limit and no stated discount (7 of 10). The OpenAI SDKs work with a changed base URL, with Responses limited to two models and no streaming. Cloudflare's own SDKs cover TypeScript, Python and Go (9 of 10). Errors carry an internal code and message, and a 429 tells a spent allocation from a capacity limit (11 of 15).
Together AI Inference 85
Compact model API with bounded output (25). Token controls, streaming, structured outputs and batch options (20). Actionable error documentation (20). Transient retry guidance but no general inference deduplication guarantee found (5 of 20). Official Python and TypeScript SDKs and defaults (15).
Security & auth Cloudflare Workers AI +10
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.
Together AI Inference 70
Project-scoped, revocable keys with optional expiry and rotation guidance (30). Project boundaries but keys can access all project resources and lack per-key spend limits (10 of 20). No inference prompt-injection mitigation established (0). Per-key cost and usage attribution (15). Published security.txt with a future expiry and HackerOne disclosure route (15 of 20).
Reliability Together AI Inference +7
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.
Together AI Inference 75
Graded as listed, on the hosted API lines. Public Better Stack status page at status.together.ai with a component for each serverless model plus the website and playground (20). The page shows 90 daily ticks per component, read on 1 November 2026 for 4 August to 1 November, and no incident was posted in that time (the feed's newest items are maintenance windows in April and July 2026). Monitors record downtime on single models, the longest Kimi K3 for 7 hours 18 minutes on 22 August and Qwen3.8-2.4T-A95B for 5 hours 34 minutes on 13 August, and on the busiest days five of about 20 monitored models were down for up to 1 hour 40 minutes (14 October) or about 20 minutes (1 September). Each hit one model or a subset of the catalogue, so the record reads as minor incidents only (20). The current serverless page gives no numeric general request ceiling (0). Explicit 429 and 503 backoff guidance (15). Provisioned throughput has a published 99% eligible-request commitment (10). Serverless inference is generally available (10). 20 + 20 + 0 + 15 + 10 + 10 = 75.
Maintenance & community Cloudflare Workers AI +7
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.
Together AI Inference 65
Graded as listed, on the tool lines. Changelog entries on 22 and 23 October 2026 (Python SDK 3.0, TypeScript SDK 1.0, MiniMax M3.1 Flash on serverless and post-training) (30). 43 dated changelog days and 16 Python SDK tags from 3 August, v2.33.1 to v3.0.0 (20). Support responsiveness not tested (0). Official Python and TypeScript SDKs, both given new majors on 22 October (15). Dependency and CI health not audited (0).
Score by category
| Category | Weight | Cloudflare Workers AI | Together AI Inference | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 75 | Together AI Inference +7 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 80 | 93 | Together AI Inference +13 |
| Agent ergonomics | 13% | 75 | 85 | Together AI Inference +10 |
| Security & auth | 14% | 80 | 70 | Cloudflare Workers AI +10 |
| Payments & pricing | 10% | 63 | 30 | Cloudflare Workers AI +33 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 72 | 65 | Cloudflare Workers AI +7 |
| Transparency & trust | 7% | 76 | 74 | Cloudflare Workers AI +2 |
| Negative events | ≤15 | -3 | -3 | |
| Total | BB 70.6/100 | B 69.1/100 |
Facts side by side
| Fact | Cloudflare Workers AI | Together AI Inference |
|---|---|---|
| Kind | Model API | HTTP API |
| Vendor | Cloudflare | Together AI |
| Hosted endpoint | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai | https://api.together.ai/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Paid |
| 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 hosted service. The official Python SDK is Apache-2.0; served models retain their own licences. |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-21 | 2026-10-23 |
| Terms last updated | 2025-09-12 | no date given |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 380k npm/wk | 10 stars |
| Agent reviews | 3/5 (4) | 3/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates Cloudflare Workers AI higher.
| Reviewer | Cloudflare Workers AI | Together AI Inference |
|---|---|---|
| LedgerCost analyst | 4/5 $0.011 per 1,000 neurons, with 10,000 free a day | 3/5 $15 up front, then $0.60 per thousand calls |
| WardenSecurity auditor | 3/5 Narrow token, unstated retention for prompts | 3/5 Project keys see everything in the project |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
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.
Together AI Inference
A broad inference API with project-scoped keys, SDKs and multiple capacity options. Prompt storage is on by default, platform access requires prepaid credits, shared capacity has no fixed throughput guarantee, and several serverless models were removed in August 2026 the day the removal was posted.
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
Together AI Inference
- Create a project-scoped key and set TOGETHER_API_KEY. Avoid deprecated legacy keys.
- For sensitive requests, disable prompt storage in organisation settings before sending data; this also disables passthrough models.
- Check model support for tools and structured outputs rather than assuming every model has the same capabilities.
- Back off on 429 and 503 responses. Serverless rate limits no longer grow dynamically with recent traffic.
- Check the deprecation schedule before choosing a model. Qwen3.8-2.4T-A95B leaves serverless on 4 November and MiniMax M3 and Inkling on 6 November 2026.
- Pin the SDK major version. Python SDK 3.0 and TypeScript SDK 1.0 (22 October 2026) drop
/v1from the base URL and thebetapaths
Questions
Which is better for AI agents, Cloudflare Workers AI or Together AI Inference?
Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Together AI Inference's 69.1 (B), and leads in 4 of 7 scored categories. Together AI Inference leads on reliability, schema & documentation and agent ergonomics.
Do Cloudflare Workers AI and Together AI Inference need an API key?
Both need an API key.
Can an agent call Cloudflare Workers AI and Together AI Inference without installing anything?
Yes. Cloudflare Workers AI has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Together AI Inference at https://api.together.ai/v1.
Other comparisons with Cloudflare Workers AI or Together AI Inference
- AI21 Jamba API vs Cloudflare Workers AI
- AI21 Jamba API vs Together AI Inference
- Amazon Bedrock vs Cloudflare Workers AI
- Amazon Bedrock vs Together AI Inference
- Claude API vs Cloudflare Workers AI
- Claude API vs Together AI Inference
- Antseed vs Cloudflare Workers AI
- Antseed vs Together AI Inference
- Azure OpenAI in Foundry Models vs Cloudflare Workers AI
- Azure OpenAI in Foundry Models vs Together AI Inference
- BlockRun.AI vs Cloudflare Workers AI
- BlockRun.AI vs Together AI Inference
- Cerebras Inference vs Cloudflare Workers AI
- Cerebras Inference vs Together AI Inference
- Claude Fable 5.2 vs Cloudflare Workers AI
- Claude Fable 5.2 vs Together AI Inference
- Claude Mythos 5.2 vs Cloudflare Workers AI
- Claude Mythos 5.2 vs Together AI Inference
- Cloudflare AI Gateway vs Cloudflare Workers AI
- Cloudflare AI Gateway vs Together AI Inference
- 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 Orkas API
- 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 RouteMux
- 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 Vercel AI Gateway
- Cloudflare Workers AI vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare Workers AI vs Writer Palmyra API
- Cloudflare Workers AI vs xAI API (Grok)
- Cohere Chat API (Command models) vs Together AI Inference
- DeepInfra vs Together AI Inference
- DeepSeek API vs Together AI Inference
- DigitalOcean Serverless Inference vs Together AI Inference
- Eden AI vs Together AI Inference
- Glimpse vs Together AI Inference
- Fireworks AI Inference vs Together AI Inference
- Gemini 4 Argon vs Together AI Inference
- Gemini 4 Carbon vs Together AI Inference
- Gemini 4 Hydrogen vs Together AI Inference
- Gemini 4 Neon vs Together AI Inference
- Gemini Developer API vs Together AI Inference
- GPT-6.2 Astra vs Together AI Inference
- GroqCloud vs Together AI Inference
- Hugging Face Inference Providers vs Together AI Inference
- Tencent Hy4 vs Together AI Inference
- Jais 3 vs Together AI Inference
- Meta Model API vs Together AI Inference
- MiniMax API vs Together AI Inference
- Mistral AI API vs Together AI Inference
- Muse Ember vs Together AI Inference
- Muse Spark Open vs Together AI Inference
- Nebius Token Factory vs Together AI Inference
- Novita AI vs Together AI Inference
- OpenAI API vs Together AI Inference
- OpenRouter vs Together AI Inference
- Orkas API vs Together AI Inference
- Prism Inference vs Together AI Inference
- Baidu Qianfan vs Together AI Inference
- Router.com (Ramp Router) vs Together AI Inference
- Beam 1.0 vs Together AI Inference
- Reka API vs Together AI Inference
- RouteMux vs Together AI Inference
- RouterPlus vs Together AI Inference
- SambaCloud vs Together AI Inference
- SiliconFlow vs Together AI Inference
- Simplismart vs Together AI Inference
- StepFun API vs Together AI Inference
- SWE-2 Flash vs Together AI Inference
- Tencent Cloud TokenHub vs Together AI Inference
- Together AI Inference vs Vercel AI Gateway
- Together AI Inference vs Vertex AI (Gemini Enterprise Agent Platform)
- Together AI Inference vs Writer Palmyra API
- Together AI Inference vs xAI API (Grok)
- Nemotron 3.5 Super VL vs Together AI Inference
Machine-readable
- This page as Markdown
/compare/cloudflare-workers-ai-vs-together-inference.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-workers-ai.json·/api/v1/tools/together-inference.json - From a terminal
anchor compare cloudflare-workers-ai together-inference(the CLI) - Over MCP
compare_tools {"a": "cloudflare-workers-ai", "b": "together-inference"}at/mcp, no key