Within observation window · not a live quote
Observed as of: 2026-10-03T23:43:41.855Z · Original cache limit: 2026-10-10T23:43:40.625000Z · Effective limit (exclusive): 2026-10-10T23:43:40.625000Z
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
Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED
Input Not provided / unresolved
Output Not provided / unresolved
Per request Not provided / unresolved
Cache read Not provided / unresolved
Cache write Not provided / unresolved Extracted numeric fields These source ratios or price fields do not yet establish the complete plan cost.
model_ratio 0.14285714285714285 · SOURCE_BASE_MODEL_RATIO
completion_ratio 4 · SOURCE_COMPLETION_RATIO
cache_ratio 0.02 · SOURCE_CACHE_READ_RATIO Complete partial extraction {
"baseFormulaArithmetic": {
"formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
"meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
"overridesApplied": false,
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"values": {
"cacheRead": "628.571428571428540000000",
"cacheWrite": null,
"input": "31428.5714285714270000000",
"output": "125714.2857142857080000000"
}
},
"cashQualification": "NOT_EVALUATED",
"components": [
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_BASE_MODEL_RATIO",
"usageKind": "TEXT_INPUT",
"value": "0.14285714285714285"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "4"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.02"
}
],
"contentSha256": "7b4d08eb3d31c874020029ea4a8f47cf9d8d72d264a47a096555136c0df44ccc",
"currencyInferred": false,
"declaredGroupRatio": "0.22",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "6553dd8be5da671de8da906bc87af10e02d095bd057815144d2359878842f270",
"rawDeclaredFieldsSha256": "89276b5d6fe392fa92f51186586b1bb59ed14dfe4566225e47ecc340ac6e0f5c",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "3956062d4a76e1f7289eac0bed8875bc91366547e7965557d433ee76a9346717",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_GLOBAL_FIELDS"
]
} Unresolved reasons [
"NONSTANDARD_GLOBAL_FIELDS"
] Complete pricing rule · all branches, units and conditions {
"branches": [
{
"components": [
{
"coefficient": "1.1428571428571428",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.005714285714285714",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.2857142857142857",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "peak",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "0.5714285714285714",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.002857142857142857",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.14285714285714285",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "off_peak",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "off_peak"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.14285714285714285"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.002857142857142857"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5714285714285714"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "peak"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2857142857142857"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.005714285714285714"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.1428571428571428"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [
{
"argument": "Asia/Shanghai",
"function": "day"
},
{
"argument": "Asia/Shanghai",
"function": "hour"
},
{
"argument": "Asia/Shanghai",
"function": "month"
},
{
"argument": "Asia/Shanghai",
"function": "weekday"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"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.22",
"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": "6ec3606d9bc84aaf2b89eb8dae3ed10529f3e57c008c53c29f1038829b3862dc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "3f56a68620492caf8a663be3142ece48be7c109f300e3bb3a7aa49a588675d9c",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
} Complete declared conditions {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "kimi deepseek 智谱",
"declaredGroupRatio": "0.22",
"eligibility": {
"declaredGroup": "国模",
"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:43:40.625000Z",
"firstObservedAt": "2026-10-03T23:43:41.855Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:43:41.855Z",
"snapshotId": "da59e79ff71bf4878a943793a83d13b19c8efc83d0b9d6ee490a5cae4ae79c6f",
"sourceId": "api.lingzhouai.com",
"transactionId": "01a75272df910bf22bcc73f6141eefb5b768aaba940ec49e1fd3574bda1738ac"
} Complete public declaration and source identity {
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "95bb1987e9e42352603799d31dbec924360832548ffab608858c79bd989c5460",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "SPECIAL_OR_UNKNOWN_PRICING",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "kimi deepseek 智谱",
"declaredGroupRatio": "0.22",
"eligibility": {
"declaredGroup": "国模",
"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": "国模",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [
"NONSTANDARD_GLOBAL_FIELDS"
],
"freshUntil": "2026-10-10T23:43:40.625000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "deepseek-v4.1-flash-expires-on-0910",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:43:41.855Z",
"outputPrice": null,
"parseRevisionId": "c3f81db930c244579fa3116df9f1542a8f68128f5f6c54633293c8cf7cef6090",
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.1",
"partialPriceComponents": {
"baseFormulaArithmetic": {
"formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
"meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
"overridesApplied": false,
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"values": {
"cacheRead": "628.571428571428540000000",
"cacheWrite": null,
"input": "31428.5714285714270000000",
"output": "125714.2857142857080000000"
}
},
"cashQualification": "NOT_EVALUATED",
"components": [
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_BASE_MODEL_RATIO",
"usageKind": "TEXT_INPUT",
"value": "0.14285714285714285"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "4"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.02"
}
],
"contentSha256": "7b4d08eb3d31c874020029ea4a8f47cf9d8d72d264a47a096555136c0df44ccc",
"currencyInferred": false,
"declaredGroupRatio": "0.22",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "6553dd8be5da671de8da906bc87af10e02d095bd057815144d2359878842f270",
"rawDeclaredFieldsSha256": "89276b5d6fe392fa92f51186586b1bb59ed14dfe4566225e47ecc340ac6e0f5c",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "3956062d4a76e1f7289eac0bed8875bc91366547e7965557d433ee76a9346717",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_GLOBAL_FIELDS"
]
},
"perRequestPrice": null,
"planId": "declared-group:国模",
"pricePairSourceRowId": "3956062d4a76e1f7289eac0bed8875bc91366547e7965557d433ee76a9346717",
"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": "UNRESOLVED",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "1.1428571428571428",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.005714285714285714",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.2857142857142857",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "peak",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "0.5714285714285714",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.002857142857142857",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.14285714285714285",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "off_peak",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "weekday",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "14"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "hour",
"type": "call"
},
"operator": "<",
"right": {
"type": "number",
"value": "18"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"operand": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "3"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "23"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "6"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "19"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "21"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "9"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "27"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "month",
"type": "call"
},
"operator": "==",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": ">=",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "Asia/Shanghai"
}
],
"function": "day",
"type": "call"
},
"operator": "<=",
"right": {
"type": "number",
"value": "7"
},
"type": "binary"
},
"type": "binary"
},
"type": "binary"
},
"operator": "!",
"type": "unary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "off_peak"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.14285714285714285"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.002857142857142857"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5714285714285714"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "peak"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2857142857142857"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.005714285714285714"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.1428571428571428"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [
{
"argument": "Asia/Shanghai",
"function": "day"
},
{
"argument": "Asia/Shanghai",
"function": "hour"
},
{
"argument": "Asia/Shanghai",
"function": "month"
},
{
"argument": "Asia/Shanghai",
"function": "weekday"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"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.22",
"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": "6ec3606d9bc84aaf2b89eb8dae3ed10529f3e57c008c53c29f1038829b3862dc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "3f56a68620492caf8a663be3142ece48be7c109f300e3bb3a7aa49a588675d9c",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "6553dd8be5da671de8da906bc87af10e02d095bd057815144d2359878842f270",
"quoteOrdinal": 7,
"snapshotId": "da59e79ff71bf4878a943793a83d13b19c8efc83d0b9d6ee490a5cae4ae79c6f",
"sourceDomain": "api.lingzhouai.com",
"sourceId": "api.lingzhouai.com",
"sourceRowId": "3956062d4a76e1f7289eac0bed8875bc91366547e7965557d433ee76a9346717",
"transactionId": "01a75272df910bf22bcc73f6141eefb5b768aaba940ec49e1fd3574bda1738ac",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}