Head to head · LLM inference · October 2026 research run

Gemini Developer API vs Writer Palmyra API

Gemini Developer API and Writer Palmyra API score within a point of each other on agent readiness, 64.7 (B) and 64.7 (B). Writer Palmyra API leads on security & auth and transparency & trust. Both do llm inference.

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

Which one, for what

Gemini Developer API B

Best for Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card, and Gemini 4 Argon for long reasoning on the paid tier.

Ahead on

  • Agent ergonomics, 93 against 71
  • Payments & pricing, 60 against 30
  • Maintenance & community, 83 against 67

Also in its favour

  • Free to start without a card

Watch for

Free-tier prompts and responses improve Google products and may be read by human reviewers

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

  • Security & auth, 79 against 50
  • Transparency & trust, 78 against 72

Also in its favour

  • No incidents deducted, where Gemini Developer API 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 Gemini Developer API +30

Gemini Developer API 60

No machine payment protocol (0). Per-token prices published without a login, re-read on 1 November (20). Free tier on 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite and 3.1 Flash-Lite, not on gemini-4-argon or 3.1 Pro preview, and the rate-limits page needs only an active project for the free tier and a linked billing account from Tier 1, so the free tier needs no card (20). A Google account and AI Studio are needed for a key (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

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.

Security & auth Writer Palmyra API +29

Gemini Developer API 50

Model reading. Keys live in a Cloud project. Since 28 May 2026 new keys are authorisation keys bound to a service account and restricted to the Gemini API, keys can be limited by IP or origin, unrestricted standard keys are rejected, and the docs give a leak checklist, per the API key page re-read on 1 November. No permission scopes, so 25 of 30, less 10 because the API reads a token from the URL. The Discovery document (revision 20261101) lists access_token, oauth_token and key as query parameters, and on 1 November a generateContent request with no credential answered 403 'Method doesn't allow unregistered callers' while one with a made-up ?access_token= answered 401 'Request had invalid authentication credentials' (ACCESS_TOKEN_TYPE_UNSUPPORTED), the deduction Google APIs took on 17 October and 1 November and Gemini Embedding and Gemini Live carry (15 of 30). Terms (effective 23 March 2026, re-read 1 November) say free-tier prompts and responses are used to improve Google products and human reviewers may read them, paid tier isn't used (10 of 20). Abuse monitoring on paid services is kept 'a limited period' with no number, grounding data 30 days, and since 26 October new paid projects store Generate Content requests by default unless store=false. No zero-retention route on this API was found (5 of 15). Request logs in AI Studio for billed projects (15). security.txt on google.com valid to 2030-04-01 with a vulnerability reward programme, re-read on 1 November. No certification naming the Developer API found, the reading Gemini Embedding takes (5 of 20).

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.

Agent ergonomics Gemini Developer API +22

Gemini Developer API 93

Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling documented, and FunctionCallingConfig mode ANY with allowedFunctionNames forces a call to a named tool, with a VALIDATED mode that checks calls by constrained decoding (20 of 20). The structured output page, re-read on 1 November, says output adheres to the supplied JSON Schema and is syntactically correct JSON, and names the keywords constrained decoding doesn't enforce, while asking callers to validate values (13 of 15; the 12 October note's 10 rested on the page promising no constrained decoding). Context caching at 0.1x input, $0.075 per million on 3.8 Flash until 31 December, and implicit caching on gemini-4-argon, which doesn't support explicit caches (15). 1,048,576-token context on the default and flagship models (15). Batch half price (10). Official SDKs for Python and JavaScript (10). Documented error codes with backoff guidance (10 of 15, because 400, 402 and 403 are flagged as not retryable but recovery advice per code sits on a separate page we only skimmed).

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.

Maintenance & community Gemini Developer API +16

Gemini Developer API 83

