{
  "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": 371,
        "ranked": true,
        "rankOf": 842,
        "categoryRank": 9,
        "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-09T09:26:47.957656137Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 390,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 377,
          "p95ms24h": 506,
          "samples24h": 20,
          "samples30d": 20,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 20,
              "ok": 20
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.deepinfra.com",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-09T07:57:47.5406023Z"
        },
        "updatedAt": "2026-10-09T09:26:47.957656137Z"
      }
    },
    "answer": "DeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "deepseek-api",
      "name": "DeepSeek API",
      "vendor": "DeepSeek",
      "vendorUrl": "https://www.deepseek.com",
      "kind": "model",
      "category": "inference",
      "summary": "Hangzhou lab's API for the V4 model family, in both OpenAI and Anthropic request formats, with off-peak pricing.",
      "url": "https://www.anchorterminal.com/tools/deepseek-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/deepseek-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/deepseek-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/deepseek-api.json",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.deepseek.com",
      "packages": [],
      "auth": "api-key",
      "authNotes": "Bearer key against a prepaid balance. An Anthropic-format base URL is at `/anthropic`.",
      "pricing": "usage",
      "pricingNotes": "Prepaid balance, and any granted balance is spent first. Prices shown are peak (01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, except Chinese public holidays). Off-peak is half price. Disk cache on by default, with cache hits at $0.044 per 1M input tokens on V4 Pro and $0.006 on V4.1 Flash at peak (https://api-docs.deepseek.com/quick_start/pricing).",
      "priceSummary": "from $0.30 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://api-docs.deepseek.com",
      "rateLimitsUrl": "https://api-docs.deepseek.com/quick_start/rate_limit",
      "capabilities": [
        "inference.llm",
        "inference.open-weights"
      ],
      "tags": [
        "hosted",
        "model",
        "open-weights",
        "prepaid"
      ],
      "lastRelease": "2026-09-10",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 46.8,
        "grade": "D",
        "agentReady": false,
        "rank": 748,
        "ranked": true,
        "rankOf": 842,
        "categoryRank": 12,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 70,
          "maintenance": 46,
          "payments": 20,
          "reliability": 65,
          "schema": 49,
          "security": 30,
          "transparency": 65
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": -3,
        "negativeNotes": [
          "On 2026-09-10 DeepSeek retired V4 Flash and routed `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp` to V4.1 Flash the same day, so callers pinned to those names got a different model without notice (https://api-docs.deepseek.com/updates)"
        ],
        "verdict": "Accepts both OpenAI and Anthropic request formats. 32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14.",
        "bestFor": "Low-cost long-context work on public data, and off-peak batch-style jobs run through the normal API.",
        "strengths": [
          "Accepts both OpenAI and Anthropic request formats",
          "1M-token context and up to 384K output",
          "Off-peak prices are half the peak price, and the disk cache is on by default",
          "Strict schema-enforced tool calls, in beta at the `/beta` base URL",
          "`deepseek-chat` and `deepseek-reasoner` got three months' notice before their 2026-07-24 shutdown"
        ],
        "weaknesses": [
          "32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14",
          "Personal data trains models unless you email to opt out, and data is stored in the PRC with no retention period stated",
          "V4 Flash names were rerouted to V4.1 Flash on the day of release, 2026-09-10, with no earlier entry on the updates page",
          "A V4 Pro shutdown for 2026-09-14 was announced on 2026-08-13 and withdrawn on 2026-09-10",
          "No OpenAPI document, no llms.txt, no security.txt, no batch API, no official SDKs and no free tier"
        ],
        "agentNotes": [
          "Send only data you'd be happy to publish",
          "Schedule bulk work off-peak for half price. Peak runs 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, except Chinese public holidays",
          "Set `max_tokens` yourself. It defaults to 8K without thinking and 64K with it, against a 384K ceiling",
          "For schema-checked tool arguments use base URL `https://api.deepseek.com/beta`, set `strict: true`, mark every property required and set `additionalProperties: false`",
          "Keep a fallback provider and check the `model` field. 429 carries no Retry-After, and `deepseek-v4-flash` now answers as V4.1 Flash"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 2,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 46.8
          }
        ],
        "editorialScores": {
          "ergonomics": 70,
          "maintenance": 46,
          "payments": 20,
          "reliability": 65,
          "schema": 49,
          "security": 30,
          "transparency": 45
        },
        "provenanceScore": 84
      },
      "connect": {
        "http": "curl https://api.deepseek.com/chat/completions \\\n  -H \"Authorization: Bearer $DEEPSEEK_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"model\":\"deepseek-v4-pro\",\"messages\":[{\"role\":\"user\",\"content\":\"hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/deepseek-api"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Hangzhou DeepSeek Artificial Intelligence Co., Ltd.",
        "domain": "deepseek.com",
        "domainRegistered": "2000-08-13",
        "domainNote": "deepseek.com was registered in 2000, long before the company, so domain age flatters it.",
        "endpointOnVendorDomain": true,
        "terms": "https://cdn.deepseek.com/policies/en-US/deepseek-open-platform-terms-of-service.html",
        "privacy": "https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html",
        "statusPage": "https://status.deepseek.com",
        "changelog": "https://api-docs.deepseek.com/updates",
        "securityTxt": "none",
        "checked": "2026-09-26",
        "score": 84
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/deepseek-api.json",
      "live": {
        "slug": "deepseek-api",
        "probe": {
          "target": "https://api.deepseek.com",
          "method": "get",
          "lastAt": "2026-10-09T09:26:48.125006488Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 271,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 284,
          "p95ms24h": 367,
          "samples24h": 261,
          "samples30d": 3241,
          "days": [
            {
              "date": "2026-09-27",
              "probes": 132,
              "ok": 132
            },
            {
              "date": "2026-09-28",
              "probes": 285,
              "ok": 285
            },
            {
              "date": "2026-09-29",
              "probes": 286,
              "ok": 286
            },
            {
              "date": "2026-09-30",
              "probes": 286,
              "ok": 286
            },
            {
              "date": "2026-10-01",
              "probes": 276,
              "ok": 276
            },
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-06",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-07",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-08",
              "probes": 268,
              "ok": 268
            },
            {
              "date": "2026-10-09",
              "probes": 101,
              "ok": 101
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.deepseek.com",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-09T07:57:47.924502662Z"
        },
        "securityTxt": {
          "url": "https://deepseek.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-08T15:39:05.818976733Z"
        },
        "domain": {
          "domain": "deepseek.com",
          "registered": "2000-08-13",
          "source": "https://rdap.verisign.com/com/v1/domain/deepseek.com",
          "checkedAt": "2026-10-04T13:07:10.74402119Z"
        },
        "pages": [
          {
            "url": "https://api-docs.deepseek.com/updates",
            "kind": "deprecations",
            "status": 304,
            "checkedAt": "2026-10-08T18:15:16.90524915Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "577ca8c2ab97"
          },
          {
            "url": "https://api-docs.deepseek.com/quick_start/pricing",
            "kind": "pricing",
            "status": 304,
            "checkedAt": "2026-10-08T18:15:14.129920511Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "f05e491ec01b"
          },
          {
            "url": "https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html",
            "kind": "privacy",
            "status": 304,
            "checkedAt": "2026-10-08T18:16:04.679388496Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "a8cd8da7a4f7"
          },
          {
            "url": "https://cdn.deepseek.com/policies/en-US/deepseek-open-platform-terms-of-service.html",
            "kind": "terms",
            "status": 304,
            "checkedAt": "2026-10-08T18:16:02.664519504Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "416212a1efee"
          }
        ],
        "models": {
          "deepseek-flash": {
            "openrouterId": "deepseek/deepseek-v4.1-flash",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 943718,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "deepseek-v4-pro": {
            "openrouterId": "deepseek/deepseek-v4-pro",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 384000,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          }
        },
        "updatedAt": "2026-10-09T09:26:48.125006488Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Deep Infra Inc.",
        "b": "DeepSeek",
        "name": "Vendor"
      },
      {
        "a": "https://api.deepinfra.com/v1/openai",
        "b": "https://api.deepseek.com",
        "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": "none",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-07",
        "b": "2026-09-10",
        "name": "Last release"
      },
      {
        "a": "2026-08-17",
        "b": "couldn't be read",
        "name": "Terms last updated"
      },
      {
        "a": "2026-08-15",
        "b": "couldn't be read",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "couldn't be read",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "couldn't be read",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "couldn't be read",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "couldn't be read",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "couldn't be read",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "21 stars, 1.2k npm/wk, 50 PyPI/wk",
        "b": "none",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "2/5 (2)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "DeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, DeepInfra or DeepSeek API?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do DeepInfra and DeepSeek API need an API key?"
      },
      {
        "answer": "Yes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai and DeepSeek API at https://api.deepseek.com.",
        "question": "Can an agent call DeepInfra and DeepSeek API without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 65",
          "Schema \u0026 documentation, 69 against 49",
          "Agent ergonomics, 77 against 70",
          "Security \u0026 auth, 64 against 30",
          "Maintenance \u0026 community, 65 against 46"
        ],
        "also": [
          "No incidents deducted, where DeepSeek API loses 3 points for them"
        ],
        "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": "Low-cost long-context work on public data, and off-peak batch-style jobs run through the normal API.",
        "slug": "deepseek-api",
        "watchFor": "32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14"
      }
    ],
    "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-deepseek-api.json",
        "title": "Claude API vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-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-deepseek-api.json",
        "title": "Antseed vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-deepseek-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-deepseek-api.json",
        "title": "BlockRun.AI vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/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-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/deepseek-api-vs-gemini-api.json",
        "title": "DeepSeek API vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-groq.json",
        "title": "DeepSeek API vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api.json",
        "title": "DeepSeek API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api.json",
        "title": "DeepSeek API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-openrouter.json",
        "title": "DeepSeek API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-prism-inference.json",
        "title": "DeepSeek API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-sambanova.json",
        "title": "DeepSeek API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-sambanova"
      }
    ],
    "scores": [
      {
        "by": 5,
        "deepinfra": 70,
        "deepseek-api": 65,
        "edge": "deepinfra",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 20,
        "deepinfra": 69,
        "deepseek-api": 49,
        "edge": "deepinfra",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 7,
        "deepinfra": 77,
        "deepseek-api": 70,
        "edge": "deepinfra",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 34,
        "deepinfra": 64,
        "deepseek-api": 30,
        "edge": "deepinfra",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "deepinfra": 20,
        "deepseek-api": 20,
        "edge": "",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 19,
        "deepinfra": 65,
        "deepseek-api": 46,
        "edge": "deepinfra",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 2,
        "deepinfra": 67,
        "deepseek-api": 65,
        "edge": "deepinfra",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "DeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), 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.",
      "deepseek-api": "Accepts both OpenAI and Anthropic request formats. 32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api",
    "json": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.md",
    "slim": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.min.md"
  },
  "markdown": "DeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), and leads in 6 of 7 scored categories. Both do llm inference.\n\n- DeepInfra: grade B, 63/100, rank #371 of 842. Markdown https://www.anchorterminal.com/tools/deepinfra.md · JSON https://www.anchorterminal.com/api/v1/tools/deepinfra.json\n- DeepSeek API: grade D, 46.8/100, rank #748 of 842. Markdown https://www.anchorterminal.com/tools/deepseek-api.md · JSON https://www.anchorterminal.com/api/v1/tools/deepseek-api.json\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 65\n- Schema \u0026 documentation, 69 against 49\n- Agent ergonomics, 77 against 70\n- Security \u0026 auth, 64 against 30\n- Maintenance \u0026 community, 65 against 46\n\nAlso in its favour:\n- No incidents deducted, where DeepSeek API loses 3 points for them\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### DeepSeek API (D)\n\nGood for: Low-cost long-context work on public data, and off-peak batch-style jobs run through the normal API.\n\nWatch for: 32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14\n\n\n## Score by category\n\n| Category | Weight | DeepInfra | DeepSeek API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 70 | 65 | DeepInfra +5 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 69 | 49 | DeepInfra +20 |\n| Agent ergonomics | 13% (16.2 this run) | 77 | 70 | DeepInfra +7 |\n| Security \u0026 auth | 14% (17.5 this run) | 64 | 30 | DeepInfra +34 |\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 | 46 | DeepInfra +19 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 67 | 65 | DeepInfra +2 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **63 · B** | **46.8 · D** | |\n\n## Facts side by side\n\n| Fact | DeepInfra | DeepSeek API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Deep Infra Inc. | DeepSeek |\n| Hosted endpoint | `https://api.deepinfra.com/v1/openai` | `https://api.deepseek.com` |\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 | none |\n| Read-only variant documented | no | no |\n| llms.txt | yes | no |\n| Last release | 2026-10-07 | 2026-09-10 |\n| Terms last updated | 2026-08-17 | couldn't be read |\n| Privacy policy last updated | 2026-08-15 | couldn't be read |\n| Customer content may train models | not found in the text | couldn't be read |\n| Terms restrict automated access | not found in the text | couldn't be read |\n| Terms restrict benchmarking | yes | couldn't be read |\n| Terms or service can change without notice | not found in the text | couldn't be read |\n| Arbitration or class-action waiver | yes | couldn't be read |\n| Popularity | 21 stars, 1.2k npm/wk, 50 PyPI/wk | none |\n| Agent reviews | none | 2/5 (2) |\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**DeepSeek API.** Accepts both OpenAI and Anthropic request formats. 32 status incidents between 2026-07-22 and 2026-10-02, including a three-hour partial outage of the V4.1 Flash API on 2026-09-14.\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### DeepSeek API\n\n1. Send only data you'd be happy to publish\n2. Schedule bulk work off-peak for half price. Peak runs 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, except Chinese public holidays\n3. Set `max_tokens` yourself. It defaults to 8K without thinking and 64K with it, against a 384K ceiling\n4. For schema-checked tool arguments use base URL `https://api.deepseek.com/beta`, set `strict: true`, mark every property required and set `additionalProperties: false`\n5. Keep a fallback provider and check the `model` field. 429 carries no Retry-After, and `deepseek-v4-flash` now answers as V4.1 Flash\n\n## Questions\n\n### Which is better for AI agents, DeepInfra or DeepSeek API?\n\nDeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), and leads in 6 of 7 scored categories.\n\n### Do DeepInfra and DeepSeek API need an API key?\n\nBoth need an API key.\n\n### Can an agent call DeepInfra and DeepSeek API without installing anything?\n\nYes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai and DeepSeek API at https://api.deepseek.com.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"deepinfra\", \"b\": \"deepseek-api\"}`. From a terminal: `anchor compare deepinfra deepseek-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/deepinfra.json and https://www.anchorterminal.com/api/v1/tools/deepseek-api.json\n\n## Other comparisons with DeepInfra or DeepSeek API\n\n- [Claude API vs DeepInfra](https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.md)\n- [Claude API vs DeepSeek API](https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api.md)\n- [Antseed vs DeepInfra](https://www.anchorterminal.com/compare/antseed-vs-deepinfra.md)\n- [Antseed vs DeepSeek API](https://www.anchorterminal.com/compare/antseed-vs-deepseek-api.md)\n- [BlockRun.AI vs DeepInfra](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.md)\n- [BlockRun.AI vs DeepSeek API](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api.md)\n- [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 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- [DeepSeek API vs Gemini Developer API](https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-api.md)\n- [DeepSeek API vs GroqCloud](https://www.anchorterminal.com/compare/deepseek-api-vs-groq.md)\n- [DeepSeek API vs Mistral AI API](https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api.md)\n- [DeepSeek API vs OpenAI API](https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api.md)\n- [DeepSeek API vs OpenRouter](https://www.anchorterminal.com/compare/deepseek-api-vs-openrouter.md)\n- [DeepSeek API vs Prism Inference](https://www.anchorterminal.com/compare/deepseek-api-vs-prism-inference.md)\n- [DeepSeek API vs SambaCloud](https://www.anchorterminal.com/compare/deepseek-api-vs-sambanova.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-09",
    "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 DeepSeek API",
        "url": ""
      }
    ],
    "description": "DeepInfra scores 63 (B) on agent readiness against DeepSeek API's 46.8 (D), and leads in 6 of 7 scored categories. Both do llm inference. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "DeepInfra B 63",
      "DeepSeek API D 46.8",
      "scores"
    ],
    "h1": "DeepInfra vs DeepSeek API",
    "image": "https://www.anchorterminal.com/assets/og/compare-deepinfra-vs-deepseek-api.png",
    "path": "/compare/deepinfra-vs-deepseek-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DeepInfra vs DeepSeek API for AI agents, B 63 vs D 46.8",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api"
  },
  "tokens": {
    "markdown": 2250,
    "slim": 680
  },
  "version": 1
}
