{
  "data": {
    "a": {
      "slug": "digitalocean-serverless-inference",
      "name": "DigitalOcean Serverless Inference",
      "vendor": "DigitalOcean, LLC",
      "vendorUrl": "https://www.digitalocean.com",
      "company": "digitalocean.com",
      "kind": "model",
      "category": "inference",
      "summary": "DigitalOcean Serverless Inference is a prepaid, per-token API at inference.do-ai.run for more than 70 models, both open-weight models DigitalOcean hosts and OpenAI and Anthropic models. It accepts OpenAI-compatible and Anthropic-style Messages calls, with batch, embeddings and media generation.",
      "url": "https://www.anchorterminal.com/tools/digitalocean-serverless-inference",
      "markdownUrl": "https://www.anchorterminal.com/tools/digitalocean-serverless-inference.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/digitalocean-serverless-inference.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/digitalocean-serverless-inference.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/digitalocean-serverless-inference.json",
      "dns": "digitalocean-serverless-inference.grade.anchorterminal.com",
      "transports": [
        "http"
      ],
      "packages": [],
      "auth": "api-key",
      "authNotes": "Bearer model access key, or a DigitalOcean personal access token. Model access keys are made only in the Control Panel, shown once, and can be scoped to chosen foundation models or inference routers, restricted to a VPC network, allowed batch inference, regenerated with no grace period and deleted. Keys made before scoping are legacy keys with access to every model. A monthly spend threshold per key (public preview) can pause the key at its budget.",
      "pricing": "usage",
      "pricingNotes": "Per-token prices for every model are published without a login, billed per thousand tokens, for example gpt-oss-120b at $0.10 input and $0.70 output per million tokens. Serverless inference is prepaid only, drawing on promotional credits, then the Inference and Agents balance ($5 to $500 top-ups, auto-reload on by default), then the account prepayment balance. Batch jobs on OpenAI and Anthropic models cost up to 50 per cent less. No free API allowance was found.",
      "priceSummary": "$10 / 1k req",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the inference docs, pricing, limits or the inference OpenAPI files in digitalocean/openapi (checked 2026-11-23). Funds are added on the Billing page with a payment method on file.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://docs.digitalocean.com/products/inference/how-to/si-overview/",
      "llmsTxt": "https://docs.digitalocean.com/llms.txt",
      "openapi": "https://github.com/digitalocean/openapi",
      "capabilities": [
        "inference.llm",
        "inference.open-weights",
        "inference.router"
      ],
      "tags": [
        "hosted",
        "usage",
        "prepaid",
        "openai-compatible",
        "openapi",
        "llms-txt",
        "batch",
        "streaming",
        "python",
        "enterprise"
      ],
      "lastRelease": "2026-11-18",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 74.6,
        "grade": "BB",
        "agentReady": true,
        "rank": 151,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 11,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 82,
          "maintenance": 71,
          "payments": 30,
          "reliability": 70,
          "schema": 91,
          "security": 91,
          "transparency": 75
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": 0,
        "verdict": "One prepaid key reaches open-weight, OpenAI and Anthropic models through OpenAI-compatible and Messages endpoints, with model- and VPC-scoped keys, no storage of prompts and a public OpenAPI. Models are retired often on 14 days' notice, low account tiers can't call Anthropic models, and there is no free API allowance or SLA.",
        "bestFor": "Teams already on DigitalOcean wanting one prepaid bill for open-weight and frontier models, with VPC-locked keys.",
        "strengths": [
          "Model access keys can be scoped to chosen models or routers, locked to a VPC and capped by a monthly spend threshold",
          "DigitalOcean says it neither stores nor trains on inputs and outputs, and hosted models' data never goes back to their creators",
          "OpenAPI files for every serverless endpoint are public in digitalocean/openapi, with curl, Python and Go samples",
          "Every response carries rate-limit headers with a reset time, and 429s carry Retry-After",
          "Per-token prices for every model are public, with prompt caching and batch discounts on OpenAI and Anthropic models"
        ],
        "weaknesses": [
          "Twenty model IDs were retired between 18 August and 10 November 2026, each with 14 days' notice before requests return 404",
          "Tier 1 and Tier 2 accounts can't call Anthropic models or most OpenAI models",
          "Serverless inference is prepaid only, with no free API allowance found, and limits are maximums with no SLA",
          "Keys can be made only in the Control Panel, and legacy keys keep access to every model",
          "The end-of-support table lists some retired models twice with different replacements"
        ],
        "agentNotes": [
          "Call `GET /v1/models` before choosing a model ID, since retired IDs return 404 `Model not found`",
          "Read `x-ratelimit-remaining-*` headers and slow down early; on 429 wait for Retry-After",
          "If a call returns 403 `This resource has been blocked`, stop and tell the user the key hit its spend threshold",
          "Ask the user for a key scoped to the models you need, not a legacy or all-models key",
          "Use batch inference for large OpenAI or Anthropic text jobs, and retry creation safely, since it is idempotent"
        ],
        "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": 74.6
          }
        ],
        "editorialScores": {
          "ergonomics": 82,
          "maintenance": 71,
          "payments": 30,
          "reliability": 70,
          "schema": 91,
          "security": 91,
          "transparency": 64
        },
        "provenanceScore": 86,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-23",
            "maintenance": "2026-11-23",
            "payments": "2026-11-23",
            "reliability": "2026-11-23",
            "schema": "2026-11-23",
            "security": "2026-11-23",
            "transparency": "2026-11-23"
          },
          "last": "2026-11-23",
          "oldest": "2026-11-23",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl https://inference.do-ai.run/v1/chat/completions \\\n  -H \"Authorization: Bearer $MODEL_ACCESS_KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"model\": \"openai-gpt-oss-120b\", \"messages\": [{\"role\": \"user\", \"content\": \"Say hello.\"}], \"max_tokens\": 128}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/digitalocean-serverless-inference"
      },
      "sameCompany": [
        "digitalocean-managed-agents",
        "digitalocean-mcp",
        "digitalocean-spaces"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "gpt-oss-120b input",
          "unit": "1m-tokens",
          "usd": 0.1,
          "note": "Serverless, standard, checked 23 November 2026"
        },
        {
          "item": "gpt-oss-120b output",
          "unit": "1m-tokens",
          "usd": 0.7,
          "note": "Serverless, standard"
        },
        {
          "item": "DeepSeek V4.1 Flash input",
          "unit": "1m-tokens",
          "usd": 0.3,
          "note": "DigitalOcean-hosted. Cache read $0.006"
        },
        {
          "item": "DeepSeek V4.1 Flash output",
          "unit": "1m-tokens",
          "usd": 1.2,
          "note": "DigitalOcean-hosted"
        },
        {
          "item": "Claude Sonnet 5.5 input",
          "unit": "1m-tokens",
          "usd": 2,
          "note": "Tier 3 and above. Cache read $0.20"
        },
        {
          "item": "Claude Sonnet 5.5 output",
          "unit": "1m-tokens",
          "usd": 10,
          "note": "Tier 3 and above"
        },
        {
          "item": "Web search tool",
          "unit": "1k-requests",
          "usd": 10,
          "note": "On top of tokens, not charged with Anthropic models"
        }
      ],
      "provenance": {
        "legalEntity": "DigitalOcean, LLC",
        "domain": "digitalocean.com",
        "domainRegistered": "2000-04-12",
        "endpointOnVendorDomain": false,
        "terms": "https://www.digitalocean.com/legal/terms-of-service-agreement",
        "privacy": "https://www.digitalocean.com/legal/privacy-policy",
        "statusPage": "https://status.digitalocean.com",
        "changelog": "https://docs.digitalocean.com/release-notes/inference/",
        "securityTxt": "valid",
        "checked": "2026-11-23",
        "notes": [
          "The legal entity, address, terms, privacy policy and domain date are DigitalOcean's company facts as recorded for its other listings. The terms and privacy policy were not re-read for this listing.",
          "The serverless endpoint is inference.do-ai.run, a domain other than digitalocean.com. DigitalOcean's own docs and its OpenAPI files name it.",
          "security.txt at www.digitalocean.com is valid to 5 April 2028 and names an Intigriti programme and security@digitalocean.com. The security page claims SOC 2 Type II and SOC 3 Type II.",
          "docs.digitalocean.com and status.digitalocean.com published robots.txt rules that allowed the pages read."
        ],
        "score": 86
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/digitalocean-serverless-inference.json",
      "live": {
        "slug": "digitalocean-serverless-inference",
        "vendorStatus": {
          "page": "https://status.digitalocean.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-23T17:35:55.768862065Z"
        },
        "updatedAt": "2026-11-23T17:35:55.768862065Z"
      }
    },
    "answer": "DigitalOcean Serverless Inference scores 74.6 (BB) on agent readiness against xAI API (Grok)'s 72.9 (BB), and leads in 3 of 7 scored categories. xAI API (Grok) leads on agent ergonomics, security \u0026 auth and maintenance \u0026 community.",
    "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": 217,
        "ranked": true,
        "rankOf": 1654,
        "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-23T17:42:34.394785303Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 633,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 155,
          "p95ms24h": 238,
          "samples24h": 243,
          "samples30d": 4073,
          "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": 179,
              "ok": 179
            }
          ],
          "since": "2026-11-06T00:00:00Z"
        },
        "vendorStatus": {
          "page": "https://status.x.ai",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-23T17:12:54.541468815Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "xai-org/xai-sdk-python",
            "version": "v1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-23T01:04:13.142095711Z"
          },
          {
            "registry": "pypi",
            "name": "xai-sdk",
            "version": "1.21.0",
            "released": "2026-10-23",
            "seenAt": "2026-11-23T01:04:12.714411747Z"
          }
        ],
        "githubStars": 622,
        "pypiWeekly": 954189,
        "securityTxt": {
          "url": "https://x.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-06-29T00:00:00.000Z",
          "checkedAt": "2026-11-23T16:42:58.183847833Z"
        },
        "llmsTxt": {
          "url": "https://docs.x.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:41:49.676989804Z"
        },
        "domain": {
          "domain": "x.ai",
          "registered": "2017-12-16",
          "source": "https://rdap.identitydigital.services/rdap/domain/x.ai",
          "checkedAt": "2026-11-22T16:06:59.36091876Z"
        },
        "pages": [
          {
            "url": "https://docs.x.ai/developers/migration/imagine-image-quality-nov-2",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-23T00:26:30.229460254Z",
            "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-23T00:26:32.679062875Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "813d0e188a0e"
          },
          {
            "url": "https://docs.x.ai/developers/release-notes",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-23T00:26:36.371153071Z",
            "changedAt": "2026-11-20T23:04:42.268419506Z",
            "fingerprint": "401913a3d949"
          },
          {
            "url": "https://docs.x.ai/developers/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-23T00:26:34.381495207Z",
            "changedAt": "2026-11-20T23:04:40.215700514Z",
            "fingerprint": "c7e1e8e87c56"
          },
          {
            "url": "https://x.ai/legal/privacy-policy",
            "kind": "privacy",
            "status": 403,
            "checkedAt": "2026-11-23T00:56:25.410821405Z",
            "changedAt": "0001-01-01T00:00:00Z"
          },
          {
            "url": "https://x.ai/legal/terms-of-service-enterprise",
            "kind": "terms",
            "status": 403,
            "checkedAt": "2026-11-23T00:56:27.424506302Z",
            "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-23T17:42:34.394785303Z"
      },
      "streak": {
        "days": 17,
        "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": 17
      }
    },
    "edges": [
      {
        "by": 15,
        "category": "reliability",
        "leads": "digitalocean-serverless-inference",
        "name": "Reliability",
        "reasons": {
          "a": "Hosted lines, for the serverless API at inference.do-ai.run. status.digitalocean.com is a Statuspage with an Inference component under Agentic Inference Cloud and component history (20). The history feed, read on 23 November 2026, has one incident naming Serverless Inference in the 90-day window, the public API and Control Panel incident of 24 and 25 August, whose updates say Serverless Inference users could get 403 and 503 errors, across several hours. It sits at the window's edge and is read as one major outage. The incidents since were regional or for other products (10). Limits are published by tier, from 120 requests and 1.5M tokens a minute to 1,200 and 25M (15). Every response carries rate-limit headers with a projected reset time, 429s carry Retry-After, and batch job creation is idempotent (15). The limits page says serverless inference runs on a commercially reasonable effort basis and published limits guarantee no throughput or availability. No SLA found (0). Serverless inference launched on 5 June 2025 and the platform went GA on 9 July 2025. Inference Router and spend thresholds are in public preview, but the endpoints graded are not (10). 20 + 10 + 15 + 15 + 0 + 10 = 70.",
          "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": "transparency",
        "leads": "digitalocean-serverless-inference",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "Closed service under DigitalOcean's terms (15). The data privacy page, updated 10 November 2026, states what is and isn't stored for hosted, OpenAI, Anthropic and batch requests and for Signals, and the statements agree with each other. The privacy policy and DPA were not re-read for this listing (22 of 30). A model support policy gives notice periods and an end-of-support table with replacements, though some rows conflict (15 of 20). Third-party providers are named per model and Signals data stays in a United States region. The subprocessor list was not read (12 of 20). 15 + 22 + 15 + 12 = 64.",
          "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": 75,
          "b": 63
        }
      },
      {
        "by": 8,
        "category": "ergonomics",
        "leads": "xai-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Model reading. Context windows up to 1.05M tokens on the newest OpenAI models and 1M on Claude Sonnet 5, `max_tokens` and streaming (22 of 25). Tool calling on every OpenAI and Anthropic model, prompt caching on Chat Completions, Responses and Messages, and batch, embeddings and media endpoints. Anthropic's extended thinking is not available, and endpoints may not work with every OpenAI tool (17 of 20). Errors are typed in the spec, rate-limit headers give remaining capacity and a reset time, and a paused key returns 403 `This resource has been blocked` (15 of 20). Batch creation is idempotent and only completed requests are billed, but synchronous calls take no idempotency key (15 of 20). OpenAI-compatible routes work with the OpenAI SDKs, Messages works with Claude Code via `ANTHROPIC_BASE_URL`, and DigitalOcean names PyDo and its Go client. The Gradient SDK is marked for deprecation in a future release (13 of 15). 22 + 17 + 15 + 15 + 13 = 82.",
          "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": 82,
          "b": 90
        }
      },
      {
        "by": 6,
        "category": "security",
        "leads": "xai-api",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Model reading of the checklist, with training and retention in place of the least-privilege and injection lines. Model access keys can be scoped to chosen models or routers and to a VPC, allowed batch or not, regenerated and deleted, and capped by a monthly spend threshold that can pause the key. Keys made before scoping keep access to every model (30). DigitalOcean says it does not train on inputs or outputs and that data for its hosted models never goes to the model's creator (18 of 20, since third-party models follow their providers' policies). It says it stores no inputs or outputs except for opt-in Signals. Batch result files are kept 29 to 30 days, and Claude Fable 5 to 5.2 carry Anthropic's mandatory 30-day retention (13 of 15). Serverless inference metrics give per-request cost and error data, but no audit log of key use was found (10 of 15). security.txt is valid to 5 April 2028 and names an Intigriti bug bounty, and the security page claims SOC 2 Type II and SOC 3 Type II (20). 30 + 18 + 13 + 10 + 20 = 91.",
          "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": 91,
          "b": 97
        }
      },
      {
        "by": 6,
        "category": "maintenance",
        "leads": "xai-api",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Read as a model, with deprecation notice and churn in place of release counts. The newest release note is 18 November 2026, adding GPT-6.2 Astra and Sol (30). The notes add models every week or two, but retirement comes after 14 days' email notice and 7 days in a slugs-only phase. Twenty model IDs were retired between 18 August and 10 November 2026, and Nemotron 3 Ultra was named a replacement on 8 September and retired on 5 November (12 of 20). Dated release notes, support tickets and a community, with no evidence read of how they answer (12 of 15). PyDo and the OpenAI SDKs are named as clients, but their versions were not checked, and the Gradient SDK is being deprecated (10 of 15). The OpenAPI repository was updated on 23 November 2026 (7 of 10). 30 + 12 + 12 + 10 + 7 = 71.",
          "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": 71,
          "b": 77
        }
      }
    ],
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "DigitalOcean, LLC",
        "b": "SpaceXSI (xAI)",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "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": "none",
        "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-11-18",
        "b": "2026-11-02",
        "name": "Last release"
      },
      {
        "a": "2026-08-22",
        "b": "2026-10-27",
        "name": "Terms last updated"
      },
      {
        "a": "2025-01-01",
        "b": "2026-10-27",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "none",
        "b": "597 stars, 912k PyPI/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "DigitalOcean Serverless Inference scores 74.6 (BB) on agent readiness against xAI API (Grok)'s 72.9 (BB), and leads in 3 of 7 scored categories. xAI API (Grok) leads on agent ergonomics, security \u0026 auth and maintenance \u0026 community.",
        "question": "Which is better for AI agents, DigitalOcean Serverless Inference or xAI API (Grok)?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do DigitalOcean Serverless Inference and xAI API (Grok) need an API key?"
      },
      {
        "answer": "No hosted endpoint is listed for DigitalOcean Serverless Inference. xAI API (Grok) has a hosted endpoint at https://api.x.ai/v1.",
        "question": "Can an agent call DigitalOcean Serverless Inference and xAI API (Grok) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 55",
          "Transparency \u0026 trust, 75 against 63"
        ],
        "also": null,
        "goodFor": "Teams already on DigitalOcean wanting one prepaid bill for open-weight and frontier models, with VPC-locked keys.",
        "slug": "digitalocean-serverless-inference",
        "watchFor": "Twenty model IDs were retired between 18 August and 10 November 2026, each with 14 days' notice before requests return 404"
      },
      {
        "aheadOn": [
          "Agent ergonomics, 90 against 82",
          "Security \u0026 auth, 97 against 91",
          "Maintenance \u0026 community, 77 against 71"
        ],
        "also": [
          "A hosted endpoint, with nothing to install"
        ],
        "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": {
      "digitalocean-serverless-inference": 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/amazon-bedrock-vs-digitalocean-serverless-inference.json",
        "title": "Amazon Bedrock vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-digitalocean-serverless-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-digitalocean-serverless-inference.json",
        "title": "Claude API vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-digitalocean-serverless-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-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-digitalocean-serverless-inference.json",
        "title": "Azure OpenAI in Foundry Models vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-digitalocean-serverless-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-digitalocean-serverless-inference.json",
        "title": "BlockRun.AI vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-digitalocean-serverless-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-digitalocean-serverless-inference.json",
        "title": "Cerebras Inference vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "Claude Fable 5.2 vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "Claude Mythos 5.2 vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "Cloudflare AI Gateway vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "Cloudflare Workers AI vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "Cohere Chat API (Command models) vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "DeepInfra vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-digitalocean-serverless-inference"
      },
      {
        "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-digitalocean-serverless-inference.json",
        "title": "DeepSeek API vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-digitalocean-serverless-inference"
      },
      {
        "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-eden-ai.json",
        "title": "DigitalOcean Serverless Inference vs Eden AI",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-eden-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-elorian-glimpse.json",
        "title": "DigitalOcean Serverless Inference vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-fireworks-inference.json",
        "title": "DigitalOcean Serverless Inference vs Fireworks AI Inference",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-fireworks-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-argon.json",
        "title": "DigitalOcean Serverless Inference vs Gemini 4 Argon",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-argon"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-carbon.json",
        "title": "DigitalOcean Serverless Inference vs Gemini 4 Carbon",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-carbon"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-hydrogen.json",
        "title": "DigitalOcean Serverless Inference vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-neon.json",
        "title": "DigitalOcean Serverless Inference vs Gemini 4 Neon",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-neon"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-api.json",
        "title": "DigitalOcean Serverless Inference vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gpt-6-2-astra.json",
        "title": "DigitalOcean Serverless Inference vs GPT-6.2 Astra",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gpt-6-2-astra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-groq.json",
        "title": "DigitalOcean Serverless Inference vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hugging-face-inference-providers.json",
        "title": "DigitalOcean Serverless Inference vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hy4.json",
        "title": "DigitalOcean Serverless Inference vs Tencent Hy4",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hy4"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-jais-3.json",
        "title": "DigitalOcean Serverless Inference vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-meta-model-api.json",
        "title": "DigitalOcean Serverless Inference vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-minimax-api.json",
        "title": "DigitalOcean Serverless Inference vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-mistral-api.json",
        "title": "DigitalOcean Serverless Inference vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-ember.json",
        "title": "DigitalOcean Serverless Inference vs Muse Ember",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-ember"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-spark-open.json",
        "title": "DigitalOcean Serverless Inference vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nebius-token-factory.json",
        "title": "DigitalOcean Serverless Inference vs Nebius Token Factory",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nebius-token-factory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nemotron-3-5-super-vl.json",
        "title": "DigitalOcean Serverless Inference vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-novita-ai.json",
        "title": "DigitalOcean Serverless Inference vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openai-api.json",
        "title": "DigitalOcean Serverless Inference vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openrouter.json",
        "title": "DigitalOcean Serverless Inference vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-prism-inference.json",
        "title": "DigitalOcean Serverless Inference vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-ramp-router.json",
        "title": "DigitalOcean Serverless Inference vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-reflection-beam.json",
        "title": "DigitalOcean Serverless Inference vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-routerplus.json",
        "title": "DigitalOcean Serverless Inference vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-sambanova.json",
        "title": "DigitalOcean Serverless Inference vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-siliconflow.json",
        "title": "DigitalOcean Serverless Inference vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-simplismart.json",
        "title": "DigitalOcean Serverless Inference vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-stepfun-api.json",
        "title": "DigitalOcean Serverless Inference vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-swe-2-flash.json",
        "title": "DigitalOcean Serverless Inference vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-tencent-tokenhub.json",
        "title": "DigitalOcean Serverless Inference vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-together-inference.json",
        "title": "DigitalOcean Serverless Inference vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vercel-ai-gateway.json",
        "title": "DigitalOcean Serverless Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vertex-ai.json",
        "title": "DigitalOcean Serverless Inference vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vertex-ai"
      },
      {
        "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-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-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-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-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-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-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-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/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-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-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-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-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-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"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-digitalocean-serverless-inference.json",
        "title": "Antseed vs DigitalOcean Serverless Inference",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-digitalocean-serverless-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-litellm.json",
        "title": "DigitalOcean Serverless Inference vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-litellm"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 15,
        "digitalocean-serverless-inference": 70,
        "edge": "digitalocean-serverless-inference",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16,
        "xai-api": 55
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 3,
        "digitalocean-serverless-inference": 91,
        "edge": "digitalocean-serverless-inference",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13,
        "xai-api": 88
      },
      {
        "by": 8,
        "digitalocean-serverless-inference": 82,
        "edge": "xai-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13,
        "xai-api": 90
      },
      {
        "by": 6,
        "digitalocean-serverless-inference": 91,
        "edge": "xai-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14,
        "xai-api": 97
      },
      {
        "by": 0,
        "digitalocean-serverless-inference": 30,
        "edge": "",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10,
        "xai-api": 30
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 6,
        "digitalocean-serverless-inference": 71,
        "edge": "xai-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7,
        "xai-api": 77
      },
      {
        "by": 12,
        "digitalocean-serverless-inference": 75,
        "edge": "digitalocean-serverless-inference",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7,
        "xai-api": 63
      }
    ],
    "summary": "DigitalOcean Serverless Inference scores 74.6 (BB) on agent readiness against xAI API (Grok)'s 72.9 (BB), and leads in 3 of 7 scored categories. xAI API (Grok) leads on agent ergonomics, security \u0026 auth and maintenance \u0026 community. Both do llm inference.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "digitalocean-serverless-inference": "One prepaid key reaches open-weight, OpenAI and Anthropic models through OpenAI-compatible and Messages endpoints, with model- and VPC-scoped keys, no storage of prompts and a public OpenAPI. Models are retired often on 14 days' notice, low account tiers can't call Anthropic models, and there is no free API allowance or SLA.",
      "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/digitalocean-serverless-inference-vs-xai-api",
    "json": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.min.md"
  },
  "markdown": "DigitalOcean Serverless Inference scores 74.6 (BB) on agent readiness against xAI API (Grok)'s 72.9 (BB), and leads in 3 of 7 scored categories. xAI API (Grok) leads on agent ergonomics, security \u0026 auth and maintenance \u0026 community. Both do llm inference.\n\n- DigitalOcean Serverless Inference: grade BB, 74.6/100, rank #151 of 1654. Markdown https://www.anchorterminal.com/tools/digitalocean-serverless-inference.md · JSON https://www.anchorterminal.com/api/v1/tools/digitalocean-serverless-inference.json\n- xAI API (Grok): grade BB, 72.9/100, rank #217 of 1654. 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 1285 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### DigitalOcean Serverless Inference (BB)\n\nGood for: Teams already on DigitalOcean wanting one prepaid bill for open-weight and frontier models, with VPC-locked keys.\n\nAhead on:\n- Reliability, 70 against 55\n- Transparency \u0026 trust, 75 against 63\n\nWatch for: Twenty model IDs were retired between 18 August and 10 November 2026, each with 14 days' notice before requests return 404\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 82\n- Security \u0026 auth, 97 against 91\n- Maintenance \u0026 community, 77 against 71\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\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### Reliability: DigitalOcean Serverless Inference +15\n\n- DigitalOcean Serverless Inference (70): Hosted lines, for the serverless API at inference.do-ai.run. status.digitalocean.com is a Statuspage with an Inference component under Agentic Inference Cloud and component history (20). The history feed, read on 23 November 2026, has one incident naming Serverless Inference in the 90-day window, the public API and Control Panel incident of 24 and 25 August, whose updates say Serverless Inference users could get 403 and 503 errors, across several hours. It sits at the window's edge and is read as one major outage. The incidents since were regional or for other products (10). Limits are published by tier, from 120 requests and 1.5M tokens a minute to 1,200 and 25M (15). Every response carries rate-limit headers with a projected reset time, 429s carry Retry-After, and batch job creation is idempotent (15). The limits page says serverless inference runs on a commercially reasonable effort basis and published limits guarantee no throughput or availability. No SLA found (0). Serverless inference launched on 5 June 2025 and the platform went GA on 9 July 2025. Inference Router and spend thresholds are in public preview, but the endpoints graded are not (10). 20 + 10 + 15 + 15 + 0 + 10 = 70.\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### Transparency \u0026 trust: DigitalOcean Serverless Inference +12\n\n- DigitalOcean Serverless Inference (75): Closed service under DigitalOcean's terms (15). The data privacy page, updated 10 November 2026, states what is and isn't stored for hosted, OpenAI, Anthropic and batch requests and for Signals, and the statements agree with each other. The privacy policy and DPA were not re-read for this listing (22 of 30). A model support policy gives notice periods and an end-of-support table with replacements, though some rows conflict (15 of 20). Third-party providers are named per model and Signals data stays in a United States region. The subprocessor list was not read (12 of 20). 15 + 22 + 15 + 12 = 64.\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### Agent ergonomics: xAI API (Grok) +8\n\n- DigitalOcean Serverless Inference (82): Model reading. Context windows up to 1.05M tokens on the newest OpenAI models and 1M on Claude Sonnet 5, `max_tokens` and streaming (22 of 25). Tool calling on every OpenAI and Anthropic model, prompt caching on Chat Completions, Responses and Messages, and batch, embeddings and media endpoints. Anthropic's extended thinking is not available, and endpoints may not work with every OpenAI tool (17 of 20). Errors are typed in the spec, rate-limit headers give remaining capacity and a reset time, and a paused key returns 403 `This resource has been blocked` (15 of 20). Batch creation is idempotent and only completed requests are billed, but synchronous calls take no idempotency key (15 of 20). OpenAI-compatible routes work with the OpenAI SDKs, Messages works with Claude Code via `ANTHROPIC_BASE_URL`, and DigitalOcean names PyDo and its Go client. The Gradient SDK is marked for deprecation in a future release (13 of 15). 22 + 17 + 15 + 15 + 13 = 82.\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### Security \u0026 auth: xAI API (Grok) +6\n\n- DigitalOcean Serverless Inference (91): Model reading of the checklist, with training and retention in place of the least-privilege and injection lines. Model access keys can be scoped to chosen models or routers and to a VPC, allowed batch or not, regenerated and deleted, and capped by a monthly spend threshold that can pause the key. Keys made before scoping keep access to every model (30). DigitalOcean says it does not train on inputs or outputs and that data for its hosted models never goes to the model's creator (18 of 20, since third-party models follow their providers' policies). It says it stores no inputs or outputs except for opt-in Signals. Batch result files are kept 29 to 30 days, and Claude Fable 5 to 5.2 carry Anthropic's mandatory 30-day retention (13 of 15). Serverless inference metrics give per-request cost and error data, but no audit log of key use was found (10 of 15). security.txt is valid to 5 April 2028 and names an Intigriti bug bounty, and the security page claims SOC 2 Type II and SOC 3 Type II (20). 30 + 18 + 13 + 10 + 20 = 91.\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### Maintenance \u0026 community: xAI API (Grok) +6\n\n- DigitalOcean Serverless Inference (71): Read as a model, with deprecation notice and churn in place of release counts. The newest release note is 18 November 2026, adding GPT-6.2 Astra and Sol (30). The notes add models every week or two, but retirement comes after 14 days' email notice and 7 days in a slugs-only phase. Twenty model IDs were retired between 18 August and 10 November 2026, and Nemotron 3 Ultra was named a replacement on 8 September and retired on 5 November (12 of 20). Dated release notes, support tickets and a community, with no evidence read of how they answer (12 of 15). PyDo and the OpenAI SDKs are named as clients, but their versions were not checked, and the Gradient SDK is being deprecated (10 of 15). The OpenAPI repository was updated on 23 November 2026 (7 of 10). 30 + 12 + 12 + 10 + 7 = 71.\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## Score by category\n\n| Category | Weight | DigitalOcean Serverless Inference | xAI API (Grok) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 70 | 55 | DigitalOcean Serverless Inference +15 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 91 | 88 | DigitalOcean Serverless Inference +3 |\n| Agent ergonomics | 13% | 82 | 90 | xAI API (Grok) +8 |\n| Security \u0026 auth | 14% | 91 | 97 | xAI API (Grok) +6 |\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% | 71 | 77 | xAI API (Grok) +6 |\n| Transparency \u0026 trust | 7% | 75 | 63 | DigitalOcean Serverless Inference +12 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **74.6 · BB** | **72.9 · BB** | |\n\n## Facts side by side\n\n| Fact | DigitalOcean Serverless Inference | xAI API (Grok) |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | DigitalOcean, LLC | SpaceXSI (xAI) |\n| Hosted endpoint | no (local only) | `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 | none | 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-11-18 | 2026-11-02 |\n| Terms last updated | 2026-08-22 | 2026-10-27 |\n| Privacy policy last updated | 2025-01-01 | 2026-10-27 |\n| Customer content may train models | not found in the text | yes |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | none | 597 stars, 912k PyPI/wk |\n\n## How the scores have moved\n\n### DigitalOcean Serverless Inference\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**DigitalOcean Serverless Inference.** One prepaid key reaches open-weight, OpenAI and Anthropic models through OpenAI-compatible and Messages endpoints, with model- and VPC-scoped keys, no storage of prompts and a public OpenAPI. Models are retired often on 14 days' notice, low account tiers can't call Anthropic models, and there is no free API allowance or SLA.\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### DigitalOcean Serverless Inference\n\n1. Call `GET /v1/models` before choosing a model ID, since retired IDs return 404 `Model not found`\n2. Read `x-ratelimit-remaining-*` headers and slow down early; on 429 wait for Retry-After\n3. If a call returns 403 `This resource has been blocked`, stop and tell the user the key hit its spend threshold\n4. Ask the user for a key scoped to the models you need, not a legacy or all-models key\n5. Use batch inference for large OpenAI or Anthropic text jobs, and retry creation safely, since it is idempotent\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, DigitalOcean Serverless Inference or xAI API (Grok)?\n\nDigitalOcean Serverless Inference scores 74.6 (BB) on agent readiness against xAI API (Grok)'s 72.9 (BB), and leads in 3 of 7 scored categories. xAI API (Grok) leads on agent ergonomics, security \u0026 auth and maintenance \u0026 community.\n\n### Do DigitalOcean Serverless Inference and xAI API (Grok) need an API key?\n\nBoth need an API key.\n\n### Can an agent call DigitalOcean Serverless Inference and xAI API (Grok) without installing anything?\n\nNo hosted endpoint is listed for DigitalOcean Serverless Inference. xAI API (Grok) has a hosted endpoint at https://api.x.ai/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"digitalocean-serverless-inference\", \"b\": \"xai-api\"}`. From a terminal: `anchor compare digitalocean-serverless-inference xai-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/digitalocean-serverless-inference.json and https://www.anchorterminal.com/api/v1/tools/xai-api.json\n\n## Other comparisons with DigitalOcean Serverless Inference or xAI API (Grok)\n\n- [Amazon Bedrock vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/amazon-bedrock-vs-digitalocean-serverless-inference.md)\n- [Amazon Bedrock vs xAI API (Grok)](https://www.anchorterminal.com/compare/amazon-bedrock-vs-xai-api.md)\n- [Claude API vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/anthropic-api-vs-digitalocean-serverless-inference.md)\n- [Claude API vs xAI API (Grok)](https://www.anchorterminal.com/compare/anthropic-api-vs-xai-api.md)\n- [Antseed vs xAI API (Grok)](https://www.anchorterminal.com/compare/antseed-vs-xai-api.md)\n- [Azure OpenAI in Foundry Models vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/azure-openai-vs-digitalocean-serverless-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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/blockrun-ai-vs-digitalocean-serverless-inference.md)\n- [BlockRun.AI vs xAI API (Grok)](https://www.anchorterminal.com/compare/blockrun-ai-vs-xai-api.md)\n- [Cerebras Inference vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/cerebras-inference-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/cohere-chat-vs-digitalocean-serverless-inference.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 DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/deepinfra-vs-digitalocean-serverless-inference.md)\n- [DeepInfra vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepinfra-vs-xai-api.md)\n- [DeepSeek API vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/deepseek-api-vs-digitalocean-serverless-inference.md)\n- [DeepSeek API vs xAI API (Grok)](https://www.anchorterminal.com/compare/deepseek-api-vs-xai-api.md)\n- [DigitalOcean Serverless Inference vs Eden AI](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-eden-ai.md)\n- [DigitalOcean Serverless Inference vs Glimpse](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-elorian-glimpse.md)\n- [DigitalOcean Serverless Inference vs Fireworks AI Inference](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-fireworks-inference.md)\n- [DigitalOcean Serverless Inference vs Gemini 4 Argon](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-argon.md)\n- [DigitalOcean Serverless Inference vs Gemini 4 Carbon](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-carbon.md)\n- [DigitalOcean Serverless Inference vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-hydrogen.md)\n- [DigitalOcean Serverless Inference vs Gemini 4 Neon](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-4-neon.md)\n- [DigitalOcean Serverless Inference vs Gemini Developer API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gemini-api.md)\n- [DigitalOcean Serverless Inference vs GPT-6.2 Astra](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-gpt-6-2-astra.md)\n- [DigitalOcean Serverless Inference vs GroqCloud](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-groq.md)\n- [DigitalOcean Serverless Inference vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hugging-face-inference-providers.md)\n- [DigitalOcean Serverless Inference vs Tencent Hy4](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-hy4.md)\n- [DigitalOcean Serverless Inference vs Jais 3](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-jais-3.md)\n- [DigitalOcean Serverless Inference vs Meta Model API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-meta-model-api.md)\n- [DigitalOcean Serverless Inference vs MiniMax API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-minimax-api.md)\n- [DigitalOcean Serverless Inference vs Mistral AI API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-mistral-api.md)\n- [DigitalOcean Serverless Inference vs Muse Ember](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-ember.md)\n- [DigitalOcean Serverless Inference vs Muse Spark Open](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-muse-spark-open.md)\n- [DigitalOcean Serverless Inference vs Nebius Token Factory](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nebius-token-factory.md)\n- [DigitalOcean Serverless Inference vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-nemotron-3-5-super-vl.md)\n- [DigitalOcean Serverless Inference vs Novita AI](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-novita-ai.md)\n- [DigitalOcean Serverless Inference vs OpenAI API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openai-api.md)\n- [DigitalOcean Serverless Inference vs OpenRouter](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-openrouter.md)\n- [DigitalOcean Serverless Inference vs Prism Inference](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-prism-inference.md)\n- [DigitalOcean Serverless Inference vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-ramp-router.md)\n- [DigitalOcean Serverless Inference vs Beam 1.0](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-reflection-beam.md)\n- [DigitalOcean Serverless Inference vs RouterPlus](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-routerplus.md)\n- [DigitalOcean Serverless Inference vs SambaCloud](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-sambanova.md)\n- [DigitalOcean Serverless Inference vs SiliconFlow](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-siliconflow.md)\n- [DigitalOcean Serverless Inference vs Simplismart](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-simplismart.md)\n- [DigitalOcean Serverless Inference vs StepFun API](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-stepfun-api.md)\n- [DigitalOcean Serverless Inference vs SWE-2 Flash](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-swe-2-flash.md)\n- [DigitalOcean Serverless Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-tencent-tokenhub.md)\n- [DigitalOcean Serverless Inference vs Together AI Inference](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-together-inference.md)\n- [DigitalOcean Serverless Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vercel-ai-gateway.md)\n- [DigitalOcean Serverless Inference vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-vertex-ai.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 4 Argon vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-argon-vs-xai-api.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 xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.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 xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-api-vs-xai-api.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 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- [Tencent Hy4 vs xAI API (Grok)](https://www.anchorterminal.com/compare/hy4-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 Ember vs xAI API (Grok)](https://www.anchorterminal.com/compare/muse-ember-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- [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 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- [Antseed vs DigitalOcean Serverless Inference](https://www.anchorterminal.com/compare/antseed-vs-digitalocean-serverless-inference.md)\n- [DigitalOcean Serverless Inference vs LiteLLM](https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-litellm.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-23",
    "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": "DigitalOcean Serverless Inference vs xAI API (Grok)",
        "url": ""
      }
    ],
    "description": "DigitalOcean Serverless Inference scores 74.6 (BB) to xAI's 72.9 (BB) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "DigitalOcean Serverless Inference BB 74.6",
      "xAI API (Grok) BB 72.9",
      "scores"
    ],
    "h1": "DigitalOcean Serverless Inference vs xAI API (Grok)",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/digitalocean-serverless-inference-vs-xai-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DigitalOcean Serverless Inference vs xAI for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/digitalocean-serverless-inference-vs-xai-api"
  },
  "tokens": {
    "markdown": 7750,
    "slim": 930
  },
  "version": 1
}
