{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-peering-ixp-transit-calc",
  "live_meta_url": "https://p2-peering-ixp-transit-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-peering-ixp-transit-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-peering-ixp-transit-calc.pages.dev/data/bgp-routing-and-interconnect.json",
    "https://p2-peering-ixp-transit-calc.pages.dev/data/peeringdb-ixp-catalog.json"
  ],
  "calculator_inputs_schema": {
    "monthly_egress_petabytes": {
      "label": "Monthly Outbound Network Volume (PB / month)",
      "type": "number",
      "default": 4.5,
      "min": 0.05,
      "max": 500
    },
    "p95_to_mean_burst_ratio": {
      "label": "95th-Percentile to Average Traffic Ratio (typically 1.8x B2B API to 3.4x Live Video/Gaming)",
      "type": "number",
      "default": 2.4,
      "min": 1,
      "max": 6
    },
    "interconnect_metro": {
      "label": "Primary Carrier-Neutral Metro Hub (Live PeeringDB IXP & Cross-Connect Profile)",
      "type": "select",
      "default": "ASHBURN_VA_EQUINIX",
      "options": [
        "ASHBURN_VA_EQUINIX",
        "FRANKFURT_DE_CIX",
        "AMSTERDAM_AMS_IX",
        "LONDON_LINX",
        "SINGAPORE_SGIX_EQUINIX",
        "TOKYO_JPIX_BBIX",
        "SAO_PAULO_IX_BR"
      ]
    },
    "tier1_transit_cdr_pct": {
      "label": "Tier-1 IP Transit Committed Data Rate (CDR) Coverage (% of 95th-Pct Peak)",
      "type": "number",
      "default": 60,
      "min": 20,
      "max": 100
    },
    "transit_cdr_usd_per_mbps": {
      "label": "Tier-1 IP Transit CDR Rate (USD / Mbps / mo)",
      "type": "number",
      "default": 0.32,
      "min": 0.08,
      "max": 5
    },
    "transit_burst_multiplier": {
      "label": "Uncommitted 95th-Pct Burst Overage Multiplier (e.g., 1.5x–2.5x CDR)",
      "type": "number",
      "default": 1.8,
      "min": 1,
      "max": 4
    },
    "ixp_port_speed_gbps": {
      "label": "Target IXP Public Peering Port Speed",
      "type": "select",
      "default": 100,
      "options": [
        10,
        100,
        400
      ]
    },
    "ixp_offload_share_pct": {
      "label": "Traffic Share Offloaded via IXP Route-Server & Bilateral Peering (%)",
      "type": "number",
      "default": 42,
      "min": 0,
      "max": 85
    },
    "pni_cross_connect_count": {
      "label": "Direct Private Network Interconnect (PNI) Fiber Cross-Connects (100G/400G patches)",
      "type": "number",
      "default": 4,
      "min": 0,
      "max": 100
    },
    "pni_offload_share_pct": {
      "label": "Traffic Share Offloaded via Zero-Settlement Direct PNIs (%)",
      "type": "number",
      "default": 28,
      "min": 0,
      "max": 85
    },
    "colo_cross_connect_mrc_usd": {
      "label": "Data Center Single-Mode Fiber Cross-Connect MRC (USD / patch / mo)",
      "type": "number",
      "default": 350,
      "min": 0,
      "max": 800
    }
  },
  "formulas_summary": {
    "mean_gbps_from_pb": "Gbps_mean = (monthly_egress_petabytes * 8 * 1e6) / 2628000",
    "billed_p95_gbps": "Gbps_p95 = Gbps_mean * p95_to_mean_burst_ratio",
    "pure_ip_transit_baseline_usd": "Mbps_CDR = Gbps_p95 * 1000 * (tier1_transit_cdr_pct / 100); Mbps_Burst = Gbps_p95 * 1000 - Mbps_CDR; Cost_Transit_Only = Mbps_CDR * transit_cdr_usd_per_mbps + Mbps_Burst * transit_cdr_usd_per_mbps * transit_burst_multiplier + 2_redundant_xc * colo_cross_connect_mrc_usd",
    "hybrid_ixp_pni_transit_usd": "Residual_Transit_Ratio = max(0.05, 1 - (ixp_offload_share_pct + pni_offload_share_pct) / 100); Cost_Hybrid = Residual_Transit_Ratio * (Cost_Transit_Only - 2 * colo_cross_connect_mrc_usd) + IXP_Port_MRC_USD(interconnect_metro, ixp_port_speed_gbps) + (2_transit + 1_ixp + pni_cross_connect_count) * colo_cross_connect_mrc_usd + Optics_Router_Port_Amort_USD",
    "effective_usd_per_tb_delivered": "Eff_USD_per_TB = Cost_Hybrid / (monthly_egress_petabytes * 1000) (contrasted directly against AWS/GCP $20–$85/TB cloud internet egress!)",
    "minimum_offload_gbps_for_ixp_breakeven": "Gbps_IXP_Breakeven = (IXP_Port_MRC_USD + colo_cross_connect_mrc_usd + Optics_Amort_1port) / (1000 * transit_cdr_usd_per_mbps)",
    "optical_fiber_rtt_ms": "RTT_ms = (2 * GreatCircle_km * Circuitousness_Factor * 1.4682_Silica_Refractive_Index) / 299.792 + Hop_Switching_Delay_ms"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-peering-ixp-transit-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "peering_ixp_bgp_dataset",
      "product_id": "c6710a21-a336-466e-90ea-f19f5233d5b8",
      "name": "Global IXP Density & RIPEstat BGP Dataset",
      "price_usd": null,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_2ol2leF2kSFRPvypQCMiUnDzV33PTQp4Aqq8I2RLfHB"
    },
    {
      "sku_key": "neteng_peering_pro_license",
      "product_id": "f50602e1-d447-4480-94df-c58e627a9ed5",
      "name": "Pro SNMP 95th-Pct Analyzer & Peering API",
      "price_usd": null,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_LbJNMSYJEiNh0fGHfvYe3roHZabHpoLb5toSM3cp8LD"
    },
    {
      "sku_key": "vp_network_transit_rfp_pack",
      "product_id": "28cb0dd0-697b-402d-afd6-0ccff2186c24",
      "name": "VP Network Transit RFP & Cross-Connect Pack",
      "price_usd": null,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_wEG8vEjMEHdSI73zjggCFsv6Km1EYUB7ycfwI08DIhw"
    }
  ],
  "master_all_portals_pass": {
    "master_all_portals_pro_monthly": {
      "product_id": "18e0b844-b764-41f0-9c3d-186362784997",
      "name": "All-Portals Master Pro API & Batch CSV License Key (Monthly)",
      "price_usd": 79,
      "billing": "monthly",
      "checkout_url": "https://buy.polar.sh/polar_cl_0P1axu2nXEDXECK8Z0k7I3sMndeo3hsdqpepv1LUcJT"
    },
    "enterprise_annual_data_pass": {
      "product_id": "8a5266eb-3aaf-4fb3-9aef-0e5bbfd17dc3",
      "name": "Annual Enterprise FinOps & Compliance Data Pass (All Portals)",
      "price_usd": 499,
      "billing": "yearly",
      "checkout_url": "https://buy.polar.sh/polar_cl_SPWfsAxuQAVHif3soxwqbq5zPAdNZFkN5CtQK3cZRft"
    }
  }
}