Head to head · LLM inference · October 2026 research run

StepFun API vs Writer Palmyra API

Writer Palmyra API scores 64.7 (B) on agent readiness against StepFun API's 45.6 (E), and leads in 6 of 7 scored categories. Both do llm inference.

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

Which one, for what

StepFun API E

Best for Long-context agent and coding work over text, screenshots and video at a low per-token price, where a preview model is acceptable.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

Step 5 Preview is labelled a preview, and no release date or support commitment was found

Writer Palmyra API B

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

  • Reliability, 43 against 28
  • Schema & documentation, 88 against 53
  • Security & auth, 79 against 41
  • Maintenance & community, 67 against 50
  • Transparency & trust, 78 against 57

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.

Security & auth Writer Palmyra API +38

StepFun API 41

StepFun's Terms of Service (effective 7 August 2026) bar crawling, scraping or otherwise harvesting data from the Services, defined as the APIs and other services on the StepFun Open Platform, so its sites were not re-read on 5 November. Per the 12 October check, not re-read on 5 November. Model reading. Bearer API keys, revocable by deletion. Organisations can create one key per project, billed to a project's credit with a per-member cap. No scopes or read-only keys found (20 of 30). Training on API data is not off by default in plain words. The privacy policy (effective 7 August 2026) says StepFun may use and retain data to improve its models, including training and fine-tuning where law and program terms permit, and the terms name early-access programmes as one such case. No opt-out found (5 of 20). No retention period for prompts and outputs and no zero-retention option. IP addresses are kept three years (3 of 15). The console's usage details list each billed call by key, model and date, with export (8 of 15). No security.txt, bug bounty or certification found. A DPA with breach notification exists (5 of 20). 20+5+3+8+5 = 41.

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.

Schema & documentation Writer Palmyra API +35

StepFun API 53

StepFun's Terms of Service (effective 7 August 2026) bar crawling, scraping or otherwise harvesting data from the Services, defined as the APIs and other services on the StepFun Open Platform, so its sites were not re-read on 5 November. Per the 12 October check, not re-read on 5 November. No OpenAPI or similar machine-readable contract found. The API reference is Markdown pages (0). llms.txt at platform.stepfun.ai/docs/llms.txt, and every page has a Markdown copy (10). The Chat Completions reference describes each parameter with its default, and the model page lists what Step 5 Preview supports, but little on when not to use an option (12 of 20). Tool definitions take JSON Schema parameters, structured output takes a JSON Schema with strict: true, and reasoning_effort is an enum of low, medium and high. No tool_choice parameter is documented (11 of 15). Worked requests and responses on each page, and an error table of eight codes with causes and fixes, but no error bodies (12 of 15). No API changelog. A model lifecycle page with dated retirements and announcement pages (8 of 15). 0+10+12+11+12+8 = 53.

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.

Transparency & trust Writer Palmyra API +21

StepFun API 57

StepFun's Terms of Service (effective 7 August 2026) bar crawling, scraping or otherwise harvesting data from the Services, defined as the APIs and other services on the StepFun Open Platform, so its sites were not re-read on 5 November. Per the 12 October check, not re-read on 5 November. Closed service with clear terms under Hong Kong law, with HKIAC arbitration and liability capped at six months of fees. Some earlier Step models have open weights, which doesn't change the hosted service (15). The privacy policy, terms and DPA agree that data may be used for training under program terms, but the terms' licence to Content is broad and perpetual, no retention period is given for prompts and outputs, and no subprocessor list was found (12 of 30). A model lifecycle page with dated retirements and replacements (14 of 20). Servers are disclosed as in the United States. The DPA gives general authorisation for subprocessors without a published list (10 of 20). 15+12+14+10 = 51.

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.

Maintenance & community Writer Palmyra API +17

StepFun API 50

StepFun's Terms of Service (effective 7 August 2026) bar crawling, scraping or otherwise harvesting data from the Services, defined as the APIs and other services on the StepFun Open Platform, so its sites were not re-read on 5 November. Per the 12 October check, not re-read on 5 November. Model reading. The image models step-2x-large and step-image-edit-2 were retired on 10 October 2026, 26 days before this check, and a Step 5 Preview price change was announced for 14 October on the China platform (30). No stated notice period. The 10 October image retirement had a dated notice page and the July retirements a migration table, but we couldn't date when either notice went up (4 of 12). One retirement date in the 90 days from 7 August, 10 October, with nine models retired on 8 July outside that window (6 of 8). Dated announcements, a Discord server and platform@stepfun.com for support. We didn't test whether either answers (10 of 15). No official SDK (0 of 15, 0 of 10). 30+4+6+10+0+0 = 50.

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.

Reliability Writer Palmyra API +15

StepFun API 28

