{
  "about": "Worked examples of providers.dev's \"Reading the data as a client\" (https://providers.dev/docs/api/#reading): the five steps a client takes over the readings. Each example is a route, a request's facts (situation) and the values a client must give for them, over the dataset below, as the reads give it: meta (the envelope of an answer), readings (the data of /api/v1/readings/{provider}, one item per provider) and pi_providers (/api/v1/pi-providers, cut to the keys step 1 reads). The dataset is fictional except for google/gemini-3.8-flash, cut from providers.dev's answers of 1 December 2026, and openai-codex/gpt-6.2-astra and claude-subscription/claude-opus-5-5, cut from its answers of 2 December 2026; the readings carry every key. Every client, in every language, copies this file into its tests and gives exactly these values: it fails on an example of a step it implements and cannot run. version is the version of the five steps; api is the API version whose readings it holds. Against version 3 (API 1.27.2 to 1.27.3), version 4 (API 1.28.0 to 1.29.0) adds the effort: every reading carries effort_updates, default_effort and effort_by_api (the effort values of the request formats an entry states apart), every situation the request format (api, null where the client does not know it) and every example's values effort_updates and default_effort; four examples are added, effort-the-format-has-its-own, effort-a-format-with-no-item, r8-effort-the-one-they-all-state and r8-effort-one-states-none; every value version 3 gave is the same. The effort values of the readings of google/gemini-3.8-flash, openai-codex/gpt-6.2-astra and claude-subscription/claude-opus-5-5 are those providers.dev publishes on 3 December 2026; the others are fictional. Against version 2 (API 1.25.1 to 1.27.1, over the readings), version 3 (API 1.27.2) reads the kinds of input and the reasoning levels item by item in step 5, where several readings count: one value changes, the kinds of r8-a-name-on-two-accounts, text where version 2 gave unknown; nine examples are added, r8-kinds-item-by-item, r8-levels-item-by-item, r8-a-list-not-stated, r8-no-item-in-common, r8-same-items-other-order, r8-empty-beside-not-stated, r8-only-none-in-common, r8-same-ref-twice-in-one-account and r8-order-of-pi-providers; every other example of version 2 keeps its values. Version 2 had the examples of version 1 (until API 1.25.1, over the summaries and the listings by the rules R1 to R8) with the same values, and one more, step3-before-the-first-period. Against version 1, version 3 therefore gives the same values under every id but the kinds of r8-a-name-on-two-accounts. The items of a list come out in the order of the first reading in step 1's order, and the order of the kinds carries no meaning.",
  "version": 4,
  "api": "1.29.0",
  "shapes": {
    "situation": "input_tokens: the request's input, cached tokens included. lifetime: the value of lifetimes the client's request carries, null for none. service_tier: the tier the request names, null for none. at: the instant of the request. api: the request format, as the key of an entry's api (responses, messages, chat-completions), null where it is not known: the item of effort_by_api for it gives the effort values, else the reading's own (since version 4).",
    "route": "pi_key, pi_login: Pi's provider and model, with an API key or a subscription login. provimux: a gateway's model and its accounts in the order they are tried, each with the entries its answers named, the entry it expects, and what the gateway adds to a request: {} for nothing, null where it cannot say (the lifetime value is then unknown, step 4).",
    "steps": "The steps of the guide an example shows: 1 which reading, 2 which price row, 3 which period holds the instant, 4 which lifetime value, 5 several readings.",
    "values": "null = unknown. entries: the refs of the readings that count. price: US dollars per million tokens, the row of step 2 in the period of step 3, with the write of the lifetime of step 4; on a subscription entry with billing reference the rows hold the API list price of price_from, which names it. lifetime_s: seconds to rely on for the lifetime asked: through's item of the reader's client, else rely_on_s; the reader's client is agent+cliproxyapi on a provimux route and none on Pi's own. long_retention: the value of the item whose profile is long and that a request asks for on every endpoint. from_listing: the limits whose from is listing. effort_updates, default_effort: whether the effort may change mid-conversation and the effort a request that names none gets, for the request format; several readings: the one they all state, unknown where two differ or one states none (since version 4)."
  },
  "dataset": {
    "meta": {
      "dataset_version": "example000000002",
      "generated_at": "2026-12-01T06:00:00.000Z"
    },
    "readings": [
      {
        "provider": "acme",
        "readings": [
          {
            "ref": "acme/acme-large",
            "provider": "acme",
            "model": "acme-large",
            "entry": true,
            "name": "Acme Large",
            "names": [
              "acme-large"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-large"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-large"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 400000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "low",
              "medium",
              "high"
            ],
            "input_kinds": [
              "text",
              "image"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": []
              },
              {
                "value": "5m",
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "5m"
                      }
                    ]
                  }
                ]
              },
              {
                "value": "1h",
                "retention_s": 3600,
                "profile": "long",
                "rely_on_s": 3600,
                "through": [],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "1h"
                      }
                    ]
                  }
                ]
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-02-01T00:00:00.000Z",
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      },
                      {
                        "lifetime": "5m",
                        "price": 2.5
                      },
                      {
                        "lifetime": "1h",
                        "price": 4
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-02-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 3,
                    "output": 12,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 3.75
                      },
                      {
                        "lifetime": "5m",
                        "price": 3.75
                      },
                      {
                        "lifetime": "1h",
                        "price": 6
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-small",
            "provider": "acme",
            "model": "acme-small",
            "entry": true,
            "name": "Acme Small",
            "names": [
              "acme-small"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-small"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-small"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 120000,
              "from": "listing",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 32000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [],
            "input_kinds": [
              "text"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 0.5,
                    "output": 2,
                    "cache_read": 0.05,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 0.6
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-mini",
            "provider": "acme",
            "model": "acme-mini",
            "entry": true,
            "name": "Acme Mini",
            "names": [
              "acme-mini"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-mini"
              },
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "mini"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-mini"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "mini"
              }
            ],
            "access": "api",
            "billing": "unknown",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 100000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 8000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": null,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 1,
                    "output": 4,
                    "cache_read": null,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-fast",
            "provider": "acme",
            "model": "acme-fast",
            "entry": true,
            "name": "Acme Fast",
            "names": [
              "acme-fast"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-fast"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-fast"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 200000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 32000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": [
              "priority"
            ],
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 100000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 3,
                    "output": 15,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 3.75
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 20,
                    "cache_read": 0.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-vision",
            "provider": "acme",
            "model": "acme-vision",
            "entry": true,
            "name": "Acme Vision",
            "names": [
              "acme-vision"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-vision"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-vision"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 400000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "none",
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "input_kinds": [
              "text",
              "image",
              "pdf"
            ],
            "service_tiers": null,
            "effort_updates": false,
            "default_effort": "medium",
            "effort_by_api": [
              {
                "api": "responses",
                "effort_updates": true,
                "default_effort": "medium"
              }
            ],
            "lifetimes": [
              {
                "value": null,
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": []
              },
              {
                "value": "5m",
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "5m"
                      }
                    ]
                  }
                ]
              },
              {
                "value": "1h",
                "retention_s": 3600,
                "profile": "long",
                "rely_on_s": 3600,
                "through": [],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "1h"
                      }
                    ]
                  }
                ]
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-02-01T00:00:00.000Z",
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      },
                      {
                        "lifetime": "5m",
                        "price": 2.5
                      },
                      {
                        "lifetime": "1h",
                        "price": 4
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-02-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 3,
                    "output": 12,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 3.75
                      },
                      {
                        "lifetime": "5m",
                        "price": 3.75
                      },
                      {
                        "lifetime": "1h",
                        "price": 6
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-echo",
            "provider": "acme",
            "model": "acme-echo",
            "entry": true,
            "name": "Acme Echo",
            "names": [
              "acme-echo"
            ],
            "pi": [],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 120000,
              "from": "listing",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 32000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [],
            "input_kinds": [
              "audio"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 0.5,
                    "output": 2,
                    "cache_read": 0.05,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 0.6
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-sight",
            "provider": "acme",
            "model": "acme-sight",
            "entry": true,
            "name": "Acme Sight",
            "names": [
              "acme-sight"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "api_key",
                "model": "acme-sight"
              },
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-sight"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 400000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "high",
              "low",
              "medium"
            ],
            "input_kinds": [
              "image",
              "text"
            ],
            "service_tiers": null,
            "effort_updates": true,
            "default_effort": "high",
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": []
              },
              {
                "value": "5m",
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "5m"
                      }
                    ]
                  }
                ]
              },
              {
                "value": "1h",
                "retention_s": 3600,
                "profile": "long",
                "rely_on_s": 3600,
                "through": [],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "1h"
                      }
                    ]
                  }
                ]
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-02-01T00:00:00.000Z",
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      },
                      {
                        "lifetime": "5m",
                        "price": 2.5
                      },
                      {
                        "lifetime": "1h",
                        "price": 4
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-02-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 3,
                    "output": 12,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 3.75
                      },
                      {
                        "lifetime": "5m",
                        "price": 3.75
                      },
                      {
                        "lifetime": "1h",
                        "price": 6
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme/acme-off",
            "provider": "acme",
            "model": "acme-off",
            "entry": true,
            "name": "Acme Off",
            "names": [
              "acme-off"
            ],
            "pi": [],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 400000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "none",
              "minimal"
            ],
            "input_kinds": [
              "text"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": []
              },
              {
                "value": "5m",
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 240
                  }
                ],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "5m"
                      }
                    ]
                  }
                ]
              },
              {
                "value": "1h",
                "retention_s": 3600,
                "profile": "long",
                "rely_on_s": 3600,
                "through": [],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache/ttl",
                        "scope": "request",
                        "value": "1h"
                      }
                    ]
                  }
                ]
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-02-01T00:00:00.000Z",
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      },
                      {
                        "lifetime": "5m",
                        "price": 2.5
                      },
                      {
                        "lifetime": "1h",
                        "price": 4
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-02-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 3,
                    "output": 12,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 3.75
                      },
                      {
                        "lifetime": "5m",
                        "price": 3.75
                      },
                      {
                        "lifetime": "1h",
                        "price": 6
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.3,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "provider": "acme-plan",
        "readings": [
          {
            "ref": "acme-plan/acme-large",
            "provider": "acme-plan",
            "model": "acme-large",
            "entry": true,
            "name": "Acme Large",
            "names": [
              "acme-large"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-large"
              }
            ],
            "access": "subscription",
            "billing": "reference",
            "price_from": "acme/acme-large",
            "price_conditions": [],
            "window": {
              "value": 200000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "low",
              "medium",
              "high"
            ],
            "input_kinds": [
              "text",
              "image"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme-plan/acme-pro",
            "provider": "acme-plan",
            "model": "acme-pro",
            "entry": true,
            "name": "Acme Pro",
            "names": [
              "acme-pro"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-pro"
              }
            ],
            "access": "subscription",
            "billing": "reference",
            "price_from": "acme/acme-pro",
            "price_conditions": [],
            "window": {
              "value": 300000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 32000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 5,
                    "output": 25,
                    "cache_read": 0.5,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 6.25
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme-plan/acme-old",
            "provider": "acme-plan",
            "model": "acme-old",
            "entry": true,
            "name": "Acme Old",
            "names": [
              "acme-old"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-old"
              }
            ],
            "access": "subscription",
            "billing": "not_applicable",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 100000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 16000,
              "from": "listing",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": [
              "text"
            ],
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": []
          },
          {
            "ref": "acme-plan/acme-vision",
            "provider": "acme-plan",
            "model": "acme-vision",
            "entry": true,
            "name": "Acme Vision",
            "names": [
              "acme-vision"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-vision"
              }
            ],
            "access": "subscription",
            "billing": "reference",
            "price_from": "acme/acme-vision",
            "price_conditions": [],
            "window": {
              "value": 200000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "input_kinds": [
              "text",
              "image"
            ],
            "service_tiers": null,
            "effort_updates": true,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "ref": "acme-plan/acme-sight",
            "provider": "acme-plan",
            "model": "acme-sight",
            "entry": true,
            "name": "Acme Sight",
            "names": [
              "acme-sight"
            ],
            "pi": [
              {
                "provider": "acme",
                "sign_in": "login",
                "model": "acme-sight"
              }
            ],
            "access": "subscription",
            "billing": "reference",
            "price_from": "acme/acme-sight",
            "price_conditions": [],
            "window": {
              "value": 200000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 64000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": [
              "low",
              "medium",
              "high"
            ],
            "input_kinds": [
              "text",
              "image"
            ],
            "service_tiers": null,
            "effort_updates": true,
            "default_effort": "high",
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 200000,
                    "input": 2,
                    "output": 10,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 2.5
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 15,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "provider": "google",
        "readings": [
          {
            "ref": "google/gemini-3.8-flash",
            "provider": "google",
            "model": "gemini-3.8-flash",
            "entry": true,
            "name": "Gemini 3.8 Flash",
            "names": [
              "gemini-3.8-flash"
            ],
            "pi": [
              {
                "provider": "google",
                "sign_in": "api_key",
                "model": "gemini-3.8-flash"
              }
            ],
            "access": "api",
            "billing": "per_use",
            "price_from": null,
            "price_conditions": [],
            "window": {
              "value": 1048576,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 65536,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": [
              "flex",
              "priority"
            ],
            "effort_updates": false,
            "default_effort": "medium",
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": null,
                "through": [],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-01-01T00:00:00.000Z",
                "introductory": true,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 0.75,
                    "output": 3.75,
                    "cache_read": null,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": null,
                    "input": null,
                    "output": null,
                    "cache_read": null,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  },
                  {
                    "service_tier": "flex",
                    "input_tokens_up_to": null,
                    "input": null,
                    "output": null,
                    "cache_read": null,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-01-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 1.5,
                    "output": 7.5,
                    "cache_read": 0.15,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": null,
                    "input": 2.7,
                    "output": 13.5,
                    "cache_read": 0.27,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  },
                  {
                    "service_tier": "flex",
                    "input_tokens_up_to": null,
                    "input": 0.75,
                    "output": 3.75,
                    "cache_read": 0.075,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": null
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "provider": "openai-codex",
        "readings": [
          {
            "ref": "openai-codex/gpt-6.2-astra",
            "provider": "openai-codex",
            "model": "gpt-6.2-astra",
            "entry": true,
            "name": "GPT-6.2 Astra",
            "names": [
              "gpt-6.2-astra"
            ],
            "pi": [],
            "access": "subscription",
            "billing": "reference",
            "price_from": "openai/gpt-6.2-astra",
            "price_conditions": [],
            "window": {
              "value": 922000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 128000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": [
              "priority",
              "ultrafast"
            ],
            "effort_updates": true,
            "default_effort": null,
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": null,
                "profile": "short",
                "rely_on_s": 1200,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 0
                  },
                  {
                    "client": "cliproxyapi",
                    "rely_on_s": 0
                  }
                ],
                "ask": []
              }
            ],
            "prices": [
              {
                "from": null,
                "until": "2027-03-01T00:00:00.000Z",
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 272000,
                    "input": 8,
                    "output": 40,
                    "cache_read": 0.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 10
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 16,
                    "output": 60,
                    "cache_read": 0.8,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 20
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": 272000,
                    "input": 16,
                    "output": 80,
                    "cache_read": 0.8,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 20
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": null,
                    "input": 32,
                    "output": 120,
                    "cache_read": 1.6,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 40
                      }
                    ]
                  },
                  {
                    "service_tier": "ultrafast",
                    "input_tokens_up_to": 272000,
                    "input": 24,
                    "output": 120,
                    "cache_read": 1.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 30
                      }
                    ]
                  },
                  {
                    "service_tier": "ultrafast",
                    "input_tokens_up_to": null,
                    "input": 48,
                    "output": 180,
                    "cache_read": 2.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 60
                      }
                    ]
                  }
                ]
              },
              {
                "from": "2027-03-01T00:00:00.000Z",
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": 272000,
                    "input": 8,
                    "output": 40,
                    "cache_read": 0.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 10
                      }
                    ]
                  },
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 16,
                    "output": 60,
                    "cache_read": 0.8,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 20
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": 272000,
                    "input": 16,
                    "output": 80,
                    "cache_read": 0.8,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 20
                      }
                    ]
                  },
                  {
                    "service_tier": "priority",
                    "input_tokens_up_to": null,
                    "input": 32,
                    "output": 120,
                    "cache_read": 1.6,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 40
                      }
                    ]
                  },
                  {
                    "service_tier": "ultrafast",
                    "input_tokens_up_to": 272000,
                    "input": 48,
                    "output": 240,
                    "cache_read": 2.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 60
                      }
                    ]
                  },
                  {
                    "service_tier": "ultrafast",
                    "input_tokens_up_to": null,
                    "input": 96,
                    "output": 360,
                    "cache_read": 4.8,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 120
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "provider": "claude-subscription",
        "readings": [
          {
            "ref": "claude-subscription/claude-opus-5-5",
            "provider": "claude-subscription",
            "model": "claude-opus-5-5",
            "entry": true,
            "name": "Claude Opus 5.5",
            "names": [
              "claude-opus-5-5"
            ],
            "pi": [],
            "access": "subscription",
            "billing": "reference",
            "price_from": "anthropic/claude-opus-5-5",
            "price_conditions": [],
            "window": {
              "value": 1000000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "max_output": {
              "value": 128000,
              "from": "safe",
              "at_least": false,
              "unknown_reason": null
            },
            "reasoning_levels": null,
            "input_kinds": null,
            "service_tiers": null,
            "effort_updates": null,
            "default_effort": "medium",
            "effort_by_api": [],
            "lifetimes": [
              {
                "value": null,
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": []
              },
              {
                "value": "5m",
                "retention_s": 300,
                "profile": "short",
                "rely_on_s": 300,
                "through": [],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache_control/type",
                        "scope": "content_block",
                        "value": "ephemeral"
                      }
                    ]
                  }
                ]
              },
              {
                "value": "1h",
                "retention_s": 3600,
                "profile": "long",
                "rely_on_s": 3600,
                "through": [
                  {
                    "client": "agent+cliproxyapi",
                    "rely_on_s": 3600
                  },
                  {
                    "client": "cliproxyapi",
                    "rely_on_s": 3600
                  }
                ],
                "ask": [
                  {
                    "endpoints": null,
                    "settings": [
                      {
                        "location": "body",
                        "path": "/cache_control/type",
                        "scope": "content_block",
                        "value": "ephemeral"
                      },
                      {
                        "location": "body",
                        "path": "/cache_control/ttl",
                        "scope": "content_block",
                        "value": "1h"
                      }
                    ]
                  }
                ]
              }
            ],
            "prices": [
              {
                "from": null,
                "until": null,
                "introductory": false,
                "rows": [
                  {
                    "service_tier": null,
                    "input_tokens_up_to": null,
                    "input": 4,
                    "output": 20,
                    "cache_read": 0.2,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 5
                      },
                      {
                        "lifetime": "5m",
                        "price": 5
                      },
                      {
                        "lifetime": "1h",
                        "price": 8
                      }
                    ]
                  },
                  {
                    "service_tier": "fast",
                    "input_tokens_up_to": null,
                    "input": 8,
                    "output": 40,
                    "cache_read": 0.4,
                    "cache_write": [
                      {
                        "lifetime": null,
                        "price": 10
                      },
                      {
                        "lifetime": "5m",
                        "price": 10
                      },
                      {
                        "lifetime": "1h",
                        "price": 16
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "pi_providers": [
      {
        "pi_provider": "acme",
        "api_key": {
          "providers": [
            "acme"
          ]
        },
        "login": {
          "providers": [
            "acme-plan",
            "acme"
          ]
        }
      },
      {
        "pi_provider": "other",
        "api_key": {
          "providers": []
        },
        "login": null
      },
      {
        "pi_provider": "google",
        "api_key": {
          "providers": [
            "google"
          ]
        },
        "login": null
      }
    ]
  },
  "examples": [
    {
      "id": "r1-key-by-pi-ref",
      "steps": [
        1,
        4
      ],
      "says": "Pi with a key: the reading at the providers of Pi's api_key whose pi has Pi's provider, api_key and the model id. No lifetime carried: the item of lifetimes whose value is null (the control's default, 5 minutes) gives the short profile and its write price.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r1-key-pi-spells-it-otherwise",
      "steps": [
        1
      ],
      "says": "Pi calls the model mini: the reading whose pi has that id is acme/acme-mini. billing unknown: the row as listed. No cache price and no lifetime: unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "mini"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-mini"
        ],
        "access": "api",
        "billing": "unknown",
        "price_from": null,
        "price": {
          "input": 1,
          "output": 4,
          "cache_read": null,
          "cache_write": null
        },
        "window": 100000,
        "max_output": 8000,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r1-key-by-model-id-and-r7",
      "steps": [
        1,
        4
      ],
      "says": "Pi sends the model's own id, which the reading's pi has. Its window is from the listing (from listing), marked as listed. A write priced for no lifetime is the write price of the item of null.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-small"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-small"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 0.5,
          "output": 2,
          "cache_read": 0.05,
          "cache_write": 0.6
        },
        "window": 120000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [],
        "input_kinds": [
          "text"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "window"
        ]
      }
    },
    {
      "id": "r1-pi-provider-not-listed",
      "steps": [
        1
      ],
      "says": "A Pi provider /api/v1/pi-providers lacks: no reading, every value unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "nowhere",
        "pi_model": "anything"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [],
        "access": null,
        "billing": null,
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": null,
        "max_output": null,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r1-pi-provider-not-on-providers-dev",
      "steps": [
        1
      ],
      "says": "providers is empty: no reading, every value unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "other",
        "pi_model": "anything"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [],
        "access": null,
        "billing": null,
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": null,
        "max_output": null,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r1-login-two-providers-r8",
      "steps": [
        1,
        5
      ],
      "says": "Pi's login is acme-plan or acme, and which is not known: both readings count. The smallest window, output limit and lifetime; the whole row of the dearest reading (a tie on input and output: the first ref in character order, acme-plan/acme-large), with its billing and price_from; access and the long option differ, so unknown.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-large",
          "acme/acme-large"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-large",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-one-states-no-lifetime",
      "steps": [
        1,
        4,
        5
      ],
      "says": "The request carries 1h: acme/acme-large's item of 1h gives 3600 s; acme-plan/acme-large has no item of 1h, so no lifetime and no write price there. One states no lifetime: unknown. The price is acme-plan's whole row, its write for 1h unknown: parts of two readings are never mixed.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": "1h",
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-large",
          "acme/acme-large"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-large",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": null
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r3-above-a-tier",
      "steps": [
        2,
        4
      ],
      "says": "250,000 input tokens: the first row whose input_tokens_up_to is null or not below it is the row above 200,000, a whole price. Its write is that of the item of null, 5 minutes.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 250000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 4,
          "output": 15,
          "cache_read": 0.2,
          "cache_write": 5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r3-at-a-tier-is-not-above",
      "steps": [
        2
      ],
      "says": "Exactly 200,000 tokens: the row up to 200,000, which includes it.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 200000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r3-tiers-where-published",
      "steps": [
        2
      ],
      "says": "150,000 tokens is above the first size: the second row, every part filled.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-fast"
      },
      "situation": {
        "input_tokens": 150000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-fast"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 3,
          "output": 15,
          "cache_read": 0.3,
          "cache_write": 3.75
        },
        "window": 200000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r4-after-the-dated-change",
      "steps": [
        3
      ],
      "says": "The instant is the until of the first period, which does not include it: the second period, from that instant.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-02-01T00:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 3,
          "output": 12,
          "cache_read": 0.3,
          "cache_write": 3.75
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r5-long-asked",
      "steps": [
        4
      ],
      "says": "The request carries 1h: the item of 1h gives 3600 s and the long profile, and the write price is the row's cache_write of 1h.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": "1h",
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 4
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 3600,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r5-a-value-no-option-names",
      "steps": [
        4
      ],
      "says": "24h is no item of lifetimes: no lifetime and no write price.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": "24h",
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": null
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": null,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r2-r6-answered-through-provimux",
      "steps": [
        1,
        4
      ],
      "says": "The answers named acme/acme-large. Through Provimux the reader is Pi with pi-provimux (agent+cliproxyapi): the item's through for that client, 240 s, not rely_on_s, 300 s.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-large"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r2-expected-entry",
      "steps": [
        1,
        4
      ],
      "says": "No answer yet: the reading of the entry the gateway states it expects. through has no item of the reader's own client: rely_on_s.",
      "route": {
        "kind": "provimux",
        "model": "acme-small",
        "accounts": [
          {
            "access": "key",
            "answered": [],
            "expected": "acme/acme-small",
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-small"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 0.5,
          "output": 2,
          "cache_read": 0.05,
          "cache_write": 0.6
        },
        "window": 120000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [],
        "input_kinds": [
          "text"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "window"
        ]
      }
    },
    {
      "id": "r2-gateway-names-no-entry",
      "steps": [
        1
      ],
      "says": "The gateway names no entry: every value unknown, never a reading found by the model's name.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [],
        "access": null,
        "billing": null,
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": null,
        "max_output": null,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r2-ref-with-no-summary",
      "steps": [
        1
      ],
      "says": "A named ref no reading has: no reading, every value unknown.",
      "route": {
        "kind": "provimux",
        "model": "acme-gone",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-gone"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [],
        "access": null,
        "billing": null,
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": null,
        "max_output": null,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r5-the-gateway-adds-a-lifetime",
      "steps": [
        1,
        4
      ],
      "says": "The gateway states it adds 1h on this account: the item of 1h, the long profile. through has no item of the reader's client for it: rely_on_s.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-large"
            ],
            "expected": null,
            "adds": {
              "cache.retention": "1h"
            }
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 4
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 3600,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-a-name-on-two-accounts",
      "steps": [
        1,
        5
      ],
      "says": "One name, a login and a key, either may answer: the smallest limits (one of them from the listing), the dearest whole row (acme-plan's, input 2 against 0.5), access and the long option unknown where they differ. The kinds are read item by item: text, which both list (until version 3 unknown, since the lists differ); acme/acme-small does not reason (levels []), so the levels have no item in common and are unknown.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-large"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-small"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-large",
          "acme/acme-small"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-large",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 120000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": [
          "text"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "window"
        ]
      }
    },
    {
      "id": "r8-an-account-that-names-none",
      "steps": [
        1,
        5
      ],
      "says": "A login that named its entry and an API key that may answer and names none: nothing is known of the key's candidate, so there is no smallest limit and no dearest row. Every value is unknown; only the named entry is listed.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-large"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-large"
        ],
        "access": null,
        "billing": null,
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": null,
        "max_output": null,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-one-entry-on-two-accounts",
      "steps": [
        1,
        4,
        5
      ],
      "says": "Before any answer, a login and an API key are both expected to serve acme/acme-large. The gateway adds 1h on the login and nothing on the key, so the reading is a candidate on each, with that account's adds. On the login the item of 1h gives rely_on_s, 3600 s, since through has no long item of the reader's client. On the key the item of null gives the reader's through, 240 s. The smallest is 240 s. Input, output and ref are the same, so the higher cache write decides: the login's 1h write, 4.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [],
            "expected": "acme/acme-large",
            "adds": {
              "cache.retention": "1h"
            }
          },
          {
            "access": "key",
            "answered": [],
            "expected": "acme/acme-large",
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 4
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-one-entry-on-two-accounts-after-an-answer",
      "steps": [
        1,
        4,
        5
      ],
      "says": "The same name after the key answered and the gateway's marker named acme/acme-large on the key. The login has not answered and is still expected to serve the entry. The next request may go to either account, so both still count, with the same values as before the answer. An answer's own report of its cache writes by lifetime prices that answer's writes, but says nothing about the next request.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [],
            "expected": "acme/acme-large",
            "adds": {
              "cache.retention": "1h"
            }
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-large"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 4
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row9-service-tier-not-published",
      "steps": [
        2
      ],
      "says": "A request that names a service tier, and the period has no row of that tier: the price is unknown, never the row of no tier.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": "priority",
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row9-service-tier-published",
      "steps": [
        2
      ],
      "says": "The period has rows of the tier: its own row, whole.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-fast"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": "priority",
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-fast"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 4,
          "output": 20,
          "cache_read": 0.4,
          "cache_write": 5
        },
        "window": 200000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row9-a-tier-not-priced",
      "steps": [
        2
      ],
      "says": "A tier the reading has no row of: unknown, never another tier's row.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-fast"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": "flex",
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-fast"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 200000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row10-reference-price",
      "steps": [
        1
      ],
      "says": "A subscription entry with billing reference: its rows hold the API list price of price_from, read like any reading's; price_from names whose price it is. Its write is that of the item of null (no default: the short profile, the shortest write).",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-pro"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-pro"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "acme/acme-pro",
        "price": {
          "input": 5,
          "output": 25,
          "cache_read": 0.5,
          "cache_write": 6.25
        },
        "window": 300000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row10-reference-price-has-no-service-tier",
      "steps": [
        1
      ],
      "says": "The reference price has no row of a service tier: a request that names one is unknown, never the row of no tier.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-pro"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": "priority",
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-pro"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "acme/acme-pro",
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 300000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "row10-not-applicable-and-r7-output",
      "steps": [
        1
      ],
      "says": "A subscription entry with no price of its own and no reference (billing not_applicable): prices is [], no price to count it at. Its output limit is from the listing, marked as listed. acme has no acme-old, so the login reaches one reading.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-old"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-old"
        ],
        "access": "subscription",
        "billing": "not_applicable",
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 100000,
        "max_output": 16000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": [
          "text"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "max_output"
        ]
      }
    },
    {
      "id": "r4-introductory-before-list-from",
      "steps": [
        1,
        3
      ],
      "says": "An introductory price: the first period, introductory true, until 1 January 2027. On 1 December 2026 its row of no service tier has the introductory input and output prices; cache read and cache write are null, unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "google",
        "pi_model": "gemini-3.8-flash"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2026-12-01T12:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "google/gemini-3.8-flash"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 0.75,
          "output": 3.75,
          "cache_read": null,
          "cache_write": null
        },
        "window": 1048576,
        "max_output": 65536,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": false,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r4-introductory-from-list-from",
      "steps": [
        1,
        3,
        4
      ],
      "says": "The same reading from 1 January 2027: the second period, the list price. No write price is published, so the write price is unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "google",
        "pi_model": "gemini-3.8-flash"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-01T00:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "google/gemini-3.8-flash"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 1.5,
          "output": 7.5,
          "cache_read": 0.15,
          "cache_write": null
        },
        "window": 1048576,
        "max_output": 65536,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": false,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r4-introductory-service-tier-before-list-from",
      "steps": [
        3
      ],
      "says": "In the introductory period, a request that names a service tier: the tier's row is null in every part, so the price is unknown.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "google",
        "pi_model": "gemini-3.8-flash"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": "flex",
        "at": "2026-12-01T12:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "google/gemini-3.8-flash"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 1048576,
        "max_output": 65536,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": false,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r5-codex-login-adds-nothing",
      "steps": [
        1,
        4
      ],
      "says": "A Codex login names openai-codex/gpt-6.2-astra and Provimux states it adds nothing ({}). The reading has only the item of null (cache.retention is unsupported on the plan): the short profile, whose through for the reader's own client is 0 s (no cache to rely on), and the row's write of the item of null, the 30-minute one, 10. Compare r5-codex-login-adds-unknown.",
      "route": {
        "kind": "provimux",
        "model": "gpt-6.2-astra",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "openai-codex/gpt-6.2-astra"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 50000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "openai-codex/gpt-6.2-astra"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "openai/gpt-6.2-astra",
        "price": {
          "input": 8,
          "output": 40,
          "cache_read": 0.4,
          "cache_write": 10
        },
        "window": 922000,
        "max_output": 128000,
        "lifetime_s": 0,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": true,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r5-codex-login-adds-unknown",
      "steps": [
        1,
        4
      ],
      "says": "The same Codex login, but Provimux states adds null: a payload rule it is configured with can reach the request's prompt_cache_options or prompt_cache_retention. Where the gateway states that what it adds is unknown (`adds` null), the value the request carries is unknown: no lifetime and no write price, whatever the client sent. The 30-minute write at 10 could be a 12-hour write at 20. Input, output and cache read stand.",
      "route": {
        "kind": "provimux",
        "model": "gpt-6.2-astra",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "openai-codex/gpt-6.2-astra"
            ],
            "expected": null,
            "adds": null
          }
        ]
      },
      "situation": {
        "input_tokens": 50000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "openai-codex/gpt-6.2-astra"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "openai/gpt-6.2-astra",
        "price": {
          "input": 8,
          "output": 40,
          "cache_read": 0.4,
          "cache_write": null
        },
        "window": 922000,
        "max_output": 128000,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": true,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r5-claude-login-adds-unknown",
      "steps": [
        1,
        4
      ],
      "says": "A Claude login named claude-subscription/claude-opus-5-5 with adds null: a payload rule can reach the request's cache_control. Where the gateway states that what it adds is unknown (`adds` null), the value the request carries is unknown: no lifetime and no write price, whatever the client sent. The client sent 5m, and neither it nor the item of null stands in (5m at 5 or 1h at 8). Input, output and cache read stand.",
      "route": {
        "kind": "provimux",
        "model": "claude-opus-5-5",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "claude-subscription/claude-opus-5-5"
            ],
            "expected": null,
            "adds": null
          }
        ]
      },
      "situation": {
        "input_tokens": 50000,
        "lifetime": "5m",
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "claude-subscription/claude-opus-5-5"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "anthropic/claude-opus-5-5",
        "price": {
          "input": 4,
          "output": 20,
          "cache_read": 0.2,
          "cache_write": null
        },
        "window": 1000000,
        "max_output": 128000,
        "lifetime_s": null,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r8-claude-entry-on-two-accounts-one-adds-unknown",
      "steps": [
        1,
        4,
        5
      ],
      "says": "Before any answer, two Claude logins are expected to serve claude-subscription/claude-opus-5-5. Provimux adds 1h on the first and states adds null on the second. The reading is a candidate on each: the first has the item of 1h, 3600 s with the write at 8; on the second the lifetime and the write price are unknown. The smallest lifetime is unknown, since one states none. Input, output and ref are the same, so the cache write decides. When two accounts name the same entry, an unknown write price ranks as the dearest (never priced at the known one). So the whole row has no cache-write price, not the first account's 8.",
      "route": {
        "kind": "provimux",
        "model": "claude-opus-5-5",
        "accounts": [
          {
            "access": "login",
            "answered": [],
            "expected": "claude-subscription/claude-opus-5-5",
            "adds": {
              "cache.retention": "1h"
            }
          },
          {
            "access": "login",
            "answered": [],
            "expected": "claude-subscription/claude-opus-5-5",
            "adds": null
          }
        ]
      },
      "situation": {
        "input_tokens": 50000,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "claude-subscription/claude-opus-5-5"
        ],
        "access": "subscription",
        "billing": "reference",
        "price_from": "anthropic/claude-opus-5-5",
        "price": {
          "input": 4,
          "output": 20,
          "cache_read": 0.2,
          "cache_write": null
        },
        "window": 1000000,
        "max_output": 128000,
        "lifetime_s": null,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r8-kinds-item-by-item",
      "steps": [
        1,
        5
      ],
      "says": "Pi's login is acme-plan or acme. acme-plan/acme-vision lists the kinds text and image, acme/acme-vision text, image and pdf (as a Claude login and Anthropic's API do): a list is read item by item, so the kinds are text and image, which both list; pdf only one lists. The levels likewise: low to max, which both list; none only acme lists.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-vision"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-vision",
          "acme/acme-vision"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-vision",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-levels-item-by-item",
      "steps": [
        1,
        5
      ],
      "says": "One name, an API key first and a login, either may answer. acme/acme-vision lists the levels none, low, medium, high, xhigh and max, acme-plan/acme-vision low to max (as OpenAI's API and the ChatGPT login do for GPT-6.1 Terra): the levels are low to max, in the order of the first; thinking cannot be turned off, since only one lists none.",
      "route": {
        "kind": "provimux",
        "model": "acme-vision",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-vision"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-vision"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-vision",
          "acme-plan/acme-vision"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-vision",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-a-list-not-stated",
      "steps": [
        1,
        5
      ],
      "says": "One name, a login that answered with acme-plan/acme-vision and a key that answered with acme/acme-mini, which states no kinds and no levels (null): where one of them states no list, the list is unknown, whatever the other lists.",
      "route": {
        "kind": "provimux",
        "model": "acme-vision",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-vision"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-mini"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-vision",
          "acme/acme-mini"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-vision",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 100000,
        "max_output": 8000,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-no-item-in-common",
      "steps": [
        1,
        5
      ],
      "says": "One name on two keys, answered with acme/acme-small (kinds: text) and acme/acme-echo (kinds: audio): they have no kind in common, so the kinds are unknown. Neither reasons (levels [] on both), so the levels are [].",
      "route": {
        "kind": "provimux",
        "model": "acme-small",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-small"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-echo"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-small",
          "acme/acme-echo"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 0.5,
          "output": 2,
          "cache_read": 0.05,
          "cache_write": 0.6
        },
        "window": 120000,
        "max_output": 32000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [],
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "window"
        ]
      }
    },
    {
      "id": "r8-same-items-other-order",
      "steps": [
        1,
        5
      ],
      "says": "One name, a login that answered with acme-plan/acme-large (kinds text, image; levels low, medium, high) and a key that answered with acme/acme-sight, which lists the same items in another order (image, text; high, low, medium), as a Muse login and Meta's API do with their kinds: the same items are stated, in the order the first lists them, never unknown for the order alone.",
      "route": {
        "kind": "provimux",
        "model": "acme-large",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-large"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-sight"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-large",
          "acme/acme-sight"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-large",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-empty-beside-not-stated",
      "steps": [
        1,
        5
      ],
      "says": "One name on two keys, answered with acme/acme-small, which does not reason (levels []) and takes text, and acme/acme-mini, which states neither list (null): an empty list beside a list not stated is unknown, not empty, and so are the kinds.",
      "route": {
        "kind": "provimux",
        "model": "acme-small",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-small"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-mini"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-small",
          "acme/acme-mini"
        ],
        "access": "api",
        "billing": "unknown",
        "price_from": null,
        "price": {
          "input": 1,
          "output": 4,
          "cache_read": null,
          "cache_write": null
        },
        "window": 100000,
        "max_output": 8000,
        "lifetime_s": null,
        "long_retention": null,
        "reasoning_levels": null,
        "input_kinds": null,
        "effort_updates": null,
        "default_effort": null,
        "from_listing": [
          "window"
        ]
      }
    },
    {
      "id": "r8-only-none-in-common",
      "steps": [
        1,
        5
      ],
      "says": "One name on two keys, answered with acme/acme-off (levels none and minimal; kinds text) and acme/acme-vision (none to max; text, image, pdf): the only level both list is none, so the levels are [none], thinking can be turned off and no level is offered; the only kind both list is text.",
      "route": {
        "kind": "provimux",
        "model": "acme-off",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-off"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-vision"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-off",
          "acme/acme-vision"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "none"
        ],
        "input_kinds": [
          "text"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "r8-same-ref-twice-in-one-account",
      "steps": [
        1,
        5
      ],
      "says": "One account whose answers named acme/acme-sight twice: the entry is one candidate, read once, so its own lists stand as it lists them (image, text; high, low, medium), and nothing is combined.",
      "route": {
        "kind": "provimux",
        "model": "acme-sight",
        "accounts": [
          {
            "access": "key",
            "answered": [
              "acme/acme-sight",
              "acme/acme-sight"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-sight"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "high",
          "low",
          "medium"
        ],
        "input_kinds": [
          "image",
          "text"
        ],
        "effort_updates": true,
        "default_effort": "high",
        "from_listing": []
      }
    },
    {
      "id": "r8-order-of-pi-providers",
      "steps": [
        1,
        5
      ],
      "says": "Pi's login is acme-plan or acme, in the order /api/v1/pi-providers lists them. acme-plan/acme-sight lists text, image and low, medium, high; acme/acme-sight the same items as image, text and high, low, medium. The first is acme-plan's, so the items come out in its order; with the providers the other way round they would come out in acme's. The order of the kinds carries no meaning.",
      "route": {
        "kind": "pi_login",
        "pi_provider": "acme",
        "pi_model": "acme-sight"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-sight",
          "acme/acme-sight"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-sight",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": true,
        "default_effort": "high",
        "from_listing": []
      }
    },
    {
      "id": "step3-before-the-first-period",
      "steps": [
        3
      ],
      "says": "An instant before the first period, which begins at generated_at (2026-12-01T06:00:00.000Z): a reading keeps no past periods, so the price is unknown, not the first period's price. The other values stand. The same holds where an introductory price ended before generated_at: before the first period it is unknown, not the introductory price and not the list price.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-large"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2026-12-01T05:59:59.999Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme/acme-large"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": null,
          "output": null,
          "cache_read": null,
          "cache_write": null
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": null,
        "default_effort": null,
        "from_listing": []
      }
    },
    {
      "id": "effort-the-format-has-its-own",
      "steps": [
        1
      ],
      "says": "The effort of a request sent in a format whose item effort_by_api has: that item. On acme/acme-vision the entry does not let the effort change mid-conversation (effort_updates false), its Responses API does (true); both default to medium.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-vision"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": "responses"
      },
      "values": {
        "entries": [
          "acme/acme-vision"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "none",
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "input_kinds": [
          "text",
          "image",
          "pdf"
        ],
        "effort_updates": true,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "effort-a-format-with-no-item",
      "steps": [
        1
      ],
      "says": "The same reading for a request in a format effort_by_api has no item for (chat-completions), or of a client that does not know its format (api null): the reading's own effort_updates and default_effort.",
      "route": {
        "kind": "pi_key",
        "pi_provider": "acme",
        "pi_model": "acme-vision"
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": "chat-completions"
      },
      "values": {
        "entries": [
          "acme/acme-vision"
        ],
        "access": "api",
        "billing": "per_use",
        "price_from": null,
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 400000,
        "max_output": 64000,
        "lifetime_s": 300,
        "long_retention": {
          "value": "1h"
        },
        "reasoning_levels": [
          "none",
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "input_kinds": [
          "text",
          "image",
          "pdf"
        ],
        "effort_updates": false,
        "default_effort": "medium",
        "from_listing": []
      }
    },
    {
      "id": "r8-effort-the-one-they-all-state",
      "steps": [
        1,
        5
      ],
      "says": "Two readings behind one name that state the same switch and the same default (true, high): those, though they are from different sources. They are values, not lists.",
      "route": {
        "kind": "provimux",
        "model": "acme-sight",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-sight"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-sight"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": null
      },
      "values": {
        "entries": [
          "acme-plan/acme-sight",
          "acme/acme-sight"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-sight",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": true,
        "default_effort": "high",
        "from_listing": []
      }
    },
    {
      "id": "r8-effort-one-states-none",
      "steps": [
        1,
        5
      ],
      "says": "Two readings behind one name, sent in the Responses format: the switch is true on both (the key's Responses item, the login's own), so true; the key's default is medium and the login states none, so the default effort is unknown.",
      "route": {
        "kind": "provimux",
        "model": "acme-vision",
        "accounts": [
          {
            "access": "login",
            "answered": [
              "acme-plan/acme-vision"
            ],
            "expected": null,
            "adds": {}
          },
          {
            "access": "key",
            "answered": [
              "acme/acme-vision"
            ],
            "expected": null,
            "adds": {}
          }
        ]
      },
      "situation": {
        "input_tokens": 0,
        "lifetime": null,
        "service_tier": null,
        "at": "2027-01-10T06:00:00.000Z",
        "api": "responses"
      },
      "values": {
        "entries": [
          "acme-plan/acme-vision",
          "acme/acme-vision"
        ],
        "access": null,
        "billing": "reference",
        "price_from": "acme/acme-vision",
        "price": {
          "input": 2,
          "output": 10,
          "cache_read": 0.2,
          "cache_write": 2.5
        },
        "window": 200000,
        "max_output": 64000,
        "lifetime_s": 240,
        "long_retention": null,
        "reasoning_levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "input_kinds": [
          "text",
          "image"
        ],
        "effort_updates": true,
        "default_effort": null,
        "from_listing": []
      }
    }
  ]
}
