# Baidu Qianfan vs xAI API (Grok)

> xAI scores 72.9 (BB) to Baidu Qianfan's 48.7 (D) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/qianfan-vs-xai-api
- Markdown: https://www.anchorterminal.com/compare/qianfan-vs-xai-api.md (~7,400 tokens)
- Slim: https://www.anchorterminal.com/compare/qianfan-vs-xai-api.min.md (~1,180 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/qianfan-vs-xai-api.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

xAI API (Grok) scores 72.9 (BB) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories. Both do llm inference.

- Baidu Qianfan: grade D, 48.7/100, rank #1351 of 1738. Markdown https://www.anchorterminal.com/tools/qianfan.md · JSON https://www.anchorterminal.com/api/v1/tools/qianfan.json
- xAI API (Grok): grade BB, 72.9/100, rank #229 of 1738. Markdown https://www.anchorterminal.com/tools/xai-api.md · JSON https://www.anchorterminal.com/api/v1/tools/xai-api.json
- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md
- All 1495 models comparisons: https://www.anchorterminal.com/compare/inference/index.md

## Which one, for what

### Baidu Qianfan (D)

Good for: Calling ERNIE and other China-hosted models through an OpenAI-style API at a low per-token price, for teams that can read Chinese docs and open a Baidu AI Cloud account.

Watch for: The docs read were in Chinese only, and no OpenAPI file or llms.txt was found

### xAI API (Grok) (BB)

Good 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:
- Reliability, 55 against 38
- Schema & documentation, 88 against 47
- Agent ergonomics, 90 against 60
- Security & auth, 97 against 55
- Maintenance & community, 77 against 63
- Transparency & trust, 63 against 55

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

### Security & auth: xAI API (Grok) +42

- Baidu Qianfan (55): API keys are bearer credentials that can be limited to chosen preset or custom endpoints and AppIDs, deleted, and viewed by role, but no rotation tooling was found and the SDK README calls a key permanently valid (25 of 30). Sub-account roles and per-endpoint key permissions give least privilege, and no confirmation step applies to an inference API (14 of 20). Chat output can carry untrusted content and no injection guidance was read. A content safety policy and intervention strategy sections exist in the docs navigation (5 of 15). Cloud audit integration, call detail queries and BCM monitoring are documented (11 of 15). No security.txt, bug bounty or certification was found in the pages read (0 of 20). Total 55.
- 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.

### Schema & documentation: xAI API (Grok) +41

- Baidu Qianfan (47): No OpenAPI file was found (0). cloud.baidu.com/llms.txt returned 404 (0). The chat completions reference states the endpoint, authentication, parameter support per model and links the model list, and the docs are Chinese only (13 of 20). Parameters are typed with enums, ranges and required marks, including json_schema output, tool_choice and thinking controls (12 of 15). Curl and Python examples cover plain chat and function calling, and an error object with code, message and type is described while the error code pages were not read (10 of 15). A dated model update log, retirement records with replacements and the v1 to v2 migration notice make up the versioning, but the platform log's newest entry is from August 2025 (12 of 15). Total 47.
- 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).

### Agent ergonomics: xAI API (Grok) +30

- Baidu Qianfan (60): Output can be sized with max_tokens, max_completion_tokens, stop, thinking_budget and stream usage options, and prompt caching is priced (18 of 25). There are no list endpoints to page. Sizing and batch controls are the filters here, with an OpenAI-style Files and Batch interface listed in the docs navigation but not read (12 of 20). Errors return code, message and type with a separate error code page that was not read (12 of 20). No idempotency key was found, and seed gives best-effort determinism on some models (5 of 20). Only model and messages are required, official SDKs exist for Python, Go, Java and JavaScript although the Python one is stale, and the OpenAI SDK works against the v2 base URL (13 of 15). Total 60.
- 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: xAI API (Grok) +17

