观察有效期内 · 非实时报价
截至观察: · 原缓存截止: · 最终评估截止(不含):
公开声明;现金资格尚未评估,上游身份、购买资格与服务质量未核验。
原计价单位:各项原单位见完整规则 · STRUCTURED_DECLARED_PRICING_RULE
按完整规则计费;不可用单一最低价代表。 · STRUCTURED_RULE
- 输入
- 未提供 / 待解析
- 输出
- 未提供 / 待解析
- 按次
- 未提供 / 待解析
- 缓存读取
- 未提供 / 待解析
- 缓存写入
- 未提供 / 待解析
完整计费规则 · 含所有分支、单位与条件
{
"branches": [
{
"components": [
{
"coefficient": "7.94117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.088235294117648",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2.647058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": true
},
{
"conditionAST": {
"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"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.97058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.044117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1.323529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": false
},
{
"conditionAST": {
"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"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.97058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.044117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1.323529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": true
},
{
"conditionAST": {
"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"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.98529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.022058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.661764705882353",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": false
},
{
"conditionAST": {
"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"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "base"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.661764705882353"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.98529411764706"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.022058823529412"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"operator": "*",
"right": {
"condition": {
"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"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"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": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"dependencies": {
"requestContext": [
{
"argument": "Asia/Shanghai",
"function": "hour"
}
],
"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.19",
"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": "54a93d3fec2b75bd77a839db35eb7694aafb351e2d1a53567714331d9807f178",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "38a7a8125c1260c9b2e7e2ac37f84c7519f7c060aa2e3a4e8e7d071375dd331a",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}完整声明条件
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "🚀国产打半折,性能不打折",
"declaredGroupRatio": "0.19",
"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"
}
}绑定的来源时效依据
{
"cacheFreshUntil": "2026-10-10T23:58:11.301000Z",
"firstObservedAt": "2026-10-03T23:58:12.473Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:58:12.473Z",
"snapshotId": "d31f00561d7d68ec10dfe8d89ec82c97bf768edfcae7c80740fd088862e3fb97",
"sourceId": "yiyuantoken.com",
"transactionId": "358700fe2e246c46758950db27c8a4d66918e90560f5d8b4a7b3030999645ce2"
}完整公开声明与来源定位
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "98a332e41f026822b7a8ded4fafbea7660dd3c93646f74b59be8b4714c862977",
"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": "🚀国产打半折,性能不打折",
"declaredGroupRatio": "0.19",
"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": [],
"freshUntil": "2026-10-10T23:58:11.301000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "DeepSeek-V4-Pro",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:58:12.473Z",
"outputPrice": null,
"parseRevisionId": "b42b5c31fcbea0ce651779835b8510302663b73029132f905632cde0f17a2a69",
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.1",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:🚀国产模型",
"pricePairSourceRowId": "b05097051930e3a6c0865fbec3f71d41102d4f906a736bc9bd2015612daf06e3",
"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": "7.94117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.088235294117648",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2.647058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": true
},
{
"conditionAST": {
"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"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.97058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.044117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1.323529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": false
},
{
"conditionAST": {
"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"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.97058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.044117647058824",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1.323529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": true
},
{
"conditionAST": {
"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"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.98529411764706",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.022058823529412",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.661764705882353",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"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"
},
"matches": false
},
{
"conditionAST": {
"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"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "base",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "base"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.661764705882353"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.98529411764706"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.022058823529412"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"operator": "*",
"right": {
"condition": {
"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"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"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": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"dependencies": {
"requestContext": [
{
"argument": "Asia/Shanghai",
"function": "hour"
}
],
"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.19",
"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": "54a93d3fec2b75bd77a839db35eb7694aafb351e2d1a53567714331d9807f178",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "38a7a8125c1260c9b2e7e2ac37f84c7519f7c060aa2e3a4e8e7d071375dd331a",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "2d3cec7c09dce210b3ee0471bc6fb18a8afaf15176ac6751e43b6fdb54920655",
"quoteOrdinal": 37,
"snapshotId": "d31f00561d7d68ec10dfe8d89ec82c97bf768edfcae7c80740fd088862e3fb97",
"sourceDomain": "yiyuantoken.com",
"sourceId": "yiyuantoken.com",
"sourceRowId": "b05097051930e3a6c0865fbec3f71d41102d4f906a736bc9bd2015612daf06e3",
"transactionId": "358700fe2e246c46758950db27c8a4d66918e90560f5d8b4a7b3030999645ce2",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}