{
  "data": {
    "a": {
      "slug": "deepinfra",
      "name": "DeepInfra",
      "vendor": "Deep Infra Inc.",
      "vendorUrl": "https://deepinfra.com",
      "kind": "model",
      "category": "inference",
      "summary": "DeepInfra is a hosted inference API for open-weight and some third-party models, covering chat, embeddings, reranking, image, video and speech. It answers OpenAI-style and Anthropic-style calls at api.deepinfra.com with a Bearer key.",
      "url": "https://www.anchorterminal.com/tools/deepinfra",
      "markdownUrl": "https://www.anchorterminal.com/tools/deepinfra.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/deepinfra.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/deepinfra.json",
      "repo": "https://github.com/deepinfra/deepinfra-python",
      "license": "Proprietary service under the DeepInfra Terms of Service. The Python and Node SDKs and the docs repository are MIT",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.deepinfra.com/v1/openai",
      "packages": [
        {
          "registry": "pypi",
          "name": "deepinfra"
        },
        {
          "registry": "npm",
          "name": "deepinfra"
        }
      ],
      "auth": "api-key",
      "authNotes": "Self-serve Bearer key from the dashboard at https://deepinfra.com/dash/api_keys after a browser sign-up with Google, GitHub, email or Okta SSO. The Anthropic-style routes also take the key in `x-api-key`. Keys can carry an IP allowlist and a monthly spending limit, and a key can mint scoped JWTs limited by model, expiry and spend.",
      "pricing": "usage",
      "pricingNotes": "Pay per token, image, audio minute or GPU-hour, with no free tier. An account must add a card or prepay. DeepSeek-V4-Flash-0731 costs $0.06 in and $0.18 out per 1M tokens, the priority tier is 1.5x, flex 0.8x and batch 20 per cent off (https://deepinfra.com/pricing, checked 2026-10-08).",
      "priceSummary": "from $0.06 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs index, the docs repository, the OpenAPI document or the pricing page (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 21,
        "npmWeekly": 1250,
        "pypiWeekly": 50,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://docs.deepinfra.com/",
      "rateLimitsUrl": "https://docs.deepinfra.com/account/rate-limits",
      "llmsTxt": "https://docs.deepinfra.com/llms.txt",
      "openapi": "https://api.deepinfra.com/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.open-weights",
        "embed.text",
        "rerank",
        "image.generate",
        "speech.stt",
        "speech.tts",
        "compute.batch"
      ],
      "tags": [
        "hosted",
        "model",
        "open-weights",
        "usage-based",
        "card-required",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "anthropic-compatible",
        "batch",
        "prompt-caching",
        "python",
        "typescript",
        "status-page",
        "soc2"
      ],
      "lastRelease": "2026-10-07",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 63,
        "grade": "B",
        "agentReady": false,
        "rank": 417,
        "ranked": true,
        "rankOf": 965,
        "categoryRank": 12,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 77,
          "maintenance": 65,
          "payments": 20,
          "reliability": 70,
          "schema": 69,
          "security": 64,
          "transparency": 67
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-08"
        },
        "negative": 0,
        "verdict": "The model list, context sizes and per-token prices are readable without a key, and keys can carry an IP allowlist, a monthly spending cap and model-limited JWTs. Deprecated models get one week's notice and are then redirected to another model, there is no changelog or SLA, and an account needs a card or prepayment before any call.",
        "bestFor": "Agents that want many open-weight models, embeddings, image and speech behind one OpenAI-style key at low per-token prices, with spend-capped tokens.",
        "strengths": [
          "`GET /v1/openai/models` answered without a key on 8 October 2026 with 181 models, each with context length, output cap and per-token prices",
          "Scoped JWTs limit a token to named models, an expiry and a USD spending limit, and each API key can carry an IP allowlist and a monthly cap",
          "The terms commit to zero data retention and no training on Customer Data, and say that clause controls over the privacy policy and docs",
          "Batch API at 20 per cent off, a flex tier at 0.8x, prompt caching with cached-input prices and server-side fallback across up to four models",
          "Status page with 90-day history for the API, the website and 154 models, plus a dated list of scheduled deprecations"
        ],
        "weaknesses": [
          "A deprecated model gets at least one week's notice, and requests are then forwarded to a replacement model under the old id",
          "The status feed lists 50 automated major-outage observations on single models since 3 August 2026, several longer than 24 hours, with no written incident notes",
          "No free tier. The pricing page says an account must add a card or prepay before using the service",
          "No changelog, SLA, error reference or `Retry-After` header was found in the reviewed documentation",
          "The sub-processor list names three companies and is dated 6 September 2024, while the docs say Google and Anthropic receive data for their models"
        ],
        "agentNotes": [
          "Call `GET https://api.deepinfra.com/v1/openai/models` at start-up for ids, context sizes and prices. No key is needed",
          "Check the `model` field of each response. After a deprecation date, requests to the old id are served by a replacement model",
          "Ask the account owner for a scoped JWT limited to the models and spend the task needs, not the full API key",
          "Stay under 200 concurrent requests per model. On 429 `engine_overloaded`, retry after a delay, or send `models` with up to four fallbacks",
          "Never inspect a JWT with `GET /v1/scoped-jwt?jwtoken=`, which puts the token in the URL. Keep credentials in the `Authorization` header"
        ],
        "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": 63
          }
        ],
        "editorialScores": {
          "ergonomics": 77,
          "maintenance": 65,
          "payments": 20,
          "reliability": 70,
          "schema": 69,
          "security": 64,
          "transparency": 60
        },
        "provenanceScore": 74
      },
      "connect": {
        "install": "pip install openai   # or: npm install openai",
        "http": "curl \"https://api.deepinfra.com/v1/openai/chat/completions\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer $DEEPINFRA_API_KEY\" \\\n  -d '{\"model\":\"deepseek-ai/DeepSeek-V4-Flash-0731\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/deepinfra"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Deep Infra Inc.",
        "domain": "deepinfra.com",
        "domainRegistered": "2017-12-08",
        "endpointOnVendorDomain": true,
        "terms": "https://deepinfra.com/terms",
        "privacy": "https://deepinfra.com/privacy",
        "statusPage": "https://status.deepinfra.com",
        "changelog": "",
        "securityTxt": "none",
        "checked": "2026-10-08",
        "notes": [
          "The Terms of Service, last modified 17 August 2026, name Deep Infra Inc., a Delaware corporation, with California law and JAMS arbitration in San Francisco. They are written around Service Orders and govern the services, the API included.",
          "The Privacy Policy, last modified 15 August 2026, names DeepInfra, Inc., a Delaware corporation, covers the website and the APIs, and has a section on data sent to and returned by the inference service.",
          "No changelog or release notes page was found in the docs index or the site map.",
          "https://deepinfra.com/.well-known/security.txt returns 404.",
          "RDAP for deepinfra.com gives a registration date of 2017-12-08.",
          "The API answers at api.deepinfra.com, the docs at docs.deepinfra.com and the status page at status.deepinfra.com.",
          "No SLA or published DPA was found. The terms mention a DPA only where the parties execute one."
        ],
        "score": 74
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/deepinfra.json",
      "live": {
        "slug": "deepinfra",
        "probe": {
          "target": "https://api.deepinfra.com/v1/openai",
          "method": "get",
          "lastAt": "2026-10-12T04:37:16.754978583Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 373,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 377,
          "p95ms24h": 740,
          "samples24h": 247,
          "samples30d": 710,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 169,
              "ok": 169
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 47,
              "ok": 47
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.deepinfra.com",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-12T03:24:12.01398965Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "deepinfra/deepinfra-python",
            "version": "v0.2.1",
            "released": "2026-08-05",
            "seenAt": "2026-10-11T19:26:47.06315905Z"
          },
          {
            "registry": "npm",
            "name": "deepinfra",
            "version": "2.0.2",
            "seenAt": "2026-10-11T19:26:46.829163644Z"
          },
          {
            "registry": "pypi",
            "name": "deepinfra",
            "version": "0.3.0",
            "released": "2026-08-12",
            "seenAt": "2026-10-11T19:26:46.625777927Z"
          }
        ],
        "githubStars": 1,
        "npmWeekly": 761,
        "pypiWeekly": 79,
        "securityTxt": {
          "url": "https://deepinfra.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-11T15:42:54.147180583Z"
        },
        "llmsTxt": {
          "url": "https://docs.deepinfra.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-11T14:06:28.616407361Z"
        },
        "domain": {
          "domain": "deepinfra.com",
          "registered": "2017-12-08",
          "source": "https://rdap.verisign.com/com/v1/domain/deepinfra.com",
          "checkedAt": "2026-10-11T13:18:56.059301616Z"
        },
        "pages": [
          {
            "url": "https://status.deepinfra.com/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-11T19:34:22.11539251Z",
            "changedAt": "2026-10-11T19:34:22.11539251Z",
            "fingerprint": "975c1d6ef436"
          },
          {
            "url": "https://deepinfra.com/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-11T19:23:19.106870982Z",
            "changedAt": "2026-10-11T19:23:19.106870982Z",
            "fingerprint": "09ce540dfd3c"
          },
          {
            "url": "https://deepinfra.com/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-11T19:23:21.174125976Z",
            "changedAt": "2026-10-11T19:23:21.174125976Z",
            "fingerprint": "ea5b47125a2f"
          },
          {
            "url": "https://deepinfra.com/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-11T19:23:23.406290566Z",
            "changedAt": "2026-10-11T19:23:23.406290566Z",
            "fingerprint": "8623d44909b3"
          }
        ],
        "updatedAt": "2026-10-12T04:37:16.754978583Z"
      }
    },
    "answer": "DeepInfra scores 63 (B) on agent readiness against StepFun API's 44.4 (E), and leads in 6 of 7 scored categories.",
    "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:37:36.182148739Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 267,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 275,
          "p95ms24h": 492,
          "samples24h": 21,
          "samples30d": 21,
          "days": [
            {
              "date": "2026-10-12",
              "probes": 21,
              "ok": 21
            }
          ]
        },
        "updatedAt": "2026-10-12T04:37:36.182148739Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Deep Infra Inc.",
        "b": "StepFun",
        "name": "Vendor"
      },
      {
        "a": "https://api.deepinfra.com/v1/openai",
        "b": "https://api.stepfun.ai/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary service under the DeepInfra Terms of Service. The Python and Node SDKs and the docs repository are MIT",
        "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-07",
        "b": "none",
        "name": "Last release"
      },
      {
        "a": "2026-08-17",
        "b": "",
        "name": "Terms last updated"
      },
      {
        "a": "2026-08-15",
        "b": "",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "21 stars, 1.2k npm/wk, 50 PyPI/wk",
        "b": "none",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "DeepInfra scores 63 (B) on agent readiness against StepFun API's 44.4 (E), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, DeepInfra or StepFun API?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do DeepInfra and StepFun API need an API key?"
      },
      {
        "answer": "Yes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai and StepFun API at https://api.stepfun.ai/v1.",
        "question": "Can an agent call DeepInfra and StepFun API without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 28",
          "Schema \u0026 documentation, 69 against 53",
          "Agent ergonomics, 77 against 68",
          "Security \u0026 auth, 64 against 41",
          "Maintenance \u0026 community, 65 against 50",
          "Transparency \u0026 trust, 67 against 58"
        ],
        "also": null,
        "goodFor": "Agents that want many open-weight models, embeddings, image and speech behind one OpenAI-style key at low per-token prices, with spend-capped tokens.",
        "slug": "deepinfra",
        "watchFor": "A deprecated model gets at least one week's notice, and requests are then forwarded to a replacement model under the old id"
      },
      {
        "aheadOn": null,
        "also": null,
        "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-deepinfra.json",
        "title": "Claude API vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra"
      },
      {
        "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-deepinfra.json",
        "title": "Antseed vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-deepinfra"
      },
      {
        "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-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-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-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-stepfun-api.json",
        "title": "Cloudflare AI Gateway vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.json",
        "title": "Cloudflare Workers AI vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra"
      },
      {
        "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-deepinfra.json",
        "title": "Cohere Chat API (Command models) vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-deepinfra"
      },
      {
        "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-deepseek-api.json",
        "title": "DeepInfra vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.json",
        "title": "DeepInfra vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-groq.json",
        "title": "DeepInfra vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api.json",
        "title": "DeepInfra vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-novita-ai.json",
        "title": "DeepInfra vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-openai-api.json",
        "title": "DeepInfra vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-openrouter.json",
        "title": "DeepInfra vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-prism-inference.json",
        "title": "DeepInfra vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-sambanova.json",
        "title": "DeepInfra vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-siliconflow.json",
        "title": "DeepInfra vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-siliconflow"
      },
      {
        "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"
      }
    ],
    "scores": [
      {
        "by": 42,
        "deepinfra": 70,
        "edge": "deepinfra",
        "key": "reliability",
        "name": "Reliability",
        "stepfun-api": 28,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 16,
        "deepinfra": 69,
        "edge": "deepinfra",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "stepfun-api": 53,
        "weight": 13
      },
      {
        "by": 9,
        "deepinfra": 77,
        "edge": "deepinfra",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "stepfun-api": 68,
        "weight": 13
      },
      {
        "by": 23,
        "deepinfra": 64,
        "edge": "deepinfra",
        "key": "security",
        "name": "Security \u0026 auth",
        "stepfun-api": 41,
        "weight": 14
      },
      {
        "by": 0,
        "deepinfra": 20,
        "edge": "",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "stepfun-api": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 15,
        "deepinfra": 65,
        "edge": "deepinfra",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "stepfun-api": 50,
        "weight": 7
      },
      {
        "by": 9,
        "deepinfra": 67,
        "edge": "deepinfra",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "stepfun-api": 58,
        "weight": 7
      }
    ],
    "summary": "DeepInfra scores 63 (B) on agent readiness against StepFun API's 44.4 (E), and leads in 6 of 7 scored categories. Both do llm inference.",
    "verdicts": {
      "deepinfra": "The model list, context sizes and per-token prices are readable without a key, and keys can carry an IP allowlist, a monthly spending cap and model-limited JWTs. Deprecated models get one week's notice and are then redirected to another model, there is no changelog or SLA, and an account needs a card or prepayment before any call.",
      "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/deepinfra-vs-stepfun-api",
    "json": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.md",
    "slim": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.min.md"
  },
  "markdown": "DeepInfra scores 63 (B) on agent readiness against StepFun API's 44.4 (E), and leads in 6 of 7 scored categories. Both do llm inference.\n\n- DeepInfra: grade B, 63/100, rank #417 of 965. Markdown https://www.anchorterminal.com/tools/deepinfra.md · JSON https://www.anchorterminal.com/api/v1/tools/deepinfra.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### DeepInfra (B)\n\nGood for: Agents that want many open-weight models, embeddings, image and speech behind one OpenAI-style key at low per-token prices, with spend-capped tokens.\n\nAhead on:\n- Reliability, 70 against 28\n- Schema \u0026 documentation, 69 against 53\n- Agent ergonomics, 77 against 68\n- Security \u0026 auth, 64 against 41\n- Maintenance \u0026 community, 65 against 50\n- Transparency \u0026 trust, 67 against 58\n\nWatch for: A deprecated model gets at least one week's notice, and requests are then forwarded to a replacement model under the old id\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\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 | DeepInfra | StepFun API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 70 | 28 | DeepInfra +42 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 69 | 53 | DeepInfra +16 |\n| Agent ergonomics | 13% (16.2 this run) | 77 | 68 | DeepInfra +9 |\n| Security \u0026 auth | 14% (17.5 this run) | 64 | 41 | DeepInfra +23 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 20 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 65 | 50 | DeepInfra +15 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 67 | 58 | DeepInfra +9 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **63 · B** | **44.4 · E** | |\n\n## Facts side by side\n\n| Fact | DeepInfra | StepFun API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Deep Infra Inc. | StepFun |\n| Hosted endpoint | `https://api.deepinfra.com/v1/openai` | `https://api.stepfun.ai/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | Proprietary service under the DeepInfra Terms of Service. The Python and Node SDKs and the docs repository are MIT | 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-07 | none |\n| Terms last updated | 2026-08-17 |  |\n| Privacy policy last updated | 2026-08-15 |  |\n| Customer content may train models | not found in the text |  |\n| Terms restrict automated access | not found in the text |  |\n| Terms restrict benchmarking | yes |  |\n| Terms or service can change without notice | not found in the text |  |\n| Arbitration or class-action waiver | yes |  |\n| Popularity | 21 stars, 1.2k npm/wk, 50 PyPI/wk | none |\n\n## Verdicts\n\n**DeepInfra.** The model list, context sizes and per-token prices are readable without a key, and keys can carry an IP allowlist, a monthly spending cap and model-limited JWTs. Deprecated models get one week's notice and are then redirected to another model, there is no changelog or SLA, and an account needs a card or prepayment before any call.\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### DeepInfra\n\n1. Call `GET https://api.deepinfra.com/v1/openai/models` at start-up for ids, context sizes and prices. No key is needed\n2. Check the `model` field of each response. After a deprecation date, requests to the old id are served by a replacement model\n3. Ask the account owner for a scoped JWT limited to the models and spend the task needs, not the full API key\n4. Stay under 200 concurrent requests per model. On 429 `engine_overloaded`, retry after a delay, or send `models` with up to four fallbacks\n5. Never inspect a JWT with `GET /v1/scoped-jwt?jwtoken=`, which puts the token in the URL. Keep credentials in the `Authorization` header\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, DeepInfra or StepFun API?\n\nDeepInfra scores 63 (B) on agent readiness against StepFun API's 44.4 (E), and leads in 6 of 7 scored categories.\n\n### Do DeepInfra and StepFun API need an API key?\n\nBoth need an API key.\n\n### Can an agent call DeepInfra and StepFun API without installing anything?\n\nYes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai 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/deepinfra-vs-stepfun-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"deepinfra\", \"b\": \"stepfun-api\"}`. From a terminal: `anchor compare deepinfra stepfun-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/deepinfra.json and https://www.anchorterminal.com/api/v1/tools/stepfun-api.json\n\n## Other comparisons with DeepInfra or StepFun API\n\n- [Claude API vs DeepInfra](https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.md)\n- [Claude API vs StepFun API](https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api.md)\n- [Antseed vs DeepInfra](https://www.anchorterminal.com/compare/antseed-vs-deepinfra.md)\n- [Antseed vs StepFun API](https://www.anchorterminal.com/compare/antseed-vs-stepfun-api.md)\n- [BlockRun.AI vs DeepInfra](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.md)\n- [BlockRun.AI vs StepFun API](https://www.anchorterminal.com/compare/blockrun-ai-vs-stepfun-api.md)\n- [Cloudflare AI Gateway vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.md)\n- [Cloudflare AI Gateway vs StepFun API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.md)\n- [Cloudflare Workers AI vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.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 DeepInfra](https://www.anchorterminal.com/compare/cohere-chat-vs-deepinfra.md)\n- [Cohere Chat API (Command models) vs StepFun API](https://www.anchorterminal.com/compare/cohere-chat-vs-stepfun-api.md)\n- [DeepInfra vs DeepSeek API](https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.md)\n- [DeepInfra vs Gemini Developer API](https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.md)\n- [DeepInfra vs GroqCloud](https://www.anchorterminal.com/compare/deepinfra-vs-groq.md)\n- [DeepInfra vs Mistral AI API](https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api.md)\n- [DeepInfra vs Novita AI](https://www.anchorterminal.com/compare/deepinfra-vs-novita-ai.md)\n- [DeepInfra vs OpenAI API](https://www.anchorterminal.com/compare/deepinfra-vs-openai-api.md)\n- [DeepInfra vs OpenRouter](https://www.anchorterminal.com/compare/deepinfra-vs-openrouter.md)\n- [DeepInfra vs Prism Inference](https://www.anchorterminal.com/compare/deepinfra-vs-prism-inference.md)\n- [DeepInfra vs SambaCloud](https://www.anchorterminal.com/compare/deepinfra-vs-sambanova.md)\n- [DeepInfra vs SiliconFlow](https://www.anchorterminal.com/compare/deepinfra-vs-siliconflow.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",
  "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": "DeepInfra vs StepFun API",
        "url": ""
      }
    ],
    "description": "DeepInfra scores 63 (B) to StepFun's 44.4 (E) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "DeepInfra B 63",
      "StepFun API E 44.4",
      "scores"
    ],
    "h1": "DeepInfra vs StepFun API",
    "image": "https://www.anchorterminal.com/assets/og/compare-deepinfra-vs-stepfun-api.png",
    "path": "/compare/deepinfra-vs-stepfun-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DeepInfra vs StepFun for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-10-12",
    "url": "https://www.anchorterminal.com/compare/deepinfra-vs-stepfun-api"
  },
  "tokens": {
    "markdown": 2650,
    "slim": 680
  },
  "version": 1
}