- Baidu Qianfan (38): No status page was found on the pages read, and the health board link in the docs navigation was not followed (0). No readable incident history, so 5. Default requests and tokens a minute are published per model, and responses carry X-Ratelimit headers (15). Those headers show remaining quota refreshing in 0 to 60 seconds, but no Retry-After or backoff guidance was read, the error code pages were not read and no idempotency guidance was found (8 of 15). The service level agreement is linked in the docs navigation and its page did not load for our reader (0). The v2 API is generally available, although ERNIE-5.5-Flash-Preview is a preview model (10). Total 38.
- 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).

### Maintenance & community: xAI API (Grok) +14

- Baidu Qianfan (63): The model list was updated on 2026-11-25, the price page on 2026-11-11 and the newest model entry is from 2026-10-18 (30). There are at least three dated model entries or retirement registrations in the last 90 days, among them 10 September, 24 September, 18 October, 22 October and 4 November 2026 (20). Support runs through a ticket system and a community forum, and answer times were not tested (8 of 15). The official SDK was last released in February 2025 and the OpenAI SDK route is the current one, so current official SDKs earn 5 of 15. The SDK repository has CI workflows, last changed in February 2025 (5 of 10). Departed from the checklist by 5 for churn, because 22 ERNIE models were registered on 24 September for retirement on 29 October. Total 63.
- 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).

### Transparency & trust: xAI API (Grok) +8

- Baidu Qianfan (55): A closed service under Baidu AI Cloud's user agreement, whose English data section is dated 2020 and is clear on ownership of user data, and no Qianfan-specific terms were read (18 of 30). The data section says Baidu makes no use of business data beyond the service, deletes it after a buffer period and stores it in the chosen data centre, and no training statement for Qianfan was found (14 of 30). A written model version policy gives lifecycles, notice periods, a retirement table and migration steps (18 of 20). Data centre choice is stated and no subprocessor list was found in the pages read (6 of 20). Total 56.
- xAI API (Grok) (63): Closed service under xAI's enterprise terms, with the Python SDK under Apache-2.0 (15). The docs agree with each other on no training, 30-day abuse retention, 30-day storage of stateful responses and the ZDR route, but the privacy policy, enterprise terms and DPA at x.ai/legal answered a Cloudflare block page on 6 October and again on 6 November, so they couldn't be compared (15 of 30). Dated migration guides and redirect tables for each retirement, but no written deprecation policy, and Chat Completions, Anthropic compatibility and grok-voice-2.0 are labelled deprecated with no date (12 of 20). The US regional endpoint states what stays in the US, the global endpoint guarantees no region, and no subprocessor list was readable (10 of 20).

## Score by category

| Category | Weight | Baidu Qianfan | xAI API (Grok) | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 38 | 55 | xAI API (Grok) +17 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 47 | 88 | xAI API (Grok) +41 |
| Agent ergonomics | 13% | 60 | 90 | xAI API (Grok) +30 |
| Security & auth | 14% | 55 | 97 | xAI API (Grok) +42 |
| Payments & pricing | 10% | 30 | 30 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 63 | 77 | xAI API (Grok) +14 |
| Transparency & trust | 7% | 55 | 63 | xAI API (Grok) +8 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **48.7 · D** | **72.9 · BB** | |

## Facts side by side

| Fact | Baidu Qianfan | xAI API (Grok) |
| --- | --- | --- |
| Kind | Model API | Model API |
| Vendor | Baidu | SpaceXSI (xAI) |
| Hosted endpoint | `https://qianfan.baidubce.com/v2` | `https://api.x.ai/v1` |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0. | Proprietary service under xAI's enterprise terms of service. The Python SDK is Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-18 | 2026-11-02 |
| Terms last updated | not read yet | 2026-10-27 |
| Privacy policy last updated | no document linked | 2026-10-27 |
| Customer content may train models | not read yet | yes |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | yes |
| Popularity | none | 597 stars, 912k PyPI/wk |

## How the scores have moved

### Baidu Qianfan

No score change since it was listed.

### xAI API (Grok)

- +1.2 on 13 November 2026: checklist

## Verdicts

**Baidu Qianfan.** Qianfan's OpenAI-compatible v2 API serves ERNIE and third-party models with per-model rate limits, per-key endpoint permissions and public per-token prices. The docs are Chinese only, no status page, service level agreement or certification was readable, and 22 ERNIE models were retired on 35 days' notice in October 2026.

