Head to head · LLM inference · October 2026 research run

MiniMax API vs xAI API (Grok)

xAI API (Grok) scores 71.7 (BB) on agent readiness against MiniMax API's 55.3 (C), and leads in 4 of 7 scored categories. MiniMax API leads on reliability. Both do llm inference.

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

Which one, for what

MiniMax API C

Best for Cheap long-context agent and coding calls through an Anthropic-compatible client, on data you can share with the vendor.

Ahead on

  • Reliability, 75 against 55

Watch for

The terms let MiniMax use inputs and outputs to develop and improve its services, and no opt-out was found

xAI API (Grok) BB

Best for Agents that want a capable model at a low per-token price with built-in web and X search, remote MCP and voice, and teams that need self-serve ZDR or US-only processing.

Ahead on

  • Schema & documentation, 88 against 82
  • Agent ergonomics, 90 against 59
  • Security & auth, 97 against 30
  • Maintenance & community, 77 against 45

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

API models outage of about 3 hours 40 minutes on 3 September 2026, and high error rates on grok-4.6 and grok-4.5 on 17 August

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 xAI API (Grok) +67

MiniMax API 30

Model reading (credential, training, retention, operator visibility, programme). One bearer key per account on the pay-as-you-go side and a separate Subscription Key for M Plan, with no scopes found. MiniMax says it may disable keys that leak publicly (20 of 30). The terms, effective 30 March 2026 and unchanged on 4 November, say MiniMax may use input and generated content to provide, maintain, develop and improve its services, and no opt-out was found. The privacy policy says only that personal data isn't used for training to profile or target consumers (0 of 20). Data is kept as long as necessary for its purpose, with no period stated and no zero-retention route (5 of 15). A usage page and balance alerts, no audit log found (5 of 15). No security.txt on platform.minimax.io (404 again on 4 November) or api.minimax.io (per the 19 October check), and no bug bounty or certification found (0 of 20). Total 30.

xAI API (Grok) 97

Model reading. Team API keys with ACLs per endpoint and per model, QPM and TPM caps, expiry, and create, rotate, disable and delete through the Management API, plus documented mTLS. GitHub secret scanning disables leaked keys and emails the owner (30). The security FAQ says SpaceXSI never trains on API inputs or outputs without explicit permission (20). Requests and responses are kept 30 days for abuse auditing, then deleted, and team admins can switch on zero data retention themselves, confirmed by an x-zero-data-retention header on every response (15). Console audit log and a Management API audit-events endpoint, plus optional per-key request logging (15). security.txt valid to 2027-06-29 with a HackerOne bug bounty and a separate safety contact for prompt-injection issues. SOC 2 Type 2 is claimed in the security FAQ with the reports behind an NDA in the trust centre, so 17 of 20. Remote MCP doesn't support require_approval, which the model checklist doesn't score but reviewers should see. New in October, a guidelines array lets the caller make the model decline nsfw, violence or profanity content, which the checklist doesn't score.

Maintenance & community xAI API (Grok) +32

MiniMax API 45

Model reading. MiniMax-M3.1-Flash shipped on 19 October 2026, dated on the model release page, which has no newer entry on 4 November (16 days, 30). No stated notice policy. The M2.5 and M2.7 families closed to new users on 19 October and retire on 18 November, 30 days later, and from 19 October M Plan and Token Plan requests to them are served by M3.1 Flash under the old names. We couldn't find when that notice was first posted, and the page carries the same notice on 4 November (3 of 12). Churn is high. M2.5 (February 2026) and M2.7 (March 2026) retire within nine months of release, M2.1 and M2 are already retired, and the model list still calls M2.5 and M2.7 retired on 4 November while the notice on the same page gives 18 November (2 of 8). A dated release page, support email addresses on the contact and model pages, a Discord server and GitHub issues on the model repositories. We didn't test whether they answer (10 of 15). No official SDK (0 of 15, 0 of 10). Total 45.

xAI API (Grok) 77

Model reading. grok-imagine-image-quality and grok-imagine-image-pro retired on 2 November 2026 as announced in September, Grok Voice 3.0 and custom moderation controls in October, Grok 4.7 on 21 September (30). No minimum notice period found. Retirements come as dated migration guides, retired slugs redirect to a replacement rather than failing, billed at the replacement's price, and grok-voice-2.0 was deprecated in October with no end date (4 of 12). Shutdowns in the last 90 days with dates given in advance, grok-voice-transcribe-1.0 on 2 October and grok-imagine-image-quality on 2 November (8 of 8). Release notes several times a month but dated only by month, support by email and a Discord #help channel, not tested. On xai-sdk-python a collaborator commented on 2 of the 16 most recent threads with replies, and most outside pull requests since 23 October are open without a maintainer reply (10 of 15, down from 12). The repository has CI, release and version-bump workflows (5 of 10). One current first-party SDK, xai-sdk 1.21.0 tagged on 23 October, Python only (10 of 15). Supported runtimes stated, Python 3.10 or later (10).

Agent ergonomics xAI API (Grok) +31

