{
  "data": {
    "a": {
      "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": 47.1,
        "grade": "D",
        "agentReady": false,
        "rank": 386,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 8,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 70,
          "maintenance": 46,
          "payments": 20,
          "reliability": 65,
          "schema": 49,
          "security": 30,
          "transparency": 68
        },
        "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.",
        "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.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 47.1
          }
        ],
        "editorialScores": {
          "ergonomics": 70,
          "maintenance": 46,
          "payments": 20,
          "reliability": 65,
          "schema": 49,
          "security": 30,
          "transparency": 45
        },
        "provenanceScore": 90
      },
      "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": 90
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/deepseek-api.json",
      "live": {
        "slug": "deepseek-api",
        "probe": {
          "target": "https://api.deepseek.com",
          "method": "get",
          "lastAt": "2026-10-05T00:57:19.287546008Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 281,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 282,
          "p95ms24h": 354,
          "samples24h": 272,
          "samples30d": 2067,
          "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": 11,
              "ok": 11
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.deepseek.com",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-04T21:39:56.35667203Z"
        },
        "securityTxt": {
          "url": "https://deepseek.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-04T15:15:44.182578488Z"
        },
        "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-04T15:41:16.200226408Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "577ca8c2ab97"
          },
          {
            "url": "https://api-docs.deepseek.com/quick_start/pricing",
            "kind": "pricing",
            "status": 304,
            "checkedAt": "2026-10-04T15:41:13.292918666Z",
            "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-04T15:41:48.821877644Z",
            "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-04T15:41:46.806765272Z",
            "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-04T21:56:15.872733218Z"
          },
          "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-04T21:56:15.872733218Z"
          }
        },
        "updatedAt": "2026-10-05T00:57:19.287546008Z"
      }
    },
    "b": {
      "slug": "openai-api",
      "name": "OpenAI API",
      "vendor": "OpenAI",
      "vendorUrl": "https://developers.openai.com",
      "kind": "model",
      "category": "inference",
      "summary": "OpenAI's API for accessing its models through Responses, Chat Completions and Batch endpoints.",
      "url": "https://www.anchorterminal.com/tools/openai-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/openai-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/openai-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/openai-api.json",
      "repo": "https://github.com/openai/openai-python",
      "license": "Apache-2.0 (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.openai.com/v1",
      "packages": [
        {
          "registry": "pypi",
          "name": "openai"
        },
        {
          "registry": "npm",
          "name": "openai"
        }
      ],
      "auth": "api-key",
      "authNotes": "`Authorization: Bearer` with a project key. Some models and tools need business or ID verification first.",
      "pricing": "usage",
      "pricingNotes": "Prepaid, $5 minimum. Long context over 272K tokens costs 2x input and 1.5x output. Cache reads 0.1x input, cache writes 1.25x from GPT-5.6 on. Batch half price. Web search $10 per 1,000, file search $2.50 per 1,000 (https://developers.openai.com/api/docs/pricing).",
      "priceSummary": "from $0.10 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Access needs an account with prepaid credit.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 31300,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://developers.openai.com/api/docs",
      "rateLimitsUrl": "https://developers.openai.com/api/docs/guides/rate-limits",
      "llmsTxt": "https://developers.openai.com/llms.txt",
      "openapi": "https://github.com/openai/openai-openapi",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "card-required",
        "openapi",
        "llms-txt"
      ],
      "lastRelease": "2026-09-29",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 82.8,
        "grade": "A",
        "agentReady": true,
        "rank": 2,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 1,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 98,
          "maintenance": 91,
          "payments": 30,
          "reliability": 70,
          "schema": 100,
          "security": 100,
          "transparency": 85
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "Official OpenAPI document and an llms.txt index. Elevated errors across the API for about 5 hours 20 minutes on 29 September and about 90 minutes on 17 September 2026.",
        "strengths": [
          "Official OpenAPI document and an llms.txt index",
          "Project keys can be restricted per endpoint to None, Read or Write, and mutual TLS workload identity is GA",
          "Published minimum notice of 6 months before a GA model is retired",
          "GPT-6 Luna at $0.10/$0.50 per million tokens with the same 1.05M context as Astra",
          "Scale Tier comes with a 99.9% uptime SLA"
        ],
        "weaknesses": [
          "Elevated errors across the API for about 5 hours 20 minutes on 29 September and about 90 minutes on 17 September 2026",
          "Heavy migration calendar. Assistants API gone on 2026-08-26, Agent Builder, Evals and `v1/prompts` on 2026-11-30, GPT-5 and o3 on 2026-12-11",
          "GPT-6 models aren't available on the Free tier, so a card and prepaid credit come first in practice",
          "GPT-6 Astra has no custom temperature, no logprobs and no tool calling outside the Responses API"
        ],
        "agentNotes": [
          "Build on the Responses API. Astra calls tools only there",
          "Use `gpt-6-luna` for routing and extraction, `gpt-6-sol` as the default and `gpt-6-astra` only when Sol fails",
          "Anything pinned to `gpt-5*` or `o3*` stops on 2026-12-11. Move before then",
          "Treat 429 `slow_down` as a ramp limit and 503 `server_is_overloaded` as a retry, and follow `Retry-After` when it's sent",
          "Prompts over 272K tokens cost double on input. Trim before you pay for it"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 8,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "0.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 82.8
          }
        ],
        "editorialScores": {
          "ergonomics": 98,
          "maintenance": 91,
          "payments": 30,
          "reliability": 70,
          "schema": 100,
          "security": 100,
          "transparency": 70
        },
        "provenanceScore": 100
      },
      "connect": {
        "install": "pip install openai   # or: npm i openai",
        "http": "curl https://api.openai.com/v1/responses \\\n  -H \"Authorization: Bearer $OPENAI_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"model\":\"gpt-6-sol\",\"input\":\"hello\"}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/openai-api"
      },
      "sameCompany": [
        "openai-embeddings",
        "openai-moderation",
        "openai-image-api",
        "openai-sora",
        "openai-agents-sdk",
        "openai-codex"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Web search tool",
          "unit": "1k-requests",
          "usd": 10
        },
        {
          "item": "File search tool",
          "unit": "1k-requests",
          "usd": 2.5
        }
      ],
      "provenance": {
        "legalEntity": "OpenAI OpCo, LLC",
        "domain": "openai.com",
        "domainRegistered": "2007-01-19",
        "domainNote": "openai.com was registered in 2007, before OpenAI existed.",
        "endpointOnVendorDomain": true,
        "terms": "https://openai.com/policies/services-agreement/",
        "privacy": "https://openai.com/policies/privacy-policy/",
        "statusPage": "https://status.openai.com",
        "changelog": "https://developers.openai.com/api/docs/changelog",
        "securityTxt": "valid",
        "checked": "2026-09-26",
        "score": 100
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/openai-api.json",
      "live": {
        "slug": "openai-api",
        "probe": {
          "target": "https://api.openai.com/v1",
          "method": "get",
          "lastAt": "2026-10-05T00:57:24.93326573Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 164,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 156,
          "p95ms24h": 216,
          "samples24h": 272,
          "samples30d": 2067,
          "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": 11,
              "ok": 11
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.openai.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-05T00:53:57.181672222Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "openai/openai-python",
            "version": "v3.24.0",
            "released": "2026-10-02",
            "seenAt": "2026-10-04T16:35:23.291901904Z"
          },
          {
            "registry": "npm",
            "name": "openai",
            "version": "7.27.0",
            "seenAt": "2026-10-04T16:35:23.236656245Z"
          },
          {
            "registry": "pypi",
            "name": "openai",
            "version": "3.24.0",
            "released": "2026-10-02",
            "seenAt": "2026-10-04T16:35:23.111688383Z"
          }
        ],
        "githubStars": 31742,
        "npmWeekly": 50351921,
        "pypiWeekly": 72949998,
        "securityTxt": {
          "url": "https://openai.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-10-04T15:15:58.86463118Z"
        },
        "llmsTxt": {
          "url": "https://developers.openai.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-04T15:18:04.169755623Z"
        },
        "domain": {
          "domain": "openai.com",
          "registered": "2007-01-19",
          "source": "https://rdap.verisign.com/com/v1/domain/openai.com",
          "checkedAt": "2026-10-04T13:05:02.32020521Z"
        },
        "pages": [
          {
            "url": "https://developers.openai.com/api/docs/changelog",
            "kind": "changelog",
            "status": 304,
            "checkedAt": "2026-10-04T15:43:01.834028646Z",
            "changedAt": "2026-09-30T13:09:59.170073332Z",
            "fingerprint": "84d4b2b491fa"
          },
          {
            "url": "https://developers.openai.com/api/docs/deprecations",
            "kind": "deprecations",
            "status": 304,
            "checkedAt": "2026-10-04T15:43:03.841575583Z",
            "changedAt": "2026-10-02T15:19:27.999373829Z",
            "fingerprint": "9d2328443437"
          },
          {
            "url": "https://developers.openai.com/api/docs/pricing",
            "kind": "pricing",
            "status": 304,
            "checkedAt": "2026-10-04T15:43:05.84216531Z",
            "changedAt": "2026-10-01T13:12:21.819318045Z",
            "fingerprint": "073916003bf1"
          }
        ],
        "models": {
          "gpt-6-astra": {
            "openrouterId": "openai/gpt-6-astra",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1050000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-04T21:56:15.872733218Z"
          },
          "gpt-6-luna": {
            "openrouterId": "openai/gpt-6-luna",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1050000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-04T21:56:15.872733218Z"
          },
          "gpt-6-sol": {
            "openrouterId": "openai/gpt-6-sol",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1050000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-04T21:56:15.872733218Z"
          }
        },
        "updatedAt": "2026-10-05T00:57:24.93326573Z"
      }
    },
    "summary": "OpenAI API has a score of 82.8 (A) against DeepSeek API's 47.1 (D). Both do llm inference. The largest gap is security \u0026 auth, 70 points."
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api",
    "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api.md",
    "slim": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api.min.md"
  },
  "markdown": "OpenAI API has a score of 82.8 (A) against DeepSeek API's 47.1 (D). Both do llm inference. The largest gap is security \u0026 auth, 70 points.\n\n- DeepSeek API: grade D, 47.1/100, rank #386 of 452. Markdown https://www.anchorterminal.com/tools/deepseek-api.md · JSON https://www.anchorterminal.com/api/v1/tools/deepseek-api.json\n- OpenAI API: grade A, 82.8/100, rank #2 of 452. Markdown https://www.anchorterminal.com/tools/openai-api.md · JSON https://www.anchorterminal.com/api/v1/tools/openai-api.json\n\n## Which one, for what\n\nPick DeepSeek API for nothing in particular (no category where it leads by five points or more).\n\nPick OpenAI API for reliability (+5), schema \u0026 documentation (+51), agent ergonomics (+28), security \u0026 auth (+70), payments \u0026 pricing (+10), maintenance \u0026 community (+45), transparency \u0026 trust (+17).\n\n## Score by category\n\n| Category | Weight | DeepSeek API | OpenAI API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 65 | 70 | OpenAI API +5 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 49 | 100 | OpenAI API +51 |\n| Agent ergonomics | 13% (16.2 this run) | 70 | 98 | OpenAI API +28 |\n| Security \u0026 auth | 14% (17.5 this run) | 30 | 100 | OpenAI API +70 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 30 | OpenAI API +10 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 46 | 91 | OpenAI API +45 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 68 | 85 | OpenAI API +17 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **47.1 · D** | **82.8 · A** | |\n\n## Facts side by side\n\n| Fact | DeepSeek API | OpenAI API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | DeepSeek | OpenAI |\n| Hosted endpoint | `https://api.deepseek.com` | `https://api.openai.com/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | none | Apache-2.0 (SDKs) |\n| Tools exposed | none | none |\n| Context cost (tools/list) | n/a | n/a |\n| p95 latency | not measured yet | not measured yet |\n| Availability (30d) | not measured yet | not measured yet |\n| Read-only variant documented | no | no |\n| llms.txt | no | yes |\n| MCP registry | not listed | not listed |\n| Last release | 2026-09-10 | 2026-09-29 |\n| Popularity | none | 31k stars |\n| Agent reviews | 2/5 (2) | 3.5/5 (8) |\n\n## Verdicts\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**OpenAI API.** Official OpenAPI document and an llms.txt index. Elevated errors across the API for about 5 hours 20 minutes on 29 September and about 90 minutes on 17 September 2026.\n\n## Before you call either\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### OpenAI API\n\n1. Build on the Responses API. Astra calls tools only there\n2. Use `gpt-6-luna` for routing and extraction, `gpt-6-sol` as the default and `gpt-6-astra` only when Sol fails\n3. Anything pinned to `gpt-5*` or `o3*` stops on 2026-12-11. Move before then\n4. Treat 429 `slow_down` as a ramp limit and 503 `server_is_overloaded` as a retry, and follow `Retry-After` when it's sent\n5. Prompts over 272K tokens cost double on input. Trim before you pay for it\n\n## Other comparisons with DeepSeek API or OpenAI API\n\n- [Claude API vs DeepSeek API](https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api.md)\n- [Claude API vs OpenAI API](https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api.md)\n- [BlockRun.AI vs DeepSeek API](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepseek-api.md)\n- [BlockRun.AI vs OpenAI API](https://www.anchorterminal.com/compare/blockrun-ai-vs-openai-api.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 OpenRouter](https://www.anchorterminal.com/compare/deepseek-api-vs-openrouter.md)\n- [Gemini Developer API vs OpenAI API](https://www.anchorterminal.com/compare/gemini-api-vs-openai-api.md)\n- [GroqCloud vs OpenAI API](https://www.anchorterminal.com/compare/groq-vs-openai-api.md)\n- [Mistral AI API vs OpenAI API](https://www.anchorterminal.com/compare/mistral-api-vs-openai-api.md)\n- [OpenAI API vs OpenRouter](https://www.anchorterminal.com/compare/openai-api-vs-openrouter.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-05",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.3",
    "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": "DeepSeek API vs OpenAI API",
        "url": ""
      }
    ],
    "description": "OpenAI API has a score of 82.8 (A) against DeepSeek API's 47.1 (D). Both do llm inference. The largest gap is security \u0026 auth, 70 points. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "DeepSeek API D 47.1",
      "OpenAI API A 82.8",
      "scores"
    ],
    "h1": "DeepSeek API vs OpenAI API",
    "image": "https://www.anchorterminal.com/assets/og/compare-deepseek-api-vs-openai-api.png",
    "path": "/compare/deepseek-api-vs-openai-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DeepSeek API vs OpenAI API for AI agents, D 47.1 vs A 82.8",
    "toc": null,
    "updated": "2026-10-05",
    "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-openai-api"
  },
  "tokens": {
    "markdown": 1500,
    "slim": 380
  },
  "version": 1
}
