528 identifier groups match; choose one and submit to view prices.

730 sources · 2,497 public declarations

Pricing and freshness · cash / quality unverified

Input, output, cache rates and conditions stay with their original plan. Host units differ and are not cash-ranked across hosts; cash qualification, upstream identity and quality remain unverified.

2,497 declarations in scope: 2,477 within observation window, 20 freshness unassessed, 0 historical / verification records.

Freshness evaluated as of: · Rendering does not extend the original observation window.

Captured name archive

Back to all sources

1 sources and 3 declarations match · 3 rows on this page

api.qianmoguyu.cn

3 declarations · 3 on this page

3 within window, 0 freshness unassessed, 0 historical / verification records.

test· Public API

gpt-6-sol

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-6-sol

api.qianmoguyu.cn · Public API declaration

Plan / group: declared-group:test · test

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "30.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "7",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.72",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.875",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.09",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "0.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "condition": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "272000"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "long_context"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "1.5"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "7.6"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.18"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.75"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "standard"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.75"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "3.8"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.09"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.875"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "priority"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "service_tier"
            }
          ],
          "function": "param",
          "type": "call"
        },
        "operator": "==",
        "right": {
          "type": "string",
          "value": "fast"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "service_tier",
        "function": "param"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cc",
      "cr",
      "img",
      "img_o",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "20",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "ef8809b551e4c9a77ed68d2339bf27c2b1dd32b75de73a925c66feaaa2730965",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "测试分组,勿选",
  "declaredGroupRatio": 20,
  "eligibility": {
    "declaredGroup": "test",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:44:40.489000Z",
  "firstObservedAt": "2026-10-03T23:44:42.108Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceId": "api.qianmoguyu.cn",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "969ed4230813fab60f4fa21abe2dc53c34636a6e2bdbf6ff35c68fb34ae47968",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "测试分组,勿选",
    "declaredGroupRatio": 20,
    "eligibility": {
      "declaredGroup": "test",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "test",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:44:40.489000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-6-sol",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "outputPrice": null,
  "parseRevisionId": "4f79277a80151d0d0630ecdb068697c08e4194591b2d16ea5aebd8af4b4abdee",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:test",
  "pricePairSourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "30.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "7",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.72",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.875",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.09",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "0.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "condition": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "arguments": [
              {
                "type": "string",
                "value": "long_context"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "1.5"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "7.6"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.18"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "1.75"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "standard"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "0.75"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "3.8"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.09"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.875"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          }
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "fast"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "service_tier",
          "function": "param"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cc",
        "cr",
        "img",
        "img_o",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "20",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "ef8809b551e4c9a77ed68d2339bf27c2b1dd32b75de73a925c66feaaa2730965",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "d9a9e5f92a261c9b974d74d842f36fca73843c746dcb61c02076dca0284d3535",
  "quoteOrdinal": 7,
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceDomain": "api.qianmoguyu.cn",
  "sourceId": "api.qianmoguyu.cn",
  "sourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

gpt-6-sol

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-6-sol

api.qianmoguyu.cn · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "30.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "7",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.72",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.875",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.09",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "0.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "condition": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "272000"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "long_context"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "1.5"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "7.6"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.18"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.75"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "standard"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.75"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "3.8"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.09"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.875"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "priority"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "service_tier"
            }
          ],
          "function": "param",
          "type": "call"
        },
        "operator": "==",
        "right": {
          "type": "string",
          "value": "fast"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "service_tier",
        "function": "param"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cc",
      "cr",
      "img",
      "img_o",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "23b30e138022ea015a614aa707ce3137ed10dc4a3e04782213352f2978e7984b",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "除订阅套餐外可以选择的分组rpm均为6;所有分组均为pro账号号池",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:44:40.489000Z",
  "firstObservedAt": "2026-10-03T23:44:42.108Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceId": "api.qianmoguyu.cn",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "969ed4230813fab60f4fa21abe2dc53c34636a6e2bdbf6ff35c68fb34ae47968",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "除订阅套餐外可以选择的分组rpm均为6;所有分组均为pro账号号池",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:44:40.489000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-6-sol",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "outputPrice": null,
  "parseRevisionId": "4f79277a80151d0d0630ecdb068697c08e4194591b2d16ea5aebd8af4b4abdee",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "30.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "7",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.72",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.875",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.09",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "0.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "condition": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "arguments": [
              {
                "type": "string",
                "value": "long_context"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "1.5"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "7.6"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.18"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "1.75"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "standard"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "0.75"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "3.8"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.09"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.875"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          }
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "fast"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "service_tier",
          "function": "param"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cc",
        "cr",
        "img",
        "img_o",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "23b30e138022ea015a614aa707ce3137ed10dc4a3e04782213352f2978e7984b",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "c31582d9a47a23e19015539a15a9f8b3be063b8e8dc8106bffad4eb221c6f998",
  "quoteOrdinal": 8,
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceDomain": "api.qianmoguyu.cn",
  "sourceId": "api.qianmoguyu.cn",
  "sourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

vip· Public API

gpt-6-sol

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-6-sol

api.qianmoguyu.cn · Public API declaration

Plan / group: declared-group:vip · vip

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "30.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "7",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.72",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "6.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "15.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "3.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.36",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.875",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.09",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "0.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "standard",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "7.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.75",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_INPUT",
          "usageVariable": "img"
        },
        {
          "coefficient": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "IMAGE_OUTPUT",
          "usageVariable": "img_o"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "fast"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "long_context",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "condition": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "272000"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "long_context"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "1.5"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "7.6"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.18"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.75"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "standard"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "name": "p",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.75"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "c",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "3.8"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cr",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.09"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cc",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.875"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "img_o",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "priority"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "service_tier"
            }
          ],
          "function": "param",
          "type": "call"
        },
        "operator": "==",
        "right": {
          "type": "string",
          "value": "fast"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "service_tier",
        "function": "param"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cc",
      "cr",
      "img",
      "img_o",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "23b30e138022ea015a614aa707ce3137ed10dc4a3e04782213352f2978e7984b",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "vip分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "vip",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:44:40.489000Z",
  "firstObservedAt": "2026-10-03T23:44:42.108Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceId": "api.qianmoguyu.cn",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "969ed4230813fab60f4fa21abe2dc53c34636a6e2bdbf6ff35c68fb34ae47968",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "vip分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "vip",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "vip",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:44:40.489000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-6-sol",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:44:42.108Z",
  "outputPrice": null,
  "parseRevisionId": "4f79277a80151d0d0630ecdb068697c08e4194591b2d16ea5aebd8af4b4abdee",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:vip",
  "pricePairSourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "30.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "7",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.72",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "6.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "15.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "3.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.36",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.875",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.09",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "0.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "standard",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "7.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.75",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_INPUT",
            "usageVariable": "img"
          },
          {
            "coefficient": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "IMAGE_OUTPUT",
            "usageVariable": "img_o"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "272000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "priority"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "service_tier"
                  }
                ],
                "function": "param",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "string",
                "value": "fast"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "long_context",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "condition": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "272000"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "arguments": [
              {
                "type": "string",
                "value": "long_context"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "1.5"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "7.6"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.18"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "1.75"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "standard"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "left": {
                            "name": "p",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "0.75"
                          },
                          "type": "binary"
                        },
                        "operator": "+",
                        "right": {
                          "left": {
                            "name": "c",
                            "type": "variable"
                          },
                          "operator": "*",
                          "right": {
                            "type": "number",
                            "value": "3.8"
                          },
                          "type": "binary"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "left": {
                          "name": "cr",
                          "type": "variable"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "0.09"
                        },
                        "type": "binary"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "cc",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "0.875"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "img",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1.6"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "img_o",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          }
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "service_tier"
                }
              ],
              "function": "param",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "string",
              "value": "priority"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "service_tier"
              }
            ],
            "function": "param",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "string",
            "value": "fast"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "service_tier",
          "function": "param"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cc",
        "cr",
        "img",
        "img_o",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "23b30e138022ea015a614aa707ce3137ed10dc4a3e04782213352f2978e7984b",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "00539b990225ea9a687323471b1880caa060cbe822e2b3b06751730440dce9e6",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "4a09116f8860cbd4804b026d4026e308ac16c3e21c07e8a16d14859ed6cfff2d",
  "quoteOrdinal": 11,
  "snapshotId": "b5289a7c72d7262194dcc49dc5730730f28a544aed9e799ec6d622be60d11642",
  "sourceDomain": "api.qianmoguyu.cn",
  "sourceId": "api.qianmoguyu.cn",
  "sourceRowId": "3669fb1bb029e084e28d6b67a5da9519d3178dad16d388c0610cd6fd1872107e",
  "transactionId": "3141a5bd12ac3329413db6c2f3d762e060f4e830cad65e1052cf91a934ed9803",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

gpt-6-sol

Name attribution evidence
{
  "id": "7388db16debdff683f90",
  "matches": [
    {
      "declaredName": "gpt-6-sol",
      "evidence": {
        "canonicalId": "openai/gpt-6-sol",
        "claimId": "7388db16debdff683f90",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "gpt-6-sol",
        "evidenceIds": [
          "openai-gpt-6-sol"
        ],
        "evidenceUrl": "https://developers.openai.com/api/docs/models/gpt-6-sol",
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "EXACT_OFFICIAL_IDENTIFIER",
        "status": "OFFICIAL_ID",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "configurationSupport": "NOT_VERIFIED",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "gpt-6-sol",
  "officialId": null
}