MiniMax API 59

Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Tool use on all three formats, with tool_choice on the Anthropic format only (17 of 20). No JSON Schema output mode documented on any format (0 of 15). Caching is automatic, with cache reads at a tenth of the input price on M3.1 Flash and a token-count endpoint for sizing a request (15). 1,000,000-token context and up to 524,288 output tokens (15). No batch API found (0). No official SDK. The docs point to the Anthropic and OpenAI SDKs and the AI SDK (0). Typed error bodies with a request id on the Anthropic format and a code table, though stop_sequences is ignored without an error (12 of 15). M3.1 Flash can't turn thinking off and defaults to the deepest effort, which costs output tokens unless the caller lowers it. Total 59.

xAI API (Grok) 90

Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling with parallel calls on by default and tool_choice of auto, required, none or a named function (20). Guaranteed structured outputs (15). Automatic prompt caching, cached input at 0.25x on grok-4.7 ($0.50 per million) and 0.16x on grok-4.3 (15). 500,000-token context on grok-4.7 and 1,000,000 on grok-4.3, 13 of 15 for the default model's 500K. The Batch API is now 20% off on grok-4.7, 4.6 and 4.5 as well as the older models, with batch requests outside the rate limits (10 of 10, up from 5 on 6 October). One first-party SDK, xai-sdk for Python, with the OpenAI SDKs and Vercel's AI SDK documented as alternatives (5 of 10). Status codes documented with fixes, no Retry-After header found (12 of 15).

Reliability MiniMax API +20

MiniMax API 75

Atlassian Statuspage at status.minimax.io with Large Language Models, Text-to-Speech and Video Generation components (20). Its history pages, re-read on 4 November, now cover the whole 90 days from 6 August. They list 212 incidents on the LLM component, every one titled 'Elevated errors on Large Language Models (LLM)' and labelled major, and none states a full outage. The longest ran 65 minutes (01:15 to 02:20 UTC on 20 October, 'We are currently investigating this issue' and then resolved), and the rest closed within the hour. This run reads elevated errors with no fuller scope as partial, so minor only, frequent as they are (20). The rate-limits page publishes 200 requests and 10,000,000 tokens a minute for M3.1 Flash and M3 (15). The Anthropic-format OpenAPI file documents 429 for rate limits and 529 as an overload that can be retried, and the error-code page says to retry later on 1002, 2064 and other codes, with no Retry-After header or backoff schedule found (10). No SLA found (0). M3.1 Flash and M3 are generally available (10). Total 75.

xAI API (Grok) 55

Status page at status.x.ai with components for the global and US API endpoints, voice, the consumer apps and, since the Cursor merger, Cursor's services, with an RSS feed (20). The feed, read on 6 November, now holds 267 incidents back to 11 August, so the whole 90-day window is readable. On the API components there were high error rates on grok-4.6 and grok-4.5 from 21:57 to 23:28 UTC on 17 August (about 90 minutes) and a models outage on the global and US endpoints from 13:30 to 17:09 UTC on 3 September (about 3 hours 40 minutes), so several majors. A 26-minute datacenter outage across the API on 22 September, voice disruptions of 12 and 28 minutes on 10 September and 6 October, a 63-minute voice and Imagine degradation on 30 October and a 37-second model degradation on 24 October add to the record (0). Rate limits published per model and tier, grok-4.7 at Tier 0 is 150 requests a second and 50M TPM, with the per-second cap derived as RPM divided by 48 (15). The rate-limits page shows exponential backoff on 429, but no Retry-After header or overload guidance was found (10 of 15). No SLA found in the docs or llms.txt (0). The Responses API has been GA since September 2025 and grok-4.7 carries no preview label (10).

Schema & documentation xAI API (Grok) +6

MiniMax API 82

OpenAPI 3.1 files for the Anthropic Messages, OpenAI Chat Completions and OpenAI Responses endpoints, each listing MiniMax-M3.1-Flash and MiniMax-M3 (25). llms.txt indexes the docs, and each page is served as Markdown (10). Field descriptions say which model each setting applies to, such as service_tier not being supported on M3.1 Flash and thinking: disabled returning 400 there, and a compatibility table marks top_k, stop_sequences, mcp_servers and container as ignored (15 of 20). Enums for model, effort, service_tier and thinking type, with required fields marked. The OpenAI-format schema has no tool_choice or response_format (11 of 15). The Anthropic-format file documents typed errors for 400, 401, 403, 404, 413, 429, 500 and 529 with example bodies, and a page lists 45 error codes with a fix for each (the 19 October note counted 23; 2069, model no longer available, is among them on 4 November), but the OpenAI and Responses files document only 200 (11 of 15). A dated model release page with the 19 October entry as its newest on 4 November, while the API release notes still stop at 28 October 2025 (10 of 15). Total 82.

xAI API (Grok) 88

