Head to head · LLM inference · October 2026 research run
SWE-2 Flash vs Writer Palmyra API
Writer Palmyra API scores 64.7 (B) on agent readiness against SWE-2 Flash's 37.6 (F), and leads in 5 of 7 scored categories. SWE-2 Flash leads on reliability. Both do llm inference.
Best model APIs and inference for AI agents · All 1495 models comparisons
Which one, for what
Best for People already using Devin Desktop or Devin CLI who want a cheaper, faster model for routine coding work such as automations, reviews and small changes, while it is free in November 2026.
Ahead on
- Reliability, 50 against 43
Watch for
No model API, OpenAPI entry or model card. The Devin API's session agents list SWE-2 but not SWE-2 Flash
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 29
- Agent ergonomics, 71 against 10
- Security & auth, 79 against 53
- Maintenance & community, 67 against 53
- Transparency & trust, 78 against 64
Also in its favour
- A hosted endpoint, with nothing to install
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.
Agent ergonomics Writer Palmyra API +61
SWE-2 Flash 10
Model reading (tool use, structured output, caching, context, batch, SDKs). Tool use is Devin's harness, not something a caller configures; no context length, output limit or cache price is published for SWE-2 Flash (5 of 25). No documented output-size or reasoning controls for this model; SWE-2's effort levels aren't stated for Flash (0 of 20). No model-level error documentation (0 of 20). No idempotency or retry guidance (0 of 20). One flag or picker selects it and devin -p runs a single turn and prints to stdout, but there is no SDK or direct endpoint (5 of 15). 5 + 0 + 0 + 0 + 5 = 10.
Writer Palmyra API 71
Model reading. Responses can be sized with max_tokens (8,192 on X6 and X5, 4,096 on X4), n, stop, logprobs and streaming, with a 1M context on X6 and X5 (18 of 25). A pagination guide covers lists of graphs and files, and chat has no filtering (14 of 20). Errors share one JSON shape with a description and a key (16 of 20). The SDKs retry 7 times by default and a retry endpoint exists for failed files, with no idempotency key (8 of 20). model and messages are required, with Python and Node SDKs (15 of 15). Tool calling, streaming, vision on X5 and structured outputs on X5 and X4 are documented. No prompt caching or batch for chat was found. Total 71.
Schema & documentation Writer Palmyra API +59
SWE-2 Flash 29
Model reading. No model API, so no OpenAPI entry; the Devin v3 OpenAPI file lists SWE-2 agents only, and no model card was found (0). docs.devin.ai serves llms.txt and Markdown copies of every page (10). The launch post says what it is for (automations, code review, feature development, documentation) and the CLI docs say when to pick a SWE model, but the models pages don't list SWE-2 Flash yet (6 of 20). No documented model ID, reasoning settings, context or output limits to type (0 of 15). The CLI pages show --model and /model examples, with no model-specific errors (3 of 15). Named, dated model versions on Cognition's blog and public release notes, but no release note for SWE-2 Flash yet; the newest is 2 November (10 of 15). 0 + 10 + 6 + 0 + 3 + 10 = 29.
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.
Security & auth Writer Palmyra API +26
SWE-2 Flash 53
Read as a hosted model reached through Devin's local clients. The CLI signs in through a browser, or the enterprise identity provider, and stores an API token in credentials.toml that by default is persistent and does not expire and carries the user's access, with no scopes found for it (10 of 30). Devin CLI documents an OS-level sandbox with network filtering, hooks that can block tool calls, and enterprise model allowlists and team settings (14 of 20). Guardrails against prompt injection are Enterprise only and cover user messages, as on the devin listing (8 of 15). Enterprise analytics count tool calls and consumption by model and user; no per-user audit log for the CLI was found (8 of 15). SOC 2 Type II and ISO/IEC 27001:2022, a disclosure address, no bug bounty and no security.txt, per the devin listing (13 of 20). Training: self-serve customer data may train Cognition's models by default, with an opt-out on paid plans that also turns on zero data retention at model providers. Cognition withheld the weights over cyber misuse, which is recorded as a fact, not scored. 10 + 14 + 8 + 8 + 13 = 53.
Writer Palmyra API 79
Model reading. A bearer key made in Control Center with a name, an owner, an expiration and per-capability permissions, shown once, and legacy keys end on 1 January 2027 (22 of 30). The terms say materials are not used to train models and the trust FAQ says no training on inputs or outputs, and the data processing agreement was not read (16 of 20). The trust FAQ describes zero data retention with storage only as long as needed, and customers can set a deletion schedule and bring their own KMS key (12 of 15). Control Center has event logs and observability with request-level logs, and their coverage of plain API calls was not read (11 of 15). SOC 2 Type II, ISO 27001, 27701 and 42001, HIPAA and PCI DSS SAQ A per the trust centre, with security.txt answering 404 and no bug bounty found (18 of 20). Total 79.
Maintenance & community Writer Palmyra API +14
SWE-2 Flash 53
Model reading. Released 4 November 2026 (30). Churn and notice in place of release counts: SWE-1.6, SWE-1.7, SWE-1.7 Lightning, SWE-2 (10 September) and now SWE-2 Flash in a few months, with no model deprecation notice period found and short names that move to the newest model (10 of 20). Public release notes and a support address, no public tracker (10 of 25). No official SDK for the model (0 of 15). The docs are kept current but don't yet cover this model (3 of 10). 30 + 10 + 10 + 0 + 3 = 53.
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.
Transparency & trust Writer Palmyra API +14
SWE-2 Flash 64
Editorial half. Closed model under Cognition's platform terms; the weights aren't public and the sharing programme isn't described yet (15). Terms, privacy policy, security page and DPA agree, with training on self-serve data by default and no retention periods, as read for the devin listing (18). The API versioning policy covers API endpoints, not models, and no model deprecation notice was found (5 of 20). Sub-processors listed with purpose and country, per the devin listing's 8 October check (18). 15 + 18 + 5 + 18 = 56.
Writer Palmyra API 78
Closed service under published terms, Apache-2.0 SDKs, and Palmyra weights not part of this listing (15 of 30). The terms, privacy policy, trust FAQ and docs agree on no training and zero data retention, and the data processing agreement is linked and was not read (24 of 30). A dated deprecation policy with stated minimum notice periods (20 of 20). A trust centre with a subprocessors tab and an EU endpoint, with the subprocessor list not read (16 of 20). Total 75.
Reliability SWE-2 Flash +7
SWE-2 Flash 50
Model reading, for the surface it runs on, Devin Desktop and Devin CLI. Status page at www.devinstatus.com (Atlassian Statuspage) with Desktop Agent and Desktop Tab components besides the cloud ones, read on 4 November 2026 (20). The history feed for the 90 days from 6 August lists 'Devin unavailable' for 20 minutes on 13 August with no component named, read as across the board and a major as on the devin listing; Devin Cloud unavailable on 13 August and the web app down on 24 September name cloud surfaces this model doesn't use; the rest are degraded-performance incidents (new sessions on 3 September, 'multiple services' on 17 September, Ask Devin on 26 October, automation triggers on 4 November) and session queuing on 10 and 11 August, read as minor and a scheduled Devin Desktop extension marketplace upgrade on 7 August, read as maintenance. One major (10). No rate limit figures for the model or the CLI; usage is a daily and weekly quota with no numbers (0). No 429, backoff or retry guidance for this surface (0). Cognition publishes an SLA (25 February 2026) with uptime and response times that applies when included in an order form, read as a contractual SLA on Enterprise, as on other listings (10). The launch post makes it available today with no preview or beta label (10). 20 + 10 + 0 + 0 + 10 + 10 = 50.
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.
Score by category
| Category | Weight | SWE-2 Flash | Writer Palmyra API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 50 | 43 | SWE-2 Flash +7 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 29 | 88 | Writer Palmyra API +59 |
| Agent ergonomics | 13% | 10 | 71 | Writer Palmyra API +61 |
| Security & auth | 14% | 53 | 79 | Writer Palmyra API +26 |
| Payments & pricing | 10% | 30 | 30 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 53 | 67 | Writer Palmyra API +14 |
| Transparency & trust | 7% | 64 | 78 | Writer Palmyra API +14 |
| Negative events | ≤15 | -2 | 0 | |
| Total | F 37.6/100 | B 64.7/100 |
Facts side by side
| Fact | SWE-2 Flash | Writer Palmyra API |
|---|---|---|
| Kind | Model API | Model API |
| Vendor | Cognition AI, Inc. | Writer |
| Hosted endpoint | no (local only) | https://api.writer.com/v1/chat |
| Transports | HTTP | |
| Auth | OAuth or key | API key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | Proprietary model, used through Devin Desktop and Devin CLI under Cognition's Platform Terms of Service. The weights are not public; Cognition says it is building a programme to share them with industry partners and researchers | 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-11-04 | 2026-09-03 |
| Terms last updated | 2026-06-30 | not read yet |
| Privacy policy last updated | 2026-03-09 | not read yet |
| Customer content may train models | yes, with an opt-out | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
How the scores have moved
Writer Palmyra API
No score change since it was listed.
Verdicts
SWE-2 Flash
A new small coding model from Cognition that anyone can try free in Devin Desktop and Devin CLI until 30 November 2026, with strong vendor-reported coding scores. It has no model API, no published per-token price, context length or model card, and no public weights, so an agent can reach it only by driving Devin's own CLI.
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
SWE-2 Flash
- There is no endpoint to call. Run Devin CLI single-turn with
devin -pand pick the model with--model; the SWE-2 Flash model ID isn't documented yet, so check/modelin the CLI first - Don't rely on the short name
swe. The docs say it resolves to the latest model in the family, which may be SWE-2 rather than SWE-2 Flash - Plan for billing to start on 1 December 2026. The free period covers Devin Desktop and CLI only, not Devin cloud sessions
- Treat Cognition's benchmark figures as the vendor's. No independent result for SWE-2 Flash was found
- Keep
credentials.tomlprivate. The token in it doesn't expire by default and carries the signed-in user's access
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, SWE-2 Flash or Writer Palmyra API?
Writer Palmyra API scores 64.7 (B) on agent readiness against SWE-2 Flash's 37.6 (F), and leads in 5 of 7 scored categories. SWE-2 Flash leads on reliability.
Do SWE-2 Flash and Writer Palmyra API need an API key?
SWE-2 Flash takes an API key or an OAuth sign-in. Writer Palmyra API needs an API key.
Can an agent call SWE-2 Flash and Writer Palmyra API without installing anything?
No hosted endpoint is listed for SWE-2 Flash. Writer Palmyra API has a hosted endpoint at https://api.writer.com/v1/chat.
Other comparisons with SWE-2 Flash or Writer Palmyra API
- AI21 Jamba API vs SWE-2 Flash
- AI21 Jamba API vs Writer Palmyra API
- Amazon Bedrock vs SWE-2 Flash
- Amazon Bedrock vs Writer Palmyra API
- Claude API vs SWE-2 Flash
- Claude API vs Writer Palmyra API
- Antseed vs SWE-2 Flash
- Antseed vs Writer Palmyra API
- Azure OpenAI in Foundry Models vs SWE-2 Flash
- Azure OpenAI in Foundry Models vs Writer Palmyra API
- BlockRun.AI vs SWE-2 Flash
- BlockRun.AI vs Writer Palmyra API
- Cerebras Inference vs SWE-2 Flash
- Cerebras Inference vs Writer Palmyra API
- Claude Fable 5.2 vs SWE-2 Flash
- Claude Fable 5.2 vs Writer Palmyra API
- Claude Mythos 5.2 vs SWE-2 Flash
- Claude Mythos 5.2 vs Writer Palmyra API
- Cloudflare AI Gateway vs SWE-2 Flash
- Cloudflare AI Gateway vs Writer Palmyra API
- Cloudflare Workers AI vs SWE-2 Flash
- Cloudflare Workers AI vs Writer Palmyra API
- Cohere Chat API (Command models) vs SWE-2 Flash
- Cohere Chat API (Command models) vs Writer Palmyra API
- DeepInfra vs SWE-2 Flash
- DeepInfra vs Writer Palmyra API
- DeepSeek API vs SWE-2 Flash
- DeepSeek API vs Writer Palmyra API
- DigitalOcean Serverless Inference vs SWE-2 Flash
- DigitalOcean Serverless Inference vs Writer Palmyra API
- Eden AI vs SWE-2 Flash
- Eden AI vs Writer Palmyra API
- Glimpse vs SWE-2 Flash
- Glimpse vs Writer Palmyra API
- Fireworks AI Inference vs SWE-2 Flash
- Fireworks AI Inference vs Writer Palmyra API
- Gemini 4 Argon vs SWE-2 Flash
- Gemini 4 Argon vs Writer Palmyra API
- Gemini 4 Carbon vs SWE-2 Flash
- Gemini 4 Carbon vs Writer Palmyra API
- Gemini 4 Hydrogen vs SWE-2 Flash
- Gemini 4 Hydrogen vs Writer Palmyra API
- Gemini 4 Neon vs SWE-2 Flash
- Gemini 4 Neon vs Writer Palmyra API
- Gemini Developer API vs SWE-2 Flash
- Gemini Developer API vs Writer Palmyra API
- GPT-6.2 Astra vs SWE-2 Flash
- GPT-6.2 Astra vs Writer Palmyra API
- GroqCloud vs SWE-2 Flash
- GroqCloud vs Writer Palmyra API
- Hugging Face Inference Providers vs SWE-2 Flash
- Hugging Face Inference Providers vs Writer Palmyra API
- Tencent Hy4 vs SWE-2 Flash
- Tencent Hy4 vs Writer Palmyra API
- Jais 3 vs SWE-2 Flash
- Jais 3 vs Writer Palmyra API
- Meta Model API vs SWE-2 Flash
- Meta Model API vs Writer Palmyra API
- MiniMax API vs SWE-2 Flash
- MiniMax API vs Writer Palmyra API
- Mistral AI API vs SWE-2 Flash
- Mistral AI API vs Writer Palmyra API
- Muse Ember vs SWE-2 Flash
- Muse Ember vs Writer Palmyra API
- Muse Spark Open vs SWE-2 Flash
- Muse Spark Open vs Writer Palmyra API
- Nebius Token Factory vs SWE-2 Flash
- Nebius Token Factory vs Writer Palmyra API
- Nemotron 3.5 Super VL vs SWE-2 Flash
- Nemotron 3.5 Super VL vs Writer Palmyra API
- Novita AI vs SWE-2 Flash
- Novita AI vs Writer Palmyra API
- OpenAI API vs SWE-2 Flash
- OpenAI API vs Writer Palmyra API
- OpenRouter vs SWE-2 Flash
- OpenRouter vs Writer Palmyra API
- Prism Inference vs SWE-2 Flash
- Prism Inference vs Writer Palmyra API
- Baidu Qianfan vs SWE-2 Flash
- Baidu Qianfan vs Writer Palmyra API
- Router.com (Ramp Router) vs SWE-2 Flash
- Router.com (Ramp Router) vs Writer Palmyra API
- Beam 1.0 vs SWE-2 Flash
- Beam 1.0 vs Writer Palmyra API
- Reka API vs SWE-2 Flash
- Reka API vs Writer Palmyra API
- RouterPlus vs SWE-2 Flash
- RouterPlus vs Writer Palmyra API
- SambaCloud vs SWE-2 Flash
- SambaCloud vs Writer Palmyra API
- SiliconFlow vs SWE-2 Flash
- SiliconFlow vs Writer Palmyra API
- Simplismart vs SWE-2 Flash
- Simplismart vs Writer Palmyra API
- StepFun API vs SWE-2 Flash
- StepFun API vs Writer Palmyra API
- SWE-2 Flash vs Tencent Cloud TokenHub
- SWE-2 Flash vs Together AI Inference
- SWE-2 Flash vs Vercel AI Gateway
- SWE-2 Flash vs Vertex AI (Gemini Enterprise Agent Platform)
- SWE-2 Flash vs xAI API (Grok)
- 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/swe-2-flash-vs-writer-palmyra.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/swe-2-flash.json·/api/v1/tools/writer-palmyra.json - From a terminal
anchor compare swe-2-flash writer-palmyra(the CLI) - Over MCP
compare_tools {"a": "swe-2-flash", "b": "writer-palmyra"}at/mcp, no key