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

866 sources · 3,004 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.

3,004 declarations in scope: 2,980 within observation window, 24 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 4 declarations match · 4 rows on this page

apiqd.com

4 declarations · 4 on this page

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

codex1· Public API

gpt-5.6-terra

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-5.6-terra

apiqd.com · Public API declaration

Plan / group: declared-group:codex1 · codex1

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": "48",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "10",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "8",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "90",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "20",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "22.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "6.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "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": "第2档",
      "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": "第2档"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "22.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6.25"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "2"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.2"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "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",
      "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": "0.13",
  "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "全部pro号池",
  "declaredGroupRatio": "0.13",
  "eligibility": {
    "declaredGroup": "codex1",
    "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:47:18.241000Z",
  "firstObservedAt": "2026-10-03T23:47:19.728Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceId": "apiqd.com",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "23c2089a6c790c64cb1e31d0e473a68c0df013f8968d5a39d50c34fd017323cc",
  "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"
    ],
    "declaredGroupDescription": "全部pro号池",
    "declaredGroupRatio": "0.13",
    "eligibility": {
      "declaredGroup": "codex1",
      "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": "codex1",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:47:18.241000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-5.6-terra",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "outputPrice": null,
  "parseRevisionId": "e9bd321e427adaa4e1480ad03e60ce05fa57d444c4e48841be0f6726a9d7c3ad",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:codex1",
  "pricePairSourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "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": "48",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "10",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "8",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "90",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "20",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "22.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "6.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "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": "第2档",
        "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": "第2档"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "22.5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6.25"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "base"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "2"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "12"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.2"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2.5"
                  },
                  "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",
        "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": "0.13",
    "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "93be73e44d14f78ccdf927c756782f63459adb37d4a72738b7d236745899c0fb",
  "quoteOrdinal": 77,
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceDomain": "apiqd.com",
  "sourceId": "apiqd.com",
  "sourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

codex· Public API

gpt-5.6-terra

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-5.6-terra

apiqd.com · Public API declaration

Plan / group: declared-group:codex · codex

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": "48",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "10",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "8",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "90",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "20",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "22.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "6.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "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": "第2档",
      "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": "第2档"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "22.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6.25"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "2"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.2"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "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",
      "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": "0.13",
  "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "全部pro号池",
  "declaredGroupRatio": "0.13",
  "eligibility": {
    "declaredGroup": "codex",
    "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:47:18.241000Z",
  "firstObservedAt": "2026-10-03T23:47:19.728Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceId": "apiqd.com",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "23c2089a6c790c64cb1e31d0e473a68c0df013f8968d5a39d50c34fd017323cc",
  "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"
    ],
    "declaredGroupDescription": "全部pro号池",
    "declaredGroupRatio": "0.13",
    "eligibility": {
      "declaredGroup": "codex",
      "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": "codex",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:47:18.241000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-5.6-terra",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "outputPrice": null,
  "parseRevisionId": "e9bd321e427adaa4e1480ad03e60ce05fa57d444c4e48841be0f6726a9d7c3ad",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:codex",
  "pricePairSourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "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": "48",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "10",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "8",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "90",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "20",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "22.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "6.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "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": "第2档",
        "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": "第2档"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "22.5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6.25"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "base"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "2"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "12"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.2"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2.5"
                  },
                  "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",
        "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": "0.13",
    "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "2f72e80ab72ef125b3fad23e600a423c0f8266875b97a09a2c6e3b0805b6c65a",
  "quoteOrdinal": 78,
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceDomain": "apiqd.com",
  "sourceId": "apiqd.com",
  "sourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

codex备用· Public API

gpt-5.6-terra

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-5.6-terra

apiqd.com · Public API declaration