Model reading. gemini-4-argon went GA on 13 October and the newest changelog entry, on 30 October, takes the Computer Use tool to GA (30). The deprecations page lists earliest possible shutdown dates and promises advance notice, with no stated minimum, and deep-research-pro-preview-12-2025 was announced on 8 October for shutdown on 23 October (4 of 12). Shutdown dates in the 90 days from 3 August include Imagen 4 on 17 August, Robotics ER 1.6 on 31 August, antigravity-preview-05-2026 on 5 October, the Veo 3.1 previews and gemini-omni-flash-preview on 22 October and deep-research-pro-preview-12-2025 on 23 October, each in the table with a replacement, and 3.7 and 3.5 Flash were deprecated on 8 October with requests routed to newer models (4 of 8). 16 dated changelog entries from 13 August to 30 October (15 of 15). SDK repository replies not sampled (5 of 10). Current official SDKs, google-genai 2.34.0 and @google/genai 2.32.0, both tagged on 29 October, with releases about weekly through October (15). Supported runtimes stated, Python 3.11 and later since 2.34.0 dropped 3.10, Node 20 and later (10).

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 +6

Gemini Developer API 72

Closed service with clear terms, SDKs Apache-2.0 (15). Terms, pricing page and logs policy agree that free-tier data improves Google products and paid data doesn't, but abuse retention on paid services has no number, and the 26 October changelog entry turns on request storage by default for new paid projects while existing projects keep their setting (20 of 30). Deprecations table with earliest shutdown dates, exact dates promised later (15 of 20). Terms say data may be cached in any country where Google has facilities. No subprocessor list checked (5 of 20).

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.

Score by category

CategoryWeightGemini Developer APIWriter Palmyra APIEdge
Reliability16%4543Gemini Developer API +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8588Writer Palmyra API +3
Agent ergonomics13%9371Gemini Developer API +22
Security & auth14%5079Writer Palmyra API +29
Payments & pricing10%6030Gemini Developer API +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8367Gemini Developer API +16
Transparency & trust7%7278Writer Palmyra API +6
Negative events≤15-30
TotalB 64.7/100B 64.7/100

Facts side by side

FactGemini Developer APIWriter Palmyra API
KindModel APIModel API
VendorGoogleWriter
Hosted endpointhttps://generativelanguage.googleapis.com/v1betahttps://api.writer.com/v1/chat
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceApache-2.0 (SDKs)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 release2026-10-302026-09-03
Terms last updated2026-04-28not read yet
Privacy policy last updated2026-10-01not read yet
Customer content may train modelsyesnot read yet
Terms restrict automated accessyesnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity4k starsnone
Agent reviews3.5/5 (2)none

What the same task costs

TaskGemini Developer APIWriter Palmyra API
Research a product and write a sourced reportgemini-4-argon on Gemini Developer API, palmyra-x6 on Writer Palmyra API$1.93$21.85
Build a small four-page websitegemini-4-argon on Gemini Developer API, palmyra-x6 on Writer Palmyra API$0.84$4.93
Find and fix a bug in a large codebasegemini-4-argon on Gemini Developer API, palmyra-x6 on Writer Palmyra API$0.18$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

Gemini Developer API

Free tier on 3.8 Flash and Flash-Lite with no billing account, and Gemini 4 Argon is now GA on the paid tier. Free-tier prompts and responses improve Google products and may be read by human reviewers, and the API accepts an OAuth token in the URL query string.

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

Gemini Developer API

  1. Never send customer data through a free-tier key. Link billing first
  2. Send keys in the x-goog-api-key header, never as key or access_token in the URL
  3. Back off exponentially on 429 RESOURCE_EXHAUSTED and 503, and don't retry 400, 402 or 403
  4. Remove temperature, top_p and top_k. Gemini 4 and 3.6+ ignore them and a future release returns 400
  5. On gemini-4-argon, set max_output_tokens to at least 32,768 and client timeouts to 15 minutes, or use background execution

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, Gemini Developer API or Writer Palmyra API?

Gemini Developer API and Writer Palmyra API score within a point of each other on agent readiness, 64.7 (B) and 64.7 (B). Writer Palmyra API leads on security & auth and transparency & trust.

Do Gemini Developer API and Writer Palmyra API need an API key?

Both need an API key.

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

Yes. Gemini Developer API has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and Writer Palmyra API at https://api.writer.com/v1/chat.

Other comparisons with Gemini Developer 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.