**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

### Baidu Qianfan

1. Use the OpenAI SDK with base_url https://qianfan.baidubce.com/v2 and the model value from the model list, such as ernie-5.1.
2. If you get 429, wait before retrying. The X-Ratelimit-Remaining headers show whether requests, input tokens or output tokens ran out.
3. Pin a dated model version where one exists. Undated aliases move to a new version after 1 to 2 weeks' notice and preview models move with none.
4. Set max_tokens or max_completion_tokens yourself. Both count thinking tokens, and thinking_budget caps the chain of thought.
5. Check the retirement page before pinning a model. A retired model fails on both the v1 and v2 interfaces.

### 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, Baidu Qianfan or xAI API (Grok)?

xAI API (Grok) scores 72.9 (BB) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories.

### Do Baidu Qianfan and xAI API (Grok) need an API key?

Both need an API key.

### Can an agent call Baidu Qianfan and xAI API (Grok) without installing anything?

Yes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and xAI API (Grok) at https://api.x.ai/v1.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/qianfan-vs-xai-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/qianfan-vs-xai-api.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "qianfan", "b": "xai-api"}`. From a terminal: `anchor compare qianfan xai-api`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/qianfan.json and https://www.anchorterminal.com/api/v1/tools/xai-api.json

## Other comparisons with Baidu Qianfan or xAI API (Grok)