Plan / group: declared-group:codex备用 · codex备用

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": "48",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "10",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "8",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "90",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "20",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "22.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "6.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "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": "第2档",
      "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": "第2档"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "22.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6.25"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "2"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.2"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "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",
      "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": "0.13",
  "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "全部更换pro号池",
  "declaredGroupRatio": "0.13",
  "eligibility": {
    "declaredGroup": "codex备用",
    "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:47:18.241000Z",
  "firstObservedAt": "2026-10-03T23:47:19.728Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceId": "apiqd.com",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "23c2089a6c790c64cb1e31d0e473a68c0df013f8968d5a39d50c34fd017323cc",
  "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"
    ],
    "declaredGroupDescription": "全部更换pro号池",
    "declaredGroupRatio": "0.13",
    "eligibility": {
      "declaredGroup": "codex备用",
      "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": "codex备用",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:47:18.241000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-5.6-terra",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "outputPrice": null,
  "parseRevisionId": "e9bd321e427adaa4e1480ad03e60ce05fa57d444c4e48841be0f6726a9d7c3ad",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:codex备用",
  "pricePairSourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "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": "48",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "10",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "8",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "90",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "20",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "22.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "6.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "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": "第2档",
        "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": "第2档"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "22.5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6.25"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "base"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "2"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "12"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.2"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2.5"
                  },
                  "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",
        "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": "0.13",
    "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": "ab719a968b68a27638270a2dd4df9f60c8cdd6f56e632add34b9b4dfbbe1b557",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "a2159e2015e6c42c0f16b79499dec69cc6fdbc5479327ed2625190f10349ed35",
  "quoteOrdinal": 79,
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceDomain": "apiqd.com",
  "sourceId": "apiqd.com",
  "sourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

codex新· Public API

gpt-5.6-terra

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gpt-5.6-terra

apiqd.com · Public API declaration

Plan / group: declared-group:codex新 · codex新

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": "48",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "10",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "8",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "90",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "20",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "24",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "45",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "12.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "10",
          "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": "第2档",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "22.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "6.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "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": "第2档",
      "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": "第2档"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "22.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "6.25"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "2"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.2"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "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",
      "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": "0.15",
  "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": "c47900b0796e830447833eab103af7641b9a7ddaf3e36c7e00efbf324e30ec9e",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "也是pro号池",
  "declaredGroupRatio": "0.15",
  "eligibility": {
    "declaredGroup": "codex新",
    "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:47:18.241000Z",
  "firstObservedAt": "2026-10-03T23:47:19.728Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceId": "apiqd.com",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "23c2089a6c790c64cb1e31d0e473a68c0df013f8968d5a39d50c34fd017323cc",
  "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"
    ],
    "declaredGroupDescription": "也是pro号池",
    "declaredGroupRatio": "0.15",
    "eligibility": {
      "declaredGroup": "codex新",
      "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": "codex新",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:47:18.241000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gpt-5.6-terra",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:47:19.728Z",
  "outputPrice": null,
  "parseRevisionId": "e9bd321e427adaa4e1480ad03e60ce05fa57d444c4e48841be0f6726a9d7c3ad",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:codex新",
  "pricePairSourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "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": "48",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "10",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "8",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "90",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "20",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "24",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "45",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "12.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "10",
            "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": "第2档",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "22.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "6.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "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": "第2档",
        "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": "第2档"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "22.5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "6.25"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "whenTrue": {
            "arguments": [
              {
                "type": "string",
                "value": "base"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "name": "p",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "2"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "left": {
                        "name": "c",
                        "type": "variable"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "12"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "cr",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "0.2"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cc",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2.5"
                  },
                  "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",
        "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": "0.15",
    "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": "c47900b0796e830447833eab103af7641b9a7ddaf3e36c7e00efbf324e30ec9e",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d8ba349ade85c55a8f6f6bd3a75adf21a1c994376a1b8eff2d058e1e6dd7d9d7",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "417df4415de35321fc9f0420d0a877c795333b5bbe05600cbc83dc925f037cb7",
  "quoteOrdinal": 80,
  "snapshotId": "b70d33346e9e2e067a7370c7ff1428620580a48f03782593dc71c85b4ba4d047",
  "sourceDomain": "apiqd.com",
  "sourceId": "apiqd.com",
  "sourceRowId": "7daa3d8ebebe30963fdbdbcea67da5fb8cb572581806419c0bad59b5ace02a61",
  "transactionId": "ac53690c5bb98443de225ea51b6ea52d6f8ee3f5a26436ac7b9cb4d683dd16a3",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

gpt-5.6-terra

Name attribution evidence
{
  "id": "deda3dc02a1d1575f15d",
  "matches": [
    {
      "declaredName": "gpt-5.6-terra",
      "evidence": {
        "canonicalId": "openai/gpt-5.6-terra",
        "claimId": "deda3dc02a1d1575f15d",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "gpt-5.6-terra",
        "evidenceIds": [
          "openai-gpt-5.6-terra"
        ],
        "evidenceUrl": "https://developers.openai.com/api/docs/models/gpt-5.6-terra",
        "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-5.6-terra",
  "officialId": null
}