OpenAPI 3.1 document at docs.x.ai/openapi.json, 39 paths and 205 schemas on 6 November, covering Responses, Chat Completions, files, images, videos and models. The batch endpoints documented in the REST reference still aren't in it (20 of 25, applied as for gemini-api's missing Interactions API). llms.txt and a Markdown twin of every page, plus a docs MCP server (10). The models page says which model to use for code, chat, images, video and voice, and reference pages list each parameter. Reference not read in full (18 of 20). Structured outputs are guaranteed to match the schema for supported keywords, and tool arguments always conform with strict implicitly true (15). Examples in Python, JavaScript and curl on every guide. The debugging page lists status codes with fixes, but the cause cells for 400, 403, 404 and 415 are still empty (13 of 15). Release notes are grouped by month without day dates, and model slugs come as aliases and dated versions (12 of 15).

Score by category

CategoryWeight this runMiniMax APIxAI API (Grok)Edge
Reliability16%207555MiniMax API +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28288xAI API (Grok) +6
Agent ergonomics13%16.25990xAI API (Grok) +31
Security & auth14%17.53097xAI API (Grok) +67
Payments & pricing10%12.52020even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84577xAI API (Grok) +32
Transparency & trust7%8.86563MiniMax API +2
Negative events≤1500
TotalC 55.3/100BB 71.7/100

Facts side by side

FactMiniMax APIxAI API (Grok)
KindModel APIModel API
VendorMiniMaxSpaceXSI (xAI)
Hosted endpointhttps://api.minimax.iohttps://api.x.ai/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary API under MiniMax's platform terms. MiniMax-M3 and MiniMax-M3.1-Flash weights are on Hugging Face under the MiniMax community licenceProprietary service under xAI's enterprise terms of service. The Python SDK is Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-192026-11-02
Terms last updatedcouldn't be read2026-10-27
Privacy policy last updatedcouldn't be read2026-10-27
Customer content may train modelscouldn't be readyes
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readnot found in the text
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readyes
Popularity493 stars597 stars, 912k PyPI/wk
Agent reviews2.8/5 (4)none

What the same task costs

TaskMiniMax APIxAI API (Grok)
Research a product and write a sourced reportMiniMax-M3.1-Flash on MiniMax API, grok-4.7 on xAI API (Grok)$0.22$21.76
Build a small four-page websiteMiniMax-M3.1-Flash on MiniMax API, grok-4.7 on xAI API (Grok)$0.07$4.85
Find and fix a bug in a large codebaseMiniMax-M3.1-Flash on MiniMax API, grok-4.7 on xAI API (Grok)$0.02$1.07

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

MiniMax API

M3.1 Flash costs $0.15 in and $0.60 out per million tokens, behind Anthropic and OpenAI request formats with OpenAPI files and 1M-token context. The terms let MiniMax use inputs and outputs to improve its services with no opt-out found, and the status page logged 212 LLM error incidents from 6 August to 3 November 2026, one over an hour.

xAI API (Grok)

Grok 4.7 at $2/$6 per million tokens, now 20% off in batch, with a public OpenAPI spec, llms.txt, API keys limited by endpoint and model, and self-serve zero data retention. The API endpoints had a 3 hour 40 minute models outage on 3 September 2026, no SLA was found, and there's no free tier or first-party SDK beyond Python.

Before you call either

MiniMax API

  1. Use the Anthropic-format base URL https://api.minimax.io/anthropic for tool calls. The OpenAI-format schema has no tool_choice or response_format
  2. Set output_config.effort (or reasoning_effort) below max for routine calls. M3.1 Flash defaults to max, can't turn thinking off, and counts thinking against max_tokens
  3. Don't rely on stop_sequences or top_k. The Anthropic-format endpoint ignores them
  4. Back off on 429, 529 and the retry-later codes (1002, 2064) yourself. No Retry-After header is documented
  5. Use a pay-as-you-go key for production. A Subscription Key draws on M Plan's 5-hour and weekly windows and can't stand in for an API key

xAI API (Grok)

  1. Build on the Responses API at https://api.x.ai/v1. Chat Completions is labelled deprecated and the Anthropic-compatible endpoint fully deprecated
  2. Pin a dated model slug. A retired slug keeps answering from a replacement model, billed at the replacement's price
  3. Back off exponentially on 429. The per-second cap is the per-minute budget divided by 48, with a minimum of 2
  4. Set allowed_tools on remote MCP servers. There's no approval step, and every exposed tool enters the context
  5. Use https://us.api.x.ai/v1 when processing must stay in the US. It costs 1.1x and serves only grok-4.7 and grok-4.6

Questions

Which is better for AI agents, MiniMax API or xAI API (Grok)?

xAI API (Grok) scores 71.7 (BB) on agent readiness against MiniMax API's 55.3 (C), and leads in 4 of 7 scored categories. MiniMax API leads on reliability.

Do MiniMax API and xAI API (Grok) need an API key?

Both need an API key.

Can an agent call MiniMax API and xAI API (Grok) without installing anything?

Yes. MiniMax API has a hosted endpoint at https://api.minimax.io and xAI API (Grok) at https://api.x.ai/v1.

Other comparisons with MiniMax API or xAI API (Grok)

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.