{
 "openapi": "3.1.0",
 "info": {
  "title": "TANDIU open data feeds",
  "version": "1.0.0",
  "description": "Static JSON/CSV feeds, refreshed daily. No authentication. The same data is available as MCP tools at /mcp (see /.well-known/mcp/server-card.json). Cite as TANDIU (tandiu.cn) with the page URL and date.",
  "contact": {
   "email": "contact@tandiu.cn"
  }
 },
 "servers": [
  {
   "url": "https://www.tandiu.cn"
  }
 ],
 "paths": {
  "/data/latest.json": {
   "get": {
    "summary": "Official LLM API list prices",
    "description": "Per-model input/output/cache prices in USD and CNY per 1M tokens, daily.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/evaluations_latest.json": {
   "get": {
    "summary": "Public benchmark scores",
    "description": "Artificial Analysis, LiveBench and Epoch AI (ECI) scores matched to priced models, with cross-source rank and divergence flags.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/price_index.json": {
   "get": {
    "summary": "LLM price index",
    "description": "Chain-linked price index, medians and price-score frontier for CN / US / global.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/gpu_prices.json": {
   "get": {
    "summary": "GPU prices and specs",
    "description": "Data-center, workstation and consumer GPUs: VRAM, bandwidth, FP16 compute, list price, China market price (SXM per 8-GPU node), cloud rental with 7-day change, sources and dates (CNY/USD).",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/role_token_budget.json": {
   "get": {
    "summary": "Token budget per job role",
    "description": "32 job roles x light/standard/heavy usage: monthly input/output tokens, best model (any country) and best Chinese model with monthly cost in CNY.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/enterprise_ai_cost.json": {
   "get": {
    "summary": "Enterprise AI cost: API vs self-hosting",
    "description": "12 company samples (10/100/1000/10000 people, different industries and AI intensity): monthly tokens, API cost vs self-hosting the same open model on public cloud / private cloud / on-premises GPUs, GPU count, per-GPU unit economics and stated assumptions.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/agents.json": {
   "get": {
    "summary": "Cloud agent review database",
    "description": "Specs, plans and prices of Personal/Work agents (Meta Muse, Manus, etc.).",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/ai_funding.json": {
   "get": {
    "summary": "AI funding rounds",
    "description": "Funding rounds of AI companies (US and China first): company, business, round, amount (as reported + USD), valuation, investors, source links; Chinese companies include registry data and funding history from FinChina.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/procurement_demands.json": {
   "get": {
    "summary": "China AI compute procurement demands",
    "description": "Public tender notices with buyer, budget and deadline (Chinese).",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/procurement_deals.json": {
   "get": {
    "summary": "China AI compute procurement awards",
    "description": "Public award notices with buyer, supplier and amount (Chinese).",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/procurement_summary.json": {
   "get": {
    "summary": "China AI compute procurement summary",
    "description": "Dated counts and budget/amount totals (7/30 days), category split, largest projects, upcoming deadlines, top suppliers; links to per-record pages.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/budget_deal_rate.json": {
   "get": {
    "summary": "Budget-to-award ratio (China AI compute procurement)",
    "description": "Award amount / budget for tender and award notices matched by project ID: overall and grouped stats, every sample pair with source links, daily history.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/history.csv": {
   "get": {
    "summary": "Daily price snapshots (append-only)",
    "description": "All models, one row per model per day.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/csv": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}