{
  "dataset": "on-prem-vs-cloud-tco-2026",
  "title": "On-prem vs Cloud TCO 2026",
  "version": "1.0.0",
  "published": "2026-11-26",
  "updated": "2026-11-26",
  "license": "CC BY 4.0",
  "license_url": "https://creativecommons.org/licenses/by/4.0/",
  "citation": "Riven AI Inc., On-prem vs Cloud TCO 2026, version 1.0.0 (updated 2026-11-26), https://rivenai.io/research/on-prem-vs-cloud-tco-2026. Licensed CC BY 4.0.",
  "model": {
    "blended_cloud_usd_per_1m": "inputShare * cloudInput + (1 - inputShare) * cloudOutput",
    "cloud_monthly_usd": "monthlyTokensM * blended_cloud_usd_per_1m",
    "onprem_busy_gpu_hours": "monthlyTokensM * 1e6 / tokensPerGpuHour",
    "onprem_clock_gpu_hours": "onprem_busy_gpu_hours / utilization",
    "onprem_monthly_usd": "onprem_clock_gpu_hours * gpuHourUsd + facilityMonthlyUsd",
    "breakeven_utilization_pct": "gpuHourUsd / (tokensPerGpuHour * blended_cloud_usd_per_1m / 1e6) * 100"
  },
  "defaults": {
    "monthlyTokensM": 100,
    "inputSharePct": 80,
    "gpuHourUsd": 1.19,
    "tokensPerGpuHour": 1620000,
    "utilizationPct": 60,
    "facilityMonthlyUsd": 0,
    "cloudScenarioId": "anthropic-sonnet-5",
    "cloudInputUsdPer1M": 2,
    "cloudOutputUsdPer1M": 10
  },
  "cloud_scenarios": [
    {
      "id": "openai-gpt-5-4",
      "vendor": "OpenAI",
      "plan": "GPT-5.4 (short context)",
      "inputUsdPer1M": 2.5,
      "outputUsdPer1M": 15,
      "sourceUrl": "https://openai.com/api/pricing/",
      "sourceReadDate": "2026-11-26",
      "note": "List price for the short-context tier."
    },
    {
      "id": "anthropic-sonnet-5",
      "vendor": "Anthropic",
      "plan": "Claude Sonnet 5",
      "inputUsdPer1M": 2,
      "outputUsdPer1M": 10,
      "sourceUrl": "https://www.anthropic.com/pricing",
      "sourceReadDate": "2026-11-26",
      "note": "General-purpose frontier tier."
    },
    {
      "id": "anthropic-opus-5",
      "vendor": "Anthropic",
      "plan": "Claude Opus 5",
      "inputUsdPer1M": 5,
      "outputUsdPer1M": 25,
      "sourceUrl": "https://www.anthropic.com/pricing",
      "sourceReadDate": "2026-11-26",
      "note": "Highest published Anthropic tier."
    },
    {
      "id": "anthropic-haiku-4-5",
      "vendor": "Anthropic",
      "plan": "Claude Haiku 4.5",
      "inputUsdPer1M": 1,
      "outputUsdPer1M": 5,
      "sourceUrl": "https://www.anthropic.com/pricing",
      "sourceReadDate": "2026-11-26",
      "note": "Budget tier, useful as the cheapest-cloud boundary."
    }
  ],
  "assumptions": [
    {
      "id": "monthly_tokens",
      "label": "Monthly token volume",
      "value": "100",
      "unit": "millions of tokens",
      "kind": "input",
      "provenance": "Calculator default; change it to your own recorded monthly token volume."
    },
    {
      "id": "input_share",
      "label": "Input share of tokens",
      "value": "80",
      "unit": "percent",
      "kind": "input",
      "provenance": "Calculator default for a chat/RAG workload (prompts dominate). Change to your measured mix."
    },
    {
      "id": "gpu_hour_cost",
      "label": "Amortized GPU-hour cost",
      "value": "1.19",
      "unit": "USD per GPU-hour",
      "kind": "input",
      "provenance": "Default from lib/economics.ts (A100-80GB-class allocation at ~$1.19/hr amortized), the same figure Riven’s agent cost engine uses. Replace with your lease or depreciation math.",
      "sourceUrl": "https://rivenai.io/standards",
      "readDate": "2026-11-16"
    },
    {
      "id": "tokens_per_gpu_hour",
      "label": "Model throughput",
      "value": "1620000",
      "unit": "tokens per busy GPU-hour",
      "kind": "input",
      "provenance": "Derived from Riven’s published fleet reconciliation: $1.19/GPU-hour ÷ $0.7347 per 1M tokens loaded ≈ 1.62M tokens per GPU-hour (lib/model-catalog.json notes, reconciled 2026-10-23).",
      "sourceUrl": "https://rivenai.io/models",
      "readDate": "2026-10-23"
    },
    {
      "id": "utilization",
      "label": "Purchased-capacity utilization",
      "value": "60",
      "unit": "percent",
      "kind": "input",
      "provenance": "Calculator default. Utilization is the largest driver of owned cost per token; enter what you actually run."
    },
    {
      "id": "facility",
      "label": "Facility cost above the GPU-hour rate",
      "value": "0",
      "unit": "USD per month",
      "kind": "input",
      "provenance": "Deliberately unguessed. Add power, colo, networking and ops here; at $0 the model cannot flatter on-prem."
    },
    {
      "id": "cloud_rate",
      "label": "Cloud API list rates (Anthropic Claude Sonnet 5)",
      "value": "$2 in / $10 out",
      "unit": "USD per 1M tokens",
      "kind": "input",
      "provenance": "Vendor list price read 2026-11-26. Pick another scenario or enter negotiated rates.",
      "sourceUrl": "https://www.anthropic.com/pricing",
      "readDate": "2026-11-26"
    },
    {
      "id": "no_discounts",
      "label": "Discounts and commitments",
      "value": "Excluded",
      "unit": "—",
      "kind": "fixed",
      "provenance": "The model compares list prices only. Enterprise discounts and reserved commitments are not applied to either side."
    },
    {
      "id": "no_refresh",
      "label": "Hardware refresh in window",
      "value": "Excluded",
      "unit": "—",
      "kind": "fixed",
      "provenance": "Owned cost uses the amortized GPU-hour rate; a refresh inside 36 months would raise the on-prem figure."
    },
    {
      "id": "cost_only",
      "label": "Quality and latency parity",
      "value": "Not asserted",
      "unit": "—",
      "kind": "fixed",
      "provenance": "This is a cost model. It makes no claim that the on-prem model matches the cloud model on quality or latency."
    }
  ],
  "worked_example": {
    "input": {
      "monthlyTokensM": 100,
      "inputSharePct": 80,
      "gpuHourUsd": 1.19,
      "tokensPerGpuHour": 1620000,
      "utilizationPct": 60,
      "facilityMonthlyUsd": 0,
      "cloudScenarioId": "anthropic-sonnet-5",
      "cloudInputUsdPer1M": 2,
      "cloudOutputUsdPer1M": 10
    },
    "blendedCloudUsdPer1M": 3.6,
    "cloudMonthlyUsd": 360,
    "onPremBusyGpuHours": 61.7,
    "onPremClockGpuHours": 102.9,
    "onPremMonthlyUsd": 122.43,
    "onPremUsdPer1M": 1.22,
    "monthlySavingsUsd": 237.57,
    "annualSavingsUsd": 2850.86,
    "savingsPct": 66,
    "breakevenUtilizationPct": 20.4,
    "threeYearCloudUsd": 12960,
    "threeYearOnPremUsd": 4407.41,
    "scenarios": [
      {
        "scenario": {
          "id": "openai-gpt-5-4",
          "vendor": "OpenAI",
          "plan": "GPT-5.4 (short context)",
          "inputUsdPer1M": 2.5,
          "outputUsdPer1M": 15,
          "sourceUrl": "https://openai.com/api/pricing/",
          "sourceReadDate": "2026-11-26",
          "note": "List price for the short-context tier."
        },
        "blendedUsdPer1M": 5,
        "cloudMonthlyUsd": 500,
        "breakevenUtilizationPct": 14.7,
        "cloudIsCheaper": false
      },
      {
        "scenario": {
          "id": "anthropic-sonnet-5",
          "vendor": "Anthropic",
          "plan": "Claude Sonnet 5",
          "inputUsdPer1M": 2,
          "outputUsdPer1M": 10,
          "sourceUrl": "https://www.anthropic.com/pricing",
          "sourceReadDate": "2026-11-26",
          "note": "General-purpose frontier tier."
        },
        "blendedUsdPer1M": 3.6,
        "cloudMonthlyUsd": 360,
        "breakevenUtilizationPct": 20.4,
        "cloudIsCheaper": false
      },
      {
        "scenario": {
          "id": "anthropic-opus-5",
          "vendor": "Anthropic",
          "plan": "Claude Opus 5",
          "inputUsdPer1M": 5,
          "outputUsdPer1M": 25,
          "sourceUrl": "https://www.anthropic.com/pricing",
          "sourceReadDate": "2026-11-26",
          "note": "Highest published Anthropic tier."
        },
        "blendedUsdPer1M": 9,
        "cloudMonthlyUsd": 900,
        "breakevenUtilizationPct": 8.2,
        "cloudIsCheaper": false
      },
      {
        "scenario": {
          "id": "anthropic-haiku-4-5",
          "vendor": "Anthropic",
          "plan": "Claude Haiku 4.5",
          "inputUsdPer1M": 1,
          "outputUsdPer1M": 5,
          "sourceUrl": "https://www.anthropic.com/pricing",
          "sourceReadDate": "2026-11-26",
          "note": "Budget tier, useful as the cheapest-cloud boundary."
        },
        "blendedUsdPer1M": 1.8,
        "cloudMonthlyUsd": 180,
        "breakevenUtilizationPct": 40.8,
        "cloudIsCheaper": false
      }
    ]
  }
}