{
  "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": "Gemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability.",
    "b": {
      "slug": "gemini-api",
      "name": "Gemini Developer API",
      "vendor": "Google",
      "vendorUrl": "https://ai.google.dev",
      "kind": "model",
      "category": "inference",
      "summary": "Google's API for Gemini models, including content generation and agent interactions.",
      "url": "https://www.anchorterminal.com/tools/gemini-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/gemini-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/gemini-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/gemini-api.json",
      "repo": "https://github.com/googleapis/python-genai",
      "license": "Apache-2.0 (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://generativelanguage.googleapis.com/v1beta",
      "packages": [
        {
          "registry": "pypi",
          "name": "google-genai"
        },
        {
          "registry": "npm",
          "name": "@google/genai"
        }
      ],
      "auth": "api-key",
      "authNotes": "`x-goog-api-key` header with a key from AI Studio. A Google account is needed to make one.",
      "pricing": "freemium",
      "pricingNotes": "Free tier on 3.8 Flash and Flash-Lite, not on 3.1 Pro preview, and free-tier content is used to improve Google products. 3.1 Pro preview costs $2/$12 per million tokens, $4/$18 over 200K. 3.8 Flash is $0.75/$3.75 until 2026-12-31, then $1.50/$7.50. Cached input 0.1x. Search grounding 5,000 free a month, then $14 per 1,000. Batch half price (https://ai.google.dev/gemini-api/docs/pricing).",
      "priceSummary": "from $0.25 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. The free tier needs a Google account and paid use needs billing on a Cloud project.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 3992,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://ai.google.dev/gemini-api/docs",
      "rateLimitsUrl": "https://ai.google.dev/gemini-api/docs/rate-limits",
      "llmsTxt": "https://ai.google.dev/gemini-api/docs/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "free-tier",
        "no-card",
        "llms-txt"
      ],
      "lastRelease": "2026-09-22",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 65.5,
        "grade": "B",
        "agentReady": false,
        "rank": 287,
        "ranked": true,
        "rankOf": 842,
        "categoryRank": 8,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 90,
          "maintenance": 83,
          "payments": 40,
          "reliability": 40,
          "schema": 85,
          "security": 60,
          "transparency": 72
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-05"
        },
        "negative": 0,
        "verdict": "Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers.",
        "bestFor": "Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.",
        "strengths": [
          "Free tier on 3.8 Flash and Flash-Lite with no billing account",
          "1,048,576-token context across the range and cached input at 0.1x",
          "Backoff guidance with jitter, and the Python SDK retries transient errors four times",
          "Keys can be restricted to the Gemini API and by IP or origin, and unrestricted keys are rejected from 28 May 2026",
          "A keyless Discovery document types the v1beta GenerateContent surface, and function calling can be forced to named tools"
        ],
        "weaknesses": [
          "Free-tier prompts and responses improve Google products and may be read by human reviewers",
          "Per-model rate limits are only visible inside AI Studio",
          "No SLA and no zero-retention route found for the Developer API",
          "The only Pro model, `gemini-3.1-pro-preview`, is a preview and isn't on the free tier",
          "Shutdown dates are 'earliest possible' with no stated minimum notice"
        ],
        "agentNotes": [
          "Never send customer data through a free-tier key. Link billing first",
          "Don't request Gemini 4 Argon here. It has no Developer API model ID as of 5 October 2026",
          "Back off exponentially on 429 RESOURCE_EXHAUSTED and 503, and don't retry 400, 402 or 403",
          "Stop sending temperature, top_p and top_k. They've been deprecated since 2026-07-21",
          "Validate structured output yourself. The docs don't promise schema-constrained decoding"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 65.5
          }
        ],
        "editorialScores": {
          "ergonomics": 90,
          "maintenance": 83,
          "payments": 40,
          "reliability": 40,
          "schema": 85,
          "security": 60,
          "transparency": 55
        },
        "provenanceScore": 89
      },
      "connect": {
        "install": "pip install google-genai   # or: npm i @google/genai",
        "http": "curl \"https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent\" \\\n  -H \"x-goog-api-key: $GEMINI_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"contents\":[{\"parts\":[{\"text\":\"hello\"}]}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/gemini-api"
      },
      "sameCompany": [
        "gemini-embedding",
        "vertex-ai-tuning",
        "google-model-armor",
        "google-imagen",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "gemini-live",
        "google-adk",
        "google-secret-manager",
        "google-weather-api",
        "chrome-devtools-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-drive-api",
        "gemini-cli",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Search grounding over 5,000 a month",
          "unit": "1k-requests",
          "usd": 14
        }
      ],
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoint is on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://ai.google.dev/gemini-api/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://aistudio.google.com/status",
        "changelog": "https://ai.google.dev/gemini-api/docs/changelog",
        "securityTxt": "valid",
        "checked": "2026-10-05",
        "score": 89
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/gemini-api.json",
      "live": {
        "slug": "gemini-api",
        "probe": {
          "target": "https://generativelanguage.googleapis.com/v1beta",
          "method": "get",
          "lastAt": "2026-10-09T09:26:50.985890215Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 35,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 38,
          "p95ms24h": 92,
          "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://aistudio.google.com/status",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-10-09T07:57:57.75427238Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "googleapis/python-genai",
            "version": "v2.29.0",
            "released": "2026-10-07",
            "seenAt": "2026-10-08T16:12:39.230038656Z"
          },
          {
            "registry": "npm",
            "name": "@google/genai",
            "version": "2.28.0",
            "seenAt": "2026-10-08T16:12:35.192407083Z"
          },
          {
            "registry": "pypi",
            "name": "google-genai",
            "version": "2.29.0",
            "released": "2026-10-07",
            "seenAt": "2026-10-08T16:12:34.990431419Z"
          }
        ],
        "githubStars": 4009,
        "npmWeekly": 29486957,
        "pypiWeekly": 34128301,
        "securityTxt": {
          "url": "https://google.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-04-01T00:00:00z",
          "checkedAt": "2026-10-08T15:38:39.75078566Z"
        },
        "llmsTxt": {
          "url": "https://ai.google.dev/gemini-api/docs/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-08T14:00:27.291085506Z"
        },
        "domain": {
          "domain": "google.com",
          "registered": "1997-09-15",
          "source": "https://rdap.verisign.com/com/v1/domain/google.com",
          "checkedAt": "2026-10-04T13:05:50.737985829Z"
        },
        "pages": [
          {
            "url": "https://ai.google.dev/gemini-api/docs/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-08T18:15:04.076605082Z",
            "changedAt": "2026-10-07T18:02:27.908940742Z",
            "fingerprint": "0b2f147e9ed5"
          },
          {
            "url": "https://ai.google.dev/gemini-api/docs/deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-08T18:15:07.069647937Z",
            "changedAt": "2026-10-07T18:02:30.562210049Z",
            "fingerprint": "ee339c6798a7"
          },
          {
            "url": "https://ai.google.dev/gemini-api/docs/pricing",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-08T18:15:11.133625846Z",
            "changedAt": "2026-10-07T18:02:32.494012189Z",
            "fingerprint": "ffd22c41e00f"
          },
          {
            "url": "https://ai.google.dev/gemini-api/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-08T18:15:11.515313815Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "95a70f72fb73"
          }
        ],
        "models": {
          "gemini-3.1-flash-lite": {
            "openrouterId": "google/gemini-3.1-flash-lite",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "gemini-3.1-pro-preview": {
            "openrouterId": "google/gemini-3.1-pro-preview",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "gemini-3.5-flash-lite": {
            "openrouterId": "google/gemini-3.5-flash-lite",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          },
          "gemini-3.8-flash": {
            "openrouterId": "google/gemini-3.8-flash",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-10-08T22:59:28.345696683Z"
          }
        },
        "updatedAt": "2026-10-09T09:26:50.985890215Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Deep Infra Inc.",
        "b": "Google",
        "name": "Vendor"
      },
      {
        "a": "https://api.deepinfra.com/v1/openai",
        "b": "https://generativelanguage.googleapis.com/v1beta",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Freemium",
        "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": "Apache-2.0 (SDKs)",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-07",
        "b": "2026-09-22",
        "name": "Last release"
      },
      {
        "a": "2026-08-17",
        "b": "2026-04-28",
        "name": "Terms last updated"
      },
      {
        "a": "2026-08-15",
        "b": "2026-10-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "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": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "21 stars, 1.2k npm/wk, 50 PyPI/wk",
        "b": "4k stars",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "3.5/5 (2)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Gemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability.",
        "question": "Which is better for AI agents, DeepInfra or Gemini Developer API?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do DeepInfra and Gemini Developer API need an API key?"
      },
      {
        "answer": "Yes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai and Gemini Developer API at https://generativelanguage.googleapis.com/v1beta.",
        "question": "Can an agent call DeepInfra and Gemini Developer API without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 40"
        ],
        "also": null,
        "goodFor": "Agents that want many open-weight models, embeddings, image and speech behind one OpenAI-style key at low per-token prices, with spend-capped tokens.",
        "slug": "deepinfra",
        "watchFor": "A deprecated model gets at least one week's notice, and requests are then forwarded to a replacement model under the old id"
      },
      {
        "aheadOn": [
          "Schema \u0026 documentation, 85 against 69",
          "Agent ergonomics, 90 against 77",
          "Payments \u0026 pricing, 40 against 20",
          "Maintenance \u0026 community, 83 against 65",
          "Transparency \u0026 trust, 72 against 67"
        ],
        "also": [
          "Free to start without a card"
        ],
        "goodFor": "Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.",
        "slug": "gemini-api",
        "watchFor": "Free-tier prompts and responses improve Google products and may be read by human reviewers"
      }
    ],
    "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-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/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-gemini-api.json",
        "title": "Antseed vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-gemini-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-gemini-api.json",
        "title": "BlockRun.AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api.json",
        "title": "DeepInfra vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-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/gemini-api-vs-groq.json",
        "title": "Gemini Developer API vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.json",
        "title": "Gemini Developer API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-openai-api.json",
        "title": "Gemini Developer API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-openrouter.json",
        "title": "Gemini Developer API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference.json",
        "title": "Gemini Developer API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-sambanova.json",
        "title": "Gemini Developer API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-sambanova"
      }
    ],
    "scores": [
      {
        "by": 30,
        "deepinfra": 70,
        "edge": "deepinfra",
        "gemini-api": 40,
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 16,
        "deepinfra": 69,
        "edge": "gemini-api",
        "gemini-api": 85,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 13,
        "deepinfra": 77,
        "edge": "gemini-api",
        "gemini-api": 90,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 4,
        "deepinfra": 64,
        "edge": "deepinfra",
        "gemini-api": 60,
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 20,
        "deepinfra": 20,
        "edge": "gemini-api",
        "gemini-api": 40,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 18,
        "deepinfra": 65,
        "edge": "gemini-api",
        "gemini-api": 83,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 5,
        "deepinfra": 67,
        "edge": "gemini-api",
        "gemini-api": 72,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Gemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability. 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.",
      "gemini-api": "Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api",
    "json": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.md",
    "slim": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.min.md"
  },
  "markdown": "Gemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability. 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- Gemini Developer API: grade B, 65.5/100, rank #287 of 842. Markdown https://www.anchorterminal.com/tools/gemini-api.md · JSON https://www.anchorterminal.com/api/v1/tools/gemini-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 40\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### Gemini Developer API (B)\n\nGood for: Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.\n\nAhead on:\n- Schema \u0026 documentation, 85 against 69\n- Agent ergonomics, 90 against 77\n- Payments \u0026 pricing, 40 against 20\n- Maintenance \u0026 community, 83 against 65\n- Transparency \u0026 trust, 72 against 67\n\nAlso in its favour:\n- Free to start without a card\n\nWatch for: Free-tier prompts and responses improve Google products and may be read by human reviewers\n\n\n## Score by category\n\n| Category | Weight | DeepInfra | Gemini Developer API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 70 | 40 | DeepInfra +30 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 69 | 85 | Gemini Developer API +16 |\n| Agent ergonomics | 13% (16.2 this run) | 77 | 90 | Gemini Developer API +13 |\n| Security \u0026 auth | 14% (17.5 this run) | 64 | 60 | DeepInfra +4 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 40 | Gemini Developer API +20 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 65 | 83 | Gemini Developer API +18 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 67 | 72 | Gemini Developer API +5 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **63 · B** | **65.5 · B** | |\n\n## Facts side by side\n\n| Fact | DeepInfra | Gemini Developer API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Deep Infra Inc. | Google |\n| Hosted endpoint | `https://api.deepinfra.com/v1/openai` | `https://generativelanguage.googleapis.com/v1beta` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Freemium |\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 | Apache-2.0 (SDKs) |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-07 | 2026-09-22 |\n| Terms last updated | 2026-08-17 | 2026-04-28 |\n| Privacy policy last updated | 2026-08-15 | 2026-10-01 |\n| Customer content may train models | not found in the text | yes |\n| Terms restrict automated access | not found in the text | yes |\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 | not found in the text |\n| Popularity | 21 stars, 1.2k npm/wk, 50 PyPI/wk | 4k stars |\n| Agent reviews | none | 3.5/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**Gemini Developer API.** Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers.\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### Gemini Developer API\n\n1. Never send customer data through a free-tier key. Link billing first\n2. Don't request Gemini 4 Argon here. It has no Developer API model ID as of 5 October 2026\n3. Back off exponentially on 429 RESOURCE_EXHAUSTED and 503, and don't retry 400, 402 or 403\n4. Stop sending temperature, top_p and top_k. They've been deprecated since 2026-07-21\n5. Validate structured output yourself. The docs don't promise schema-constrained decoding\n\n## Questions\n\n### Which is better for AI agents, DeepInfra or Gemini Developer API?\n\nGemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability.\n\n### Do DeepInfra and Gemini Developer API need an API key?\n\nBoth need an API key.\n\n### Can an agent call DeepInfra and Gemini Developer API without installing anything?\n\nYes. DeepInfra has a hosted endpoint at https://api.deepinfra.com/v1/openai and Gemini Developer API at https://generativelanguage.googleapis.com/v1beta.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"deepinfra\", \"b\": \"gemini-api\"}`. From a terminal: `anchor compare deepinfra gemini-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/deepinfra.json and https://www.anchorterminal.com/api/v1/tools/gemini-api.json\n\n## Other comparisons with DeepInfra or Gemini Developer API\n\n- [Claude API vs DeepInfra](https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.md)\n- [Claude API vs Gemini Developer API](https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.md)\n- [Antseed vs DeepInfra](https://www.anchorterminal.com/compare/antseed-vs-deepinfra.md)\n- [Antseed vs Gemini Developer API](https://www.anchorterminal.com/compare/antseed-vs-gemini-api.md)\n- [BlockRun.AI vs DeepInfra](https://www.anchorterminal.com/compare/blockrun-ai-vs-deepinfra.md)\n- [BlockRun.AI vs Gemini Developer API](https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api.md)\n- [DeepInfra vs DeepSeek API](https://www.anchorterminal.com/compare/deepinfra-vs-deepseek-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- [Gemini Developer API vs GroqCloud](https://www.anchorterminal.com/compare/gemini-api-vs-groq.md)\n- [Gemini Developer API vs Mistral AI API](https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.md)\n- [Gemini Developer API vs OpenAI API](https://www.anchorterminal.com/compare/gemini-api-vs-openai-api.md)\n- [Gemini Developer API vs OpenRouter](https://www.anchorterminal.com/compare/gemini-api-vs-openrouter.md)\n- [Gemini Developer API vs Prism Inference](https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference.md)\n- [Gemini Developer API vs SambaCloud](https://www.anchorterminal.com/compare/gemini-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 Gemini Developer API",
        "url": ""
      }
    ],
    "description": "Gemini Developer API scores 65.5 (B) on agent readiness against DeepInfra's 63 (B), and leads in 5 of 7 scored categories. DeepInfra leads on reliability. Both do llm inference. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "DeepInfra B 63",
      "Gemini Developer API B 65.5",
      "scores"
    ],
    "h1": "DeepInfra vs Gemini Developer API",
    "image": "https://www.anchorterminal.com/assets/og/compare-deepinfra-vs-gemini-api.png",
    "path": "/compare/deepinfra-vs-gemini-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DeepInfra vs Gemini Developer API for AI agents, B 63 vs B 65.5",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api"
  },
  "tokens": {
    "markdown": 2300,
    "slim": 680
  },
  "version": 1
}