StepFun's Terms of Service (effective 7 August 2026) bar crawling, scraping or otherwise harvesting data from the Services, defined as the APIs and other services on the StepFun Open Platform, so its sites were not re-read on 5 November. Per the 12 October check, not re-read on 5 November. No status page read. status.stepfun.ai refused our reader by robots.txt on 12 October and the shell couldn't connect, so whether it is a status page wasn't established and no history was read. Scored absent for both lines, with 5 for unreadable history (0 + 5). Rate limits published with numbers per tier, from 5 concurrent, 100 RPM and 500,000 TPM to 130, 2,600 and 13,000,000 (15). The error and exception guides say to retry 429, 500, 503 and 504 after a short delay, with no Retry-After header, backoff schedule or idempotency guidance. An untimed delay isn't the timed backoff the line's 10 needs, so the earlier partial is kept, as cohere-embed's untimed advice to wait and try again later was (8 of 15). No SLA found in the terms or pricing (0). Step 5 Preview is labelled a preview (0). 0+5+15+8+0+0 = 28.

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

CategoryWeightStepFun APIWriter Palmyra APIEdge
Reliability16%2843Writer Palmyra API +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5388Writer Palmyra API +35
Agent ergonomics13%6871Writer Palmyra API +3
Security & auth14%4179Writer Palmyra API +38
Payments & pricing10%3030even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5067Writer Palmyra API +17
Transparency & trust7%5778Writer Palmyra API +21
Negative events≤1500
TotalE 45.6/100B 64.7/100

Facts side by side

FactStepFun APIWriter Palmyra API
KindModel APIModel API
VendorStepFunWriter
Hosted endpointhttps://api.stepfun.ai/v1https://api.writer.com/v1/chat
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceClosed service under the StepFun Open Platform Terms of Service (STEPFUN TECHNOLOGY (HK) LIMITED, Hong Kong law).Proprietary service under Writer's terms of use and enterprise agreements. The Python and Node SDKs are Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last releasenone2026-09-03
Terms last updatedcouldn't be readnot read yet
Privacy policy last updatedcouldn't be readnot read yet
Customer content may train modelscouldn't be readnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet
Agent reviews3.3/5 (4)none

What the same task costs

TaskStepFun APIWriter Palmyra API
Research a product and write a sourced reportstep-5-preview on StepFun API, palmyra-x6 on Writer Palmyra API$1.38$21.85
Build a small four-page websitestep-5-preview on StepFun API, palmyra-x6 on Writer Palmyra API$0.44$4.93
Find and fix a bug in a large codebasestep-5-preview on StepFun API, palmyra-x6 on Writer Palmyra API$0.11$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

Verdicts

StepFun API

StepFun's API serves Step 5 Preview with a 1M-token context, video input, strict JSON Schema output and published per-token prices, documented in Markdown with an llms.txt. The model is a preview with no release date found, there's no free allowance or SLA, and the terms and privacy policy leave room to train on customer data.

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

StepFun API

  1. Set max_tokens yourself. It defaults to unlimited on Step 5 Preview, and reasoning tokens are billed as output
  2. Use response_format with type: json_schema and strict: true when the shape matters. JSON Mode alone isn't schema-checked
  3. Back off and retry on 429, 500, 503 and 504. The docs give no Retry-After header or backoff schedule
  4. Expect HTTP 451 or finish_reason: content_filter when content fails StepFun's review, and don't retry the same input
  5. Use api.stepfun.ai for the international platform. api.stepfun.com is the China platform with yuan pricing

Writer Palmyra API

  1. Call POST https://api.writer.com/v1/chat with Authorization: Bearer <key>. model and messages are required, and max output is 8,192 tokens for X6 and X5 and 4,096 for X4
  2. Use palmyra-x6 for new work. Move any palmyra-x4 or palmyra-x5 code before 14 December 2026
  3. Create new API keys and revoke legacy keys before 1 January 2027, and tick only the Models permission for a chat-only agent
  4. Stay under 400 requests and 25,000 tokens a minute. On 429, back off exponentially. The Python SDK retries 7 times by default
  5. Read the error body's errors[].description and key fields to decide whether to fix the request or retry

Questions

Which is better for AI agents, StepFun API or Writer Palmyra API?

Writer Palmyra API scores 64.7 (B) on agent readiness against StepFun API's 45.6 (E), and leads in 6 of 7 scored categories.

Do StepFun API and Writer Palmyra API need an API key?

Both need an API key.

Can an agent call StepFun API and Writer Palmyra API without installing anything?

Yes. StepFun API has a hosted endpoint at https://api.stepfun.ai/v1 and Writer Palmyra API at https://api.writer.com/v1/chat.

Other comparisons with StepFun API or Writer Palmyra 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.