{
 "type": "excalidrawlib",
 "version": 2,
 "source": "https://excalidraw.com",
 "libraryItems": [
  {
   "id": "q1-inference-api",
   "status": "unpublished",
   "created": 1,
   "name": "Parasail Q1 Serverless inference API: OpenAI-compatible, pay per token, many models",
   "elements": [
    {
     "id": "q1-inference-api-badge",
     "type": "rectangle",
     "x": 0,
     "y": 0,
     "width": 1500,
     "height": 300,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ffc078",
     "fillStyle": "solid",
     "strokeWidth": 4,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1390851129,
     "version": 1,
     "versionNonce": 647892280,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-badge-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-badge-t",
     "type": "text",
     "x": 20,
     "y": 25,
     "width": 1460,
     "height": 250,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1695753999,
     "version": 1,
     "versionNonce": 207388625,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q1 API",
     "originalText": "Q1 API",
     "fontSize": 200,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-badge",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-title",
     "type": "text",
     "x": 0,
     "y": 330,
     "width": 1400,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 311111476,
     "version": 1,
     "versionNonce": 404285458,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q1 Serverless inference API: OpenAI-compatible, pay per token, many models",
     "originalText": "Q1 Serverless inference API: OpenAI-compatible, pay per token, many models",
     "fontSize": 32,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": null,
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-cl",
     "type": "ellipse",
     "x": 0,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1570621945,
     "version": 1,
     "versionNonce": 249103478,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-cl-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e0"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-cl-t",
     "type": "text",
     "x": 10,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 922121677,
     "version": 1,
     "versionNonce": 161042649,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Client apps / agents\n(OpenAI SDK, streaming)",
     "originalText": "Client apps / agents\n(OpenAI SDK, streaming)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-cl",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-gw",
     "type": "rectangle",
     "x": 330,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff4e6",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 369140571,
     "version": 1,
     "versionNonce": 1862494043,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-gw-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e0"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e1"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-gw-t",
     "type": "text",
     "x": 340,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1796035740,
     "version": 1,
     "versionNonce": 300026768,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "API gateway\n(API key auth, rate limit,\nquota, SSE streaming)",
     "originalText": "API gateway\n(API key auth, rate limit,\nquota, SSE streaming)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-gw",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-rt",
     "type": "rectangle",
     "x": 660,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1033639717,
     "version": 1,
     "versionNonce": 389609434,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-rt-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e1"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e2"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e3"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-rt-t",
     "type": "text",
     "x": 670,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1823296039,
     "version": 1,
     "versionNonce": 253877687,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Router\n(model -> pool, health,\nqueue depth, prefix hit)",
     "originalText": "Router\n(model -> pool, health,\nqueue depth, prefix hit)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-rt",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-cat",
     "type": "rectangle",
     "x": 660,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 531725348,
     "version": 1,
     "versionNonce": 958804058,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-cat-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e2"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-cat-t",
     "type": "text",
     "x": 670,
     "y": 716.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 265695474,
     "version": 1,
     "versionNonce": 1703729685,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Model catalog +\npool registry",
     "originalText": "Model catalog +\npool registry",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-cat",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-q",
     "type": "rectangle",
     "x": 990,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff9db",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 212984477,
     "version": 1,
     "versionNonce": 949539217,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-q-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e3"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-q-t",
     "type": "text",
     "x": 1000,
     "y": 416.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 200071089,
     "version": 1,
     "versionNonce": 571981486,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Per-pool queue\n(priority tiers)",
     "originalText": "Per-pool queue\n(priority tiers)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-q",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-pool",
     "type": "rectangle",
     "x": 990,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1243862423,
     "version": 1,
     "versionNonce": 1800188483,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-pool-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e4"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-pool-t",
     "type": "text",
     "x": 1000,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 619570853,
     "version": 1,
     "versionNonce": 505913793,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Model server pools\n(vLLM / SGLang,\ncontinuous batching)",
     "originalText": "Model server pools\n(vLLM / SGLang,\ncontinuous batching)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-pool",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-ext",
     "type": "rectangle",
     "x": 1320,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f1f3f5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1324919353,
     "version": 1,
     "versionNonce": 776213900,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-ext-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-ext-t",
     "type": "text",
     "x": 1330,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 442620899,
     "version": 1,
     "versionNonce": 806899910,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Brokered capacity\n(partner data centers)",
     "originalText": "Brokered capacity\n(partner data centers)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-ext",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-meter",
     "type": "rectangle",
     "x": 990,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff9db",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1599435268,
     "version": 1,
     "versionNonce": 418461139,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-meter-t"
      },
      {
       "type": "arrow",
       "id": "q1-inference-api-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-meter-t",
     "type": "text",
     "x": 1000,
     "y": 716.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 269676600,
     "version": 1,
     "versionNonce": 255985077,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Usage events\n(tokens in/out per request)",
     "originalText": "Usage events\n(tokens in/out per request)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-meter",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-e0",
     "type": "arrow",
     "x": 180.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 884585952,
     "version": 1,
     "versionNonce": 2132084005,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-e0-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-cl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-gw",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e0-t",
     "type": "text",
     "x": 155.0,
     "y": 576.0,
     "width": 200,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1836494975,
     "version": 1,
     "versionNonce": 1349251824,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "POST /v1/chat/completions",
     "originalText": "POST /v1/chat/completions",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-e0",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-e1",
     "type": "arrow",
     "x": 510.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1999744785,
     "version": 1,
     "versionNonce": 1946412081,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-gw",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-rt",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e2",
     "type": "arrow",
     "x": 750.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1552984409,
     "version": 1,
     "versionNonce": 1287489454,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-e2-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-cat",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e2-t",
     "type": "text",
     "x": 726.0,
     "y": 651.0,
     "width": 48,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1066984056,
     "version": 1,
     "versionNonce": 772092315,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "lookup",
     "originalText": "lookup",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-e2",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-e3",
     "type": "arrow",
     "x": 829.2,
     "y": 550.0,
     "width": 171.5999999999999,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1048386556,
     "version": 1,
     "versionNonce": 351564608,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-e3-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.5999999999999,
       -78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-q",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e3-t",
     "type": "text",
     "x": 895.0,
     "y": 501.0,
     "width": 40,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1289560150,
     "version": 1,
     "versionNonce": 2126508551,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "admit",
     "originalText": "admit",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-e3",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-e4",
     "type": "arrow",
     "x": 1080.0,
     "y": 472.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1475216846,
     "version": 1,
     "versionNonce": 1927728187,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-q",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-pool",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e5",
     "type": "arrow",
     "x": 840.0,
     "y": 586.0,
     "width": 480.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1236683273,
     "version": 1,
     "versionNonce": 314395343,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-e5-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       480.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-ext",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e5-t",
     "type": "text",
     "x": 1048.0,
     "y": 576.0,
     "width": 64,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 507088657,
     "version": 1,
     "versionNonce": 1795823849,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "overflow",
     "originalText": "overflow",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-e5",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-e6",
     "type": "arrow",
     "x": 1080.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 708506837,
     "version": 1,
     "versionNonce": 1469118511,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-e6-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q1-inference-api-pool",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q1-inference-api-meter",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q1-inference-api-e6-t",
     "type": "text",
     "x": 1060.0,
     "y": 651.0,
     "width": 40,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 652768598,
     "version": 1,
     "versionNonce": 2100080515,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "usage",
     "originalText": "usage",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-e6",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q1-inference-api-notes",
     "type": "rectangle",
     "x": 0,
     "y": 850,
     "width": 420,
     "height": 202,
     "angle": 0,
     "strokeColor": "#e67700",
     "backgroundColor": "#ffec99",
     "fillStyle": "solid",
     "strokeWidth": 1,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1811180650,
     "version": 1,
     "versionNonce": 168393880,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q1-inference-api-notes-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q1-inference-api-notes-t",
     "type": "text",
     "x": 12,
     "y": 860,
     "width": 396,
     "height": 182,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 333377415,
     "version": 1,
     "versionNonce": 1347535309,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Trade-offs to raise\n\u2022 Rate limit on tokens/min, not just requests\n\u2022 Stream tokens: TTFT is the SLO users feel\n\u2022 Route by load + KV prefix cache hit\n\u2022 Shed or queue, never silently degrade\n\u2022 Retries are not idempotent: tokens cost money\n\u2022 Same API across own + brokered GPUs",
     "originalText": "Trade-offs to raise\n\u2022 Rate limit on tokens/min, not just requests\n\u2022 Stream tokens: TTFT is the SLO users feel\n\u2022 Route by load + KV prefix cache hit\n\u2022 Shed or queue, never silently degrade\n\u2022 Retries are not idempotent: tokens cost money\n\u2022 Same API across own + brokered GPUs",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": "q1-inference-api-notes",
     "lineHeight": 1.25,
     "autoResize": true
    }
   ]
  },
  {
   "id": "q2-token-metering",
   "status": "unpublished",
   "created": 1,
   "name": "Parasail Q2 Token metering and billing: count every token, bill correctly, stop overspend",
   "elements": [
    {
     "id": "q2-token-metering-badge",
     "type": "rectangle",
     "x": 0,
     "y": 0,
     "width": 1500,
     "height": 300,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ffc078",
     "fillStyle": "solid",
     "strokeWidth": 4,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1460814403,
     "version": 1,
     "versionNonce": 1504004732,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-badge-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-badge-t",
     "type": "text",
     "x": 20,
     "y": 25,
     "width": 1460,
     "height": 250,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2133201996,
     "version": 1,
     "versionNonce": 1959386987,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q2 Meter",
     "originalText": "Q2 Meter",
     "fontSize": 200,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-badge",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-title",
     "type": "text",
     "x": 0,
     "y": 330,
     "width": 1400,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 295334610,
     "version": 1,
     "versionNonce": 401991736,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q2 Token metering and billing: count every token, bill correctly, stop overspend",
     "originalText": "Q2 Token metering and billing: count every token, bill correctly, stop overspend",
     "fontSize": 32,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": null,
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-srv",
     "type": "rectangle",
     "x": 0,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1159380354,
     "version": 1,
     "versionNonce": 2036236842,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-srv-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e0"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-srv-t",
     "type": "text",
     "x": 10,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 279172787,
     "version": 1,
     "versionNonce": 260573196,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Model servers\n(emit usage at end\nof each request)",
     "originalText": "Model servers\n(emit usage at end\nof each request)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-srv",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-k",
     "type": "rectangle",
     "x": 330,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff9db",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1329753548,
     "version": 1,
     "versionNonce": 1914012529,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-k-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e0"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e1"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-k-t",
     "type": "text",
     "x": 340,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1222328496,
     "version": 1,
     "versionNonce": 1656961616,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Kafka usage topic\n(key = account,\nrequest_id for dedup)",
     "originalText": "Kafka usage topic\n(key = account,\nrequest_id for dedup)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-k",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-agg",
     "type": "rectangle",
     "x": 660,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e6fcf5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1490376254,
     "version": 1,
     "versionNonce": 96907016,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-agg-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e1"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e2"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e3"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-agg-t",
     "type": "text",
     "x": 670,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1982966163,
     "version": 1,
     "versionNonce": 1526706730,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Stream aggregator\n(per account per minute,\ndedup by request_id)",
     "originalText": "Stream aggregator\n(per account per minute,\ndedup by request_id)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-agg",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-bal",
     "type": "rectangle",
     "x": 660,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 721762279,
     "version": 1,
     "versionNonce": 502922617,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-bal-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e3"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-bal-t",
     "type": "text",
     "x": 670,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2120395275,
     "version": 1,
     "versionNonce": 253207297,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Balance / credit service\n(Redis counters +\nDB ledger)",
     "originalText": "Balance / credit service\n(Redis counters +\nDB ledger)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-bal",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-led",
     "type": "rectangle",
     "x": 990,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 937195260,
     "version": 1,
     "versionNonce": 1234510746,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-led-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e2"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e5"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-led-t",
     "type": "text",
     "x": 1000,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 555512016,
     "version": 1,
     "versionNonce": 1063497604,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Usage ledger\n(append-only, OLAP:\nClickHouse / Parquet)",
     "originalText": "Usage ledger\n(append-only, OLAP:\nClickHouse / Parquet)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-led",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-inv",
     "type": "rectangle",
     "x": 1320,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e6fcf5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1708957521,
     "version": 1,
     "versionNonce": 1679116189,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-inv-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-inv-t",
     "type": "text",
     "x": 1330,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2132480061,
     "version": 1,
     "versionNonce": 346094056,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Invoicing\n(price book x usage,\nStripe)",
     "originalText": "Invoicing\n(price book x usage,\nStripe)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-inv",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-gw",
     "type": "rectangle",
     "x": 330,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff4e6",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 714537755,
     "version": 1,
     "versionNonce": 1929245187,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-gw-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-gw-t",
     "type": "text",
     "x": 340,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1725048951,
     "version": 1,
     "versionNonce": 1193309984,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "API gateway\n(checks balance,\nreserves estimate)",
     "originalText": "API gateway\n(checks balance,\nreserves estimate)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-gw",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-dash",
     "type": "ellipse",
     "x": 1320,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 588093311,
     "version": 1,
     "versionNonce": 1849076401,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-dash-t"
      },
      {
       "type": "arrow",
       "id": "q2-token-metering-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-dash-t",
     "type": "text",
     "x": 1330,
     "y": 416.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1195809358,
     "version": 1,
     "versionNonce": 1783684942,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Customer usage\ndashboard",
     "originalText": "Customer usage\ndashboard",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-dash",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-e0",
     "type": "arrow",
     "x": 180.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1540910401,
     "version": 1,
     "versionNonce": 1633982922,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-e0-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-srv",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-k",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e0-t",
     "type": "text",
     "x": 211.0,
     "y": 576.0,
     "width": 88,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 991070208,
     "version": 1,
     "versionNonce": 648200382,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "usage event",
     "originalText": "usage event",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-e0",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-e1",
     "type": "arrow",
     "x": 510.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 356416555,
     "version": 1,
     "versionNonce": 756849393,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-k",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-agg",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e2",
     "type": "arrow",
     "x": 840.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 649821630,
     "version": 1,
     "versionNonce": 996247159,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-agg",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-led",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e3",
     "type": "arrow",
     "x": 750.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1002170859,
     "version": 1,
     "versionNonce": 51810463,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-e3-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-agg",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-bal",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e3-t",
     "type": "text",
     "x": 714.0,
     "y": 651.0,
     "width": 72,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2082899072,
     "version": 1,
     "versionNonce": 783156688,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "decrement",
     "originalText": "decrement",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-e3",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-e4",
     "type": "arrow",
     "x": 510.0,
     "y": 736.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1128488134,
     "version": 1,
     "versionNonce": 1210883261,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-e4-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-gw",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-bal",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e4-t",
     "type": "text",
     "x": 525.0,
     "y": 726.0,
     "width": 120,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 17581914,
     "version": 1,
     "versionNonce": 625675343,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "reserve / check",
     "originalText": "reserve / check",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-e4",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-e5",
     "type": "arrow",
     "x": 1170.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1799361520,
     "version": 1,
     "versionNonce": 1585932014,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-e5-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-led",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-inv",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-e5-t",
     "type": "text",
     "x": 1217.0,
     "y": 576.0,
     "width": 56,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1368426742,
     "version": 1,
     "versionNonce": 538981927,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "monthly",
     "originalText": "monthly",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-e5",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q2-token-metering-e6",
     "type": "arrow",
     "x": 1159.2,
     "y": 550.0,
     "width": 171.5999999999999,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 231897702,
     "version": 1,
     "versionNonce": 1961269854,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.5999999999999,
       -78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q2-token-metering-led",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q2-token-metering-dash",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q2-token-metering-notes",
     "type": "rectangle",
     "x": 0,
     "y": 850,
     "width": 420,
     "height": 202,
     "angle": 0,
     "strokeColor": "#e67700",
     "backgroundColor": "#ffec99",
     "fillStyle": "solid",
     "strokeWidth": 1,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1685254564,
     "version": 1,
     "versionNonce": 1709696036,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q2-token-metering-notes-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q2-token-metering-notes-t",
     "type": "text",
     "x": 12,
     "y": 860,
     "width": 396,
     "height": 182,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1713601029,
     "version": 1,
     "versionNonce": 1692732590,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Trade-offs to raise\n\u2022 At-least-once + dedup on request_id = exactly-once effect\n\u2022 Ledger is the truth; counters are a cache\n\u2022 Reserve max_tokens up front, settle after\n\u2022 Streams cut mid-way still bill tokens sent\n\u2022 Price book versioned per model + tier\n\u2022 Reconcile ledger vs GPU logs daily",
     "originalText": "Trade-offs to raise\n\u2022 At-least-once + dedup on request_id = exactly-once effect\n\u2022 Ledger is the truth; counters are a cache\n\u2022 Reserve max_tokens up front, settle after\n\u2022 Streams cut mid-way still bill tokens sent\n\u2022 Price book versioned per model + tier\n\u2022 Reconcile ledger vs GPU logs daily",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": "q2-token-metering-notes",
     "lineHeight": 1.25,
     "autoResize": true
    }
   ]
  },
  {
   "id": "q3-capacity-autoscaling",
   "status": "unpublished",
   "created": 1,
   "name": "Parasail Q3 GPU capacity and autoscaling across own + brokered fleets",
   "elements": [
    {
     "id": "q3-capacity-autoscaling-badge",
     "type": "rectangle",
     "x": 0,
     "y": 0,
     "width": 1500,
     "height": 300,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ffc078",
     "fillStyle": "solid",
     "strokeWidth": 4,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 444688429,
     "version": 1,
     "versionNonce": 2068124765,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-badge-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-badge-t",
     "type": "text",
     "x": 20,
     "y": 25,
     "width": 1460,
     "height": 250,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1719888007,
     "version": 1,
     "versionNonce": 267352361,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q3 Scale",
     "originalText": "Q3 Scale",
     "fontSize": 200,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-badge",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-title",
     "type": "text",
     "x": 0,
     "y": 330,
     "width": 1400,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 818661758,
     "version": 1,
     "versionNonce": 289255806,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q3 GPU capacity and autoscaling across own + brokered fleets",
     "originalText": "Q3 GPU capacity and autoscaling across own + brokered fleets",
     "fontSize": 32,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": null,
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-sig",
     "type": "ellipse",
     "x": 0,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 896631051,
     "version": 1,
     "versionNonce": 1892478002,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-sig-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e0"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-sig-t",
     "type": "text",
     "x": 10,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 697086886,
     "version": 1,
     "versionNonce": 472138490,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Signals\n(queue depth, TTFT p95,\nKV cache use, tokens/s)",
     "originalText": "Signals\n(queue depth, TTFT p95,\nKV cache use, tokens/s)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-sig",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-as",
     "type": "rectangle",
     "x": 330,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1460519318,
     "version": 1,
     "versionNonce": 225810526,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-as-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e0"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e1"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-as-t",
     "type": "text",
     "x": 340,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 439717025,
     "version": 1,
     "versionNonce": 1001929,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Autoscaler\n(per model pool,\ntarget goodput)",
     "originalText": "Autoscaler\n(per model pool,\ntarget goodput)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-as",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-pl",
     "type": "rectangle",
     "x": 660,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 649677952,
     "version": 1,
     "versionNonce": 435786141,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-pl-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e1"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e2"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e3"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e4"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-pl-t",
     "type": "text",
     "x": 670,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1561692720,
     "version": 1,
     "versionNonce": 109525499,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Placement / scheduler\n(fit GPU type + memory,\ncost, region)",
     "originalText": "Placement / scheduler\n(fit GPU type + memory,\ncost, region)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-pl",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-inv",
     "type": "rectangle",
     "x": 660,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 302003102,
     "version": 1,
     "versionNonce": 893149981,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-inv-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e2"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-inv-t",
     "type": "text",
     "x": 670,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1615892811,
     "version": 1,
     "versionNonce": 638019486,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Capacity inventory\n(own nodes, partner\nleases, spot)",
     "originalText": "Capacity inventory\n(own nodes, partner\nleases, spot)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-inv",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-own",
     "type": "rectangle",
     "x": 990,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1083438815,
     "version": 1,
     "versionNonce": 1492026738,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-own-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e3"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-own-t",
     "type": "text",
     "x": 1000,
     "y": 416.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1564070057,
     "version": 1,
     "versionNonce": 2036465043,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Own fleet\n(H100 / B200, k8s)",
     "originalText": "Own fleet\n(H100 / B200, k8s)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-own",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-brk",
     "type": "rectangle",
     "x": 990,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f1f3f5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 527603372,
     "version": 1,
     "versionNonce": 495439556,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-brk-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-brk-t",
     "type": "text",
     "x": 1000,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2096236325,
     "version": 1,
     "versionNonce": 2001409496,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Brokered DCs\n(partner APIs)",
     "originalText": "Brokered DCs\n(partner APIs)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-brk",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-wt",
     "type": "rectangle",
     "x": 990,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 2063281257,
     "version": 1,
     "versionNonce": 2078054028,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-wt-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-wt-t",
     "type": "text",
     "x": 1000,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1339395519,
     "version": 1,
     "versionNonce": 368871839,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Weight cache\n(object store ->\nlocal NVMe)",
     "originalText": "Weight cache\n(object store ->\nlocal NVMe)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-wt",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-rt",
     "type": "rectangle",
     "x": 1320,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 618979931,
     "version": 1,
     "versionNonce": 438892468,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-rt-t"
      },
      {
       "type": "arrow",
       "id": "q3-capacity-autoscaling-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-rt-t",
     "type": "text",
     "x": 1330,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1471609727,
     "version": 1,
     "versionNonce": 1137122203,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Router\n(drain / add replicas)",
     "originalText": "Router\n(drain / add replicas)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-rt",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e0",
     "type": "arrow",
     "x": 180.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 2055665571,
     "version": 1,
     "versionNonce": 693373551,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-sig",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-as",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e1",
     "type": "arrow",
     "x": 510.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 99195380,
     "version": 1,
     "versionNonce": 881391735,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e1-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-as",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-pl",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e1-t",
     "type": "text",
     "x": 525.0,
     "y": 576.0,
     "width": 120,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1553714998,
     "version": 1,
     "versionNonce": 629653100,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "need N replicas",
     "originalText": "need N replicas",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e1",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e2",
     "type": "arrow",
     "x": 750.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 116146606,
     "version": 1,
     "versionNonce": 1280285447,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e2-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-pl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-inv",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e2-t",
     "type": "text",
     "x": 698.0,
     "y": 651.0,
     "width": 104,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 390887331,
     "version": 1,
     "versionNonce": 1121481225,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "find capacity",
     "originalText": "find capacity",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e2",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e3",
     "type": "arrow",
     "x": 829.2,
     "y": 550.0,
     "width": 171.5999999999999,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1574963608,
     "version": 1,
     "versionNonce": 717440071,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e3-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.5999999999999,
       -78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-pl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-own",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e3-t",
     "type": "text",
     "x": 895.0,
     "y": 501.0,
     "width": 40,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1527703408,
     "version": 1,
     "versionNonce": 956887592,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "start",
     "originalText": "start",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e3",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e4",
     "type": "arrow",
     "x": 840.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1415900355,
     "version": 1,
     "versionNonce": 957956675,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e4-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-pl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-brk",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e4-t",
     "type": "text",
     "x": 895.0,
     "y": 576.0,
     "width": 40,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 838145800,
     "version": 1,
     "versionNonce": 1028162214,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "lease",
     "originalText": "lease",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e4",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e5",
     "type": "arrow",
     "x": 1080.0,
     "y": 472.0,
     "width": 0.0,
     "height": 228.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1720926263,
     "version": 1,
     "versionNonce": 973838694,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e5-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       228.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-own",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-wt",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e5-t",
     "type": "text",
     "x": 1032.0,
     "y": 576.0,
     "width": 96,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 858641202,
     "version": 1,
     "versionNonce": 2116481899,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "load weights",
     "originalText": "load weights",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e5",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-e6",
     "type": "arrow",
     "x": 840.0,
     "y": 586.0,
     "width": 480.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1527129487,
     "version": 1,
     "versionNonce": 124468791,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-e6-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       480.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q3-capacity-autoscaling-pl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q3-capacity-autoscaling-rt",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q3-capacity-autoscaling-e6-t",
     "type": "text",
     "x": 1048.0,
     "y": 576.0,
     "width": 64,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 119988829,
     "version": 1,
     "versionNonce": 1200093500,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "register",
     "originalText": "register",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-e6",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q3-capacity-autoscaling-notes",
     "type": "rectangle",
     "x": 0,
     "y": 850,
     "width": 420,
     "height": 202,
     "angle": 0,
     "strokeColor": "#e67700",
     "backgroundColor": "#ffec99",
     "fillStyle": "solid",
     "strokeWidth": 1,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2028255630,
     "version": 1,
     "versionNonce": 1113145427,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q3-capacity-autoscaling-notes-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q3-capacity-autoscaling-notes-t",
     "type": "text",
     "x": 12,
     "y": 860,
     "width": 396,
     "height": 182,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 831698693,
     "version": 1,
     "versionNonce": 1478675320,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Trade-offs to raise\n\u2022 Cold start = weight load: minutes for 70B+\n\u2022 Keep warm floor for popular models\n\u2022 Scale on queue/KV pressure, not CPU\n\u2022 Bin-pack small models; tensor-parallel big ones\n\u2022 Spot / partner capacity can vanish: drain + retry\n\u2022 Cost per million tokens is the target metric",
     "originalText": "Trade-offs to raise\n\u2022 Cold start = weight load: minutes for 70B+\n\u2022 Keep warm floor for popular models\n\u2022 Scale on queue/KV pressure, not CPU\n\u2022 Bin-pack small models; tensor-parallel big ones\n\u2022 Spot / partner capacity can vanish: drain + retry\n\u2022 Cost per million tokens is the target metric",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": "q3-capacity-autoscaling-notes",
     "lineHeight": 1.25,
     "autoResize": true
    }
   ]
  },
  {
   "id": "q4-batch-inference",
   "status": "unpublished",
   "created": 1,
   "name": "Parasail Q4 Batch inference tier: cheap, 24-hour SLA, fills idle GPUs",
   "elements": [
    {
     "id": "q4-batch-inference-badge",
     "type": "rectangle",
     "x": 0,
     "y": 0,
     "width": 1500,
     "height": 300,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ffc078",
     "fillStyle": "solid",
     "strokeWidth": 4,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1920828234,
     "version": 1,
     "versionNonce": 1501175504,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-badge-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-badge-t",
     "type": "text",
     "x": 20,
     "y": 25,
     "width": 1460,
     "height": 250,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1566099206,
     "version": 1,
     "versionNonce": 345908636,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q4 Batch",
     "originalText": "Q4 Batch",
     "fontSize": 200,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-badge",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-title",
     "type": "text",
     "x": 0,
     "y": 330,
     "width": 1400,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 946878465,
     "version": 1,
     "versionNonce": 438761610,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q4 Batch inference tier: cheap, 24-hour SLA, fills idle GPUs",
     "originalText": "Q4 Batch inference tier: cheap, 24-hour SLA, fills idle GPUs",
     "fontSize": 32,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": null,
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-cl",
     "type": "ellipse",
     "x": 0,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 974295421,
     "version": 1,
     "versionNonce": 2018978167,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-cl-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e0"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-cl-t",
     "type": "text",
     "x": 10,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 844846558,
     "version": 1,
     "versionNonce": 1450571438,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Client\n(upload JSONL,\ncreate batch)",
     "originalText": "Client\n(upload JSONL,\ncreate batch)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-cl",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-api",
     "type": "rectangle",
     "x": 330,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 877776916,
     "version": 1,
     "versionNonce": 2072980150,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-api-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e0"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e1"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e2"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-api-t",
     "type": "text",
     "x": 340,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 8196149,
     "version": 1,
     "versionNonce": 2059322682,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Batch API\n(validate, split,\nstatus)",
     "originalText": "Batch API\n(validate, split,\nstatus)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-api",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-obj",
     "type": "rectangle",
     "x": 330,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1477498383,
     "version": 1,
     "versionNonce": 364120812,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-obj-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e1"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-obj-t",
     "type": "text",
     "x": 340,
     "y": 716.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 514982154,
     "version": 1,
     "versionNonce": 1668748296,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Object store\n(input + output files)",
     "originalText": "Object store\n(input + output files)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-obj",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-db",
     "type": "rectangle",
     "x": 660,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 856070306,
     "version": 1,
     "versionNonce": 2053134994,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-db-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e2"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e3"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-db-t",
     "type": "text",
     "x": 670,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 766744960,
     "version": 1,
     "versionNonce": 1863693998,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Job DB\n(batch, shard,\nrow state)",
     "originalText": "Job DB\n(batch, shard,\nrow state)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-db",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-sch",
     "type": "rectangle",
     "x": 660,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e6fcf5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1428150522,
     "version": 1,
     "versionNonce": 372587780,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-sch-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e3"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-sch-t",
     "type": "text",
     "x": 670,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1700113407,
     "version": 1,
     "versionNonce": 1989259376,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Batch scheduler\n(deadline + idle\ncapacity aware)",
     "originalText": "Batch scheduler\n(deadline + idle\ncapacity aware)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-sch",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-wk",
     "type": "rectangle",
     "x": 990,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1723943247,
     "version": 1,
     "versionNonce": 364725392,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-wk-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e4"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e5"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e6"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e7"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-wk-t",
     "type": "text",
     "x": 1000,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 682281554,
     "version": 1,
     "versionNonce": 730160160,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Workers on spare GPUs\n(large batches,\npreemptible)",
     "originalText": "Workers on spare GPUs\n(large batches,\npreemptible)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-wk",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-rt",
     "type": "rectangle",
     "x": 990,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f1f3f5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 545625653,
     "version": 1,
     "versionNonce": 118321418,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-rt-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-rt-t",
     "type": "text",
     "x": 1000,
     "y": 416.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 649187325,
     "version": 1,
     "versionNonce": 1998679711,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Online pools\n(priority stays online)",
     "originalText": "Online pools\n(priority stays online)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-rt",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-out",
     "type": "ellipse",
     "x": 1320,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 627813882,
     "version": 1,
     "versionNonce": 2037347502,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-out-t"
      },
      {
       "type": "arrow",
       "id": "q4-batch-inference-e7"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-out-t",
     "type": "text",
     "x": 1330,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1504988819,
     "version": 1,
     "versionNonce": 669638768,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Results + usage\n(file per batch)",
     "originalText": "Results + usage\n(file per batch)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-out",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e0",
     "type": "arrow",
     "x": 180.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 562571391,
     "version": 1,
     "versionNonce": 91898035,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-cl",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-api",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e1",
     "type": "arrow",
     "x": 420.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 61172930,
     "version": 1,
     "versionNonce": 441402618,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e1-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-api",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-obj",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e1-t",
     "type": "text",
     "x": 376.0,
     "y": 651.0,
     "width": 88,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 598077321,
     "version": 1,
     "versionNonce": 1863197322,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "store input",
     "originalText": "store input",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e1",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e2",
     "type": "arrow",
     "x": 499.2,
     "y": 622.0,
     "width": 171.59999999999997,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 836682997,
     "version": 1,
     "versionNonce": 906419965,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e2-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.59999999999997,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-api",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-db",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e2-t",
     "type": "text",
     "x": 561.0,
     "y": 651.0,
     "width": 48,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 120232147,
     "version": 1,
     "versionNonce": 1081622283,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "shards",
     "originalText": "shards",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e2",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e3",
     "type": "arrow",
     "x": 750.0,
     "y": 622.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 913882254,
     "version": 1,
     "versionNonce": 1258282194,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e3-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-sch",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-db",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e3-t",
     "type": "text",
     "x": 706.0,
     "y": 651.0,
     "width": 88,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1033108813,
     "version": 1,
     "versionNonce": 1400113411,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "lease shard",
     "originalText": "lease shard",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e3",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e4",
     "type": "arrow",
     "x": 840.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1113963314,
     "version": 1,
     "versionNonce": 1799645191,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e4-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-sch",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-wk",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e4-t",
     "type": "text",
     "x": 883.0,
     "y": 576.0,
     "width": 64,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 562957180,
     "version": 1,
     "versionNonce": 261582917,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "dispatch",
     "originalText": "dispatch",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e4",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e5",
     "type": "arrow",
     "x": 990.0,
     "y": 606.4545454545455,
     "width": 480.0,
     "height": 109.09090909090901,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1519490801,
     "version": 1,
     "versionNonce": 1967786446,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e5-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       -480.0,
       109.09090909090901
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-wk",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-obj",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e5-t",
     "type": "text",
     "x": 702.0,
     "y": 651.0,
     "width": 96,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1806584668,
     "version": 1,
     "versionNonce": 561623934,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "write output",
     "originalText": "write output",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e5",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e6",
     "type": "arrow",
     "x": 1080.0,
     "y": 472.0,
     "width": 0.0,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 652132316,
     "version": 1,
     "versionNonce": 80336782,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-e6-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       0.0,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-wk",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-e6-t",
     "type": "text",
     "x": 1020.0,
     "y": 501.0,
     "width": 120,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1890322093,
     "version": 1,
     "versionNonce": 786442398,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "lends idle GPUs",
     "originalText": "lends idle GPUs",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-e6",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q4-batch-inference-e7",
     "type": "arrow",
     "x": 1170.0,
     "y": 586.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 16889874,
     "version": 1,
     "versionNonce": 643396776,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q4-batch-inference-wk",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q4-batch-inference-out",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q4-batch-inference-notes",
     "type": "rectangle",
     "x": 0,
     "y": 850,
     "width": 420,
     "height": 202,
     "angle": 0,
     "strokeColor": "#e67700",
     "backgroundColor": "#ffec99",
     "fillStyle": "solid",
     "strokeWidth": 1,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 740223520,
     "version": 1,
     "versionNonce": 607991153,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q4-batch-inference-notes-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q4-batch-inference-notes-t",
     "type": "text",
     "x": 12,
     "y": 860,
     "width": 396,
     "height": 182,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2033636663,
     "version": 1,
     "versionNonce": 516841822,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Trade-offs to raise\n\u2022 Checkpoint per shard so preemption loses little\n\u2022 Online traffic always wins the GPU\n\u2022 Deadline scheduling: escalate shards near 24 h\n\u2022 Sort by model, then by prompt prefix\n\u2022 Idempotent rows: custom_id per line\n\u2022 Discount works because utilisation goes up",
     "originalText": "Trade-offs to raise\n\u2022 Checkpoint per shard so preemption loses little\n\u2022 Online traffic always wins the GPU\n\u2022 Deadline scheduling: escalate shards near 24 h\n\u2022 Sort by model, then by prompt prefix\n\u2022 Idempotent rows: custom_id per line\n\u2022 Discount works because utilisation goes up",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": "q4-batch-inference-notes",
     "lineHeight": 1.25,
     "autoResize": true
    }
   ]
  },
  {
   "id": "q5-serving-internals",
   "status": "unpublished",
   "created": 1,
   "name": "Parasail Q5 Inside the serving stack: batching, KV cache, prefix routing, prefill/decode split",
   "elements": [
    {
     "id": "q5-serving-internals-badge",
     "type": "rectangle",
     "x": 0,
     "y": 0,
     "width": 1500,
     "height": 300,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ffc078",
     "fillStyle": "solid",
     "strokeWidth": 4,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 265236939,
     "version": 1,
     "versionNonce": 1400082662,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-badge-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-badge-t",
     "type": "text",
     "x": 20,
     "y": 25,
     "width": 1460,
     "height": 250,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 2072265938,
     "version": 1,
     "versionNonce": 455736474,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q5 Serve",
     "originalText": "Q5 Serve",
     "fontSize": 200,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-badge",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-title",
     "type": "text",
     "x": 0,
     "y": 330,
     "width": 1400,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 244051093,
     "version": 1,
     "versionNonce": 1067275002,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Q5 Inside the serving stack: batching, KV cache, prefix routing, prefill/decode split",
     "originalText": "Q5 Inside the serving stack: batching, KV cache, prefix routing, prefill/decode split",
     "fontSize": 32,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": null,
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-rt",
     "type": "rectangle",
     "x": 0,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff4e6",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 821653593,
     "version": 1,
     "versionNonce": 1189349777,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-rt-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e0"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e4"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-rt-t",
     "type": "text",
     "x": 10,
     "y": 556.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 181242850,
     "version": 1,
     "versionNonce": 419812754,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Cache-aware router\n(hash of prompt prefix\n-> replica)",
     "originalText": "Cache-aware router\n(hash of prompt prefix\n-> replica)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-rt",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-pf",
     "type": "rectangle",
     "x": 330,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1942080813,
     "version": 1,
     "versionNonce": 119682499,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-pf-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e0"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e1"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-pf-t",
     "type": "text",
     "x": 340,
     "y": 406.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 272167094,
     "version": 1,
     "versionNonce": 1903737355,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Prefill workers\n(compute bound,\nbig GPUs)",
     "originalText": "Prefill workers\n(compute bound,\nbig GPUs)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-pf",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-kv",
     "type": "rectangle",
     "x": 660,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#fff9db",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1398499908,
     "version": 1,
     "versionNonce": 856430244,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-kv-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e1"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e2"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-kv-t",
     "type": "text",
     "x": 670,
     "y": 416.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1190502837,
     "version": 1,
     "versionNonce": 1942810372,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "KV cache transfer\n(RDMA / NVLink)",
     "originalText": "KV cache transfer\n(RDMA / NVLink)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-kv",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-dc",
     "type": "rectangle",
     "x": 990,
     "y": 400,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 2053150340,
     "version": 1,
     "versionNonce": 1063673567,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-dc-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e2"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e3"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-dc-t",
     "type": "text",
     "x": 1000,
     "y": 406.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1114940396,
     "version": 1,
     "versionNonce": 870111104,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Decode workers\n(memory-bandwidth bound,\ne.g. d-Matrix / GPUs)",
     "originalText": "Decode workers\n(memory-bandwidth bound,\ne.g. d-Matrix / GPUs)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-dc",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-eng",
     "type": "rectangle",
     "x": 330,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e6fcf5",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1922119102,
     "version": 1,
     "versionNonce": 588987925,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-eng-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e4"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e5"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-eng-t",
     "type": "text",
     "x": 340,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1789442529,
     "version": 1,
     "versionNonce": 522362321,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Engine loop\n(continuous batching,\npaged KV blocks)",
     "originalText": "Engine loop\n(continuous batching,\npaged KV blocks)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-eng",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-pc",
     "type": "rectangle",
     "x": 660,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#f3f0ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1685192165,
     "version": 1,
     "versionNonce": 1898882740,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-pc-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e5"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-pc-t",
     "type": "text",
     "x": 670,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1357122901,
     "version": 1,
     "versionNonce": 311583110,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Prefix cache\n(shared system prompts,\nLRU evict)",
     "originalText": "Prefix cache\n(shared system prompts,\nLRU evict)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-pc",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-sd",
     "type": "rectangle",
     "x": 990,
     "y": 700,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#ebfbee",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 3
     },
     "seed": 1033535610,
     "version": 1,
     "versionNonce": 1839700616,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-sd-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e6"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-sd-t",
     "type": "text",
     "x": 1000,
     "y": 706.0,
     "width": 160,
     "height": 60,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 314051310,
     "version": 1,
     "versionNonce": 913495727,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Speculative decoding\n(draft model proposes,\ntarget verifies)",
     "originalText": "Speculative decoding\n(draft model proposes,\ntarget verifies)",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-sd",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-cl",
     "type": "ellipse",
     "x": 1320,
     "y": 550,
     "width": 180,
     "height": 72,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "#e7f5ff",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1300430509,
     "version": 1,
     "versionNonce": 525488742,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-cl-t"
      },
      {
       "type": "arrow",
       "id": "q5-serving-internals-e3"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-cl-t",
     "type": "text",
     "x": 1330,
     "y": 566.0,
     "width": 160,
     "height": 40,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 663343194,
     "version": 1,
     "versionNonce": 1572745252,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Streamed tokens\nto client",
     "originalText": "Streamed tokens\nto client",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-cl",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-e0",
     "type": "arrow",
     "x": 169.2,
     "y": 550.0,
     "width": 171.60000000000002,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 614090117,
     "version": 1,
     "versionNonce": 1087089873,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-e0-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.60000000000002,
       -78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-pf",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e0-t",
     "type": "text",
     "x": 215.0,
     "y": 501.0,
     "width": 80,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 589504031,
     "version": 1,
     "versionNonce": 2008910112,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "new prompt",
     "originalText": "new prompt",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-e0",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-e1",
     "type": "arrow",
     "x": 510.0,
     "y": 436.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 943122534,
     "version": 1,
     "versionNonce": 404265717,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-pf",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-kv",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e2",
     "type": "arrow",
     "x": 840.0,
     "y": 436.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1710500231,
     "version": 1,
     "versionNonce": 2092769115,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-kv",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-dc",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e3",
     "type": "arrow",
     "x": 1159.2,
     "y": 472.0,
     "width": 171.5999999999999,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 699199910,
     "version": 1,
     "versionNonce": 960836460,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-e3-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.5999999999999,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-dc",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-cl",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e3-t",
     "type": "text",
     "x": 1221.0,
     "y": 501.0,
     "width": 48,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 693491441,
     "version": 1,
     "versionNonce": 1853372069,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "tokens",
     "originalText": "tokens",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-e3",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-e4",
     "type": "arrow",
     "x": 169.2,
     "y": 622.0,
     "width": 171.60000000000002,
     "height": 78.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1734349672,
     "version": 1,
     "versionNonce": 1456492750,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-e4-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       171.60000000000002,
       78.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-rt",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-eng",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e4-t",
     "type": "text",
     "x": 199.0,
     "y": 651.0,
     "width": 112,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1809368695,
     "version": 1,
     "versionNonce": 840716951,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "colocated mode",
     "originalText": "colocated mode",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-e4",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-e5",
     "type": "arrow",
     "x": 510.0,
     "y": 736.0,
     "width": 150.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 1531648886,
     "version": 1,
     "versionNonce": 1368056915,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-e5-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       150.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-eng",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-pc",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-e5-t",
     "type": "text",
     "x": 537.0,
     "y": 726.0,
     "width": 96,
     "height": 20,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 395970335,
     "version": 1,
     "versionNonce": 1571754094,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "reuse blocks",
     "originalText": "reuse blocks",
     "fontSize": 14,
     "fontFamily": 5,
     "textAlign": "center",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-e5",
     "lineHeight": 1.25,
     "autoResize": true
    },
    {
     "id": "q5-serving-internals-e6",
     "type": "arrow",
     "x": 510.0,
     "y": 736.0,
     "width": 480.0,
     "height": 0.0,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "dashed",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": {
      "type": 2
     },
     "seed": 83678550,
     "version": 1,
     "versionNonce": 1451611685,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "points": [
      [
       0,
       0
      ],
      [
       480.0,
       0.0
      ]
     ],
     "lastCommittedPoint": null,
     "startBinding": {
      "elementId": "q5-serving-internals-eng",
      "focus": 0,
      "gap": 4
     },
     "endBinding": {
      "elementId": "q5-serving-internals-sd",
      "focus": 0,
      "gap": 4
     },
     "startArrowhead": null,
     "endArrowhead": "arrow",
     "elbowed": false
    },
    {
     "id": "q5-serving-internals-notes",
     "type": "rectangle",
     "x": 0,
     "y": 850,
     "width": 420,
     "height": 202,
     "angle": 0,
     "strokeColor": "#e67700",
     "backgroundColor": "#ffec99",
     "fillStyle": "solid",
     "strokeWidth": 1,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 1969975946,
     "version": 1,
     "versionNonce": 1891753122,
     "isDeleted": false,
     "boundElements": [
      {
       "type": "text",
       "id": "q5-serving-internals-notes-t"
      }
     ],
     "updated": 1,
     "link": null,
     "locked": false
    },
    {
     "id": "q5-serving-internals-notes-t",
     "type": "text",
     "x": 12,
     "y": 860,
     "width": 396,
     "height": 182,
     "angle": 0,
     "strokeColor": "#1e1e1e",
     "backgroundColor": "transparent",
     "fillStyle": "solid",
     "strokeWidth": 2,
     "strokeStyle": "solid",
     "roughness": 1,
     "opacity": 100,
     "groupIds": [],
     "frameId": null,
     "roundness": null,
     "seed": 77661512,
     "version": 1,
     "versionNonce": 1650747323,
     "isDeleted": false,
     "boundElements": [],
     "updated": 1,
     "link": null,
     "locked": false,
     "text": "Trade-offs to raise\n\u2022 TTFT ~ prefill; TPOT ~ decode\n\u2022 KV per token ~320 KB (70B fp16, GQA)\n\u2022 Batch more = higher throughput, worse latency\n\u2022 Prefix reuse cuts TTFT and cost\n\u2022 Disaggregate when prompts are long\n\u2022 Preempt / swap sequences when KV fills",
     "originalText": "Trade-offs to raise\n\u2022 TTFT ~ prefill; TPOT ~ decode\n\u2022 KV per token ~320 KB (70B fp16, GQA)\n\u2022 Batch more = higher throughput, worse latency\n\u2022 Prefix reuse cuts TTFT and cost\n\u2022 Disaggregate when prompts are long\n\u2022 Preempt / swap sequences when KV fills",
     "fontSize": 16,
     "fontFamily": 5,
     "textAlign": "left",
     "verticalAlign": "middle",
     "containerId": "q5-serving-internals-notes",
     "lineHeight": 1.25,
     "autoResize": true
    }
   ]
  }
 ]
}