{
  "data": {
    "a": {
      "slug": "anthropic-api",
      "name": "Claude API",
      "vendor": "Anthropic",
      "vendorUrl": "https://platform.claude.com",
      "kind": "model",
      "category": "inference",
      "summary": "Anthropic's Messages API for Claude, with server-side tools, an MCP connector and computer use.",
      "url": "https://www.anchorterminal.com/tools/anthropic-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/anthropic-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/anthropic-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/anthropic-api.json",
      "repo": "https://github.com/anthropics/anthropic-sdk-python",
      "license": "MIT (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.anthropic.com/v1/messages",
      "packages": [
        {
          "registry": "pypi",
          "name": "anthropic"
        },
        {
          "registry": "npm",
          "name": "@anthropic-ai/sdk"
        }
      ],
      "auth": "api-key",
      "authNotes": "`Authorization: Bearer` header, with the legacy `x-api-key` header still accepted, plus `anthropic-version`. Personal and service-account keys are created in the Console for one workspace or several.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credits. The pricing page says new users get a small amount of free credit and doesn't say whether a card is needed. Batch is half price. Cache writes cost 1.25x input for 5 minutes or 2x for an hour, reads 0.1x (0.05x on Opus 5.5, 0.025x on Fable 5.1). US-only inference costs 1.1x. Fast mode on Opus 5.5 (research preview) costs $8/$40 per million. Web search $10 per 1,000, web fetch billed as tokens only, code execution free alongside them or $0.05 per container hour after 1,550 free hours a month (https://platform.claude.com/docs/en/about-claude/pricing).",
      "priceSummary": "from $1 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Access needs a Console account with a card on file.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 3900,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://platform.claude.com/docs",
      "rateLimitsUrl": "https://platform.claude.com/docs/en/api/rate-limits",
      "llmsTxt": "https://platform.claude.com/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "card-required",
        "llms-txt"
      ],
      "lastRelease": "2026-10-01",
      "graded": true,
      "disclosure": "Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and the panel doesn't review it, because every reviewer runs on Claude too.",
      "anchor": {
        "graded": true,
        "score": 77.3,
        "grade": "BB",
        "agentReady": true,
        "rank": 20,
        "ranked": true,
        "rankOf": 842,
        "categoryRank": 2,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 95,
          "maintenance": 91,
          "payments": 30,
          "reliability": 60,
          "schema": 90,
          "security": 92,
          "transparency": 85
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-05"
        },
        "negative": 0,
        "verdict": "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026.",
        "bestFor": "Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.",
        "disclosure": "Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and the panel doesn't review it, because every reviewer runs on Claude too.",
        "strengths": [
          "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model",
          "1M-token context on Opus 5.5, Sonnet 5.5 and Fable 5.1, with cache reads at $0.20 per million on Opus 5.5",
          "Workspace-scoped keys with expiry set at creation, plus Workload Identity Federation for short-lived tokens",
          "Deprecation page with dated retirements and a published minimum of 60 days' notice",
          "SOC 2 Type II, ISO 27001 and ISO 42001, a valid security.txt and a HackerOne programme"
        ],
        "weaknesses": [
          "Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026",
          "Keys are created only in the browser Console, and there's no machine payment",
          "`tool_choice` any or tool returns 400 on Opus 5.5, Sonnet 5.5 and Fable 5.1, and thinking can't be disabled on Opus 5.5 or Fable 5.1",
          "Retention reads 'not retained by default' in the docs and 'deleted within 30 days' in the privacy centre",
          "No SLA on sale. Priority Tier's 99.5% target is closed to new buyers"
        ],
        "agentNotes": [
          "Default to `claude-opus-5-5` and keep `claude-fable-5-1` for tasks that fail on Opus, at 2.5 times the price",
          "Don't send `tool_choice` any or tool to Opus 5.5, Sonnet 5.5 or Fable 5.1. Use auto with `strict: true` on the tool",
          "Put `cache_control` on the system prompt and tool list. Reads cost 0.05x input on Opus 5.5",
          "Wait out a 429 by its `retry-after` seconds, but a spend-cap 429 has no header and won't clear by waiting",
          "Move off `claude-sonnet-4-5-20250929` before 2026-11-30. Retired ids fail, they don't redirect"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "BB",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 77.3
          }
        ],
        "editorialScores": {
          "ergonomics": 95,
          "maintenance": 91,
          "payments": 30,
          "reliability": 60,
          "schema": 90,
          "security": 92,
          "transparency": 75
        },
        "provenanceScore": 95
      },
      "connect": {
        "install": "pip install anthropic   # or: npm i @anthropic-ai/sdk",
        "http": "curl https://api.anthropic.com/v1/messages \\\n  -H \"x-api-key: $ANTHROPIC_API_KEY\" -H \"anthropic-version: 2023-06-01\" \\\n  -H \"content-type: application/json\" \\\n  -d '{\"model\":\"claude-opus-5-5\",\"max_tokens\":512,\"messages\":[{\"role\":\"user\",\"content\":\"hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/anthropic-api"
      },
      "sameCompany": [
        "claude-agent-sdk",
        "claude-code"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Web search tool",
          "unit": "1k-requests",
          "usd": 10
        }
      ],
      "provenance": {
        "legalEntity": "Anthropic, PBC",
        "domain": "anthropic.com",
        "domainRegistered": "2001-10-02",
        "domainNote": "The API is on anthropic.com. anthropic.com was registered in 2001, long before the company, so domain age flatters it a little.",
        "endpointOnVendorDomain": true,
        "terms": "https://www.anthropic.com/legal/commercial-terms",
        "privacy": "https://www.anthropic.com/legal/privacy",
        "statusPage": "https://status.claude.com",
        "changelog": "https://platform.claude.com/docs/en/release-notes/overview",
        "securityTxt": "valid",
        "checked": "2026-10-05",
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/anthropic-api.json",
      "live": {
        "slug": "anthropic-api",
        "probe": {
          "target": "https://api.anthropic.com/v1/messages",
          "method": "get",
          "lastAt": "2026-10-09T09:26:42.689309115Z",
          "lastOk": true,
          "lastStatus": 405,
          "lastMs": 38,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 30,
          "p95ms24h": 76,
          "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.claude.com",
          "indicator": "minor",
          "summary": "Partially Degraded Service",
          "checkedAt": "2026-10-09T09:24:53.222465989Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "anthropics/anthropic-sdk-python",
            "version": "v1.12.1",
            "released": "2026-10-08",
            "seenAt": "2026-10-08T15:58:37.120744516Z"
          },
          {
            "registry": "npm",
            "name": "@anthropic-ai/sdk",
            "version": "0.132.1",
            "seenAt": "2026-10-08T15:58:34.62543597Z"
          },
          {
            "registry": "pypi",
            "name": "anthropic",
            "version": "1.12.1",
            "released": "2026-10-08",
            "seenAt": "2026-10-08T15:58:30.955733014Z"
          }
        ],
        "githubStars": 3951,
        "npmWeekly": 53667933,
        "pypiWeekly": 40613564,
        "securityTxt": {
          "url": "https://anthropic.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2026-12-31T23:59:00.000Z",
          "checkedAt": "2026-10-08T15:38:49.950021805Z"
        },
        "llmsTxt": {
          "url": "https://platform.claude.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-08T14:00:02.118476059Z"
        },
        "domain": {
          "domain": "anthropic.com",
          "registered": "2001-10-02",
          "source": "https://rdap.verisign.com/com/v1/domain/anthropic.com",
          "checkedAt": "2026-10-04T13:07:32.945988468Z"
        },
        "pages": [
          {
            "url": "https://platform.claude.com/docs/en/about-claude/model-deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-08T18:23:03.301422452Z",
            "changedAt": "2026-10-07T18:08:20.495971743Z",
            "fingerprint": "48ac2776e771"
          },
          {
            "url": "https://platform.claude.com/docs/en/release-notes/overview",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-08T18:23:07.604734185Z",
            "changedAt": "2026-10-08T18:23:07.604734185Z",
            "fingerprint": "a5994dcfce93"
          },
          {
            "url": "https://platform.claude.com/docs/en/about-claude/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-08T18:23:05.544844332Z",
            "changedAt": "2026-10-08T18:23:05.544844332Z",
            "fingerprint": "a05a615ccf39"
          },
          {
            "url": "https://www.anthropic.com/legal/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-08T18:26:14.421321511Z",
            "changedAt": "2026-10-06T16:13:48.643164195Z",
            "fingerprint": "8460ceefa3d5"
          },
          {
            "url": "https://www.anthropic.com/legal/commercial-terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-08T18:26:12.22047424Z",
            "changedAt": "2026-10-06T16:13:46.425504025Z",
            "fingerprint": "efd2fc333201"
          }
        ],
        "models": {
          "claude-fable-5-1": {
            "openrouterId": "anthropic/claude-fable-5.1",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "claude-haiku-4-5-20251001": {
            "openrouterId": "anthropic/claude-haiku-4.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 200000,
            "maxOutput": 64000,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "claude-opus-5-5": {
            "openrouterId": "anthropic/claude-opus-5.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "claude-sonnet-5": {
            "openrouterId": "anthropic/claude-sonnet-5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-01T21:56:15.532848159Z"
          },
          "claude-sonnet-5-5": {
            "openrouterId": "anthropic/claude-sonnet-5.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          }
        },
        "updatedAt": "2026-10-09T09:26:42.689309115Z"
      }
    },
    "answer": "Claude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability.",
    "b": {
      "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"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Anthropic",
        "b": "Deep Infra Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.anthropic.com/v1/messages",
        "b": "https://api.deepinfra.com/v1/openai",
        "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": "MIT (SDKs)",
        "b": "Proprietary service under the DeepInfra Terms of Service. The Python and Node SDKs and the docs repository are MIT",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-01",
        "b": "2026-10-07",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "2026-08-17",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2026-08-15",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes, with an opt-out",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "3.9k stars",
        "b": "21 stars, 1.2k npm/wk, 50 PyPI/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Claude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability.",
        "question": "Which is better for AI agents, Claude API or DeepInfra?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Claude API and DeepInfra need an API key?"
      },
      {
        "answer": "Yes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages and DeepInfra at https://api.deepinfra.com/v1/openai.",
        "question": "Can an agent call Claude API and DeepInfra without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 90 against 69",
          "Agent ergonomics, 95 against 77",
          "Security \u0026 auth, 92 against 64",
          "Payments \u0026 pricing, 30 against 20",
          "Maintenance \u0026 community, 91 against 65",
          "Transparency \u0026 trust, 85 against 67"
        ],
        "also": [
          "Agent-ready, a grade of BB or better"
        ],
        "goodFor": "Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.",
        "slug": "anthropic-api",
        "watchFor": "Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026"
      },
      {
        "aheadOn": [
          "Reliability, 70 against 60"
        ],
        "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"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-antseed.json",
        "title": "Claude API vs Antseed",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-antseed"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.json",
        "title": "Claude API vs BlockRun.AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-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/anthropic-api-vs-gemini-api.json",
        "title": "Claude API vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-groq.json",
        "title": "Claude API vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.json",
        "title": "Claude API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api.json",
        "title": "Claude API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter.json",
        "title": "Claude API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference.json",
        "title": "Claude API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova.json",
        "title": "Claude API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova"
      },
      {
        "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/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/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-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"
      }
    ],
    "scores": [
      {
        "anthropic-api": 60,
        "by": 10,
        "deepinfra": 70,
        "edge": "deepinfra",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 90,
        "by": 21,
        "deepinfra": 69,
        "edge": "anthropic-api",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "anthropic-api": 95,
        "by": 18,
        "deepinfra": 77,
        "edge": "anthropic-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "anthropic-api": 92,
        "by": 28,
        "deepinfra": 64,
        "edge": "anthropic-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "anthropic-api": 30,
        "by": 10,
        "deepinfra": 20,
        "edge": "anthropic-api",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 91,
        "by": 26,
        "deepinfra": 65,
        "edge": "anthropic-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "anthropic-api": 85,
        "by": 18,
        "deepinfra": 67,
        "edge": "anthropic-api",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Claude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability. Both do llm inference.",
    "verdicts": {
      "anthropic-api": "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026.",
      "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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra",
    "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.md",
    "slim": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.min.md"
  },
  "markdown": "Claude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability. Both do llm inference.\n\n- Claude API: grade BB, 77.3/100, rank #20 of 842. Markdown https://www.anchorterminal.com/tools/anthropic-api.md · JSON https://www.anchorterminal.com/api/v1/tools/anthropic-api.json\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\n## Which one, for what\n\n### Claude API (BB)\n\nGood for: Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.\n\nAhead on:\n- Schema \u0026 documentation, 90 against 69\n- Agent ergonomics, 95 against 77\n- Security \u0026 auth, 92 against 64\n- Payments \u0026 pricing, 30 against 20\n- Maintenance \u0026 community, 91 against 65\n- Transparency \u0026 trust, 85 against 67\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n\nWatch for: Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026\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 60\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\n## Score by category\n\n| Category | Weight | Claude API | DeepInfra | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 60 | 70 | DeepInfra +10 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 90 | 69 | Claude API +21 |\n| Agent ergonomics | 13% (16.2 this run) | 95 | 77 | Claude API +18 |\n| Security \u0026 auth | 14% (17.5 this run) | 92 | 64 | Claude API +28 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 30 | 20 | Claude API +10 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 91 | 65 | Claude API +26 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 85 | 67 | Claude API +18 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **77.3 · BB** | **63 · B** | |\n\n## Facts side by side\n\n| Fact | Claude API | DeepInfra |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Anthropic | Deep Infra Inc. |\n| Hosted endpoint | `https://api.anthropic.com/v1/messages` | `https://api.deepinfra.com/v1/openai` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | MIT (SDKs) | Proprietary service under the DeepInfra Terms of Service. The Python and Node SDKs and the docs repository are MIT |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-01 | 2026-10-07 |\n| Terms last updated | no date given | 2026-08-17 |\n| Privacy policy last updated | no date given | 2026-08-15 |\n| Customer content may train models | yes, with an opt-out | not found in the text |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | yes | yes |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | 3.9k stars | 21 stars, 1.2k npm/wk, 50 PyPI/wk |\n\n## Verdicts\n\n**Claude API.** Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026.\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## Before you call either\n\n### Claude API\n\n1. Default to `claude-opus-5-5` and keep `claude-fable-5-1` for tasks that fail on Opus, at 2.5 times the price\n2. Don't send `tool_choice` any or tool to Opus 5.5, Sonnet 5.5 or Fable 5.1. Use auto with `strict: true` on the tool\n3. Put `cache_control` on the system prompt and tool list. Reads cost 0.05x input on Opus 5.5\n4. Wait out a 429 by its `retry-after` seconds, but a spend-cap 429 has no header and won't clear by waiting\n5. Move off `claude-sonnet-4-5-20250929` before 2026-11-30. Retired ids fail, they don't redirect\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## Questions\n\n### Which is better for AI agents, Claude API or DeepInfra?\n\nClaude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability.\n\n### Do Claude API and DeepInfra need an API key?\n\nBoth need an API key.\n\n### Can an agent call Claude API and DeepInfra without installing anything?\n\nYes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages and DeepInfra at https://api.deepinfra.com/v1/openai.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.json, and with the fewest tokens: https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"anthropic-api\", \"b\": \"deepinfra\"}`. From a terminal: `anchor compare anthropic-api deepinfra`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/anthropic-api.json and https://www.anchorterminal.com/api/v1/tools/deepinfra.json\n\n## Other comparisons with Claude API or DeepInfra\n\n- [Claude API vs Antseed](https://www.anchorterminal.com/compare/anthropic-api-vs-antseed.md)\n- [Claude API vs BlockRun.AI](https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.md)\n- [Claude API vs DeepSeek API](https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api.md)\n- [Claude API vs Gemini Developer API](https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.md)\n- [Claude API vs GroqCloud](https://www.anchorterminal.com/compare/anthropic-api-vs-groq.md)\n- [Claude API vs Mistral AI API](https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.md)\n- [Claude API vs OpenAI API](https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api.md)\n- [Claude API vs OpenRouter](https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter.md)\n- [Claude API vs Prism Inference](https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference.md)\n- [Claude API vs SambaCloud](https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova.md)\n- [Antseed vs DeepInfra](https://www.anchorterminal.com/compare/antseed-vs-deepinfra.md)\n- [BlockRun.AI vs DeepInfra](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.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 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\n## Disclosure\n\n- Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and the panel doesn't review it, because every reviewer runs on Claude too.\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": "Claude API vs DeepInfra",
        "url": ""
      }
    ],
    "description": "Claude API scores 77.3 (BB) on agent readiness against DeepInfra's 63 (B), and leads in 6 of 7 scored categories. DeepInfra leads on reliability. Both do llm inference. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "Claude API BB 77.3",
      "DeepInfra B 63",
      "scores"
    ],
    "h1": "Claude API vs DeepInfra",
    "image": "https://www.anchorterminal.com/assets/og/compare-anthropic-api-vs-deepinfra.png",
    "path": "/compare/anthropic-api-vs-deepinfra",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Claude API vs DeepInfra for AI agents, BB 77.3 vs B 63",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra"
  },
  "tokens": {
    "markdown": 2350,
    "slim": 630
  },
  "version": 1
}
