{
  "data": {
    "a": {
      "slug": "blockrun-ai",
      "name": "BlockRun.AI",
      "vendor": "BlockRun, Inc.",
      "vendorUrl": "https://blockrun.ai",
      "kind": "mcp",
      "category": "inference",
      "summary": "Model and API gateway with an OpenAI-compatible interface, MCP support and per-request stablecoin payments through x402.",
      "url": "https://www.anchorterminal.com/tools/blockrun-ai",
      "markdownUrl": "https://www.anchorterminal.com/tools/blockrun-ai.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/blockrun-ai.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/blockrun-ai.json",
      "repo": "https://github.com/BlockRunAI/blockrun-llm",
      "license": "MIT",
      "transports": [
        "stdio"
      ],
      "packages": [
        {
          "registry": "pypi",
          "name": "blockrun-llm"
        },
        {
          "registry": "npm",
          "name": "@blockrun/llm"
        },
        {
          "registry": "npm",
          "name": "@blockrun/mcp"
        }
      ],
      "auth": "mixed",
      "authNotes": "Either an API key backed by prepaid card credit (user.blockrun.ai) or a non-custodial wallet signing x402 USDC payments (Base mainnet at https://blockrun.ai/api, Solana at https://sol.blockrun.ai/api, testnets available).",
      "pricing": "usage",
      "pricingNotes": "Per-token LLM pricing by model ($0.20-$30 per 1M input, $0.40-$180 per 1M output per SDK README; site examples $10/$50 for Claude Fable 5.1, $4/$20 for GPT-5.6 Sol per 1M tokens); per-token chat models billed at zero platform margin since 2026-08-08, plus a flat $0.001 network fee per wallet call on Base since 2026-07-29 (the account rail and the Solana gateway charge no fee); images $0.015-$0.10; web search $0.011/search; some data endpoints $0.002-$0.0085 per call; six or seven free models (the vendor's repository says 6, its llms.txt names 7, after four NVIDIA free models retired on 2026-08-30); failed calls (400, 402, 429, 5xx) aren't charged; x402 in USDC on Base or Solana (https://blockrun.ai/docs/resources/changelog; https://blockrun.ai/docs/api-reference/errors; https://github.com/BlockRunAI/blockrun-mcp).",
      "priceSummary": "Pay per use",
      "where": "local",
      "x402": {
        "level": "yes",
        "evidence": "Core business model: x402 v2 micropayments in USDC (ERC-20 on Base mainnet, SPL on Solana) per request; the '~$0.002/call' figure could NOT be verified for LLM inference, which is per-token; $0.002 appears only for trading-market/stock data endpoints (https://github.com/BlockRunAI/blockrun-llm; https://github.com/BlockRunAI/awesome-blockrun)",
        "endpoints": [
          {
            "url": "https://blockrun.ai/api/v1/chat/completions",
            "priceUsd": null,
            "network": "eip155:8453"
          }
        ]
      },
      "toolCount": 19,
      "popularity": {
        "githubStars": 5,
        "npmWeekly": null,
        "pypiWeekly": 679,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://github.com/BlockRunAI/awesome-blockrun",
      "llmsTxt": "https://blockrun.ai/llms.txt",
      "openapi": "https://blockrun.ai/api/openapi",
      "capabilities": [
        "inference.llm",
        "web.search",
        "market.crypto"
      ],
      "tags": [
        "hosted",
        "x402",
        "inference",
        "openai-compatible"
      ],
      "lastRelease": "2026-09-29",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 72.4,
        "grade": "BB",
        "agentReady": true,
        "rank": 104,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 4,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 70,
          "maintenance": 85,
          "payments": 100,
          "reliability": 55,
          "schema": 75,
          "security": 70,
          "transparency": 65
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "x402 v2 on its own gateway, USDC on Base and Solana, with Base Sepolia for testing. The status page shows live checks only and keeps no incident history.",
        "bestFor": "Agents that must start and pay with no human sign-up, and builders testing x402 against a real inference gateway.",
        "strengths": [
          "x402 v2 on its own gateway, USDC on Base and Solana, with Base Sepolia for testing",
          "Rate limits and 429 headers published, and 400, 402, 429 and 5xx responses aren't charged",
          "Privacy policy says prompts aren't stored past the request and aren't used for training, with request metadata kept 30 days",
          "The MCP server marks every one of its 19 tools with readOnlyHint or destructiveHint, and trades need `confirm:true`",
          "Dated gateway changelog with entries most weeks, last on 2026-09-29"
        ],
        "weaknesses": [
          "The status page shows live checks only and keeps no incident history",
          "The terms say 'We do not commit to any particular uptime', and there's no SLA",
          "Models are removed on the day, with no notice period, and the terms let providers withdraw a model at any time",
          "No subprocessor list or data locations, and the privacy footer names a different entity from the terms",
          "The wallet key controls the whole balance and sits in a local file or environment variable"
        ],
        "agentNotes": [
          "Fund a dedicated wallet with a small USDC balance. The balance is the spending cap",
          "Use `blockrun_wallet` delegate with `agent_limit` before handing a sub-agent the server",
          "On a 429, wait `Retry-After` and read `X-RateLimit-Source` to fail over to the same tier on another provider",
          "Call `blockrun_models` before hard-coding a model name, since models are removed without notice",
          "Use `mode:\"free\"` for drafts and classification, paid models for generation"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "BB",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 72.4
          }
        ],
        "editorialScores": {
          "ergonomics": 70,
          "maintenance": 85,
          "payments": 100,
          "reliability": 55,
          "schema": 75,
          "security": 70,
          "transparency": 50
        },
        "provenanceScore": 80
      },
      "connect": {
        "claudeCode": "claude mcp add blockrun -- npx -y @blockrun/mcp",
        "config": {
          "mcpServers": {
            "blockrun": {
              "args": [
                "-y",
                "@blockrun/mcp"
              ],
              "command": "npx",
              "env": {
                "BLOCKRUN_WALLET_KEY": "${BLOCKRUN_WALLET_KEY}"
              }
            }
          }
        },
        "x402": "curl -s -i https://blockrun.ai/api/v1/chat/completions -H 'content-type: application/json' -d '{\"model\":\"\u003cmodel\u003e\",\"messages\":[{\"role\":\"user\",\"content\":\"hi\"}]}'\n# 402 Payment Required -\u003e PAYMENT-REQUIRED header -\u003e retry with PAYMENT-SIGNATURE"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/blockrun-ai"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "BlockRun, Inc.",
        "domain": "blockrun.ai",
        "domainRegistered": "2025-10-06",
        "domainNote": "The terms (updated 2026-09-02) name BlockRun, Inc., a Delaware corporation headquartered in San Francisco, while the privacy policy footer says BlockRun Labs, Inc. No founders or street address are published. The domain is under a year old. The status page is self-hosted and keeps no incident history.",
        "endpointOnVendorDomain": null,
        "terms": "https://blockrun.ai/terms",
        "privacy": "https://blockrun.ai/privacy",
        "statusPage": "https://blockrun.ai/status",
        "changelog": "https://blockrun.ai/docs/resources/changelog",
        "securityTxt": "valid",
        "checked": "2026-10-02",
        "score": 80
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/blockrun-ai.json",
      "live": {
        "slug": "blockrun-ai",
        "vendorStatus": {
          "page": "https://blockrun.ai/status",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-10T00:50:10.740211562Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "BlockRunAI/blockrun-llm",
            "version": "v1.17.1",
            "released": "2026-09-30",
            "seenAt": "2026-10-09T16:43:11.157214264Z"
          },
          {
            "registry": "npm",
            "name": "@blockrun/llm",
            "version": "3.20.1",
            "seenAt": "2026-10-09T16:43:08.936996037Z"
          },
          {
            "registry": "npm",
            "name": "@blockrun/mcp",
            "version": "0.54.2",
            "seenAt": "2026-10-09T16:43:09.755794892Z"
          },
          {
            "registry": "pypi",
            "name": "blockrun-llm",
            "version": "1.18.1",
            "released": "2026-10-02",
            "seenAt": "2026-10-09T16:43:08.742088908Z"
          }
        ],
        "githubStars": 5,
        "npmWeekly": 3405,
        "pypiWeekly": 795,
        "securityTxt": {
          "url": "https://blockrun.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-10-09T15:39:14.162Z",
          "checkedAt": "2026-10-09T15:39:13.893092195Z"
        },
        "llmsTxt": {
          "url": "https://blockrun.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-09T14:01:32.215620416Z"
        },
        "domain": {
          "domain": "blockrun.ai",
          "registered": "2025-10-06",
          "source": "https://rdap.identitydigital.services/rdap/domain/blockrun.ai",
          "checkedAt": "2026-10-04T13:10:06.086473367Z"
        },
        "pages": [
          {
            "url": "https://blockrun.ai/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-01T13:11:21.906696649Z",
            "changedAt": "2026-09-30T13:09:43.712367412Z",
            "fingerprint": "658ca7fbc8ce"
          },
          {
            "url": "https://blockrun.ai/docs/resources/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-09T18:33:10.292397535Z",
            "changedAt": "2026-10-09T18:33:10.292397535Z",
            "fingerprint": "1bcc07be9185"
          },
          {
            "url": "https://blockrun.ai/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:33:12.706249242Z",
            "changedAt": "2026-10-09T18:33:12.706249242Z",
            "fingerprint": "39de12256659"
          },
          {
            "url": "https://blockrun.ai/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:33:14.51765012Z",
            "changedAt": "2026-10-09T18:33:14.51765012Z",
            "fingerprint": "51bc10d5065d"
          }
        ],
        "updatedAt": "2026-10-10T00:50:10.740211562Z"
      }
    },
    "answer": "BlockRun.AI scores 72.4 (BB) on agent readiness against Cloudflare AI Gateway's 66.8 (B), and leads in 2 of 7 scored categories. Cloudflare AI Gateway leads on reliability, security \u0026 auth and transparency \u0026 trust.",
    "b": {
      "slug": "cloudflare-ai-gateway",
      "name": "Cloudflare AI Gateway",
      "vendor": "Cloudflare, Inc.",
      "vendorUrl": "https://www.cloudflare.com",
      "kind": "router",
      "category": "inference",
      "summary": "AI Gateway is Cloudflare's proxy and router for model providers. Agents call OpenAI-style, Anthropic-style or native endpoints on the Cloudflare API, with logging, caching, rate and spend limits, retries, fallbacks and one prepaid credit balance.",
      "url": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway",
      "markdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json",
      "repo": "https://github.com/cloudflare/ai",
      "license": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
      "packages": [
        {
          "registry": "npm",
          "name": "ai-gateway-provider"
        },
        {
          "registry": "npm",
          "name": "cloudflare"
        },
        {
          "registry": "pypi",
          "name": "cloudflare"
        }
      ],
      "auth": "api-key",
      "authNotes": "A Cloudflare API token as a Bearer header, created by a person in the dashboard. The `/ai/*` inference routes need Workers AI Read, and the `/ai-gateway/*` management routes need AI Gateway Read or Edit. Provider-native endpoints on `gateway.ai.cloudflare.com` take the token in `cf-aig-authorization`. Tokens can carry an expiry and an IP address filter and cannot be limited to one gateway. Access is self-serve, with no review or sales step.",
      "pricing": "freemium",
      "pricingNotes": "Free on all plans for analytics, caching and rate limiting, with a Cloudflare account. Third-party models are paid from prepaid Unified Billing credits at provider prices plus a 5 per cent fee on each credit purchase, or with the caller's own provider keys at no Cloudflare charge. Logs for new customers follow Workers Logs pricing, 200,000 events a day free. An account on the Free plan starts without a contract (https://developers.cloudflare.com/ai-gateway/reference/pricing/, checked 2026-10-09).",
      "priceSummary": "5% fee",
      "where": "hosted",
      "x402": {
        "level": "partial",
        "evidence": "Machine Payments, in beta since 30 September 2026, takes x402 payment on `POST /ai/run` for four open models when the request carries `Payment-Method: x402`. It needs a Cloudflare API token, a United States account and a card on file. The OpenAI-style and Anthropic-style routes are not covered. We did not call it (https://developers.cloudflare.com/ai-gateway/features/machine-payments/, checked 2026-10-09).",
        "endpoints": [
          {
            "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
            "priceUsd": null,
            "network": ""
          }
        ]
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 250648,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://developers.cloudflare.com/ai-gateway/",
      "llmsTxt": "https://developers.cloudflare.com/ai-gateway/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.router",
        "obs.gateway",
        "guard.moderation",
        "guard.pii"
      ],
      "tags": [
        "hosted",
        "router",
        "free-tier",
        "usage-based",
        "x402",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "typescript",
        "python",
        "go",
        "status-page",
        "bug-bounty"
      ],
      "lastRelease": "2026-10-06",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 66.8,
        "grade": "B",
        "agentReady": false,
        "rank": 275,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 8,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 73
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": -3,
        "negativeNotes": [
          "6 October 2026. Rejected-credential responses on `POST /ai/run` changed status (ElevenLabs 403, Vertex 500 and other providers' 402 became 401 with code 2009, and Unified Billing rejections became 503) on the day of the changelog entry, with no advance notice found. Three points (https://developers.cloudflare.com/ai-gateway/changelog/)."
        ],
        "verdict": "The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes changed on 6 October 2026 with same-day notice.",
        "bestFor": "Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.",
        "strengths": [
          "Core gateway functions (analytics, caching, rate limiting) are free on all plans, and provider prices pass through with no markup",
          "One Cloudflare API token reaches 241 catalogue models through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or the native `/ai/run` route",
          "Spend limits block requests with a 429 once a budget is reached, scoped by model, provider or request metadata, with up to 20 rules a gateway",
          "Logging is switched per gateway and per request, and `cf-aig-collect-log-payload: false` keeps token and cost metadata without storing prompts",
          "x402 payment (Machine Payments, beta since 30 September 2026) works on `POST /ai/run` for four open models"
        ],
        "weaknesses": [
          "API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys",
          "The service-specific terms say the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway",
          "No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only",
          "On 6 October 2026 rejected-credential responses on `/ai/run` changed to 401 with code 2009, or 503 under Unified Billing, announced the same day",
          "Unified Billing traffic is capped at 200 requests per 60 seconds per gateway, and a 5 per cent fee applies to credit purchases",
          "Section 2.2(e) of the Self-Serve Subscription Agreement bars automated agents that generate automated requests into the Services, which matters before any probe is run"
        ],
        "agentNotes": [
          "Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000",
          "Send `cf-aig-gateway-id` on every Workers AI (`@cf/`) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404",
          "Set `cf-aig-collect-log: false` or `cf-aig-collect-log-payload: false` on sensitive requests. Logging of prompts and responses is on by default",
          "Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009",
          "Set `byok_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 66.8
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "reliability": 66,
          "schema": 75,
          "security": 75,
          "transparency": 51
        },
        "provenanceScore": 95
      },
      "connect": {
        "http": "curl -X POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n    \"model\": \"openai/gpt-4.1-mini\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"What is Cloudflare?\"}]\n  }'",
        "x402": "curl -iX POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Payment-Method: x402\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\"model\":\"z-ai/glm-4.7-flash\",\"input\":{\"messages\":[{\"role\":\"user\",\"content\":\"What is Cloudflare?\"}]}}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cloudflare-ai-gateway"
      },
      "sameCompany": [
        "cloudflare-workers-ai",
        "cloudflare-sandbox-sdk",
        "cloudflare-web-search",
        "cloudflare-mcp",
        "cloudflare-email-service",
        "cloudflare-r2",
        "cloudflare-clef"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Unified Billing credit purchase fee",
          "unit": "pct",
          "usd": 5,
          "note": "a $100 purchase is charged $105"
        },
        {
          "item": "Logpush requests past 10 million a month",
          "unit": "1k-requests",
          "usd": 0.00005,
          "note": "listed as $0.05 per million, Workers Paid only"
        }
      ],
      "provenance": {
        "legalEntity": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "domainRegistered": "2009-02-17",
        "endpointOnVendorDomain": true,
        "terms": "https://www.cloudflare.com/terms/",
        "privacy": "https://www.cloudflare.com/privacypolicy/",
        "statusPage": "https://www.cloudflarestatus.com",
        "changelog": "https://developers.cloudflare.com/ai-gateway/changelog/",
        "securityTxt": "valid",
        "checked": "2026-10-09",
        "notes": [
          "Terms are the Self-Serve Subscription Agreement, last updated 12 September 2025, which names Cloudflare, Inc. at 101 Townsend St, San Francisco.",
          "The service-specific terms (https://www.cloudflare.com/service-specific-terms-developer-platform/), last updated 28 September 2026, have a section for Workers AI and AI Gateway that supplements the agreement.",
          "The privacy policy is effective from 4 November 2025. The customer DPA is version 6.4, effective 3 April 2026.",
          "www.cloudflare.com/.well-known/security.txt, read on 9 October 2026, names HackerOne and a disclosure policy and has no Expires field. It is recorded as valid, although RFC 9116 asks for that field.",
          "The inference endpoints are on api.cloudflare.com and gateway.ai.cloudflare.com.",
          "The status page lists AI Gateway as its own component, operational on 9 October 2026.",
          "RDAP for cloudflare.com gives a registration date of 2009-02-17."
        ],
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.json",
      "live": {
        "slug": "cloudflare-ai-gateway",
        "probe": {
          "target": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
          "method": "get",
          "lastAt": "2026-10-10T03:53:23.825090921Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 39,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 43,
          "p95ms24h": 102,
          "samples24h": 125,
          "samples30d": 125,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 40,
              "ok": 40
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-10T03:58:04.902949167Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.1",
            "released": "2026-09-11",
            "seenAt": "2026-10-09T16:46:01.078937772Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.1",
            "seenAt": "2026-10-09T16:45:58.587383795Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-09T16:45:59.520764845Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-09T16:46:00.865337498Z"
          }
        ],
        "githubStars": 1189,
        "npmWeekly": 250648,
        "pypiWeekly": 365643,
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:34.168809494Z",
            "changedAt": "2026-10-07T18:04:13.791253735Z",
            "fingerprint": "aaad1064978c"
          },
          {
            "url": "https://developers.cloudflare.com/ai-gateway/reference/pricing/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:36.234430797Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "57a018b683c5"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:49:06.00094733Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e562d2a2da97"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:49:08.260967052Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "d26dd2a74bde"
          }
        ],
        "updatedAt": "2026-10-10T03:58:04.902949167Z"
      }
    },
    "facts": [
      {
        "a": "MCP server",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "BlockRun, Inc.",
        "b": "Cloudflare, Inc.",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "name": "Hosted endpoint"
      },
      {
        "a": "stdio",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "OAuth or key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Freemium",
        "name": "Pricing"
      },
      {
        "a": "yes",
        "b": "payer tooling only",
        "name": "x402"
      },
      {
        "a": "MIT",
        "b": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause",
        "name": "Licence"
      },
      {
        "a": "19",
        "b": "none",
        "name": "Tools exposed"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-09-29",
        "b": "2026-10-06",
        "name": "Last release"
      },
      {
        "a": "2026-09-02",
        "b": "2025-09-12",
        "name": "Terms last updated"
      },
      {
        "a": "2026-09-02",
        "b": "no date given",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "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": "yes",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "5 stars, 679 PyPI/wk",
        "b": "251k npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (2)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "BlockRun.AI scores 72.4 (BB) on agent readiness against Cloudflare AI Gateway's 66.8 (B), and leads in 2 of 7 scored categories. Cloudflare AI Gateway leads on reliability, security \u0026 auth and transparency \u0026 trust.",
        "question": "Which is better for AI agents, BlockRun.AI or Cloudflare AI Gateway?"
      },
      {
        "answer": "BlockRun.AI takes an API key or an OAuth sign-in. Cloudflare AI Gateway needs an API key. An agent can also pay BlockRun.AI per call over x402, with no account.",
        "question": "Do BlockRun.AI and Cloudflare AI Gateway need an API key?"
      },
      {
        "answer": "BlockRun.AI runs on your own machine, with no hosted endpoint listed. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai.",
        "question": "Can an agent call BlockRun.AI and Cloudflare AI Gateway without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Payments \u0026 pricing, 100 against 52",
          "Maintenance \u0026 community, 85 against 75"
        ],
        "also": [
          "Agent-ready, a grade of BB or better",
          "An agent can pay per call over x402, with no account",
          "Runs on your own machine",
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "Agents that must start and pay with no human sign-up, and builders testing x402 against a real inference gateway.",
        "slug": "blockrun-ai",
        "watchFor": "The status page shows live checks only and keeps no incident history"
      },
      {
        "aheadOn": [
          "Reliability, 66 against 55",
          "Security \u0026 auth, 75 against 70",
          "Transparency \u0026 trust, 73 against 65"
        ],
        "also": [
          "A hosted endpoint, with nothing to install"
        ],
        "goodFor": "Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.",
        "slug": "cloudflare-ai-gateway",
        "watchFor": "API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.json",
        "title": "Claude API vs BlockRun.AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.json",
        "title": "Claude API vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-blockrun-ai.json",
        "title": "Antseed vs BlockRun.AI",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-blockrun-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.json",
        "title": "BlockRun.AI vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cohere-chat.json",
        "title": "BlockRun.AI vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.json",
        "title": "BlockRun.AI vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api.json",
        "title": "BlockRun.AI vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api.json",
        "title": "BlockRun.AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-groq.json",
        "title": "BlockRun.AI vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api.json",
        "title": "BlockRun.AI vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-novita-ai.json",
        "title": "BlockRun.AI vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-openai-api.json",
        "title": "BlockRun.AI vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-openrouter.json",
        "title": "BlockRun.AI vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-prism-inference.json",
        "title": "BlockRun.AI vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-sambanova.json",
        "title": "BlockRun.AI vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-siliconflow.json",
        "title": "BlockRun.AI vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.json",
        "title": "Cloudflare AI Gateway vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.json",
        "title": "Cloudflare AI Gateway vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.json",
        "title": "Cloudflare AI Gateway vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.json",
        "title": "Cloudflare AI Gateway vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.json",
        "title": "Cloudflare AI Gateway vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.json",
        "title": "Cloudflare AI Gateway vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.json",
        "title": "Cloudflare AI Gateway vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.json",
        "title": "Cloudflare AI Gateway vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.json",
        "title": "Cloudflare AI Gateway vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.json",
        "title": "Cloudflare AI Gateway vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.json",
        "title": "Cloudflare AI Gateway vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.json",
        "title": "Cloudflare AI Gateway vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.json",
        "title": "Cloudflare AI Gateway vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.json",
        "title": "Antseed vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway"
      }
    ],
    "scores": [
      {
        "blockrun-ai": 55,
        "by": 11,
        "cloudflare-ai-gateway": 66,
        "edge": "cloudflare-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "blockrun-ai": 75,
        "by": 0,
        "cloudflare-ai-gateway": 75,
        "edge": "",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "blockrun-ai": 70,
        "by": 3,
        "cloudflare-ai-gateway": 73,
        "edge": "cloudflare-ai-gateway",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "blockrun-ai": 70,
        "by": 5,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "blockrun-ai": 100,
        "by": 48,
        "cloudflare-ai-gateway": 52,
        "edge": "blockrun-ai",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "blockrun-ai": 85,
        "by": 10,
        "cloudflare-ai-gateway": 75,
        "edge": "blockrun-ai",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "blockrun-ai": 65,
        "by": 8,
        "cloudflare-ai-gateway": 73,
        "edge": "cloudflare-ai-gateway",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "BlockRun.AI scores 72.4 (BB) on agent readiness against Cloudflare AI Gateway's 66.8 (B), and leads in 2 of 7 scored categories. Cloudflare AI Gateway leads on reliability, security \u0026 auth and transparency \u0026 trust. Both do llm inference. BlockRun.AI accepts x402. Cloudflare AI Gateway doesn't.",
    "verdicts": {
      "blockrun-ai": "x402 v2 on its own gateway, USDC on Base and Solana, with Base Sepolia for testing. The status page shows live checks only and keeps no incident history.",
      "cloudflare-ai-gateway": "The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes changed on 6 October 2026 with same-day notice."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway",
    "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md",
    "slim": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.min.md"
  },
  "markdown": "BlockRun.AI scores 72.4 (BB) on agent readiness against Cloudflare AI Gateway's 66.8 (B), and leads in 2 of 7 scored categories. Cloudflare AI Gateway leads on reliability, security \u0026 auth and transparency \u0026 trust. Both do llm inference. BlockRun.AI accepts x402. Cloudflare AI Gateway doesn't.\n\n- BlockRun.AI: grade BB, 72.4/100, rank #104 of 950. Markdown https://www.anchorterminal.com/tools/blockrun-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/blockrun-ai.json\n- Cloudflare AI Gateway: grade B, 66.8/100, rank #275 of 950. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 136 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### BlockRun.AI (BB)\n\nGood for: Agents that must start and pay with no human sign-up, and builders testing x402 against a real inference gateway.\n\nAhead on:\n- Payments \u0026 pricing, 100 against 52\n- Maintenance \u0026 community, 85 against 75\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n- An agent can pay per call over x402, with no account\n- Runs on your own machine\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: The status page shows live checks only and keeps no incident history\n\n### Cloudflare AI Gateway (B)\n\nGood for: Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.\n\nAhead on:\n- Reliability, 66 against 55\n- Security \u0026 auth, 75 against 70\n- Transparency \u0026 trust, 73 against 65\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n\nWatch for: API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys\n\n\n## Score by category\n\n| Category | Weight | BlockRun.AI | Cloudflare AI Gateway | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 55 | 66 | Cloudflare AI Gateway +11 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 75 | even |\n| Agent ergonomics | 13% (16.2 this run) | 70 | 73 | Cloudflare AI Gateway +3 |\n| Security \u0026 auth | 14% (17.5 this run) | 70 | 75 | Cloudflare AI Gateway +5 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 100 | 52 | BlockRun.AI +48 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 85 | 75 | BlockRun.AI +10 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 65 | 73 | Cloudflare AI Gateway +8 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **72.4 · BB** | **66.8 · B** | |\n\n## Facts side by side\n\n| Fact | BlockRun.AI | Cloudflare AI Gateway |\n| --- | --- | --- |\n| Kind | MCP server | Model router |\n| Vendor | BlockRun, Inc. | Cloudflare, Inc. |\n| Hosted endpoint | no (local only) | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` |\n| Transports | stdio | HTTP |\n| Auth | OAuth or key | API key |\n| Pricing | Pay per use | Freemium |\n| x402 | yes | payer tooling only |\n| Licence | MIT | Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause |\n| Tools exposed | 19 | none |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-09-29 | 2026-10-06 |\n| Terms last updated | 2026-09-02 | 2025-09-12 |\n| Privacy policy last updated | 2026-09-02 | no date given |\n| Customer content may train models | not found in the text | not found in the text |\n| Terms restrict automated access | not found in the text | yes |\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 | yes |\n| Arbitration or class-action waiver | not found in the text | yes |\n| Popularity | 5 stars, 679 PyPI/wk | 251k npm/wk |\n| Agent reviews | 3.5/5 (2) | none |\n\n## Verdicts\n\n**BlockRun.AI.** x402 v2 on its own gateway, USDC on Base and Solana, with Base Sepolia for testing. The status page shows live checks only and keeps no incident history.\n\n**Cloudflare AI Gateway.** The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes changed on 6 October 2026 with same-day notice.\n\n## Before you call either\n\n### BlockRun.AI\n\n1. Fund a dedicated wallet with a small USDC balance. The balance is the spending cap\n2. Use `blockrun_wallet` delegate with `agent_limit` before handing a sub-agent the server\n3. On a 429, wait `Retry-After` and read `X-RateLimit-Source` to fail over to the same tier on another provider\n4. Call `blockrun_models` before hard-coding a model name, since models are removed without notice\n5. Use `mode:\"free\"` for drafts and classification, paid models for generation\n\n### Cloudflare AI Gateway\n\n1. Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000\n2. Send `cf-aig-gateway-id` on every Workers AI (`@cf/`) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404\n3. Set `cf-aig-collect-log: false` or `cf-aig-collect-log-payload: false` on sensitive requests. Logging of prompts and responses is on by default\n4. Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009\n5. Set `byok_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits\n\n## Questions\n\n### Which is better for AI agents, BlockRun.AI or Cloudflare AI Gateway?\n\nBlockRun.AI scores 72.4 (BB) on agent readiness against Cloudflare AI Gateway's 66.8 (B), and leads in 2 of 7 scored categories. Cloudflare AI Gateway leads on reliability, security \u0026 auth and transparency \u0026 trust.\n\n### Do BlockRun.AI and Cloudflare AI Gateway need an API key?\n\nBlockRun.AI takes an API key or an OAuth sign-in. Cloudflare AI Gateway needs an API key. An agent can also pay BlockRun.AI per call over x402, with no account.\n\n### Can an agent call BlockRun.AI and Cloudflare AI Gateway without installing anything?\n\nBlockRun.AI runs on your own machine, with no hosted endpoint listed. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.json, and with the fewest tokens: https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"blockrun-ai\", \"b\": \"cloudflare-ai-gateway\"}`. From a terminal: `anchor compare blockrun-ai cloudflare-ai-gateway`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/blockrun-ai.json and https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n\n## Other comparisons with BlockRun.AI or Cloudflare AI Gateway\n\n- [Claude API vs BlockRun.AI](https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.md)\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Antseed vs BlockRun.AI](https://www.anchorterminal.com/compare/antseed-vs-blockrun-ai.md)\n- [BlockRun.AI vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.md)\n- [BlockRun.AI vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/blockrun-ai-vs-cohere-chat.md)\n- [BlockRun.AI vs DeepInfra](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.md)\n- [BlockRun.AI vs DeepSeek API](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api.md)\n- [BlockRun.AI vs Gemini Developer API](https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api.md)\n- [BlockRun.AI vs GroqCloud](https://www.anchorterminal.com/compare/blockrun-ai-vs-groq.md)\n- [BlockRun.AI vs Mistral AI API](https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api.md)\n- [BlockRun.AI vs Novita AI](https://www.anchorterminal.com/compare/blockrun-ai-vs-novita-ai.md)\n- [BlockRun.AI vs OpenAI API](https://www.anchorterminal.com/compare/blockrun-ai-vs-openai-api.md)\n- [BlockRun.AI vs OpenRouter](https://www.anchorterminal.com/compare/blockrun-ai-vs-openrouter.md)\n- [BlockRun.AI vs Prism Inference](https://www.anchorterminal.com/compare/blockrun-ai-vs-prism-inference.md)\n- [BlockRun.AI vs SambaCloud](https://www.anchorterminal.com/compare/blockrun-ai-vs-sambanova.md)\n- [BlockRun.AI vs SiliconFlow](https://www.anchorterminal.com/compare/blockrun-ai-vs-siliconflow.md)\n- [Cloudflare AI Gateway vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.md)\n- [Cloudflare AI Gateway vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.md)\n- [Cloudflare AI Gateway vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.md)\n- [Cloudflare AI Gateway vs DeepSeek API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.md)\n- [Cloudflare AI Gateway vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.md)\n- [Cloudflare AI Gateway vs GroqCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.md)\n- [Cloudflare AI Gateway vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.md)\n- [Cloudflare AI Gateway vs Novita AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.md)\n- [Cloudflare AI Gateway vs OpenAI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.md)\n- [Cloudflare AI Gateway vs OpenRouter](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.md)\n- [Cloudflare AI Gateway vs Prism Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.md)\n- [Cloudflare AI Gateway vs SambaCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.md)\n- [Cloudflare AI Gateway vs SiliconFlow](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.md)\n- [Antseed vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-10",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "BlockRun.AI vs Cloudflare AI Gateway",
        "url": ""
      }
    ],
    "description": "BlockRun.AI scores 72.4 (BB) to Cloudflare AI Gateway's 66.8 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "BlockRun.AI BB 72.4",
      "Cloudflare AI Gateway B 66.8",
      "scores"
    ],
    "h1": "BlockRun.AI vs Cloudflare AI Gateway",
    "image": "https://www.anchorterminal.com/assets/og/compare-blockrun-ai-vs-cloudflare-ai-gateway.png",
    "path": "/compare/blockrun-ai-vs-cloudflare-ai-gateway",
    "published": "2026-10-01",
    "section": "tools",
    "title": "BlockRun.AI vs Cloudflare AI Gateway for AI agents (2026)",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway"
  },
  "tokens": {
    "markdown": 2950,
    "slim": 830
  },
  "version": 1
}
