{
  "schema_version": "1.0.0",
  "record_id": "dn-next42-20261205-q22",
  "record_version": "1.0.0",
  "title": "Two inference limits can bind the same workload",
  "canonical_url": "https://decentralised.news/ai-inference-request-token-quota-mix-2027",
  "evidence_type": "documentary_analysis_with_synthetic_worked_example",
  "source_review_date": "2026-12-05",
  "last_verified_utc": null,
  "observation_window": null,
  "methodology_url": "https://decentralised.news/ai-inference-request-token-quota-mix-2027",
  "methodology_version": "1.0.0",
  "input_schema": {
    "columns": [
      "batch",
      "short_requests",
      "long_requests",
      "short_input_tokens",
      "long_input_tokens",
      "total_requests",
      "input_tokens",
      "request_limit",
      "input_token_limit",
      "within_both_declared_limits",
      "synthetic"
    ],
    "rows_file": "https://decentralised.news/data/dn-next42-20261205/v1/q22.csv"
  },
  "units": {
    "definition": "Units are named in the CSV columns, manuscript and calculation labels. Do not combine quantities without resolving their dimensions."
  },
  "sources": [
    {
      "id": 1,
      "title": "Claude API: Rate limits",
      "url": "https://platform.claude.com/docs/en/api/rate-limits",
      "reviewDate": "2026-12-05",
      "supports": "Requests, input tokens and output tokens can be separate binding limits; no current quota is copied into the example.",
      "evidenceType": "Provider documentation"
    },
    {
      "id": 2,
      "title": "Amazon Bedrock: Endpoints and quotas",
      "url": "https://docs.aws.amazon.com/general/latest/gr/bedrock.html",
      "reviewDate": "2026-12-05",
      "supports": "Quota definitions vary by model and API, including combined input/output token counts in documented cases.",
      "evidenceType": "Provider documentation"
    },
    {
      "id": 3,
      "title": "Google Gemini API: Rate limits",
      "url": "https://aistudio.google.com/docs/rate-limits",
      "reviewDate": "2026-12-05",
      "supports": "Request and token dimensions can be independently enforced, with scope defined at project level in this service.",
      "evidenceType": "Provider documentation"
    }
  ],
  "calculations": [
    {
      "label": "Average input size crossover",
      "expression": "60000/100",
      "expected": 600
    },
    {
      "label": "Proposed batch tokens",
      "expression": "50*200+30*2000",
      "expected": 70000
    },
    {
      "label": "Long requests after forty short",
      "expression": "min(100-40,int((60000-40*200)/2000))",
      "expected": 26
    },
    {
      "label": "Long replacements at full request count",
      "expression": "int((60000-100*200)/(2000-200))",
      "expected": 22
    },
    {
      "label": "Frontier batch tokens",
      "expression": "78*200+22*2000",
      "expected": 59600
    },
    {
      "label": "One-long-over batch tokens",
      "expression": "77*200+23*2000",
      "expected": 61400
    }
  ],
  "example": {
    "synthetic": true,
    "description": "Invented one-minute request/input-token limits with no prior or concurrent traffic. No output-token, rolling-window, reservation or provider-specific admission rules are modeled.",
    "rows": [
      [
        "proposed_mixed",
        50,
        30,
        200,
        2000,
        80,
        70000,
        100,
        60000,
        false,
        true
      ],
      [
        "token_limited_mixed",
        40,
        26,
        200,
        2000,
        66,
        60000,
        100,
        60000,
        true,
        true
      ],
      [
        "short_only",
        100,
        0,
        200,
        2000,
        100,
        20000,
        100,
        60000,
        true,
        true
      ],
      [
        "long_only",
        0,
        30,
        200,
        2000,
        30,
        60000,
        100,
        60000,
        true,
        true
      ],
      [
        "whole_request_frontier",
        78,
        22,
        200,
        2000,
        100,
        59600,
        100,
        60000,
        true,
        true
      ],
      [
        "one_long_over_frontier",
        77,
        23,
        200,
        2000,
        100,
        61400,
        100,
        60000,
        false,
        true
      ]
    ]
  },
  "limitations": [
    "Examples use declared invented inputs, not observed fills, customer outcomes, provider rankings or predictive backtests.",
    "Source-review date is not a measurement time, publication date of the source or assurance that terms will remain current.",
    "Documentation does not establish individual access, legal eligibility, service reliability or investment suitability."
  ],
  "falsification_or_recheck_triggers": [
    "Changed governing document or applicable software version.",
    "Evidence of different account, product, timing, unit or legal-entity scope.",
    "An arithmetic error or reproducible counterexample to the stated mechanism."
  ],
  "rights": {
    "original_DN_analysis": "Cite Decentralised News, the canonical URL and record version when reusing this worked example.",
    "third_party_sources": "Third-party material remains subject to its original terms. Linking does not grant redistribution rights."
  },
  "commercial_disclosure": "This article includes a link to DN’s own separately scoped research service. No provider purchase is required to use the example.",
  "corrections": []
}
