default· 公开接口
还没读出价格 · 总费用未确认
没有能直接显示的价格,展开下面可以看原始数据。
全部价格、条件和原始数据
qwen3.5-flash
api-cf.apiyi.com · 服务商接口公开的价格
套餐 / 分组:declared-group:default · default
近期采集的价格 · 不是实时价格
采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)
这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。
计价单位:各项单位见完整计费规则
还没读出完整价格。读到的部分在下面,总费用还没确认。
读到的附加条件
完整条件和原始数据
{
"branches": [
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.014",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "131072",
"maximumInclusive": true,
"minimum": "0",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.057",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": "262144",
"maximumInclusive": true,
"minimum": "131073",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.085",
"sourceConditionOrdinal": 2,
"tokenBounds": {
"integerRequired": true,
"maximum": null,
"maximumInclusive": false,
"minimum": "262145",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "1b1796f4fd8b4ecdd0dc4e4e4b298117ba8f296e7a3270737998b9d4b034a0e7",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "1",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "MODEL_CONDITIONAL_PRICING",
"limitations": [
"SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
"NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
"NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
"SOURCE_CONDITION_ORDINALS_PRESERVED"
],
"missingSemantics": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_CURRENCY_NOT_DECLARED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"parserVersion": "grandet.source-conditional-declaration/1.5.0",
"ruleContentSha256": "a41f0e1551ee2820ec2cc577227576c135cbe2c71800d92b52f703aa0beacba7",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "qwen3.5-flash",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.014",
"MaxTokens": "131072",
"MinTokens": "0"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.057",
"MaxTokens": "262144",
"MinTokens": "131073"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.085",
"MaxTokens": "-1",
"MinTokens": "262145"
}
]
},
"sourceConfigSha256": "29824698f73f35488e0551d02a504cea67d284df1a473a26bfef74e7f3ee320e",
"status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
"tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
"tierSelection": "NOT_EVALUATED",
"units": [
"SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
]
}- 输入
- 没写或没读出
- 输出
- 没写或没读出
- 按次
- 没写或没读出
- 缓存读取
- 没写或没读出
- 缓存写入
- 没写或没读出
读到的部分价格
下面是从服务商页面读到的倍率或价格,只是一部分,套餐的总费用还没核实。
- model_ratio
- 0.015 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 10 · SOURCE_COMPLETION_RATIO
这部分的完整原始数据
{
"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": null,
"cacheWrite": null,
"input": "15000.000",
"output": "150000.000"
}
},
"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.015"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "10"
}
],
"contentSha256": "7b88a7865889f3ca7d6d29a946761cc19d873208a6a7595b9c8fc89ccdac7c67",
"currencyInferred": false,
"declaredGroupRatio": "1",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "a663cfc4f6d23949fbf969df7aac45fc3cf20e9a4fdbc80477c98f0a1600f11d",
"rawDeclaredFieldsSha256": "89d68aeb7fcb691e90025b6698070a2c565dddc177fd5bf3f2d19ce539ed26f8",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "e3daed56bea0cdd93ead7a15ff500de61fe0608af14b6026b95dde1bf4e631bc",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_CURRENCY_NOT_DECLARED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
}为什么还没读出价格
[ "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED", "CONDITIONAL_CURRENCY_NOT_DECLARED", "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED", "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED" ]
完整计费规则(含所有情况、单位和条件)
{
"branches": [
{
"components": [
{
"coefficient": "0.28",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.028",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 131072",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.14",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.114",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "131073–262144",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.7",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.17",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "> 262144",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"condition": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "> 262144"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.17"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.7"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "131073–262144"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.114"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.14"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 131072"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.028"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.28"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"len",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "1",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "CONDITIONAL_EXPRESSION",
"limitations": [
"DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
"PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
"TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
"GROUP_RATIO_NOT_APPLIED",
"TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
"OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
],
"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": "64fe7d429e452f3de18565750fbfa6b5e0da1d80132bb4f53a801c9f9b00c274",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "1b1796f4fd8b4ecdd0dc4e4e4b298117ba8f296e7a3270737998b9d4b034a0e7",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}服务商写的全部条件
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "Default",
"declaredGroupRatio": 1,
"eligibility": {
"declaredGroup": "default",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
}判断是否过期用的数据
{
"cacheFreshUntil": "2026-10-17T07:15:22.925000Z",
"firstObservedAt": "2026-10-10T07:15:26.295Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-10T07:15:26.295Z",
"snapshotId": "64d48858b07d986af594d67e1dfe459c4df137083d3bc342bc5272a3a7c49bbc",
"sourceId": "api-cf.apiyi.com",
"transactionId": "b2a6b0cfa0c3002a5bdfe7aa00e9539c82ecbf447884d6ebf86e62ea33c9f106"
}这条价格的完整原始记录
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "5269edff7f6760c290f7e5877382fc119f94aa43ce2f0d3aa4b0345043da9a38",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "SPECIAL_OR_UNKNOWN_PRICING",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "Default",
"declaredGroupRatio": 1,
"eligibility": {
"declaredGroup": "default",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
},
"declaredGroup": "default",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_CURRENCY_NOT_DECLARED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"freshUntil": "2026-10-17T07:15:22.925000Z",
"groupOfferingFlags": [],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "qwen3.5-flash",
"multimodalPricing": null,
"observedAt": "2026-10-10T07:15:26.295Z",
"offerKey": "93a222780a9e3389f6a2117126213b7657412d01dc172f6073bca6dd955e4b9d",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": [
{
"branches": [
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.014",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "131072",
"maximumInclusive": true,
"minimum": "0",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.057",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": "262144",
"maximumInclusive": true,
"minimum": "131073",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.085",
"sourceConditionOrdinal": 2,
"tokenBounds": {
"integerRequired": true,
"maximum": null,
"maximumInclusive": false,
"minimum": "262145",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "1b1796f4fd8b4ecdd0dc4e4e4b298117ba8f296e7a3270737998b9d4b034a0e7",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "1",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "MODEL_CONDITIONAL_PRICING",
"limitations": [
"SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
"NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
"NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
"SOURCE_CONDITION_ORDINALS_PRESERVED"
],
"missingSemantics": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_CURRENCY_NOT_DECLARED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"parserVersion": "grandet.source-conditional-declaration/1.5.0",
"ruleContentSha256": "a41f0e1551ee2820ec2cc577227576c135cbe2c71800d92b52f703aa0beacba7",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "qwen3.5-flash",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.014",
"MaxTokens": "131072",
"MinTokens": "0"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.057",
"MaxTokens": "262144",
"MinTokens": "131073"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.085",
"MaxTokens": "-1",
"MinTokens": "262145"
}
]
},
"sourceConfigSha256": "29824698f73f35488e0551d02a504cea67d284df1a473a26bfef74e7f3ee320e",
"status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
"tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
"tierSelection": "NOT_EVALUATED",
"units": [
"SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
]
}
],
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.7.0",
"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": null,
"cacheWrite": null,
"input": "15000.000",
"output": "150000.000"
}
},
"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.015"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "10"
}
],
"contentSha256": "7b88a7865889f3ca7d6d29a946761cc19d873208a6a7595b9c8fc89ccdac7c67",
"currencyInferred": false,
"declaredGroupRatio": "1",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "a663cfc4f6d23949fbf969df7aac45fc3cf20e9a4fdbc80477c98f0a1600f11d",
"rawDeclaredFieldsSha256": "89d68aeb7fcb691e90025b6698070a2c565dddc177fd5bf3f2d19ce539ed26f8",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "e3daed56bea0cdd93ead7a15ff500de61fe0608af14b6026b95dde1bf4e631bc",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_CURRENCY_NOT_DECLARED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
},
"perRequestPrice": null,
"planId": "declared-group:default",
"pricePairSourceRowId": "e3daed56bea0cdd93ead7a15ff500de61fe0608af14b6026b95dde1bf4e631bc",
"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"
},
{
"adapterId": "conditional-map",
"anonymousOverlayBasis": "REVIEWED_OBSERVATION_REUSED_NOT_REOBSERVED",
"anonymousOverlayReobserved": false,
"bindingId": "conditional-map/api-cf.apiyi.com",
"cashQualification": "NOT_EVALUATED",
"currentConditionalMapSha256": "07f3e588636ad22c2c7e6baceb7d64818987554111b98a6917466c7f978c3f30",
"evidenceFile": "adapter-conditional-map.json",
"evidenceFileSha256": "6883d2f32f57b55a4437500827a7b64813b1575f847334e17336aa462f53754e",
"exactPinMatched": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "ADAPTER_EVIDENCE_REAPPLIED_BY_SEMANTIC_KEY",
"observedClientAssetKeySha256": "8bbc07d3ecccce8256d24dda08dd6794bd6c742aa794919b0ea570cbd6f86d71",
"renewsObservationTime": false,
"reobservedLegacyBodySha256": null,
"reviewedAt": "2026-10-04",
"reviewedObservation": {
"bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
"bundleUrl": "https://api-cf.apiyi.com/static/js/1037.f9964504.chunk.js",
"conditionalMapSha256": "d108ea8789e82e0bb87b8df39377e2aa980ba73b9fffe931644669af128104a7",
"legacyBodySha256": "e136591947d2259ea008c0cee3b7157dc81b831de3267312d1627ed4fad193a5",
"legacyEndpoint": "https://api-cf.apiyi.com/api/pricing_legacy",
"legacyObservedAt": "2026-10-03T19:57:31.897Z",
"pricingAttemptId": "a6a6a90b11db675ec632797d327fc9211429a3b9bfbf5d99b5b5de160f352a2f",
"pricingBodySha256": "5227288d05b8cb160e6bedb106eca3c684853ac97f887d6720a6e600c064b5fe",
"pricingObservedAt": "2026-10-03T19:00:01.503Z",
"pricingTransactionId": "fc5b7b10eaafd196dba955f5da6b80815fb9da9b25e2ea6db70e3192781f0a66"
},
"schema": "grandet.adapter-evidence-decision/v1",
"semanticKey": {
"assetPaths": [
"/static/js/runtime.69d40411.js"
],
"kind": "CLIENT_SCRIPT_ASSETS/v1",
"sha256": "fcae33b5cff8fc6394366acec8ab86f1e66874506ac207fe7a0f9a5a8867c168"
},
"sourceId": "api-cf.apiyi.com",
"structuralPredicates": [
"ANONYMOUS_PUBLIC_SCOPE",
"PUBLIC_GROUP_MAPS",
"GLOBAL_KEYS_SUBSET",
"GLOBAL_VALUE_EQUALS",
"CONDITIONAL_MAP_SCHEMA",
"CONDITIONAL_NO_PRICE_OVERLAYS"
]
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
"fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
"kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
"sourceByteRange": [
6593,
8453
]
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
"fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
"kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
"sourceByteRange": [
39930,
42217
]
}
],
"pricingResolution": "UNRESOLVED",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "0.28",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.028",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 131072",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.14",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.114",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "131073–262144",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.7",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.17",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "> 262144",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "131072"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"condition": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "131073"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "262144"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "> 262144"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.17"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.7"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "131073–262144"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.114"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.14"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 131072"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.028"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.28"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"len",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "1",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "CONDITIONAL_EXPRESSION",
"limitations": [
"DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
"PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
"TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
"GROUP_RATIO_NOT_APPLIED",
"TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
"OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
],
"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": "64fe7d429e452f3de18565750fbfa6b5e0da1d80132bb4f53a801c9f9b00c274",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "1b1796f4fd8b4ecdd0dc4e4e4b298117ba8f296e7a3270737998b9d4b034a0e7",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "a663cfc4f6d23949fbf969df7aac45fc3cf20e9a4fdbc80477c98f0a1600f11d",
"quoteOrdinal": 719,
"semanticFlags": [],
"snapshotId": "64d48858b07d986af594d67e1dfe459c4df137083d3bc342bc5272a3a7c49bbc",
"sourceDomain": "api-cf.apiyi.com",
"sourceId": "api-cf.apiyi.com",
"sourceRowId": "e3daed56bea0cdd93ead7a15ff500de61fe0608af14b6026b95dde1bf4e631bc",
"transactionId": "b2a6b0cfa0c3002a5bdfe7aa00e9539c82ecbf447884d6ebf86e62ea33c9f106",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}