{
  "data": {
    "a": {
      "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": 278,
        "ranked": true,
        "rankOf": 965,
        "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-12T04:48:57.098213225Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 32,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 39,
          "p95ms24h": 79,
          "samples24h": 247,
          "samples30d": 628,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 49,
              "ok": 49
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-12T04:53:50.974212395Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.1",
            "released": "2026-09-11",
            "seenAt": "2026-10-11T19:23:34.53359547Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.1",
            "seenAt": "2026-10-11T19:23:32.1894206Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-11T19:23:32.430337657Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-11T19:23:34.415260106Z"
          }
        ],
        "githubStars": 1190,
        "npmWeekly": 261507,
        "pypiWeekly": 406949,
        "securityTxt": {
          "url": "https://cloudflare.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-10-11T15:42:22.920914535Z"
        },
        "llmsTxt": {
          "url": "https://developers.cloudflare.com/ai-gateway/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-11T14:06:12.681051205Z"
        },
        "domain": {
          "domain": "cloudflare.com",
          "registered": "2009-02-17",
          "source": "https://rdap.verisign.com/com/v1/domain/cloudflare.com",
          "checkedAt": "2026-10-11T13:20:21.49951473Z"
        },
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-11T19:24:02.58324036Z",
            "changedAt": "2026-10-10T18:59:54.224595276Z",
            "fingerprint": "e47339974300"
          },
          {
            "url": "https://developers.cloudflare.com/ai-gateway/reference/pricing/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-11T19:24:04.699874891Z",
            "changedAt": "2026-10-10T18:59:56.336264518Z",
            "fingerprint": "68da40045004"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-11T19:37:31.006217161Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e562d2a2da97"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-11T19:37:33.240098498Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "d26dd2a74bde"
          }
        ],
        "updatedAt": "2026-10-12T04:53:50.974212395Z"
      }
    },
    "answer": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against StepFun API's 44.4 (E), and leads in every scored category.",
    "b": {
      "slug": "stepfun-api",
      "name": "StepFun API",
      "vendor": "StepFun",
      "vendorUrl": "https://platform.stepfun.ai",
      "kind": "model",
      "category": "inference",
      "summary": "The StepFun API is StepFun's paid model API for its Step language, vision and speech models, including the flagship Step 5 Preview, through OpenAI-style Chat Completions and Responses endpoints and an Anthropic-style Messages endpoint.",
      "url": "https://www.anchorterminal.com/tools/stepfun-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/stepfun-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/stepfun-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/stepfun-api.json",
      "license": "Closed service under the StepFun Open Platform Terms of Service (STEPFUN TECHNOLOGY (HK) LIMITED, Hong Kong law).",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.stepfun.ai/v1",
      "packages": [],
      "auth": "api-key",
      "authNotes": "A bearer API key created in the StepFun Open Platform console after sign-up. Organisations can create one key per project, billed to the organisation's credit and deletable at once. No key scopes were found. Individual accounts must complete identity verification before tiered rate limits apply.",
      "pricing": "usage",
      "pricingNotes": "Step 5 Preview is $1.00 per million input tokens on a cache miss, $0.10 on a cache hit and $2.70 per million output tokens, reasoning included (checked 2026-10-12). Prepaid top-ups. No free API allowance was found. A Step Plan subscription covers coding tools separately.",
      "priceSummary": "Pay per use",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the international docs index, the pricing page or the Chat Completions reference, checked 12 October 2026. Calls draw on a prepaid balance.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-12"
      },
      "docsUrl": "https://platform.stepfun.ai/docs/en/guides/models/step-5-preview",
      "llmsTxt": "https://platform.stepfun.ai/docs/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "usage-priced",
        "closed-source",
        "llms-txt",
        "multimodal",
        "streaming"
      ],
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 44.4,
        "grade": "E",
        "agentReady": false,
        "rank": 889,
        "ranked": true,
        "rankOf": 965,
        "categoryRank": 18,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 68,
          "maintenance": 50,
          "payments": 20,
          "reliability": 28,
          "schema": 53,
          "security": 41,
          "transparency": 58
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-12"
        },
        "negative": 0,
        "verdict": "StepFun's API serves Step 5 Preview with a 1M-token context, video input, strict JSON Schema output and published per-token prices, documented in Markdown with an llms.txt. The model is a preview with no release date found, there's no free allowance or SLA, and the terms and privacy policy leave room to train on customer data.",
        "bestFor": "Long-context agent and coding work over text, screenshots and video at a low per-token price, where a preview model is acceptable.",
        "strengths": [
          "Step 5 Preview takes text, images and video with a 1M-token context and up to 64k output tokens",
          "Strict JSON Schema output and tool calls on Step 5 Preview, per the structured-output guide",
          "Per-token prices with cache-hit rates published without a login, and rate-limit tiers published with numbers",
          "OpenAI-style Chat Completions and Responses endpoints and an Anthropic-style Messages endpoint",
          "llms.txt and a Markdown copy of every docs page"
        ],
        "weaknesses": [
          "Step 5 Preview is labelled a preview, and no release date or support commitment was found",
          "No free API allowance found, and individual accounts need identity verification for tiered limits",
          "No OpenAPI file, no official SDK and no batch endpoint found",
          "The privacy policy allows training on user data where law and program terms permit, with no zero-retention option found",
          "No SLA, security.txt or certification found"
        ],
        "agentNotes": [
          "Set `max_tokens` yourself. It defaults to unlimited on Step 5 Preview, and reasoning tokens are billed as output",
          "Use `response_format` with `type: json_schema` and `strict: true` when the shape matters. JSON Mode alone isn't schema-checked",
          "Back off and retry on 429, 500, 503 and 504. The docs give no Retry-After header or backoff schedule",
          "Expect HTTP 451 or `finish_reason: content_filter` when content fails StepFun's review, and don't retry the same input",
          "Use api.stepfun.ai for the international platform. api.stepfun.com is the China platform with yuan pricing"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "E",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 44.4
          }
        ],
        "editorialScores": {
          "ergonomics": 68,
          "maintenance": 50,
          "payments": 20,
          "reliability": 28,
          "schema": 53,
          "security": 41,
          "transparency": 51
        },
        "provenanceScore": 65
      },
      "connect": {
        "http": "curl https://api.stepfun.ai/v1/chat/completions \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer $STEPFUN_API_KEY\" \\\n  -d '{\"model\":\"step-5-preview\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/stepfun-api"
      },
      "area": "models",
      "unitPrices": [
        {
          "item": "Step 5 Preview input, cache miss",
          "unit": "1m-tokens",
          "usd": 1,
          "note": "Includes writing new content to the cache."
        },
        {
          "item": "Step 5 Preview input, cache hit",
          "unit": "1m-tokens",
          "usd": 0.1
        },
        {
          "item": "Step 5 Preview output",
          "unit": "1m-tokens",
          "usd": 2.7,
          "note": "Reasoning and final answer tokens."
        }
      ],
      "provenance": {
        "legalEntity": "STEPFUN TECHNOLOGY (HK) LIMITED",
        "domain": "stepfun.ai",
        "domainRegistered": "",
        "endpointOnVendorDomain": true,
        "terms": "https://platform.stepfun.ai/docs/en/agreement/userservice",
        "privacy": "https://platform.stepfun.ai/docs/en/agreement/userprivacy",
        "statusPage": "",
        "changelog": "https://platform.stepfun.ai/docs/en/guides/model-migration",
        "securityTxt": "none",
        "checked": "2026-10-12",
        "notes": [
          "The terms and the privacy policy name STEPFUN TECHNOLOGY (HK) LIMITED. Disputes go to HKIAC arbitration under Hong Kong law.",
          "platform.stepfun.ai/.well-known/security.txt returned 404, and stepfun.ai/.well-known/security.txt redirects to the platform home page.",
          "status.stepfun.ai refused our reader by robots.txt, and the shell couldn't connect, so whether it is a status page wasn't established.",
          "The X handle comes from the QR code labelled X account on the platform home page, which decodes to https://x.com/StepFun_ai.",
          "Domain registration date was not checked."
        ],
        "score": 65
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/stepfun-api.json",
      "live": {
        "slug": "stepfun-api",
        "probe": {
          "target": "https://api.stepfun.ai/v1",
          "method": "get",
          "lastAt": "2026-10-12T04:49:17.051129492Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 281,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 275,
          "p95ms24h": 492,
          "samples24h": 23,
          "samples30d": 23,
          "days": [
            {
              "date": "2026-10-12",
              "probes": 23,
              "ok": 23
            }
          ]
        },
        "updatedAt": "2026-10-12T04:49:17.051129492Z"
      }
    },
    "facts": [
      {
        "a": "Model router",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Cloudflare, Inc.",
        "b": "StepFun",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://api.stepfun.ai/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "payer tooling only",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "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",
        "b": "Closed service under the StepFun Open Platform Terms of Service (STEPFUN TECHNOLOGY (HK) LIMITED, Hong Kong law).",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-06",
        "b": "none",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "251k npm/wk",
        "b": "none",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against StepFun API's 44.4 (E), and leads in every scored category.",
        "question": "Which is better for AI agents, Cloudflare AI Gateway or StepFun API?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cloudflare AI Gateway and StepFun API need an API key?"
      },
      {
        "answer": "Yes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and StepFun API at https://api.stepfun.ai/v1.",
        "question": "Can an agent call Cloudflare AI Gateway and StepFun API without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 66 against 28",
          "Schema \u0026 documentation, 75 against 53",
          "Agent ergonomics, 73 against 68",
          "Security \u0026 auth, 75 against 41",
          "Payments \u0026 pricing, 52 against 20",
          "Maintenance \u0026 community, 75 against 50",
          "Transparency \u0026 trust, 73 against 58"
        ],
        "also": null,
        "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"
      },
      {
        "aheadOn": null,
        "also": [
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "Long-context agent and coding work over text, screenshots and video at a low per-token price, where a preview model is acceptable.",
        "slug": "stepfun-api",
        "watchFor": "Step 5 Preview is labelled a preview, and no release date or support commitment was found"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "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/anthropic-api-vs-stepfun-api.json",
        "title": "Claude API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-stepfun-api.json",
        "title": "Antseed vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.json",
        "title": "BlockRun.AI vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-stepfun-api.json",
        "title": "BlockRun.AI vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-stepfun-api"
      },
      {
        "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/cloudflare-workers-ai-vs-stepfun-api.json",
        "title": "Cloudflare Workers AI vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-stepfun-api.json",
        "title": "Cohere Chat API (Command models) vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.json",
        "title": "DeepInfra vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-stepfun-api.json",
        "title": "DeepSeek API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api.json",
        "title": "Gemini Developer API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-stepfun-api.json",
        "title": "GroqCloud vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/groq-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api.json",
        "title": "Mistral AI API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-stepfun-api.json",
        "title": "Novita AI vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-stepfun-api.json",
        "title": "OpenAI API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-stepfun-api.json",
        "title": "OpenRouter vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-stepfun-api.json",
        "title": "Prism Inference vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-stepfun-api.json",
        "title": "SambaCloud vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-stepfun-api.json",
        "title": "SiliconFlow vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-stepfun-api"
      },
      {
        "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": [
      {
        "by": 38,
        "cloudflare-ai-gateway": 66,
        "edge": "cloudflare-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "stepfun-api": 28,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 22,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "stepfun-api": 53,
        "weight": 13
      },
      {
        "by": 5,
        "cloudflare-ai-gateway": 73,
        "edge": "cloudflare-ai-gateway",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "stepfun-api": 68,
        "weight": 13
      },
      {
        "by": 34,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "security",
        "name": "Security \u0026 auth",
        "stepfun-api": 41,
        "weight": 14
      },
      {
        "by": 32,
        "cloudflare-ai-gateway": 52,
        "edge": "cloudflare-ai-gateway",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "stepfun-api": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 25,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "stepfun-api": 50,
        "weight": 7
      },
      {
        "by": 15,
        "cloudflare-ai-gateway": 73,
        "edge": "cloudflare-ai-gateway",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "stepfun-api": 58,
        "weight": 7
      }
    ],
    "summary": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against StepFun API's 44.4 (E), and leads in every scored category. Both do llm inference.",
    "verdicts": {
      "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.",
      "stepfun-api": "StepFun's API serves Step 5 Preview with a 1M-token context, video input, strict JSON Schema output and published per-token prices, documented in Markdown with an llms.txt. The model is a preview with no release date found, there's no free allowance or SLA, and the terms and privacy policy leave room to train on customer data."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api",
    "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.md",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.min.md"
  },
  "markdown": "Cloudflare AI Gateway scores 66.8 (B) on agent readiness against StepFun API's 44.4 (E), and leads in every scored category. Both do llm inference.\n\n- Cloudflare AI Gateway: grade B, 66.8/100, rank #278 of 965. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- StepFun API: grade E, 44.4/100, rank #889 of 965. Markdown https://www.anchorterminal.com/tools/stepfun-api.md · JSON https://www.anchorterminal.com/api/v1/tools/stepfun-api.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 153 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\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 28\n- Schema \u0026 documentation, 75 against 53\n- Agent ergonomics, 73 against 68\n- Security \u0026 auth, 75 against 41\n- Payments \u0026 pricing, 52 against 20\n- Maintenance \u0026 community, 75 against 50\n- Transparency \u0026 trust, 73 against 58\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### StepFun API (E)\n\nGood for: Long-context agent and coding work over text, screenshots and video at a low per-token price, where a preview model is acceptable.\n\nAlso in its favour:\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: Step 5 Preview is labelled a preview, and no release date or support commitment was found\n\n\n## Score by category\n\n| Category | Weight | Cloudflare AI Gateway | StepFun API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 28 | Cloudflare AI Gateway +38 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 53 | Cloudflare AI Gateway +22 |\n| Agent ergonomics | 13% (16.2 this run) | 73 | 68 | Cloudflare AI Gateway +5 |\n| Security \u0026 auth | 14% (17.5 this run) | 75 | 41 | Cloudflare AI Gateway +34 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 52 | 20 | Cloudflare AI Gateway +32 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 75 | 50 | Cloudflare AI Gateway +25 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 73 | 58 | Cloudflare AI Gateway +15 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **66.8 · B** | **44.4 · E** | |\n\n## Facts side by side\n\n| Fact | Cloudflare AI Gateway | StepFun API |\n| --- | --- | --- |\n| Kind | Model router | Model API |\n| Vendor | Cloudflare, Inc. | StepFun |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://api.stepfun.ai/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Freemium | Pay per use |\n| x402 | payer tooling only | no |\n| Licence | 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 | Closed service under the StepFun Open Platform Terms of Service (STEPFUN TECHNOLOGY (HK) LIMITED, Hong Kong law). |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-06 | none |\n| Terms last updated | 2025-09-12 |  |\n| Privacy policy last updated | no date given |  |\n| Customer content may train models | not found in the text |  |\n| Terms restrict automated access | yes |  |\n| Terms restrict benchmarking | not found in the text |  |\n| Terms or service can change without notice | yes |  |\n| Arbitration or class-action waiver | yes |  |\n| Popularity | 251k npm/wk | none |\n\n## Verdicts\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**StepFun API.** StepFun's API serves Step 5 Preview with a 1M-token context, video input, strict JSON Schema output and published per-token prices, documented in Markdown with an llms.txt. The model is a preview with no release date found, there's no free allowance or SLA, and the terms and privacy policy leave room to train on customer data.\n\n## Before you call either\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### StepFun API\n\n1. Set `max_tokens` yourself. It defaults to unlimited on Step 5 Preview, and reasoning tokens are billed as output\n2. Use `response_format` with `type: json_schema` and `strict: true` when the shape matters. JSON Mode alone isn't schema-checked\n3. Back off and retry on 429, 500, 503 and 504. The docs give no Retry-After header or backoff schedule\n4. Expect HTTP 451 or `finish_reason: content_filter` when content fails StepFun's review, and don't retry the same input\n5. Use api.stepfun.ai for the international platform. api.stepfun.com is the China platform with yuan pricing\n\n## Questions\n\n### Which is better for AI agents, Cloudflare AI Gateway or StepFun API?\n\nCloudflare AI Gateway scores 66.8 (B) on agent readiness against StepFun API's 44.4 (E), and leads in every scored category.\n\n### Do Cloudflare AI Gateway and StepFun API need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cloudflare AI Gateway and StepFun API without installing anything?\n\nYes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and StepFun API at https://api.stepfun.ai/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-ai-gateway\", \"b\": \"stepfun-api\"}`. From a terminal: `anchor compare cloudflare-ai-gateway stepfun-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json and https://www.anchorterminal.com/api/v1/tools/stepfun-api.json\n\n## Other comparisons with Cloudflare AI Gateway or StepFun API\n\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs StepFun API](https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api.md)\n- [Antseed vs StepFun API](https://www.anchorterminal.com/compare/antseed-vs-stepfun-api.md)\n- [BlockRun.AI vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md)\n- [BlockRun.AI vs StepFun API](https://www.anchorterminal.com/compare/blockrun-ai-vs-stepfun-api.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- [Cloudflare Workers AI vs StepFun API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-stepfun-api.md)\n- [Cohere Chat API (Command models) vs StepFun API](https://www.anchorterminal.com/compare/cohere-chat-vs-stepfun-api.md)\n- [DeepInfra vs StepFun API](https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.md)\n- [DeepSeek API vs StepFun API](https://www.anchorterminal.com/compare/deepseek-api-vs-stepfun-api.md)\n- [Gemini Developer API vs StepFun API](https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api.md)\n- [GroqCloud vs StepFun API](https://www.anchorterminal.com/compare/groq-vs-stepfun-api.md)\n- [Mistral AI API vs StepFun API](https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api.md)\n- [Novita AI vs StepFun API](https://www.anchorterminal.com/compare/novita-ai-vs-stepfun-api.md)\n- [OpenAI API vs StepFun API](https://www.anchorterminal.com/compare/openai-api-vs-stepfun-api.md)\n- [OpenRouter vs StepFun API](https://www.anchorterminal.com/compare/openrouter-vs-stepfun-api.md)\n- [Prism Inference vs StepFun API](https://www.anchorterminal.com/compare/prism-inference-vs-stepfun-api.md)\n- [SambaCloud vs StepFun API](https://www.anchorterminal.com/compare/sambanova-vs-stepfun-api.md)\n- [SiliconFlow vs StepFun API](https://www.anchorterminal.com/compare/siliconflow-vs-stepfun-api.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-12",
    "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": "Cloudflare AI Gateway vs StepFun API",
        "url": ""
      }
    ],
    "description": "Cloudflare AI Gateway scores 66.8 (B) to StepFun's 44.4 (E) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare AI Gateway B 66.8",
      "StepFun API E 44.4",
      "scores"
    ],
    "h1": "Cloudflare AI Gateway vs StepFun API",
    "image": "https://www.anchorterminal.com/assets/og/compare-cloudflare-ai-gateway-vs-stepfun-api.png",
    "path": "/compare/cloudflare-ai-gateway-vs-stepfun-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare AI Gateway vs StepFun for AI agents (2026)",
    "toc": null,
    "updated": "2026-10-12",
    "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api"
  },
  "tokens": {
    "markdown": 2950,
    "slim": 780
  },
  "version": 1
}
