{
  "data": {
    "a": {
      "slug": "cerebras-inference",
      "name": "Cerebras Inference",
      "vendor": "Cerebras Systems Inc.",
      "vendorUrl": "https://www.cerebras.ai/inference",
      "kind": "http-api",
      "category": "inference",
      "summary": "Cerebras Inference serves language models on Cerebras wafer-scale processors through an OpenAI-compatible API. It supports streaming, structured outputs, tool calling and prompt caching, with shared and dedicated inference options.",
      "url": "https://www.anchorterminal.com/tools/cerebras-inference",
      "markdownUrl": "https://www.anchorterminal.com/tools/cerebras-inference.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cerebras-inference.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cerebras-inference.json",
      "dns": "cerebras-inference.grade.anchorterminal.com",
      "repo": "https://github.com/Cerebras/cerebras-cloud-sdk-python",
      "license": "Proprietary hosted service. The official Python SDK is Apache-2.0; served models retain their own licences.",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cerebras.ai/v1",
      "packages": [
        {
          "registry": "pypi",
          "name": "cerebras-cloud-sdk"
        },
        {
          "registry": "npm",
          "name": "@cerebras/cerebras_cloud_sdk"
        }
      ],
      "auth": "api-key",
      "authNotes": "Bearer API keys from the Cloud Console. Paid accounts scope keys to projects; trial accounts do not have projects. Keys do not expire and can be rotated by creating a replacement and deleting the old key.",
      "pricing": "paid",
      "pricingNotes": "Pay per token. GPT OSS 120B is $0.35 per million input tokens and $0.75 per million output tokens. New accounts get $5 for 30 days only after adding a verified payment method. Dedicated capacity is priced by agreement.",
      "priceSummary": "Paid",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 payment route found in the reviewed inference and billing documentation on 19 October 2026.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 170,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-19"
      },
      "docsUrl": "https://inference-docs.cerebras.ai",
      "llmsTxt": "https://inference-docs.cerebras.ai/llms.txt",
      "openapi": "https://inference-docs.cerebras.ai/api-reference/openapi.yaml",
      "capabilities": [
        "inference.llm",
        "inference.open-weights"
      ],
      "tags": [
        "official",
        "http-api",
        "inference",
        "api-key",
        "openapi",
        "llms-txt",
        "paid"
      ],
      "lastRelease": "2026-10-28",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 68.6,
        "grade": "B",
        "agentReady": false,
        "rank": 278,
        "ranked": true,
        "rankOf": 1510,
        "categoryRank": 11,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 85,
          "maintenance": 65,
          "payments": 20,
          "reliability": 70,
          "schema": 93,
          "security": 70,
          "transparency": 60
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-01"
        },
        "negative": 0,
        "verdict": "An OpenAI-compatible API with typed schemas, official SDKs and model output controls. Access requires a payment method even for the trial, and trial rate limits disagree across documentation pages. Shared-model availability and dedicated-model availability differ.",
        "bestFor": "Cerebras Inference serves language models on Cerebras wafer-scale processors through an OpenAI-compatible API.",
        "strengths": [
          "Public OpenAPI 3.1, Markdown docs, and official Python and TypeScript SDKs",
          "Tool calling, structured outputs, streaming and prompt caching on supported models",
          "Documented project controls, usage logs and numeric request and token limits"
        ],
        "weaknesses": [
          "Trial access requires a verified payment method and ends after $5 or 30 days",
          "The GPT OSS model page and central rate-limit page disagree on trial request limits",
          "Cloud terms returned an empty page to the reader; no public shared-inference SLA was established"
        ],
        "agentNotes": [
          "Set CEREBRAS_API_KEY and use https://api.cerebras.ai/v1 with an OpenAI-compatible client.",
          "Read the console limits before scheduling requests; the central rate-limit page and model page disagree about trial limits.",
          "Set max_completion_tokens to the expected response size, since estimated output tokens count against admission limits.",
          "Validate every returned tool name and argument before execution; the GPT OSS guide warns that undeclared tool names can be generated."
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3.3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 68.6
          }
        ],
        "editorialScores": {
          "ergonomics": 85,
          "maintenance": 65,
          "payments": 20,
          "reliability": 70,
          "schema": 93,
          "security": 70,
          "transparency": 45
        },
        "provenanceScore": 75,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-01",
            "maintenance": "2026-11-01",
            "payments": "2026-11-01",
            "reliability": "2026-11-01",
            "schema": "2026-11-01",
            "security": "2026-11-01",
            "transparency": "2026-11-01"
          },
          "last": "2026-11-01",
          "lastMoved": "2026-10-27",
          "oldest": "2026-11-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl 'https://api.cerebras.ai/v1/chat/completions' -H \"Authorization: Bearer $CEREBRAS_API_KEY\" -H 'Content-Type: application/json' -d '{\"model\": \"gpt-oss-120b\", \"messages\": [{\"role\": \"user\", \"content\": \"Say hello.\"}], \"max_tokens\": 128}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cerebras-inference"
      },
      "area": "models",
      "unitPrices": [
        {
          "item": "GPT OSS 120B input",
          "unit": "1m-tokens",
          "usd": 0.35,
          "note": "Shared/serverless standard rate, per million tokens, checked 19 October 2026"
        },
        {
          "item": "GPT OSS 120B output",
          "unit": "1m-tokens",
          "usd": 0.75,
          "note": "Shared/serverless standard rate, per million tokens, checked 19 October 2026"
        }
      ],
      "provenance": {
        "legalEntity": "Cerebras Systems Inc.",
        "domain": "cerebras.ai",
        "domainRegistered": "",
        "endpointOnVendorDomain": true,
        "terms": "https://cloud.cerebras.ai/terms",
        "privacy": "https://www.cerebras.ai/privacy-policy",
        "statusPage": "https://status.cerebras.ai",
        "changelog": "https://inference-docs.cerebras.ai/support/change-log",
        "securityTxt": "none",
        "checked": "2026-11-01",
        "notes": [
          "Legal identity comes from the vendor policy pages. Domain registration was not checked.",
          "The SDK repository is not the source for the hosted inference service.",
          "Cloud terms at cloud.cerebras.ai/terms returned no readable document on 19 October and weren't re-read on 1 November; privacy identifies Cerebras Systems Inc.",
          "The well-known security.txt at www.cerebras.ai returned 404 again on 1 November 2026. The trust centre lists SOC 2 Type II."
        ],
        "score": 75
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cerebras-inference.json",
      "live": {
        "slug": "cerebras-inference",
        "probe": {
          "target": "https://api.cerebras.ai/v1",
          "method": "get",
          "lastAt": "2026-11-07T19:21:58.854823526Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 159,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 131,
          "p95ms24h": 219,
          "samples24h": 238,
          "samples30d": 4796,
          "days": [
            {
              "date": "2026-10-19",
              "probes": 173,
              "ok": 173
            },
            {
              "date": "2026-10-20",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-21",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-22",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-29",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-30",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-31",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-11-01",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-11-02",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-11-03",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-11-04",
              "probes": 246,
              "ok": 246
            },
            {
              "date": "2026-11-05",
              "probes": 185,
              "ok": 185
            },
            {
              "date": "2026-11-06",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-07",
              "probes": 197,
              "ok": 197
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.cerebras.ai",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-07T19:21:13.624394835Z"
        },
        "versions": [
          {
            "registry": "npm",
            "name": "@cerebras/cerebras_cloud_sdk",
            "version": "1.91.0",
            "seenAt": "2026-11-06T23:13:49.446971954Z"
          },
          {
            "registry": "pypi",
            "name": "cerebras-cloud-sdk",
            "version": "1.91.0",
            "released": "2026-07-16",
            "seenAt": "2026-11-06T23:13:49.262026332Z"
          }
        ],
        "githubStars": 173,
        "npmWeekly": 180448,
        "pypiWeekly": 249281,
        "securityTxt": {
          "url": "https://cerebras.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-07T16:01:42.51446288Z"
        },
        "llmsTxt": {
          "url": "https://inference-docs.cerebras.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:31:47.130010713Z"
        },
        "domain": {
          "domain": "cerebras.ai",
          "registered": "2017-12-15",
          "source": "https://rdap.identitydigital.services/rdap/domain/cerebras.ai",
          "checkedAt": "2026-11-01T14:11:27.609133686Z"
        },
        "pages": [
          {
            "url": "https://inference-docs.cerebras.ai/support/change-log",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-07T14:11:30.48401691Z",
            "changedAt": "2026-10-29T05:08:49.839928383Z",
            "fingerprint": "a8abcec170f3"
          },
          {
            "url": "https://www.cerebras.ai/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-07T14:26:28.792856066Z",
            "changedAt": "2026-11-06T13:47:29.432265889Z",
            "fingerprint": "218d0061c477"
          },
          {
            "url": "https://cloud.cerebras.ai/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:12.525816134Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "32931218130a"
          }
        ],
        "github": {
          "repo": "cerebras/cerebras-cloud-sdk-python",
          "checkedAt": "2026-11-02T08:24:38.010800971Z",
          "stars": 174,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-07-16T17:08:17Z",
          "openIssues": 1,
          "openPRs": 0,
          "issuesOpened90d": 2,
          "issuesClosed90d": 1,
          "prsMerged90d": 0,
          "replies": {
            "sampled": 12,
            "unanswered": 0,
            "medianDays": 35.4
          }
        },
        "updatedAt": "2026-11-07T19:21:58.854823526Z"
      }
    },
    "answer": "xAI API (Grok) scores 71.7 (BB) on agent readiness against Cerebras Inference's 68.6 (B), and leads in 4 of 7 scored categories. Cerebras Inference leads on reliability and schema \u0026 documentation.",
    "b": {
      "slug": "xai-api",
      "name": "xAI API (Grok)",
      "vendor": "SpaceXSI (xAI)",
      "vendorUrl": "https://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",
      "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": 71.7,
        "grade": "BB",
        "agentReady": true,
        "rank": 152,
        "ranked": true,
        "rankOf": 1510,
        "categoryRank": 8,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 90,
          "maintenance": 77,
          "payments": 20,
          "reliability": 55,
          "schema": 88,
          "security": 97,
          "transparency": 63
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "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": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 71.7
          }
        ],
        "editorialScores": {
          "ergonomics": 90,
          "maintenance": 77,
          "payments": 20,
          "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",
          "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-07T19:22:45.426736159Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 193,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 178,
          "p95ms24h": 276,
          "samples24h": 210,
          "samples30d": 210,
          "days": [
            {
              "date": "2026-11-06",
              "probes": 13,
              "ok": 13
            },
            {
              "date": "2026-11-07",
              "probes": 197,
              "ok": 197
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.x.ai",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-07T04:49:01.143662157Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "xai-org/xai-sdk-python",
            "version": "v1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-07T00:18:15.193708838Z"
          },
          {
            "registry": "pypi",
            "name": "xai-sdk",
            "version": "1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-07T00:18:15.09038487Z"
          }
        ],
        "githubStars": 598,
        "pypiWeekly": 912149,
        "securityTxt": {
          "url": "https://x.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-06-29T00:00:00.000Z",
          "checkedAt": "2026-11-07T16:01:43.978620532Z"
        },
        "llmsTxt": {
          "url": "https://docs.x.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:34:24.762831371Z"
        },
        "pages": [
          {
            "url": "https://docs.x.ai/developers/migration/imagine-image-quality-nov-2",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:08:46.034096807Z",
            "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-07T14:08:48.207542223Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "813d0e188a0e"
          },
          {
            "url": "https://docs.x.ai/developers/release-notes",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:08:52.143682141Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "7b37cfaf2576"
          },
          {
            "url": "https://docs.x.ai/developers/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-07T14:08:50.158330981Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "a563de9617fe"
          },
          {
            "url": "https://x.ai/legal/privacy-policy",
            "kind": "privacy",
            "status": 403,
            "checkedAt": "2026-11-07T14:38:04.991061235Z",
            "changedAt": "0001-01-01T00:00:00Z"
          },
          {
            "url": "https://x.ai/legal/terms-of-service-enterprise",
            "kind": "terms",
            "status": 403,
            "checkedAt": "2026-11-07T14:38:09.200382604Z",
            "changedAt": "0001-01-01T00:00:00Z"
          }
        ],
        "updatedAt": "2026-11-07T19:22:45.426736159Z"
      }
    },
    "edges": [
      {
        "by": 27,
        "category": "security",
        "leads": "xai-api",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Revocable Bearer keys with rotation instructions (20). Paid-project boundaries, but no inference-only key permission found (10 of 20). GPT OSS documentation warns about undeclared tool calls and tells callers to validate them (10 of 15). Request and audit logs in the console (15). Trust centre lists SOC 2 Type II, with reports requiring access (15 of 20).",
          "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": 70,
          "b": 97
        }
      },
      {
        "by": 15,
        "category": "reliability",
        "leads": "cerebras-inference",
        "name": "Reliability",
        "reasons": {
          "a": "Graded as listed, on the hosted API lines. Public component status history at status.cerebras.ai, with components for GPT-OSS-120B, Qwen-3.8-27b and the Developer Console (20). The history feed, read on 1 November 2026, runs back to November 2025, so the whole 90 days from 3 August were read. On 25 September 2026 Cerebras posted that parts of the service might be unavailable from 10:54 UTC, services were back at 13:41 UTC and the incident was resolved at 17:14 UTC, marked major and affecting both public model components. That is about 2 hours 47 minutes with the whole shared catalogue affected, one major. A 15-minute partial degradation of Gemma 4 31B on 27 August is minor, and the 30 August firewall maintenance was announced on 25 August (10). Numeric rate-limit tables, although the trial request limit is 5 a minute on the rate-limits page and 30 a minute on the GPT OSS page, re-read on 1 November (15). SDK error classes and bounded retries with backoff (15). No public shared-inference SLA established (0). Shared inference is generally available (10).",
          "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": 70,
          "b": 55
        }
      },
      {
        "by": 12,
        "category": "maintenance",
        "leads": "xai-api",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Dated changelog entry on 28 October 2026, adding five models to the Dedicated catalogue and documenting image inputs in tool messages and new reasoning controls (30). Seven dated changelog entries in the 90 days from 3 August, on 28 and 31 August, two on 3 September, 22 September, 9 October and 28 October (20). Support responsiveness not established (0). Official Python and TypeScript SDKs, both last released as 1.91.0 on 8 July 2026 (15). Runtime dependency health and CI were not audited (0).",
          "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": 65,
          "b": 77
        }
      },
      {
        "by": 5,
        "category": "schema",
        "leads": "cerebras-inference",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Public OpenAPI 3.1 (25), llms.txt and Markdown pages (10), documented capability and compatibility limits (16 of 20), typed inputs and constrained parameters (13 of 15), examples and error guidance (14 of 15), and API versions plus dated changelog (15).",
          "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": 93,
          "b": 88
        }
      },
      {
        "by": 5,
        "category": "ergonomics",
        "leads": "xai-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Model API with bounded output and compact request shape (25). Output token controls, streaming and structured outputs (20). Documented error classes and fixes (20). Bounded transient retries but no request-deduplication guarantee established (5 of 20). Defaults and official Python and TypeScript SDKs (15).",
          "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": 85,
          "b": 90
        }
      }
    ],
    "facts": [
      {
        "a": "HTTP API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Cerebras Systems Inc.",
        "b": "SpaceXSI (xAI)",
        "name": "Vendor"
      },
      {
        "a": "https://api.cerebras.ai/v1",
        "b": "https://api.x.ai/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Paid",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary hosted service. The official Python SDK is Apache-2.0; served models retain their own licences.",
        "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": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-28",
        "b": "2026-11-02",
        "name": "Last release"
      },
      {
        "a": "couldn't be read",
        "b": "2026-10-27",
        "name": "Terms last updated"
      },
      {
        "a": "2024-08-27",
        "b": "2026-10-27",
        "name": "Privacy policy last updated"
      },
      {
        "a": "couldn't be read",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "couldn't be read",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "couldn't be read",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "couldn't be read",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "couldn't be read",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "170 stars",
        "b": "597 stars, 912k PyPI/wk",
        "name": "Popularity"
      },
      {
        "a": "3.3/5 (4)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "xAI API (Grok) scores 71.7 (BB) on agent readiness against Cerebras Inference's 68.6 (B), and leads in 4 of 7 scored categories. Cerebras Inference leads on reliability and schema \u0026 documentation.",
        "question": "Which is better for AI agents, Cerebras Inference or xAI API (Grok)?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cerebras Inference and xAI API (Grok) need an API key?"
      },
      {
        "answer": "Yes. Cerebras Inference has a hosted endpoint at https://api.cerebras.ai/v1 and xAI API (Grok) at https://api.x.ai/v1.",
        "question": "Can an agent call Cerebras Inference and xAI API (Grok) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 55",
          "Schema \u0026 documentation, 93 against 88"
        ],
        "also": null,
        "goodFor": "Cerebras Inference serves language models on Cerebras wafer-scale processors through an OpenAI-compatible API.",
        "slug": "cerebras-inference",
        "watchFor": "Trial access requires a verified payment method and ends after $5 or 30 days"
      },
      {
        "aheadOn": [
          "Agent ergonomics, 90 against 85",
          "Security \u0026 auth, 97 against 70",
          "Maintenance \u0026 community, 77 against 65"
        ],
        "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": {
      "cerebras-inference": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-27",
          "delta": 0.2,
          "from": 68.4,
          "fromGrade": "B",
          "to": 68.6,
          "toGrade": "B"
        }
      ],
      "xai-api": null
    },
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-cerebras-inference.json",
        "title": "Amazon Bedrock vs Cerebras Inference",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-cerebras-inference"
      },
      {
        "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-cerebras-inference.json",
        "title": "Claude API vs Cerebras Inference",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cerebras-inference"
      },
      {
        "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-cerebras-inference.json",
        "title": "Antseed vs Cerebras Inference",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cerebras-inference"
      },
      {
        "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-cerebras-inference.json",
        "title": "Azure OpenAI in Foundry Models vs Cerebras Inference",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-cerebras-inference"
      },
      {
        "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-cerebras-inference.json",
        "title": "BlockRun.AI vs Cerebras Inference",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cerebras-inference"
      },
      {
        "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-cloudflare-ai-gateway.json",
        "title": "Cerebras Inference vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-workers-ai.json",
        "title": "Cerebras Inference vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cohere-chat.json",
        "title": "Cerebras Inference vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-deepinfra.json",
        "title": "Cerebras Inference vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-deepseek-api.json",
        "title": "Cerebras Inference vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-eden-ai.json",
        "title": "Cerebras Inference vs Eden AI",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-eden-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-elorian-glimpse.json",
        "title": "Cerebras Inference vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-fireworks-inference.json",
        "title": "Cerebras Inference vs Fireworks AI Inference",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-fireworks-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-api.json",
        "title": "Cerebras Inference vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-groq.json",
        "title": "Cerebras Inference vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-hugging-face-inference-providers.json",
        "title": "Cerebras Inference vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-inkling-2-small.json",
        "title": "Cerebras Inference vs Inkling 2 Small",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-inkling-2-small"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-jais-3.json",
        "title": "Cerebras Inference vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-meta-model-api.json",
        "title": "Cerebras Inference vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-minimax-api.json",
        "title": "Cerebras Inference vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api.json",
        "title": "Cerebras Inference vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-muse-spark-open.json",
        "title": "Cerebras Inference vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-nemotron-3-5-super-vl.json",
        "title": "Cerebras Inference vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-novita-ai.json",
        "title": "Cerebras Inference vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-openai-api.json",
        "title": "Cerebras Inference vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-openrouter.json",
        "title": "Cerebras Inference vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-prism-inference.json",
        "title": "Cerebras Inference vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router.json",
        "title": "Cerebras Inference vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-reflection-beam.json",
        "title": "Cerebras Inference vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-routerplus.json",
        "title": "Cerebras Inference vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-sambanova.json",
        "title": "Cerebras Inference vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-siliconflow.json",
        "title": "Cerebras Inference vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-simplismart.json",
        "title": "Cerebras Inference vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-stepfun-api.json",
        "title": "Cerebras Inference vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash.json",
        "title": "Cerebras Inference vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub.json",
        "title": "Cerebras Inference vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-together-inference.json",
        "title": "Cerebras Inference vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-vercel-ai-gateway.json",
        "title": "Cerebras Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-vertex-ai.json",
        "title": "Cerebras Inference vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-vertex-ai"
      },
      {
        "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-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-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-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-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/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-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-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-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/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-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/inkling-2-small-vs-xai-api.json",
        "title": "Inkling 2 Small vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/inkling-2-small-vs-xai-api"
      },
      {
        "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-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-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-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-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/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-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-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-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-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/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/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"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 15,
        "cerebras-inference": 70,
        "edge": "cerebras-inference",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16,
        "xai-api": 55
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 5,
        "cerebras-inference": 93,
        "edge": "cerebras-inference",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13,
        "xai-api": 88
      },
      {
        "by": 5,
        "cerebras-inference": 85,
        "edge": "xai-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13,
        "xai-api": 90
      },
      {
        "by": 27,
        "cerebras-inference": 70,
        "edge": "xai-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14,
        "xai-api": 97
      },
      {
        "by": 0,
        "cerebras-inference": 20,
        "edge": "",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10,
        "xai-api": 20
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 12,
        "cerebras-inference": 65,
        "edge": "xai-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7,
        "xai-api": 77
      },
      {
        "by": 3,
        "cerebras-inference": 60,
        "edge": "xai-api",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7,
        "xai-api": 63
      }
    ],
    "summary": "xAI API (Grok) scores 71.7 (BB) on agent readiness against Cerebras Inference's 68.6 (B), and leads in 4 of 7 scored categories. Cerebras Inference leads on reliability and schema \u0026 documentation. Both do llm inference.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "cerebras-inference": "An OpenAI-compatible API with typed schemas, official SDKs and model output controls. Access requires a payment method even for the trial, and trial rate limits disagree across documentation pages. Shared-model availability and dedicated-model availability differ.",
      "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/cerebras-inference-vs-xai-api",
    "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.min.md"
  },
  "markdown": "xAI API (Grok) scores 71.7 (BB) on agent readiness against Cerebras Inference's 68.6 (B), and leads in 4 of 7 scored categories. Cerebras Inference leads on reliability and schema \u0026 documentation. Both do llm inference.\n\n- Cerebras Inference: grade B, 68.6/100, rank #278 of 1510. Markdown https://www.anchorterminal.com/tools/cerebras-inference.md · JSON https://www.anchorterminal.com/api/v1/tools/cerebras-inference.json\n- xAI API (Grok): grade BB, 71.7/100, rank #152 of 1510. 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 830 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Cerebras Inference (B)\n\nGood for: Cerebras Inference serves language models on Cerebras wafer-scale processors through an OpenAI-compatible API.\n\nAhead on:\n- Reliability, 70 against 55\n- Schema \u0026 documentation, 93 against 88\n\nWatch for: Trial access requires a verified payment method and ends after $5 or 30 days\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- Agent ergonomics, 90 against 85\n- Security \u0026 auth, 97 against 70\n- Maintenance \u0026 community, 77 against 65\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) +27\n\n- Cerebras Inference (70): Revocable Bearer keys with rotation instructions (20). Paid-project boundaries, but no inference-only key permission found (10 of 20). GPT OSS documentation warns about undeclared tool calls and tells callers to validate them (10 of 15). Request and audit logs in the console (15). Trust centre lists SOC 2 Type II, with reports requiring access (15 of 20).\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### Reliability: Cerebras Inference +15\n\n- Cerebras Inference (70): Graded as listed, on the hosted API lines. Public component status history at status.cerebras.ai, with components for GPT-OSS-120B, Qwen-3.8-27b and the Developer Console (20). The history feed, read on 1 November 2026, runs back to November 2025, so the whole 90 days from 3 August were read. On 25 September 2026 Cerebras posted that parts of the service might be unavailable from 10:54 UTC, services were back at 13:41 UTC and the incident was resolved at 17:14 UTC, marked major and affecting both public model components. That is about 2 hours 47 minutes with the whole shared catalogue affected, one major. A 15-minute partial degradation of Gemma 4 31B on 27 August is minor, and the 30 August firewall maintenance was announced on 25 August (10). Numeric rate-limit tables, although the trial request limit is 5 a minute on the rate-limits page and 30 a minute on the GPT OSS page, re-read on 1 November (15). SDK error classes and bounded retries with backoff (15). No public shared-inference SLA established (0). Shared inference is generally available (10).\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) +12\n\n- Cerebras Inference (65): Dated changelog entry on 28 October 2026, adding five models to the Dedicated catalogue and documenting image inputs in tool messages and new reasoning controls (30). Seven dated changelog entries in the 90 days from 3 August, on 28 and 31 August, two on 3 September, 22 September, 9 October and 28 October (20). Support responsiveness not established (0). Official Python and TypeScript SDKs, both last released as 1.91.0 on 8 July 2026 (15). Runtime dependency health and CI were not audited (0).\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### Schema \u0026 documentation: Cerebras Inference +5\n\n- Cerebras Inference (93): Public OpenAPI 3.1 (25), llms.txt and Markdown pages (10), documented capability and compatibility limits (16 of 20), typed inputs and constrained parameters (13 of 15), examples and error guidance (14 of 15), and API versions plus dated changelog (15).\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) +5\n\n- Cerebras Inference (85): Model API with bounded output and compact request shape (25). Output token controls, streaming and structured outputs (20). Documented error classes and fixes (20). Bounded transient retries but no request-deduplication guarantee established (5 of 20). Defaults and official Python and TypeScript SDKs (15).\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## Score by category\n\n| Category | Weight | Cerebras Inference | xAI API (Grok) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 70 | 55 | Cerebras Inference +15 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 93 | 88 | Cerebras Inference +5 |\n| Agent ergonomics | 13% (16.2 this run) | 85 | 90 | xAI API (Grok) +5 |\n| Security \u0026 auth | 14% (17.5 this run) | 70 | 97 | xAI API (Grok) +27 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 20 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 65 | 77 | xAI API (Grok) +12 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 60 | 63 | xAI API (Grok) +3 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **68.6 · B** | **71.7 · BB** | |\n\n## Facts side by side\n\n| Fact | Cerebras Inference | xAI API (Grok) |\n| --- | --- | --- |\n| Kind | HTTP API | Model API |\n| Vendor | Cerebras Systems Inc. | SpaceXSI (xAI) |\n| Hosted endpoint | `https://api.cerebras.ai/v1` | `https://api.x.ai/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Paid | Pay per use |\n| x402 | no | no |\n| Licence | Proprietary hosted service. The official Python SDK is Apache-2.0; served models retain their own licences. | 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 | yes | yes |\n| Last release | 2026-10-28 | 2026-11-02 |\n| Terms last updated | couldn't be read | 2026-10-27 |\n| Privacy policy last updated | 2024-08-27 | 2026-10-27 |\n| Customer content may train models | couldn't be read | yes |\n| Terms restrict automated access | couldn't be read | not found in the text |\n| Terms restrict benchmarking | couldn't be read | not found in the text |\n| Terms or service can change without notice | couldn't be read | not found in the text |\n| Arbitration or class-action waiver | couldn't be read | yes |\n| Popularity | 170 stars | 597 stars, 912k PyPI/wk |\n| Agent reviews | 3.3/5 (4) | none |\n\n## How the scores have moved\n\n### Cerebras Inference\n\n- +0.2 on 27 October 2026: checklist\n\n### xAI API (Grok)\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Cerebras Inference.** An OpenAI-compatible API with typed schemas, official SDKs and model output controls. Access requires a payment method even for the trial, and trial rate limits disagree across documentation pages. Shared-model availability and dedicated-model availability differ.\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### Cerebras Inference\n\n1. Set CEREBRAS_API_KEY and use https://api.cerebras.ai/v1 with an OpenAI-compatible client.\n2. Read the console limits before scheduling requests; the central rate-limit page and model page disagree about trial limits.\n3. Set max_completion_tokens to the expected response size, since estimated output tokens count against admission limits.\n4. Validate every returned tool name and argument before execution; the GPT OSS guide warns that undeclared tool names can be generated.\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, Cerebras Inference or xAI API (Grok)?\n\nxAI API (Grok) scores 71.7 (BB) on agent readiness against Cerebras Inference's 68.6 (B), and leads in 4 of 7 scored categories. Cerebras Inference leads on reliability and schema \u0026 documentation.\n\n### Do Cerebras Inference and xAI API (Grok) need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cerebras Inference and xAI API (Grok) without installing anything?\n\nYes. Cerebras Inference has a hosted endpoint at https://api.cerebras.ai/v1 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/cerebras-inference-vs-xai-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cerebras-inference\", \"b\": \"xai-api\"}`. From a terminal: `anchor compare cerebras-inference xai-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cerebras-inference.json and https://www.anchorterminal.com/api/v1/tools/xai-api.json\n\n## Other comparisons with Cerebras Inference or xAI API (Grok)\n\n- [Amazon Bedrock vs Cerebras Inference](https://www.anchorterminal.com/compare/amazon-bedrock-vs-cerebras-inference.md)\n- [Amazon Bedrock vs xAI API (Grok)](https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api.md)\n- [Claude API vs Cerebras Inference](https://www.anchorterminal.com/compare/anthropic-api-vs-cerebras-inference.md)\n- [Claude API vs xAI API (Grok)](https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api.md)\n- [Antseed vs Cerebras Inference](https://www.anchorterminal.com/compare/antseed-vs-cerebras-inference.md)\n- [Antseed vs xAI API (Grok)](https://www.anchorterminal.com/compare/antseed-vs-xai-api.md)\n- [Azure OpenAI in Foundry Models vs Cerebras Inference](https://www.anchorterminal.com/compare/azure-openai-vs-cerebras-inference.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 Cerebras Inference](https://www.anchorterminal.com/compare/blockrun-ai-vs-cerebras-inference.md)\n- [BlockRun.AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api.md)\n- [Cerebras Inference vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.md)\n- [Cerebras Inference vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-workers-ai.md)\n- [Cerebras Inference vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cerebras-inference-vs-cohere-chat.md)\n- [Cerebras Inference vs DeepInfra](https://www.anchorterminal.com/compare/cerebras-inference-vs-deepinfra.md)\n- [Cerebras Inference vs DeepSeek API](https://www.anchorterminal.com/compare/cerebras-inference-vs-deepseek-api.md)\n- [Cerebras Inference vs Eden AI](https://www.anchorterminal.com/compare/cerebras-inference-vs-eden-ai.md)\n- [Cerebras Inference vs Glimpse](https://www.anchorterminal.com/compare/cerebras-inference-vs-elorian-glimpse.md)\n- [Cerebras Inference vs Fireworks AI Inference](https://www.anchorterminal.com/compare/cerebras-inference-vs-fireworks-inference.md)\n- [Cerebras Inference vs Gemini Developer API](https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-api.md)\n- [Cerebras Inference vs GroqCloud](https://www.anchorterminal.com/compare/cerebras-inference-vs-groq.md)\n- [Cerebras Inference vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cerebras-inference-vs-hugging-face-inference-providers.md)\n- [Cerebras Inference vs Inkling 2 Small](https://www.anchorterminal.com/compare/cerebras-inference-vs-inkling-2-small.md)\n- [Cerebras Inference vs Jais 3](https://www.anchorterminal.com/compare/cerebras-inference-vs-jais-3.md)\n- [Cerebras Inference vs Meta Model API](https://www.anchorterminal.com/compare/cerebras-inference-vs-meta-model-api.md)\n- [Cerebras Inference vs MiniMax API](https://www.anchorterminal.com/compare/cerebras-inference-vs-minimax-api.md)\n- [Cerebras Inference vs Mistral AI API](https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api.md)\n- [Cerebras Inference vs Muse Spark Open](https://www.anchorterminal.com/compare/cerebras-inference-vs-muse-spark-open.md)\n- [Cerebras Inference vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/cerebras-inference-vs-nemotron-3-5-super-vl.md)\n- [Cerebras Inference vs Novita AI](https://www.anchorterminal.com/compare/cerebras-inference-vs-novita-ai.md)\n- [Cerebras Inference vs OpenAI API](https://www.anchorterminal.com/compare/cerebras-inference-vs-openai-api.md)\n- [Cerebras Inference vs OpenRouter](https://www.anchorterminal.com/compare/cerebras-inference-vs-openrouter.md)\n- [Cerebras Inference vs Prism Inference](https://www.anchorterminal.com/compare/cerebras-inference-vs-prism-inference.md)\n- [Cerebras Inference vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/cerebras-inference-vs-ramp-router.md)\n- [Cerebras Inference vs Beam 1.0](https://www.anchorterminal.com/compare/cerebras-inference-vs-reflection-beam.md)\n- [Cerebras Inference vs RouterPlus](https://www.anchorterminal.com/compare/cerebras-inference-vs-routerplus.md)\n- [Cerebras Inference vs SambaCloud](https://www.anchorterminal.com/compare/cerebras-inference-vs-sambanova.md)\n- [Cerebras Inference vs SiliconFlow](https://www.anchorterminal.com/compare/cerebras-inference-vs-siliconflow.md)\n- [Cerebras Inference vs Simplismart](https://www.anchorterminal.com/compare/cerebras-inference-vs-simplismart.md)\n- [Cerebras Inference vs StepFun API](https://www.anchorterminal.com/compare/cerebras-inference-vs-stepfun-api.md)\n- [Cerebras Inference vs SWE-2 Flash](https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash.md)\n- [Cerebras Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub.md)\n- [Cerebras Inference vs Together AI Inference](https://www.anchorterminal.com/compare/cerebras-inference-vs-together-inference.md)\n- [Cerebras Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-vercel-ai-gateway.md)\n- [Cerebras Inference vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/cerebras-inference-vs-vertex-ai.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 xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-xai-api.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 xAI API (Grok)](https://www.anchorterminal.com/compare/deepinfra-vs-xai-api.md)\n- [DeepSeek API vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api.md)\n- [Eden AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/eden-ai-vs-xai-api.md)\n- [Glimpse vs xAI API (Grok)](https://www.anchorterminal.com/compare/elorian-glimpse-vs-xai-api.md)\n- [Fireworks AI Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/fireworks-inference-vs-xai-api.md)\n- [Gemini Developer API vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-api-vs-xai-api.md)\n- [GroqCloud vs xAI API (Grok)](https://www.anchorterminal.com/compare/groq-vs-xai-api.md)\n- [Hugging Face Inference Providers vs xAI API (Grok)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.md)\n- [Inkling 2 Small vs xAI API (Grok)](https://www.anchorterminal.com/compare/inkling-2-small-vs-xai-api.md)\n- [Jais 3 vs xAI API (Grok)](https://www.anchorterminal.com/compare/jais-3-vs-xai-api.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 xAI API (Grok)](https://www.anchorterminal.com/compare/minimax-api-vs-xai-api.md)\n- [Mistral AI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/mistral-api-vs-xai-api.md)\n- [Muse Spark Open vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-spark-open-vs-xai-api.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 xAI API (Grok)](https://www.anchorterminal.com/compare/novita-ai-vs-xai-api.md)\n- [OpenAI API vs xAI API (Grok)](https://www.anchorterminal.com/compare/openai-api-vs-xai-api.md)\n- [OpenRouter vs xAI API (Grok)](https://www.anchorterminal.com/compare/openrouter-vs-xai-api.md)\n- [Prism Inference vs xAI API (Grok)](https://www.anchorterminal.com/compare/prism-inference-vs-xai-api.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- [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",
  "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-07",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "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": "Cerebras Inference vs xAI API (Grok)",
        "url": ""
      }
    ],
    "description": "xAI scores 71.7 (BB) to Cerebras Inference's 68.6 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cerebras Inference B 68.6",
      "xAI API (Grok) BB 71.7",
      "scores"
    ],
    "h1": "Cerebras Inference vs xAI API (Grok)",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/cerebras-inference-vs-xai-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cerebras Inference vs xAI for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-07",
    "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-xai-api"
  },
  "tokens": {
    "markdown": 6200,
    "slim": 2830
  },
  "version": 1
}
