{
  "data": {
    "a": {
      "slug": "qianfan",
      "name": "Baidu Qianfan",
      "vendor": "Baidu",
      "vendorUrl": "https://cloud.baidu.com/product/qianfan.html",
      "company": "baidu.com",
      "kind": "model",
      "category": "inference",
      "summary": "Qianfan is Baidu AI Cloud's model platform. Its OpenAI-compatible v2 API serves Baidu's ERNIE models and third-party models such as DeepSeek and GLM, plus embeddings and reranking, billed per token in yuan.",
      "url": "https://www.anchorterminal.com/tools/qianfan",
      "markdownUrl": "https://www.anchorterminal.com/tools/qianfan.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/qianfan.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/qianfan.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/qianfan.json",
      "dns": "qianfan.grade.anchorterminal.com",
      "repo": "https://github.com/baidubce/bce-qianfan-sdk",
      "license": "Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://qianfan.baidubce.com/v2",
      "packages": [
        {
          "registry": "pypi",
          "name": "qianfan"
        }
      ],
      "auth": "api-key",
      "authNotes": "An API Key made in the Qianfan console (format bce-v3/ALTAK-...) goes in an Authorization Bearer header. A key can carry all permissions or be limited to chosen preset and custom endpoints, and an AppID limit applies as well. Access needs a Baidu AI Cloud account made in a browser. The docs link a real-name verification guide that was not read, and the docs are in Chinese only.",
      "pricing": "usage",
      "pricingNotes": "Per-token prices in yuan are public without a login (checked 2026-11-29). ERNIE 5.1 costs 0.004 yuan per 1,000 input tokens and 0.018 per 1,000 output tokens up to 32k of input. ERNIE-5.5-Flash-Preview has a promotional 0.001 input and 0.004 output per 1,000 tokens in peak hours (8:00 to 22:00), half that off-peak, with cache hits at a tenth of input. Third-party models such as DeepSeek-V4.1-Flash and GLM-5.3 are priced the same way. No free API allowance was found on the pages read.",
      "priceSummary": "Pay per use",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the pricing page, the billing FAQ links, the chat completions reference or the model list, checked 2026-11-29. Calls draw on a postpaid account balance.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-29"
      },
      "docsUrl": "https://cloud.baidu.com/doc/qianfan/index.html",
      "capabilities": [
        "inference.llm",
        "embed.text",
        "rerank"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "usage-priced",
        "closed-source",
        "openai-compatible",
        "multimodal",
        "china",
        "chinese-docs",
        "embeddings",
        "reranking"
      ],
      "lastRelease": "2026-10-18",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 48.7,
        "grade": "D",
        "agentReady": false,
        "rank": 1351,
        "ranked": true,
        "rankOf": 1738,
        "categoryRank": 50,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 60,
          "maintenance": 63,
          "payments": 30,
          "reliability": 38,
          "schema": 47,
          "security": 55,
          "transparency": 55
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-29"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "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.",
        "strengths": [
          "OpenAI-compatible v2 endpoints for chat, completions, embeddings and rerank, usable from the OpenAI SDK with a changed base_url",
          "Default rate limits per model and per-token prices are public without a login, and responses carry X-Ratelimit headers",
          "API keys can be limited to chosen endpoints and AppIDs, and cloud audit integration is documented",
          "The chat reference lists tools, json_schema output, thinking budget and reasoning effort, and names the models each parameter does not support",
          "A retirement page lists the registration date, retirement date and replacement for every retired preset model"
        ],
        "weaknesses": [
          "The docs read were in Chinese only, and no OpenAPI file or llms.txt was found",
          "22 ERNIE models were retired on 29 October 2026 after 35 days' notice, and preview models move with no notice",
          "No status page, service level agreement, security.txt or certification was readable, and no free API allowance was found",
          "The official Python SDK was last released in February 2025, and the v1 shutdown date on the migration page is already past",
          "Access needs a browser sign-up with an account on Baidu AI Cloud, and prices are in yuan"
        ],
        "agentNotes": [
          "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.",
          "If you get 429, wait before retrying. The X-Ratelimit-Remaining headers show whether requests, input tokens or output tokens ran out.",
          "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.",
          "Set max_tokens or max_completion_tokens yourself. Both count thinking tokens, and thinking_budget caps the chain of thought.",
          "Check the retirement page before pinning a model. A retired model fails on both the v1 and v2 interfaces."
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 48.7
          }
        ],
        "editorialScores": {
          "ergonomics": 60,
          "maintenance": 63,
          "payments": 30,
          "reliability": 38,
          "schema": 47,
          "security": 55,
          "transparency": 56
        },
        "provenanceScore": 53,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-29",
            "maintenance": "2026-11-29",
            "payments": "2026-11-29",
            "reliability": "2026-11-29",
            "schema": "2026-11-29",
            "security": "2026-11-29",
            "transparency": "2026-11-29"
          },
          "last": "2026-11-29",
          "oldest": "2026-11-29",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl https://qianfan.baidubce.com/v2/chat/completions \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer $QIANFAN_API_KEY\" \\\n  -d '{\"model\":\"ernie-5.1\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/qianfan"
      },
      "sameCompany": [
        "unlimited-ocr-2"
      ],
      "area": "models",
      "provenance": {
        "legalEntity": "Baidu, Inc.",
        "domain": "baidu.com",
        "domainRegistered": "1999-10-11",
        "endpointOnVendorDomain": false,
        "terms": "https://cloud.baidu.com/doc/Agreements/s/kkbkg6bj8-en",
        "privacy": "",
        "statusPage": "",
        "changelog": "https://cloud.baidu.com/doc/qianfan/s/Kmh4stnjp",
        "securityTxt": "unknown",
        "checked": "2026-11-29",
        "notes": [
          "The legal entity and domain registration date are carried over from the Baidu Unlimited-OCR-2 listing (domain registration from Verisign RDAP read on 2026-10-27). The Qianfan pages read name Baidu AI Cloud and no contracting company.",
          "The terms link is the English-language Baidu AI Cloud User Service Agreement section on user business data, last updated 2020-11-02. It says Baidu AI Cloud makes no unauthorised use of user business data beyond the service, that the user owns it, and that data is deleted after a buffer period once service ends. A Qianfan-specific data or training statement was not found in the pages read.",
          "The API endpoint qianfan.baidubce.com is on Baidu's baidubce.com domain, not baidu.com. It was not requested.",
          "cloud.baidu.com/robots.txt closes only three /qianfandev paths for all agents, and every page read is outside them. The host's 15-read limit was reached, so the service level agreement page, the error code pages and the privacy page were not read.",
          "ir.baidu.com and home.baidu.com answered robots.txt with 403, so Baidu's investor and company pages were not read. security.txt was not requested."
        ],
        "score": 53
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/qianfan.json",
      "live": {
        "slug": "qianfan",
        "probe": {
          "target": "https://qianfan.baidubce.com/v2",
          "method": "get",
          "lastAt": "2026-11-30T01:00:19.903416012Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 1646,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 1657,
          "p95ms24h": 1949,
          "samples24h": 21,
          "samples30d": 21,
          "days": [
            {
              "date": "2026-11-29",
              "probes": 10,
              "ok": 10
            },
            {
              "date": "2026-11-30",
              "probes": 11,
              "ok": 11
            }
          ],
          "since": "2026-11-29T22:59:24.442856711Z"
        },
        "updatedAt": "2026-11-30T01:00:19.903416012Z"
      },
      "streak": {
        "days": 1,
        "from": "2026-11-29",
        "sinceWatching": true,
        "best": 1
      }
    },
    "answer": "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.",
    "b": {
      "slug": "xai-api",
      "name": "xAI API (Grok)",
      "vendor": "SpaceXSI (xAI)",
      "vendorUrl": "https://x.ai",
      "company": "x.ai",
      "kind": "model",
      "category": "inference",
      "summary": "xAI's API for its Grok models (the docs now name the company SpaceXSI), with text, image, video and voice endpoints, server-side search and remote MCP tools, through an OpenAI-compatible REST API or gRPC.",
      "url": "https://www.anchorterminal.com/tools/xai-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/xai-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/xai-api.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/xai-api.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/xai-api.json",
      "dns": "xai-api.grade.anchorterminal.com",
      "repo": "https://github.com/xai-org/xai-sdk-python",
      "license": "Proprietary service under xAI's enterprise terms of service. The Python SDK is Apache-2.0",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.x.ai/v1",
      "packages": [
        {
          "registry": "pypi",
          "name": "xai-sdk"
        }
      ],
      "auth": "api-key",
      "authNotes": "`Authorization: Bearer` with a team API key from console.x.ai. Keys can be limited to endpoints and models by ACL, capped by QPM and TPM, given an expiry, and rotated or disabled through the Management API. mTLS is documented as an option, and GitHub secret scanning disables leaked keys.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credits, then the default payment method at month end. Grok 4.7 costs $2 input, $0.50 cached input and $6 output per 1M tokens below 200K prompt tokens, and $4/$1/$12 above, applied to the whole request. Batch is 20% off on grok-4.7, 4.6, 4.5, 4.3 and the grok-4.20 models. Priority processing 2x, the US regional endpoint 1.1x. Web search, code execution and attachment search $5 per 1,000 calls, collections search $2.50, X search $5 per 1,000 posts. $0.05 fee for a request blocked before generation for a usage-policy violation (https://docs.x.ai/developers/pricing, checked 2026-11-06).",
      "priceSummary": "from $1.25 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs, llms.txt or the OpenAPI spec. Access needs a console account loaded with prepaid credits (checked 2026-11-06).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 597,
        "npmWeekly": null,
        "pypiWeekly": 912149,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://docs.x.ai",
      "rateLimitsUrl": "https://docs.x.ai/developers/rate-limits",
      "llmsTxt": "https://docs.x.ai/llms.txt",
      "openapi": "https://docs.x.ai/openapi.json",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "prepaid",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "closed-source",
        "python",
        "batch",
        "status-page",
        "bug-bounty",
        "soc2"
      ],
      "lastRelease": "2026-11-02",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 72.9,
        "grade": "BB",
        "agentReady": true,
        "rank": 229,
        "ranked": true,
        "rankOf": 1738,
        "categoryRank": 12,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 90,
          "maintenance": 77,
          "payments": 30,
          "reliability": 55,
          "schema": 88,
          "security": 97,
          "transparency": 63
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "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.",
        "strengths": [
          "Grok 4.7 at $2/$6 per million tokens below 200K prompt tokens, with a 500K context and 20% off through the Batch API",
          "API keys restricted by endpoint and model ACLs, with QPM and TPM caps, expiry and a rotate endpoint",
          "Self-serve team-wide zero data retention, confirmed on every response by an `x-zero-data-retention` header",
          "OpenAPI 3.1 spec, llms.txt and a Markdown twin of every docs page",
          "security.txt valid to 2027-06-29 and a HackerOne bug bounty"
        ],
        "weaknesses": [
          "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",
          "No SLA, no free tier for the text API, and no Retry-After header documented for 429s",
          "No stated minimum notice for retirements, and retired slugs are served by a different model at its price",
          "Remote MCP doesn't support `require_approval`, so server-side tool calls run without an approval step",
          "The terms, privacy policy and DPA at x.ai/legal answered a Cloudflare block on 6 October and 6 November 2026, so they weren't read"
        ],
        "agentNotes": [
          "Build on the Responses API at https://api.x.ai/v1. Chat Completions is labelled deprecated and the Anthropic-compatible endpoint fully deprecated",
          "Pin a dated model slug. A retired slug keeps answering from a replacement model, billed at the replacement's price",
          "Back off exponentially on 429. The per-second cap is the per-minute budget divided by 48, with a minimum of 2",
          "Set `allowed_tools` on remote MCP servers. There's no approval step, and every exposed tool enters the context",
          "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"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "BB",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 72.9
          }
        ],
        "editorialScores": {
          "ergonomics": 90,
          "maintenance": 77,
          "payments": 30,
          "reliability": 55,
          "schema": 88,
          "security": 97,
          "transparency": 52
        },
        "provenanceScore": 73,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-06",
            "maintenance": "2026-11-06",
            "payments": "2026-11-06",
            "reliability": "2026-11-06",
            "schema": "2026-11-06",
            "security": "2026-11-06",
            "transparency": "2026-11-06"
          },
          "last": "2026-11-06",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-06",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install xai-sdk   # or: pip install openai, with base_url https://api.x.ai/v1",
        "http": "curl https://api.x.ai/v1/responses \\\n  -H \"Authorization: Bearer $XAI_API_KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"grok-4.7\",\"input\":\"What is the meaning of life?\"}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/xai-api"
      },
      "area": "models",
      "unitPrices": [
        {
          "item": "Web search tool",
          "unit": "1k-requests",
          "usd": 5
        },
        {
          "item": "Code execution tool",
          "unit": "1k-requests",
          "usd": 5
        },
        {
          "item": "Collections search tool",
          "unit": "1k-requests",
          "usd": 2.5
        }
      ],
      "provenance": {
        "legalEntity": "",
        "domain": "x.ai",
        "domainRegistered": "2017-12-16",
        "domainNote": "x.ai was registered in 2017, before the company, and transferred on 2026-06-02 per RDAP. Every x.ai page except robots.txt and security.txt answered a Cloudflare block page (403) on 2026-11-06, as the legal pages did on 2026-10-06, so the contracting entity wasn't confirmed. The docs now use the name SpaceXSI and the status page SpaceXAI.",
        "endpointOnVendorDomain": true,
        "terms": "https://x.ai/legal/terms-of-service-enterprise",
        "privacy": "https://x.ai/legal/privacy-policy",
        "statusPage": "https://status.x.ai",
        "changelog": "https://docs.x.ai/developers/release-notes",
        "securityTxt": "valid",
        "checked": "2026-11-06",
        "notes": [
          "x.ai/robots.txt allows all but /tools/, with Content-Signal ai-train=yes, search=yes, ai-input=yes. docs.x.ai allows all with ai-input=yes. The x.ai pages that robots.txt allows answered a Cloudflare 'Attention Required' page, which we did not try to get past.",
          "security.txt at x.ai/.well-known/security.txt is valid to 2027-06-29, with vulnerabilities@x.ai and abuse@x.ai."
        ],
        "score": 73
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/xai-api.json",
      "live": {
        "slug": "xai-api",
        "probe": {
          "target": "https://api.x.ai/v1",
          "method": "get",
          "lastAt": "2026-11-30T01:00:35.831857994Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 114,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 150,
          "p95ms24h": 226,
          "samples24h": 242,
          "samples30d": 5579,
          "days": [
            {
              "date": "2026-11-06",
              "probes": 13,
              "ok": 13
            },
            {
              "date": "2026-11-07",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-08",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-09",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-10",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-11",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-12",
              "probes": 245,
              "ok": 245
            },
            {
              "date": "2026-11-13",
              "probes": 238,
              "ok": 238
            },
            {
              "date": "2026-11-14",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-15",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-16",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-17",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-18",
              "probes": 240,
              "ok": 240
            },
            {
              "date": "2026-11-19",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-20",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-21",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-22",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-23",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-24",
              "probes": 239,
              "ok": 239
            },
            {
              "date": "2026-11-25",
              "probes": 239,
              "ok": 239
            },
            {
              "date": "2026-11-26",
              "probes": 235,
              "ok": 235
            },
            {
              "date": "2026-11-27",
              "probes": 240,
              "ok": 240
            },
            {
              "date": "2026-11-28",
              "probes": 239,
              "ok": 239
            },
            {
              "date": "2026-11-29",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-30",
              "probes": 11,
              "ok": 11
            }
          ],
          "since": "2026-11-06T00:00:00Z"
        },
        "vendorStatus": {
          "page": "https://status.x.ai",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-29T23:19:07.200711575Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "xai-org/xai-sdk-python",
            "version": "v1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-29T10:13:55.777698592Z"
          },
          {
            "registry": "pypi",
            "name": "xai-sdk",
            "version": "1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-29T10:13:55.595732398Z"
          }
        ],
        "githubStars": 637,
        "pypiWeekly": 727141,
        "securityTxt": {
          "url": "https://x.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-06-29T00:00:00.000Z",
          "checkedAt": "2026-11-29T17:00:00.62669363Z"
        },
        "llmsTxt": {
          "url": "https://docs.x.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-29T17:07:02.812610719Z"
        },
        "domain": {
          "domain": "x.ai",
          "registered": "2017-12-16",
          "source": "https://rdap.identitydigital.services/rdap/domain/x.ai",
          "checkedAt": "2026-11-29T16:24:37.288678083Z"
        },
        "pages": [
          {
            "url": "https://docs.x.ai/developers/migration/imagine-image-quality-nov-2",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-29T05:22:26.967174998Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "1238569c8142"
          },
          {
            "url": "https://docs.x.ai/developers/migration/may-15-retirement",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-29T05:22:29.109612204Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "813d0e188a0e"
          },
          {
            "url": "https://docs.x.ai/developers/release-notes",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-29T05:22:33.181180988Z",
            "changedAt": "2026-11-27T03:55:33.796890012Z",
            "fingerprint": "4dee0f3a1b0a"
          },
          {
            "url": "https://docs.x.ai/developers/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-29T05:22:31.099934606Z",
            "changedAt": "2026-11-27T03:55:31.665558648Z",
            "fingerprint": "c108fa01ef8e"
          },
          {
            "url": "https://x.ai/legal/privacy-policy",
            "kind": "privacy",
            "status": 403,
            "checkedAt": "2026-11-29T05:54:09.889547301Z",
            "changedAt": "0001-01-01T00:00:00Z"
          },
          {
            "url": "https://x.ai/legal/terms-of-service-enterprise",
            "kind": "terms",
            "status": 403,
            "checkedAt": "2026-11-29T05:54:11.902317233Z",
            "changedAt": "0001-01-01T00:00:00Z"
          }
        ],
        "github": {
          "repo": "xai-org/xai-sdk-python",
          "checkedAt": "2026-11-23T13:53:03.711155307Z",
          "stars": 623,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-30T16:14:10Z",
          "openIssues": 20,
          "openPRs": 49,
          "issuesOpened90d": 11,
          "issuesClosed90d": 2,
          "prsMerged90d": 9,
          "ci": {
            "branch": "main",
            "runs": 22,
            "success": 22,
            "failure": 0,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-10-23T19:37:30Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 16,
            "medianDays": 2.3
          }
        },
        "updatedAt": "2026-11-30T01:00:35.831857994Z"
      },
      "streak": {
        "days": 24,
        "from": "2026-11-06",
        "sinceWatching": true,
        "last": {
          "kind": "shutdown",
          "date": "2026-11-02",
          "what": "`grok-imagine-image-quality` and `grok-imagine-image-pro` retired, served by `grok-imagine-image-2.0` at `low` quality and a lower price",
          "source": "https://docs.x.ai/developers/migration/imagine-image-quality-nov-2"
        },
        "best": 24
      }
    },
    "edges": [
      {
        "by": 42,
        "category": "security",
        "leads": "xai-api",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 55,
          "b": 97
        }
      },
      {
        "by": 41,
        "category": "schema",
        "leads": "xai-api",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "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.",
          "b": "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)."
        },
        "scores": {
          "a": 47,
          "b": 88
        }
      },
      {
        "by": 30,
        "category": "ergonomics",
        "leads": "xai-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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.",
          "b": "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)."
        },
        "scores": {
          "a": 60,
          "b": 90
        }
      },
      {
        "by": 17,
        "category": "reliability",
        "leads": "xai-api",
        "name": "Reliability",
        "reasons": {
          "a": "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.",
          "b": "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)."
        },
        "scores": {
          "a": 38,
          "b": 55
        }
      },
      {
        "by": 14,
        "category": "maintenance",
        "leads": "xai-api",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "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.",
          "b": "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)."
        },
        "scores": {
          "a": 63,
          "b": 77
        }
      },
      {
        "by": 8,
        "category": "transparency",
        "leads": "xai-api",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "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.",
          "b": "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)."
        },
        "scores": {
          "a": 55,
          "b": 63
        }
      }
    ],
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Baidu",
        "b": "SpaceXSI (xAI)",
        "name": "Vendor"
      },
      {
        "a": "https://qianfan.baidubce.com/v2",
        "b": "https://api.x.ai/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.",
        "b": "Proprietary service under xAI's enterprise terms of service. The Python SDK is Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-18",
        "b": "2026-11-02",
        "name": "Last release"
      },
      {
        "a": "not read yet",
        "b": "2026-10-27",
        "name": "Terms last updated"
      },
      {
        "a": "no document linked",
        "b": "2026-10-27",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not read yet",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not read yet",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "none",
        "b": "597 stars, 912k PyPI/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "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.",
        "question": "Which is better for AI agents, Baidu Qianfan or xAI API (Grok)?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Baidu Qianfan and xAI API (Grok) need an API key?"
      },
      {
        "answer": "Yes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and xAI API (Grok) at https://api.x.ai/v1.",
        "question": "Can an agent call Baidu Qianfan and xAI API (Grok) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": null,
        "goodFor": "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.",
        "slug": "qianfan",
        "watchFor": "The docs read were in Chinese only, and no OpenAPI file or llms.txt was found"
      },
      {
        "aheadOn": [
          "Reliability, 55 against 38",
          "Schema \u0026 documentation, 88 against 47",
          "Agent ergonomics, 90 against 60",
          "Security \u0026 auth, 97 against 55",
          "Maintenance \u0026 community, 77 against 63",
          "Transparency \u0026 trust, 63 against 55"
        ],
        "also": [
          "Agent-ready, a grade of BB or better"
        ],
        "goodFor": "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.",
        "slug": "xai-api",
        "watchFor": "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"
      }
    ],
    "history": {
      "qianfan": null,
      "xai-api": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 1.2,
          "from": 71.7,
          "fromGrade": "BB",
          "to": 72.9,
          "toGrade": "BB"
        }
      ]
    },
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/ai21-vs-qianfan.json",
        "title": "AI21 Jamba API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/ai21-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai21-vs-xai-api.json",
        "title": "AI21 Jamba API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/ai21-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-qianfan.json",
        "title": "Amazon Bedrock vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api.json",
        "title": "Amazon Bedrock vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-qianfan.json",
        "title": "Claude API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api.json",
        "title": "Claude API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-qianfan.json",
        "title": "Antseed vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-xai-api.json",
        "title": "Antseed vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-openai-vs-qianfan.json",
        "title": "Azure OpenAI in Foundry Models vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-openai-vs-xai-api.json",
        "title": "Azure OpenAI in Foundry Models vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-qianfan.json",
        "title": "BlockRun.AI vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api.json",
        "title": "BlockRun.AI vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-qianfan.json",
        "title": "Cerebras Inference vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.json",
        "title": "Cerebras Inference vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-qianfan.json",
        "title": "Claude Fable 5.2 vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-xai-api.json",
        "title": "Claude Fable 5.2 vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-qianfan.json",
        "title": "Claude Mythos 5.2 vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-xai-api.json",
        "title": "Claude Mythos 5.2 vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-qianfan.json",
        "title": "Cloudflare AI Gateway vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api.json",
        "title": "Cloudflare AI Gateway vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan.json",
        "title": "Cloudflare Workers AI vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-xai-api.json",
        "title": "Cloudflare Workers AI vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-qianfan.json",
        "title": "Cohere Chat API (Command models) vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-xai-api.json",
        "title": "Cohere Chat API (Command models) vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-qianfan.json",
        "title": "DeepInfra vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-xai-api.json",
        "title": "DeepInfra vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-qianfan.json",
        "title": "DeepSeek API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api.json",
        "title": "DeepSeek API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-qianfan.json",
        "title": "DigitalOcean Serverless Inference vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.json",
        "title": "DigitalOcean Serverless Inference vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-qianfan.json",
        "title": "Eden AI vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-xai-api.json",
        "title": "Eden AI vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-qianfan.json",
        "title": "Glimpse vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-xai-api.json",
        "title": "Glimpse vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-qianfan.json",
        "title": "Fireworks AI Inference vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-xai-api.json",
        "title": "Fireworks AI Inference vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-argon-vs-qianfan.json",
        "title": "Gemini 4 Argon vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gemini-4-argon-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-argon-vs-xai-api.json",
        "title": "Gemini 4 Argon vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-argon-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-qianfan.json",
        "title": "Gemini 4 Carbon vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-xai-api.json",
        "title": "Gemini 4 Carbon vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-qianfan.json",
        "title": "Gemini 4 Hydrogen vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.json",
        "title": "Gemini 4 Hydrogen vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-neon-vs-qianfan.json",
        "title": "Gemini 4 Neon vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gemini-4-neon-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-neon-vs-xai-api.json",
        "title": "Gemini 4 Neon vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-neon-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-qianfan.json",
        "title": "Gemini Developer API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-xai-api.json",
        "title": "Gemini Developer API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-qianfan.json",
        "title": "GPT-6.2 Astra vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-xai-api.json",
        "title": "GPT-6.2 Astra vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-qianfan.json",
        "title": "GroqCloud vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/groq-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-xai-api.json",
        "title": "GroqCloud vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/groq-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-qianfan.json",
        "title": "Hugging Face Inference Providers vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.json",
        "title": "Hugging Face Inference Providers vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hy4-vs-qianfan.json",
        "title": "Tencent Hy4 vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/hy4-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hy4-vs-xai-api.json",
        "title": "Tencent Hy4 vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/hy4-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-qianfan.json",
        "title": "Jais 3 vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-xai-api.json",
        "title": "Jais 3 vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-qianfan.json",
        "title": "Meta Model API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-xai-api.json",
        "title": "Meta Model API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-qianfan.json",
        "title": "MiniMax API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-xai-api.json",
        "title": "MiniMax API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-qianfan.json",
        "title": "Mistral AI API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-xai-api.json",
        "title": "Mistral AI API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-ember-vs-qianfan.json",
        "title": "Muse Ember vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/muse-ember-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-ember-vs-xai-api.json",
        "title": "Muse Ember vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/muse-ember-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-qianfan.json",
        "title": "Muse Spark Open vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-xai-api.json",
        "title": "Muse Spark Open vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nebius-token-factory-vs-qianfan.json",
        "title": "Nebius Token Factory vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/nebius-token-factory-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nebius-token-factory-vs-xai-api.json",
        "title": "Nebius Token Factory vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/nebius-token-factory-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-qianfan.json",
        "title": "Nemotron 3.5 Super VL vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-xai-api.json",
        "title": "Nemotron 3.5 Super VL vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-qianfan.json",
        "title": "Novita AI vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-xai-api.json",
        "title": "Novita AI vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-qianfan.json",
        "title": "OpenAI API vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-xai-api.json",
        "title": "OpenAI API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-qianfan.json",
        "title": "OpenRouter vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-xai-api.json",
        "title": "OpenRouter vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-qianfan.json",
        "title": "Prism Inference vs Baidu Qianfan",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-qianfan"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-xai-api.json",
        "title": "Prism Inference vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-ramp-router.json",
        "title": "Baidu Qianfan vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-reflection-beam.json",
        "title": "Baidu Qianfan vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-reka.json",
        "title": "Baidu Qianfan vs Reka API",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-reka"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-routerplus.json",
        "title": "Baidu Qianfan vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-sambanova.json",
        "title": "Baidu Qianfan vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-siliconflow.json",
        "title": "Baidu Qianfan vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-simplismart.json",
        "title": "Baidu Qianfan vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-stepfun-api.json",
        "title": "Baidu Qianfan vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-swe-2-flash.json",
        "title": "Baidu Qianfan vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-tencent-tokenhub.json",
        "title": "Baidu Qianfan vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-together-inference.json",
        "title": "Baidu Qianfan vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-vercel-ai-gateway.json",
        "title": "Baidu Qianfan vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-vertex-ai.json",
        "title": "Baidu Qianfan vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/qianfan-vs-writer-palmyra.json",
        "title": "Baidu Qianfan vs Writer Palmyra API",
        "url": "https://www.anchorterminal.com/compare/qianfan-vs-writer-palmyra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-xai-api.json",
        "title": "Router.com (Ramp Router) vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reflection-beam-vs-xai-api.json",
        "title": "Beam 1.0 vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/reflection-beam-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reka-vs-xai-api.json",
        "title": "Reka API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/reka-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/routerplus-vs-xai-api.json",
        "title": "RouterPlus vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/routerplus-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-xai-api.json",
        "title": "SambaCloud vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-xai-api.json",
        "title": "SiliconFlow vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/simplismart-vs-xai-api.json",
        "title": "Simplismart vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/simplismart-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stepfun-api-vs-xai-api.json",
        "title": "StepFun API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/stepfun-api-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-xai-api.json",
        "title": "SWE-2 Flash vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api.json",
        "title": "Tencent Cloud TokenHub vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/together-inference-vs-xai-api.json",
        "title": "Together AI Inference vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/together-inference-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api.json",
        "title": "Vercel AI Gateway vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/vertex-ai-vs-xai-api.json",
        "title": "Vertex AI (Gemini Enterprise Agent Platform) vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/vertex-ai-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/writer-palmyra-vs-xai-api.json",
        "title": "Writer Palmyra API vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/writer-palmyra-vs-xai-api"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 17,
        "edge": "xai-api",
        "key": "reliability",
        "name": "Reliability",
        "qianfan": 38,
        "weight": 16,
        "xai-api": 55
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 41,
        "edge": "xai-api",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "qianfan": 47,
        "weight": 13,
        "xai-api": 88
      },
      {
        "by": 30,
        "edge": "xai-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "qianfan": 60,
        "weight": 13,
        "xai-api": 90
      },
      {
        "by": 42,
        "edge": "xai-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "qianfan": 55,
        "weight": 14,
        "xai-api": 97
      },
      {
        "by": 0,
        "edge": "",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "qianfan": 30,
        "weight": 10,
        "xai-api": 30
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 14,
        "edge": "xai-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "qianfan": 63,
        "weight": 7,
        "xai-api": 77
      },
      {
        "by": 8,
        "edge": "xai-api",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "qianfan": 55,
        "weight": 7,
        "xai-api": 63
      }
    ],
    "summary": "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.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "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 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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/qianfan-vs-xai-api",
    "json": "https://www.anchorterminal.com/compare/qianfan-vs-xai-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/qianfan-vs-xai-api.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/qianfan-vs-xai-api.min.md"
  },
  "markdown": "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.\n\n- 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\n- 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\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 1495 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Baidu Qianfan (D)\n\nGood 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.\n\nWatch for: The docs read were in Chinese only, and no OpenAPI file or llms.txt was found\n\n### xAI API (Grok) (BB)\n\nGood 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.\n\nAhead on:\n- Reliability, 55 against 38\n- Schema \u0026 documentation, 88 against 47\n- Agent ergonomics, 90 against 60\n- Security \u0026 auth, 97 against 55\n- Maintenance \u0026 community, 77 against 63\n- Transparency \u0026 trust, 63 against 55\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n\nWatch 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\n\n\n## Why the edge\n\n### Security \u0026 auth: xAI API (Grok) +42\n\n- 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.\n- 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.\n\n### Schema \u0026 documentation: xAI API (Grok) +41\n\n- 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.\n- 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).\n\n### Agent ergonomics: xAI API (Grok) +30\n\n- 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.\n- 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).\n\n### Reliability: xAI API (Grok) +17\n\n- 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.\n- 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).\n\n### Maintenance \u0026 community: xAI API (Grok) +14\n\n- 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.\n- 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).\n\n### Transparency \u0026 trust: xAI API (Grok) +8\n\n- 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.\n- 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).\n\n## Score by category\n\n| Category | Weight | Baidu Qianfan | xAI API (Grok) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 38 | 55 | xAI API (Grok) +17 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 47 | 88 | xAI API (Grok) +41 |\n| Agent ergonomics | 13% | 60 | 90 | xAI API (Grok) +30 |\n| Security \u0026 auth | 14% | 55 | 97 | xAI API (Grok) +42 |\n| Payments \u0026 pricing | 10% | 30 | 30 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 63 | 77 | xAI API (Grok) +14 |\n| Transparency \u0026 trust | 7% | 55 | 63 | xAI API (Grok) +8 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **48.7 · D** | **72.9 · BB** | |\n\n## Facts side by side\n\n| Fact | Baidu Qianfan | xAI API (Grok) |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Baidu | SpaceXSI (xAI) |\n| Hosted endpoint | `https://qianfan.baidubce.com/v2` | `https://api.x.ai/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| 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 |\n| Read-only variant documented | no | no |\n| llms.txt | no | yes |\n| Last release | 2026-10-18 | 2026-11-02 |\n| Terms last updated | not read yet | 2026-10-27 |\n| Privacy policy last updated | no document linked | 2026-10-27 |\n| Customer content may train models | not read yet | yes |\n| Terms restrict automated access | not read yet | not found in the text |\n| Terms restrict benchmarking | not read yet | not found in the text |\n| Terms or service can change without notice | not read yet | not found in the text |\n| Arbitration or class-action waiver | not read yet | yes |\n| Popularity | none | 597 stars, 912k PyPI/wk |\n\n## How the scores have moved\n\n### Baidu Qianfan\n\nNo score change since it was listed.\n\n### xAI API (Grok)\n\n- +1.2 on 13 November 2026: checklist\n\n## Verdicts\n\n**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.\n\n**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.\n\n## Before you call either\n\n### Baidu Qianfan\n\n1. 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.\n2. If you get 429, wait before retrying. The X-Ratelimit-Remaining headers show whether requests, input tokens or output tokens ran out.\n3. 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.\n4. Set max_tokens or max_completion_tokens yourself. Both count thinking tokens, and thinking_budget caps the chain of thought.\n5. Check the retirement page before pinning a model. A retired model fails on both the v1 and v2 interfaces.\n\n### xAI API (Grok)\n\n1. Build on the Responses API at https://api.x.ai/v1. Chat Completions is labelled deprecated and the Anthropic-compatible endpoint fully deprecated\n2. Pin a dated model slug. A retired slug keeps answering from a replacement model, billed at the replacement's price\n3. Back off exponentially on 429. The per-second cap is the per-minute budget divided by 48, with a minimum of 2\n4. Set `allowed_tools` on remote MCP servers. There's no approval step, and every exposed tool enters the context\n5. 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\n\n## Questions\n\n### Which is better for AI agents, Baidu Qianfan or xAI API (Grok)?\n\nxAI API (Grok) scores 72.9 (BB) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories.\n\n### Do Baidu Qianfan and xAI API (Grok) need an API key?\n\nBoth need an API key.\n\n### Can an agent call Baidu Qianfan and xAI API (Grok) without installing anything?\n\nYes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and xAI API (Grok) at https://api.x.ai/v1.\n\n\n## For agents\n\n- 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\n- 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`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/qianfan.json and https://www.anchorterminal.com/api/v1/tools/xai-api.json\n\n## Other comparisons with Baidu Qianfan or xAI API (Grok)\n\n- [AI21 Jamba API vs Baidu Qianfan](https://www.anchorterminal.com/compare/ai21-vs-qianfan.md)\n- [AI21 Jamba API vs xAI API (Grok)](https://www.anchorterminal.com/compare/ai21-vs-xai-api.md)\n- [Amazon Bedrock vs Baidu Qianfan](https://www.anchorterminal.com/compare/amazon-bedrock-vs-qianfan.md)\n- [Amazon Bedrock vs xAI API (Grok)](https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api.md)\n- [Claude API vs Baidu Qianfan](https://www.anchorterminal.com/compare/anthropic-api-vs-qianfan.md)\n- [Claude API vs xAI API (Grok)](https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api.md)\n- [Antseed vs Baidu Qianfan](https://www.anchorterminal.com/compare/antseed-vs-qianfan.md)\n- [Antseed vs xAI API (Grok)](https://www.anchorterminal.com/compare/antseed-vs-xai-api.md)\n- [Azure OpenAI in Foundry Models vs Baidu Qianfan](https://www.anchorterminal.com/compare/azure-openai-vs-qianfan.md)\n- [Azure OpenAI in Foundry Models vs xAI API (Grok)](https://www.anchorterminal.com/compare/azure-openai-vs-xai-api.md)\n- [BlockRun.AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/blockrun-ai-vs-qianfan.md)\n- [BlockRun.AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api.md)\n- [Cerebras Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/cerebras-inference-vs-qianfan.md)\n- [Cerebras Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.md)\n- [Claude Fable 5.2 vs Baidu Qianfan](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-qianfan.md)\n- [Claude Fable 5.2 vs xAI API (Grok)](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-xai-api.md)\n- [Claude Mythos 5.2 vs Baidu Qianfan](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-qianfan.md)\n- [Claude Mythos 5.2 vs xAI API (Grok)](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-xai-api.md)\n- [Cloudflare AI Gateway vs Baidu Qianfan](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-qianfan.md)\n- [Cloudflare AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api.md)\n- [Cloudflare Workers AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan.md)\n- [Cloudflare Workers AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-xai-api.md)\n- [Cohere Chat API (Command models) vs Baidu Qianfan](https://www.anchorterminal.com/compare/cohere-chat-vs-qianfan.md)\n- [Cohere Chat API (Command models) vs xAI API (Grok)](https://www.anchorterminal.com/compare/cohere-chat-vs-xai-api.md)\n- [DeepInfra vs Baidu Qianfan](https://www.anchorterminal.com/compare/deepinfra-vs-qianfan.md)\n- [DeepInfra vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepinfra-vs-xai-api.md)\n- [DeepSeek API vs Baidu Qianfan](https://www.anchorterminal.com/compare/deepseek-api-vs-qianfan.md)\n- [DeepSeek API vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api.md)\n- [DigitalOcean Serverless Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-qianfan.md)\n- [DigitalOcean Serverless Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.md)\n- [Eden AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/eden-ai-vs-qianfan.md)\n- [Eden AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/eden-ai-vs-xai-api.md)\n- [Glimpse vs Baidu Qianfan](https://www.anchorterminal.com/compare/elorian-glimpse-vs-qianfan.md)\n- [Glimpse vs xAI API (Grok)](https://www.anchorterminal.com/compare/elorian-glimpse-vs-xai-api.md)\n- [Fireworks AI Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/fireworks-inference-vs-qianfan.md)\n- [Fireworks AI Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/fireworks-inference-vs-xai-api.md)\n- [Gemini 4 Argon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-argon-vs-qianfan.md)\n- [Gemini 4 Argon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-argon-vs-xai-api.md)\n- [Gemini 4 Carbon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-carbon-vs-qianfan.md)\n- [Gemini 4 Carbon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-carbon-vs-xai-api.md)\n- [Gemini 4 Hydrogen vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-qianfan.md)\n- [Gemini 4 Hydrogen vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.md)\n- [Gemini 4 Neon vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-4-neon-vs-qianfan.md)\n- [Gemini 4 Neon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-neon-vs-xai-api.md)\n- [Gemini Developer API vs Baidu Qianfan](https://www.anchorterminal.com/compare/gemini-api-vs-qianfan.md)\n- [Gemini Developer API vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-api-vs-xai-api.md)\n- [GPT-6.2 Astra vs Baidu Qianfan](https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-qianfan.md)\n- [GPT-6.2 Astra vs xAI API (Grok)](https://www.anchorterminal.com/compare/gpt-6-2-astra-vs-xai-api.md)\n- [GroqCloud vs Baidu Qianfan](https://www.anchorterminal.com/compare/groq-vs-qianfan.md)\n- [GroqCloud vs xAI API (Grok)](https://www.anchorterminal.com/compare/groq-vs-xai-api.md)\n- [Hugging Face Inference Providers vs Baidu Qianfan](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-qianfan.md)\n- [Hugging Face Inference Providers vs xAI API (Grok)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.md)\n- [Tencent Hy4 vs Baidu Qianfan](https://www.anchorterminal.com/compare/hy4-vs-qianfan.md)\n- [Tencent Hy4 vs xAI API (Grok)](https://www.anchorterminal.com/compare/hy4-vs-xai-api.md)\n- [Jais 3 vs Baidu Qianfan](https://www.anchorterminal.com/compare/jais-3-vs-qianfan.md)\n- [Jais 3 vs xAI API (Grok)](https://www.anchorterminal.com/compare/jais-3-vs-xai-api.md)\n- [Meta Model API vs Baidu Qianfan](https://www.anchorterminal.com/compare/meta-model-api-vs-qianfan.md)\n- [Meta Model API vs xAI API (Grok)](https://www.anchorterminal.com/compare/meta-model-api-vs-xai-api.md)\n- [MiniMax API vs Baidu Qianfan](https://www.anchorterminal.com/compare/minimax-api-vs-qianfan.md)\n- [MiniMax API vs xAI API (Grok)](https://www.anchorterminal.com/compare/minimax-api-vs-xai-api.md)\n- [Mistral AI API vs Baidu Qianfan](https://www.anchorterminal.com/compare/mistral-api-vs-qianfan.md)\n- [Mistral AI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/mistral-api-vs-xai-api.md)\n- [Muse Ember vs Baidu Qianfan](https://www.anchorterminal.com/compare/muse-ember-vs-qianfan.md)\n- [Muse Ember vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-ember-vs-xai-api.md)\n- [Muse Spark Open vs Baidu Qianfan](https://www.anchorterminal.com/compare/muse-spark-open-vs-qianfan.md)\n- [Muse Spark Open vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-spark-open-vs-xai-api.md)\n- [Nebius Token Factory vs Baidu Qianfan](https://www.anchorterminal.com/compare/nebius-token-factory-vs-qianfan.md)\n- [Nebius Token Factory vs xAI API (Grok)](https://www.anchorterminal.com/compare/nebius-token-factory-vs-xai-api.md)\n- [Nemotron 3.5 Super VL vs Baidu Qianfan](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-qianfan.md)\n- [Nemotron 3.5 Super VL vs xAI API (Grok)](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-xai-api.md)\n- [Novita AI vs Baidu Qianfan](https://www.anchorterminal.com/compare/novita-ai-vs-qianfan.md)\n- [Novita AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/novita-ai-vs-xai-api.md)\n- [OpenAI API vs Baidu Qianfan](https://www.anchorterminal.com/compare/openai-api-vs-qianfan.md)\n- [OpenAI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/openai-api-vs-xai-api.md)\n- [OpenRouter vs Baidu Qianfan](https://www.anchorterminal.com/compare/openrouter-vs-qianfan.md)\n- [OpenRouter vs xAI API (Grok)](https://www.anchorterminal.com/compare/openrouter-vs-xai-api.md)\n- [Prism Inference vs Baidu Qianfan](https://www.anchorterminal.com/compare/prism-inference-vs-qianfan.md)\n- [Prism Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/prism-inference-vs-xai-api.md)\n- [Baidu Qianfan vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/qianfan-vs-ramp-router.md)\n- [Baidu Qianfan vs Beam 1.0](https://www.anchorterminal.com/compare/qianfan-vs-reflection-beam.md)\n- [Baidu Qianfan vs Reka API](https://www.anchorterminal.com/compare/qianfan-vs-reka.md)\n- [Baidu Qianfan vs RouterPlus](https://www.anchorterminal.com/compare/qianfan-vs-routerplus.md)\n- [Baidu Qianfan vs SambaCloud](https://www.anchorterminal.com/compare/qianfan-vs-sambanova.md)\n- [Baidu Qianfan vs SiliconFlow](https://www.anchorterminal.com/compare/qianfan-vs-siliconflow.md)\n- [Baidu Qianfan vs Simplismart](https://www.anchorterminal.com/compare/qianfan-vs-simplismart.md)\n- [Baidu Qianfan vs StepFun API](https://www.anchorterminal.com/compare/qianfan-vs-stepfun-api.md)\n- [Baidu Qianfan vs SWE-2 Flash](https://www.anchorterminal.com/compare/qianfan-vs-swe-2-flash.md)\n- [Baidu Qianfan vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/qianfan-vs-tencent-tokenhub.md)\n- [Baidu Qianfan vs Together AI Inference](https://www.anchorterminal.com/compare/qianfan-vs-together-inference.md)\n- [Baidu Qianfan vs Vercel AI Gateway](https://www.anchorterminal.com/compare/qianfan-vs-vercel-ai-gateway.md)\n- [Baidu Qianfan vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/qianfan-vs-vertex-ai.md)\n- [Baidu Qianfan vs Writer Palmyra API](https://www.anchorterminal.com/compare/qianfan-vs-writer-palmyra.md)\n- [Router.com (Ramp Router) vs xAI API (Grok)](https://www.anchorterminal.com/compare/ramp-router-vs-xai-api.md)\n- [Beam 1.0 vs xAI API (Grok)](https://www.anchorterminal.com/compare/reflection-beam-vs-xai-api.md)\n- [Reka API vs xAI API (Grok)](https://www.anchorterminal.com/compare/reka-vs-xai-api.md)\n- [RouterPlus vs xAI API (Grok)](https://www.anchorterminal.com/compare/routerplus-vs-xai-api.md)\n- [SambaCloud vs xAI API (Grok)](https://www.anchorterminal.com/compare/sambanova-vs-xai-api.md)\n- [SiliconFlow vs xAI API (Grok)](https://www.anchorterminal.com/compare/siliconflow-vs-xai-api.md)\n- [Simplismart vs xAI API (Grok)](https://www.anchorterminal.com/compare/simplismart-vs-xai-api.md)\n- [StepFun API vs xAI API (Grok)](https://www.anchorterminal.com/compare/stepfun-api-vs-xai-api.md)\n- [SWE-2 Flash vs xAI API (Grok)](https://www.anchorterminal.com/compare/swe-2-flash-vs-xai-api.md)\n- [Tencent Cloud TokenHub vs xAI API (Grok)](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api.md)\n- [Together AI Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/together-inference-vs-xai-api.md)\n- [Vercel AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api.md)\n- [Vertex AI (Gemini Enterprise Agent Platform) vs xAI API (Grok)](https://www.anchorterminal.com/compare/vertex-ai-vs-xai-api.md)\n- [Writer Palmyra API vs xAI API (Grok)](https://www.anchorterminal.com/compare/writer-palmyra-vs-xai-api.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-30",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Baidu Qianfan vs xAI API (Grok)",
        "url": ""
      }
    ],
    "description": "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.",
    "facts": [
      "Baidu Qianfan D 48.7",
      "xAI API (Grok) BB 72.9",
      "scores"
    ],
    "h1": "Baidu Qianfan vs xAI API (Grok)",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/qianfan-vs-xai-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Baidu Qianfan vs xAI for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-29",
    "url": "https://www.anchorterminal.com/compare/qianfan-vs-xai-api"
  },
  "tokens": {
    "markdown": 7400,
    "slim": 1180
  },
  "version": 1
}
