{
  "$schema": "./comparateur.schema.json",

  "_lisezmoi": [
    "Données du comparateur de coûts IA. Ce fichier pilote entièrement la page :",
    "ajouter un GPU ou un modèle, c'est ajouter une entrée dans le tableau correspondant.",
    "Les identifiants (id) doivent rester uniques et stables : ils ne s'affichent pas,",
    "mais ils servent à retenir la sélection. Ne les renommez pas sans raison.",
    "Un envoi sur GitHub déclenche la mise à jour du site (workflow deploy-donnees.yml).",
    "Vérifiez le fichier avant d'envoyer :  node outils/valider-donnees.mjs"
  ],

  "version": 1,
  "genere": "2026-09-02",
  "source": "Relevés LDLC.pro et Intel ARK, août-septembre 2026. Prix HT, très volatils. RTX 5090 et DGX Spark relevés à 4 500 € HT le 30/08/2026. Plateformes et alimentations revues le 02/09/2026.",

  "reglages": {
    "ans": 8,
    "eurUsd": 0.92,
    "elec": 0.20,
    "heuresJour": 10,
    "entretienAn": 500,
    "setup": 1500,
    "tauxSimul": 0.35,
    "eta": 0.75,
    "tauxVram": 0.90
  },

  "moteur": {
    "octetsParam": { "Q4": 0.55, "FP8": 1, "FP16": 2 },
    "octetsKV":    { "FP8": 1, "FP16": 2 },
    "rendMulti":   [0, 1, 0.92, 0.87, 0.82],
    "contextes":   [4096, 8192, 16000, 32768, 65536, 131072, 262144, 1000000]
  },

  "tokensPour": { "page": 700, "dossier": 8000, "courriel": 500, "livre": 130000 },

  "abonnements": [
    { "id": "oa-plus",  "four": "OpenAI",     "plan": "ChatGPT Plus",            "prix": 20,     "c": "#10A37F", "t": "O" },
    { "id": "oa-biz",   "four": "OpenAI",     "plan": "ChatGPT Business",        "prix": 25,     "c": "#10A37F", "t": "O" },
    { "id": "oa-pro",   "four": "OpenAI",     "plan": "ChatGPT Pro",             "prix": 200,    "c": "#10A37F", "t": "O" },
    { "id": "an-pro",   "four": "Anthropic",  "plan": "Claude Pro",              "prix": 18,     "c": "#C96442", "t": "C" },
    { "id": "an-team",  "four": "Anthropic",  "plan": "Claude Team",             "prix": 25,     "c": "#C96442", "t": "C" },
    { "id": "an-max",   "four": "Anthropic",  "plan": "Claude Max (20x)",        "prix": 180,    "c": "#C96442", "t": "C" },
    { "id": "go-pro",   "four": "Google",     "plan": "Google AI Pro (Gemini)",  "prix": 21.99,  "c": "#4285F4", "t": "G" },
    { "id": "go-ult",   "four": "Google",     "plan": "Google AI Ultra",         "prix": 274.99, "c": "#4285F4", "t": "G" },
    { "id": "ms-cop",   "four": "Microsoft",  "plan": "Microsoft 365 Copilot",   "prix": 28,     "c": "#5A5AF5", "t": "M" },
    { "id": "ms-cs",    "four": "Microsoft",  "plan": "Copilot Studio (pack de 25 000 messages)", "prix": 184, "c": "#5A5AF5", "t": "M" },
    { "id": "gh-cop",   "four": "GitHub",     "plan": "GitHub Copilot Business", "prix": 17,     "c": "#24292F", "t": "<>" },
    { "id": "px-pro",   "four": "Perplexity", "plan": "Perplexity Pro",          "prix": 20,     "c": "#20808D", "t": "P" },
    { "id": "mi-pro",   "four": "Mistral",    "plan": "Le Chat Pro",             "prix": 14.99,  "c": "#FA5111", "t": "M" },
    { "id": "xa-grok",  "four": "xAI",        "plan": "SuperGrok",               "prix": 30,     "c": "#111111", "t": "X" }
  ],

  "_api": [
    "Prix catalogue en DOLLARS par million de jetons : e = entrée, s = sortie.",
    "C'est la seule table du fichier libellée en dollars — tout le reste est en",
    "euros HT. Le taux de change réglable sur la page ne s'applique donc qu'à",
    "ces montants.",
    "DeepSeek V4 Flash est au tarif de POINTE (01:00-04:00 et 06:00-10:00 UTC,",
    "du lundi au vendredi). Hors de ces heures, DeepSeek divise ses prix par",
    "deux : 0,22 en entrée et 0,66 en sortie. On retient le tarif plein parce",
    "que toutes les autres entrées en sont, et qu'un tarif remis en face de",
    "tarifs non remis fausserait la comparaison."
  ],

  "api": [
    { "id": "gpt-sol", "nom": "OpenAI · GPT-5.6 Sol",         "e": 5,    "s": 30 },
    { "id": "gpt-ter", "nom": "OpenAI · GPT-5.6 Terra",       "e": 2,    "s": 12 },
    { "id": "gpt-lun", "nom": "OpenAI · GPT-5.6 Luna",        "e": 0.20, "s": 1.20 },
    { "id": "cl-opus", "nom": "Anthropic · Claude Opus 5",    "e": 5,    "s": 25 },
    { "id": "cl-son",  "nom": "Anthropic · Claude Sonnet 5",  "e": 2,    "s": 10 },
    { "id": "cl-hai",  "nom": "Anthropic · Claude Haiku 4.5", "e": 1,    "s": 5 },
    { "id": "cl-fab",  "nom": "Anthropic · Claude Fable 5",    "e": 10,   "s": 50 },
    { "id": "ge-pro",  "nom": "Google · Gemini 3.1 Pro",      "e": 2,    "s": 12 },
    { "id": "ge-fla",  "nom": "Google · Gemini 3.x Flash",    "e": 0.75, "s": 3.75 },
    { "id": "ge-lit",  "nom": "Google · Gemini Flash-Lite",   "e": 0.25, "s": 1.50 },
    { "id": "ds-v4f",  "nom": "DeepSeek · V4 Flash",          "e": 0.44, "s": 1.32 },
    { "id": "mi-sml",  "nom": "Mistral · Small 4",            "e": 0.15, "s": 0.60 },
    { "id": "mi-lrg",  "nom": "Mistral · Large 3",            "e": 2,    "s": 6 },
    { "id": "gr-4",    "nom": "xAI · Grok 4",                 "e": 3,    "s": 15 }
  ],

  "modeles": [
    {
      "id": "q14", "nom": "Qwen3-14B", "type": "Dense",
      "total": 14.8, "actifs": 14.8, "kv1k": 0.164, "ctxMax": 131072,
      "note": "40 couches, 8 têtes KV. Natif 32k, étendu à 131k par YaRN."
    },
    {
      "id": "q32", "nom": "Qwen3-32B", "type": "Dense",
      "total": 32.8, "actifs": 32.8, "kv1k": 0.262, "ctxMax": 131072,
      "note": "64 couches, 8 têtes KV. Natif 32k, étendu à 131k par YaRN."
    },
    {
      "id": "l70", "nom": "Llama-3.3-70B", "type": "Dense",
      "total": 70.6, "actifs": 70.6, "kv1k": 0.328, "ctxMax": 131072,
      "note": "80 couches, 8 têtes KV. Contexte 128k."
    },
    {
      "id": "q30a3", "nom": "Qwen3-30B-A3B", "type": "MoE",
      "total": 30.5, "actifs": 3.3, "kv1k": 0.098, "ctxMax": 262144,
      "note": "128 experts dont 8 actifs, 3,3 B actifs. 48 couches, 4 têtes KV."
    },
    {
      "id": "oss120", "nom": "gpt-oss-120B", "type": "MoE",
      "total": 116.8, "actifs": 5.1, "kv1k": 0.074, "ctxMax": 131072,
      "note": "128 experts dont 4 actifs, 5,1 B actifs. MXFP4 environ 61 Go."
    },
    {
      "id": "q235", "nom": "Qwen3-235B-A22B", "type": "MoE",
      "total": 235, "actifs": 22, "kv1k": 0.193, "ctxMax": 131072,
      "note": "22 B actifs, 94 couches, 4 têtes KV. Le vaisseau amiral."
    },
    {
      "id": "qn80", "nom": "Qwen3-Next-80B-A3B", "type": "MoE",
      "total": 80, "actifs": 3, "kv1k": 0.049, "ctxMax": 262144,
      "note": "Hybride GDN et attention (3:1). Seules 12 couches font grossir le cache KV."
    },
    {
      "id": "q38f", "nom": "Qwen3.8-Flash-Next", "type": "MoE", "apercu": true,
      "total": 125, "actifs": 6, "kv1k": 0.05, "ctxMax": 262144,
      "note": "Préversion. Environ 125 B pour 6 B actifs. Spécifications et KV à confirmer."
    },
    {
      "id": "dsv4", "nom": "DeepSeek-V4-Flash", "type": "MoE", "apercu": true,
      "total": 284, "actifs": 13, "kv1k": 0.03, "ctxMax": 1000000,
      "note": "Attention hybride compressée : environ 10 % du cache KV de V3.2. Valeur approchée."
    }
  ],

  "gpus": [
    {
      "id": "rtx5090", "nom": "RTX 5090",
      "vram": 32, "bp": 1792, "rend": 1, "prix": 4500, "watts": 575, "seule": false,
      "note": "Grand public. 32 Go GDDR7, 1,79 To/s. Prix marché très volatil : relevé à 4 500 € HT, bien au-dessus du tarif conseillé."
    },
    {
      "id": "pro5000", "nom": "RTX Pro 5000",
      "vram": 48, "bp": 1152, "rend": 1, "prix": 8250, "watts": 300, "seule": false,
      "note": "PNY Blackwell 48 Go. Bande passante à confirmer sur banc."
    },
    {
      "id": "pro6000", "nom": "RTX Pro 6000",
      "vram": 96, "bp": 1792, "rend": 1, "prix": 14750, "watts": 300, "seule": false,
      "note": "PNY Blackwell WS 96 Go GDDR7, 1,79 To/s."
    },
    {
      "id": "r9700", "nom": "AMD R9700",
      "vram": 32, "bp": 640, "rend": 0.93, "prix": 1375, "watts": 300, "seule": false,
      "note": "Radeon AI PRO 32 Go GDDR6, RDNA4, ROCm. Rendement calé sur mesures réelles."
    },
    {
      "id": "w7900", "nom": "AMD W7900",
      "vram": 48, "bp": 864, "rend": 0.93, "prix": 2792, "watts": 295, "seule": false,
      "note": "Radeon Pro 48 Go GDDR6 ECC, RDNA3, ROCm."
    },
    {
      "id": "spark", "nom": "DGX Spark",
      "vram": 128, "bp": 273, "rend": 1, "prix": 4500, "watts": 200, "seule": true,
      "note": "Machine complète, 128 Go unifiés. Liaison multi-unités lente : les colonnes 2 à 4 sont optimistes."
    }
  ],

  "plateformes": [
    {
      "id": "A", "nom": "A — AM5, Ryzen 9 9950X",
      "base": 1800, "maxGpu": 2, "sysWatts": 250,
      "note": "AM5 grand public, 28 lignes PCIe 5.0, 1 à 2 GPU en x8/x8. Meilleur rapport qualité/prix. RAM au minimum, à adapter au modèle."
    },
    {
      "id": "B", "nom": "B — X299, Intel i9-10980XE",
      "base": 1500, "maxGpu": 3, "sysWatts": 250,
      "note": "Intel HEDT d'occasion, PCIe 3.0, 48 lignes (i9-10980XE). Coût par GPU le plus bas. Le PCIe 3.0 x8 est transparent en inférence."
    },
    {
      "id": "C", "nom": "C — TRX50 / Threadripper 7960X",
      "base": 4100, "maxGpu": 3, "sysWatts": 450,
      "note": "sTR5, 48 lignes PCIe 5.0, jusqu'à 3 GPU (x16/x16/x8). 128 Go RDIMM ECC. CPU de 350 W. Seconde alimentation possible via câble adaptateur."
    },
    {
      "id": "D", "nom": "D — WRX90 / Threadripper PRO",
      "base": 5400, "maxGpu": 4, "sysWatts": 450,
      "note": "sTR5 PRO, 128 lignes PCIe 5.0, quatre vrais x16. 128 Go RDIMM ECC, 4 emplacements libres pour monter à 256 Go. Double alimentation au-delà de 2 GPU."
    }
  ],

  "psu": [
    { "maxW": 680,  "sup": 0,   "nom": "850 W Gold ATX 3.1 (incluse)" },
    { "maxW": 960,  "sup": 100, "nom": "1200 W Gold" },
    { "maxW": 1280, "sup": 300, "nom": "1 × 1600 W Titanium" },
    { "maxW": 1920, "sup": 400, "nom": "Deux blocs de 1200 W" },
    { "maxW": 2560, "sup": 800, "nom": "Deux blocs de 1600 W (seconde alim. via câble adaptateur)" }
  ]
}