- [AI21 Jamba API vs Baidu Qianfan](https://www.anchorterminal.com/compare/ai21-vs-qianfan.md)
- [AI21 Jamba API vs xAI API (Grok)](https://www.anchorterminal.com/compare/ai21-vs-xai-api.md)
- [Amazon Bedrock vs Baidu Qianfan](https://www.anchorterminal.com/compare/amazon-bedrock-vs-qianfan.md)
- [Amazon Bedrock vs xAI API (Grok)](https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api.md)
- [Claude API vs Baidu Qianfan](https://www.anchorterminal.com/compare/anthropic-api-vs-qianfan.md)
- [Claude API vs xAI API (Grok)](https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api.md)
- [Antseed vs Baidu Qianfan](https://www.anchorterminal.com/compare/antseed-vs-qianfan.md)
- [Antseed vs xAI API (Grok)](https://www.anchorterminal.com/compare/antseed-vs-xai-api.md)
- [Azure OpenAI in Foundry Models vs Baidu Qianfan](https://www.anchorterminal.com/compare/azure-openai-vs-qianfan.md)
- [Azure OpenAI in Foundry Models vs xAI API (Grok)](https://www.anchorterminal.com/compare/azure-openai-vs-xai-api.md)
- [BlockRun.AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/blockrun-ai-vs-qianfan.md)
- [BlockRun.AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api.md)
- [Cerebras Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/cerebras-inference-vs-qianfan.md)
- [Cerebras Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.md)
- [Claude Fable 5.2 vs Baidu Qianfan](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-qianfan.md)
- [Claude Fable 5.2 vs xAI API (Grok)](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-xai-api.md)
- [Claude Mythos 5.2 vs Baidu Qianfan](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-qianfan.md)
- [Claude Mythos 5.2 vs xAI API (Grok)](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-xai-api.md)
- [Cloudflare AI Gateway vs Baidu Qianfan](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-qianfan.md)
- [Cloudflare AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api.md)
- [Cloudflare Workers AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan.md)
- [Cloudflare Workers AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-xai-api.md)
- [Cohere Chat API (Command models) vs Baidu Qianfan](https://www.anchorterminal.com/compare/cohere-chat-vs-qianfan.md)
- [Cohere Chat API (Command models) vs xAI API (Grok)](https://www.anchorterminal.com/compare/cohere-chat-vs-xai-api.md)
- [DeepInfra vs Baidu Qianfan](https://www.anchorterminal.com/compare/deepinfra-vs-qianfan.md)
- [DeepInfra vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepinfra-vs-xai-api.md)
- [DeepSeek API vs Baidu Qianfan](https://www.anchorterminal.com/compare/deepseek-api-vs-qianfan.md)
- [DeepSeek API vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api.md)
- [DigitalOcean Serverless Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-qianfan.md)
- [DigitalOcean Serverless Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.md)
- [Eden AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/eden-ai-vs-qianfan.md)
- [Eden AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/eden-ai-vs-xai-api.md)
- [Glimpse vs Baidu Qianfan](https://www.anchorterminal.com/compare/elorian-glimpse-vs-qianfan.md)
- [Glimpse vs xAI API (Grok)](https://www.anchorterminal.com/compare/elorian-glimpse-vs-xai-api.md)
- [Fireworks AI Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/fireworks-inference-vs-qianfan.md)
- [Fireworks AI Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/fireworks-inference-vs-xai-api.md)
- [Gemini 4 Argon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-argon-vs-qianfan.md)
- [Gemini 4 Argon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-argon-vs-xai-api.md)
- [Gemini 4 Carbon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-carbon-vs-qianfan.md)
- [Gemini 4 Carbon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-carbon-vs-xai-api.md)
- [Gemini 4 Hydrogen vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-qianfan.md)
- [Gemini 4 Hydrogen vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.md)
- [Gemini 4 Neon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-neon-vs-qianfan.md)
- [Gemini 4 Neon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-neon-vs-xai-api.md)
- [Gemini Developer API vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-api-vs-qianfan.md)
- [Gemini Developer API vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-api-vs-xai-api.md)
- [GPT-6.2 Astra vs Baidu Qianfan](https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-qianfan.md)
- [GPT-6.2 Astra vs xAI API (Grok)](https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-xai-api.md)
- [GroqCloud vs Baidu Qianfan](https://www.anchorterminal.com/compare/groq-vs-qianfan.md)
- [GroqCloud vs xAI API (Grok)](https://www.anchorterminal.com/compare/groq-vs-xai-api.md)
- [Hugging Face Inference Providers vs Baidu Qianfan](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-qianfan.md)
- [Hugging Face Inference Providers vs xAI API (Grok)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.md)
- [Tencent Hy4 vs Baidu Qianfan](https://www.anchorterminal.com/compare/hy4-vs-qianfan.md)
- [Tencent Hy4 vs xAI API (Grok)](https://www.anchorterminal.com/compare/hy4-vs-xai-api.md)
- [Jais 3 vs Baidu Qianfan](https://www.anchorterminal.com/compare/jais-3-vs-qianfan.md)
- [Jais 3 vs xAI API (Grok)](https://www.anchorterminal.com/compare/jais-3-vs-xai-api.md)
- [Meta Model API vs Baidu Qianfan](https://www.anchorterminal.com/compare/meta-model-api-vs-qianfan.md)
- [Meta Model API vs xAI API (Grok)](https://www.anchorterminal.com/compare/meta-model-api-vs-xai-api.md)
- [MiniMax API vs Baidu Qianfan](https://www.anchorterminal.com/compare/minimax-api-vs-qianfan.md)
- [MiniMax API vs xAI API (Grok)](https://www.anchorterminal.com/compare/minimax-api-vs-xai-api.md)
- [Mistral AI API vs Baidu Qianfan](https://www.anchorterminal.com/compare/mistral-api-vs-qianfan.md)
- [Mistral AI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/mistral-api-vs-xai-api.md)
- [Muse Ember vs Baidu Qianfan](https://www.anchorterminal.com/compare/muse-ember-vs-qianfan.md)
- [Muse Ember vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-ember-vs-xai-api.md)
- [Muse Spark Open vs Baidu Qianfan](https://www.anchorterminal.com/compare/muse-spark-open-vs-qianfan.md)
- [Muse Spark Open vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-spark-open-vs-xai-api.md)
- [Nebius Token Factory vs Baidu Qianfan](https://www.anchorterminal.com/compare/nebius-token-factory-vs-qianfan.md)
- [Nebius Token Factory vs xAI API (Grok)](https://www.anchorterminal.com/compare/nebius-token-factory-vs-xai-api.md)
- [Nemotron 3.5 Super VL vs Baidu Qianfan](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-qianfan.md)
- [Nemotron 3.5 Super VL vs xAI API (Grok)](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-xai-api.md)
- [Novita AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/novita-ai-vs-qianfan.md)
- [Novita AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/novita-ai-vs-xai-api.md)
- [OpenAI API vs Baidu Qianfan](https://www.anchorterminal.com/compare/openai-api-vs-qianfan.md)
- [OpenAI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/openai-api-vs-xai-api.md)
- [OpenRouter vs Baidu Qianfan](https://www.anchorterminal.com/compare/openrouter-vs-qianfan.md)
- [OpenRouter vs xAI API (Grok)](https://www.anchorterminal.com/compare/openrouter-vs-xai-api.md)
- [Prism Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/prism-inference-vs-qianfan.md)
- [Prism Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/prism-inference-vs-xai-api.md)
- [Baidu Qianfan vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/qianfan-vs-ramp-router.md)
- [Baidu Qianfan vs Beam 1.0](https://www.anchorterminal.com/compare/qianfan-vs-reflection-beam.md)
- [Baidu Qianfan vs Reka API](https://www.anchorterminal.com/compare/qianfan-vs-reka.md)
- [Baidu Qianfan vs RouterPlus](https://www.anchorterminal.com/compare/qianfan-vs-routerplus.md)
- [Baidu Qianfan vs SambaCloud](https://www.anchorterminal.com/compare/qianfan-vs-sambanova.md)
- [Baidu Qianfan vs SiliconFlow](https://www.anchorterminal.com/compare/qianfan-vs-siliconflow.md)
- [Baidu Qianfan vs Simplismart](https://www.anchorterminal.com/compare/qianfan-vs-simplismart.md)
- [Baidu Qianfan vs StepFun API](https://www.anchorterminal.com/compare/qianfan-vs-stepfun-api.md)
- [Baidu Qianfan vs SWE-2 Flash](https://www.anchorterminal.com/compare/qianfan-vs-swe-2-flash.md)
- [Baidu Qianfan vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/qianfan-vs-tencent-tokenhub.md)
- [Baidu Qianfan vs Together AI Inference](https://www.anchorterminal.com/compare/qianfan-vs-together-inference.md)
- [Baidu Qianfan vs Vercel AI Gateway](https://www.anchorterminal.com/compare/qianfan-vs-vercel-ai-gateway.md)
- [Baidu Qianfan vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/qianfan-vs-vertex-ai.md)
- [Baidu Qianfan vs Writer Palmyra API](https://www.anchorterminal.com/compare/qianfan-vs-writer-palmyra.md)
- [Router.com (Ramp Router) vs xAI API (Grok)](https://www.anchorterminal.com/compare/ramp-router-vs-xai-api.md)
- [Beam 1.0 vs xAI API (Grok)](https://www.anchorterminal.com/compare/reflection-beam-vs-xai-api.md)
- [Reka API vs xAI API (Grok)](https://www.anchorterminal.com/compare/reka-vs-xai-api.md)
- [RouterPlus vs xAI API (Grok)](https://www.anchorterminal.com/compare/routerplus-vs-xai-api.md)
- [SambaCloud vs xAI API (Grok)](https://www.anchorterminal.com/compare/sambanova-vs-xai-api.md)
- [SiliconFlow vs xAI API (Grok)](https://www.anchorterminal.com/compare/siliconflow-vs-xai-api.md)
- [Simplismart vs xAI API (Grok)](https://www.anchorterminal.com/compare/simplismart-vs-xai-api.md)
- [StepFun API vs xAI API (Grok)](https://www.anchorterminal.com/compare/stepfun-api-vs-xai-api.md)
- [SWE-2 Flash vs xAI API (Grok)](https://www.anchorterminal.com/compare/swe-2-flash-vs-xai-api.md)
- [Tencent Cloud TokenHub vs xAI API (Grok)](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api.md)
- [Together AI Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/together-inference-vs-xai-api.md)
- [Vercel AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api.md)
- [Vertex AI (Gemini Enterprise Agent Platform) vs xAI API (Grok)](https://www.anchorterminal.com/compare/vertex-ai-vs-xai-api.md)
- [Writer Palmyra API vs xAI API (Grok)](https://www.anchorterminal.com/compare/writer-palmyra-vs-xai-api.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
