{
  "schema_version": "1.0",
  "id": "token-lab",
  "name": "IBEN DIGITAL — Token Lab",
  "route": "/token-lab/",
  "project_type": "HTML_APPLICATION",
  "category": "AI_EFFICIENCY",
  "status": "DEVELOPMENT",
  "access": "PUBLIC",
  "doctrine": "INDEX_FIRST_RAG_SECOND",
  "question": "HOW MUCH DOES AI INTELLIGENCE COST — AND HOW MUCH VALUE DOES IT CREATE?",
  "summary": "Observatoire pédagogique, outil de mesure et laboratoire d’expérimentation consacré aux tokens IA.",
  "objective": "Mesurer le coût du calcul génératif, réduire le contexte inutile et préparer l’AI Efficiency Engine d’IBEN DIGITAL.",
  "scope": [
    "AI token observatory",
    "Local cost calculator",
    "Token economy education",
    "Value per token experiments",
    "Context efficiency",
    "Model comparison contract",
    "Photonics education",
    "Prompt Lab integration"
  ],
  "metrics": {
    "ai_token_price": { "value": null, "status": "NOT_AVAILABLE", "unit": "EUR / token" },
    "energy_per_token": { "value": null, "status": "UNKNOWN", "unit": "J / token" },
    "tokens_per_eur": { "value": null, "status": "NOT_AVAILABLE", "unit": "tokens / EUR" },
    "cost_per_million_tokens": { "value": null, "status": "INPUT_REQUIRED", "unit": "EUR / 1M tokens" },
    "value_per_token": { "value": null, "status": "EXPERIMENTAL_NOT_AVAILABLE", "unit": "value / token" },
    "token_roi": { "value": null, "status": "EXPERIMENTAL_NOT_AVAILABLE", "unit": "value / cost" },
    "context_efficiency": { "value": null, "status": "INPUT_REQUIRED", "unit": "% selected context" },
    "prompt_efficiency": { "value": null, "status": "AWAITING_PROMPT_LAB", "unit": "score / 100" }
  },
  "modules": [
    { "id": "dashboard", "route": "#overview", "status": "ACTIVE" },
    { "id": "token-calculator", "route": "#calculator", "status": "ACTIVE_LOCAL" },
    { "id": "token-economy", "route": "#economy", "status": "ACTIVE" },
    { "id": "value-per-token", "route": "#value", "status": "EXPERIMENTAL" },
    { "id": "context-efficiency", "route": "#context", "status": "ACTIVE_LOCAL" },
    { "id": "model-comparison", "route": "#models", "status": "DATA_READY" },
    { "id": "photon-to-token", "route": "#photon", "status": "ACTIVE" },
    { "id": "prompt-lab-contract", "route": "#prompt-lab", "status": "CONTRACT_READY" }
  ],
  "calculations": {
    "request_cost": "(input_tokens / 1000000 * input_price_per_million) + (output_tokens / 1000000 * output_price_per_million)",
    "value_per_token": "task_value / total_tokens",
    "token_roi": "estimated_human_value_saved / ai_cost",
    "context_reduction": "1 - selected_context_tokens / total_knowledge_base_tokens"
  },
  "integrations": {
    "octopus_ia": { "status": "READY_FOR_INDEX_ROUTING", "source": "/token-lab/index.json" },
    "prompt_lab": { "status": "CONTRACT_READY", "source": "/token-lab/data/prompt-lab-contract.json" },
    "model_registry": { "status": "EMPTY_UNTIL_VERIFIED_SOURCES_ADDED", "source": "/token-lab/models/index.json" }
  },
  "source_policy": {
    "rule": "Never invent prices, energy figures or ROI values.",
    "allowed_statuses": ["VERIFIED", "ESTIMATION", "UNKNOWN", "NOT_AVAILABLE"],
    "pricing": "Provider-specific pricing must be added from a dated, primary source.",
    "energy": "Energy per token requires a declared measurement method and workload context."
  },
  "next_action": "Connect dated, verified model pricing and add the first measured Prompt Lab payload.",
  "last_updated": "2026-09-09",
  "version": 1,
  "index_ready": true,
  "octopus_ready": true
}
