default· Public API
Pricing unresolved · known amounts are not complete cost
No directly displayable scalar; the complete declaration is retained.
All prices, conditions and source evidence
qwen3.5-flash
api2.laozhang.ai · Public API declaration
Plan / group: declared-group:default · default
Within observation window · not a live quote
Observed as of: · Original cache limit: · Effective limit (exclusive):
Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.
Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE
Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED
Extracted conditional declaration
Complete terms and source evidence
{
"branches": [
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.1",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "128000",
"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.4",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": "256000",
"maximumInclusive": true,
"minimum": "128001",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.6",
"sourceConditionOrdinal": 2,
"tokenBounds": {
"integerRequired": true,
"maximum": "1000000",
"maximumInclusive": true,
"minimum": "256001",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "861b5392886886955c194f3dc1ec177f4978a925ab7d5bd0f6f70890553f4f3f",
"declarationComplete": true,
"declaredCurrency": "CNY",
"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_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"parserVersion": "grandet.source-conditional-declaration/1.5.0",
"ruleContentSha256": "2f8b3467b630d868ba3eb036d7df01a311924dc7841add07e46759e70ab1635e",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "qwen3.5-flash",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.1",
"MaxTokens": "128000",
"MinTokens": "0"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.4",
"MaxTokens": "256000",
"MinTokens": "128001"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.6",
"MaxTokens": "1000000",
"MinTokens": "256001"
}
],
"Currency": "CNY"
},
"sourceConfigSha256": "bba7622bb9202686147a65125e750d31c3be57a7fe4ccea0400cc37cfccb0215",
"status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
"tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
"tierSelection": "NOT_EVALUATED",
"units": [
"SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
]
}- 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.015 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 10 · SOURCE_COMPLETION_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": 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": "6f1700e5dbd3139c8f8b211d2a33a2aff09c85bdf117a13108341c9108430f3e",
"currencyInferred": false,
"declaredGroupRatio": "1",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "8707a6c3e810524ec5c9db6501da21330995ef24274db30ba100dc1f1751cbc7",
"rawDeclaredFieldsSha256": "fb2ce4390dcee31890888b8dab918cd8dc00a6616e8394b19686e8f07c84ce96",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "198540f9e2590eeb89622d57cfc3a325e42a62f4bb8394b9cea8de53ead7e0b3",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
}Unresolved reasons
[ "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED", "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED", "CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND", "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED" ]
Complete pricing rule · all branches, units and conditions
{
"branches": [
{
"components": [
{
"coefficient": "0.27397260274",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.027397260274",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 128K",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.09589041096",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.109589041096",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "128001–256K",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.64383561644",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.164383561644",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "256001–1M",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"condition": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "256001–1M"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.164383561644"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.64383561644"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "128001–256K"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.109589041096"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.09589041096"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 128K"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.027397260274"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.27397260274"
},
"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": "1a224dddcd44e6de5257b35b77b56095c2c94faa3f13e2f14546bdf9925071bc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "861b5392886886955c194f3dc1ec177f4978a925ab7d5bd0f6f70890553f4f3f",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared 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"
}
}Bound source freshness context
{
"cacheFreshUntil": "2026-10-10T23:46:44.605000Z",
"firstObservedAt": "2026-10-03T23:46:46.490Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:46:46.490Z",
"snapshotId": "9e6fcf10fd423213fa65bafcecb9e7cab7518f47e9e44b454faa2efc6795d3c5",
"sourceId": "api2.laozhang.ai",
"transactionId": "45067df34381f4d416745c5c09ca04ae2f9e8901b330cf0a2bcc834d8575ffb0"
}Complete public declaration and source identity
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "2f2cc4740e302c4c5e0c897b10ea5adebb340e9123766a5fefbdde658d933d3c",
"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": "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_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"freshUntil": "2026-10-10T23:46:44.605000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "qwen3.5-flash",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:46:46.490Z",
"outputPrice": null,
"parseRevisionId": "ed30b2e667da9b1e06f8cfa3bb76d9cc615280c9da5237333e4b01bfb9bce772",
"parsedPricingDeclarations": [
{
"branches": [
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.1",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "128000",
"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.4",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": "256000",
"maximumInclusive": true,
"minimum": "128001",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "10",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "0.6",
"sourceConditionOrdinal": 2,
"tokenBounds": {
"integerRequired": true,
"maximum": "1000000",
"maximumInclusive": true,
"minimum": "256001",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "861b5392886886955c194f3dc1ec177f4978a925ab7d5bd0f6f70890553f4f3f",
"declarationComplete": true,
"declaredCurrency": "CNY",
"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_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
],
"parserVersion": "grandet.source-conditional-declaration/1.5.0",
"ruleContentSha256": "2f8b3467b630d868ba3eb036d7df01a311924dc7841add07e46759e70ab1635e",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "qwen3.5-flash",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.1",
"MaxTokens": "128000",
"MinTokens": "0"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.4",
"MaxTokens": "256000",
"MinTokens": "128001"
},
{
"CompletionRatio": "10",
"FixedPrice": "0",
"InputRatio": "0.6",
"MaxTokens": "1000000",
"MinTokens": "256001"
}
],
"Currency": "CNY"
},
"sourceConfigSha256": "bba7622bb9202686147a65125e750d31c3be57a7fe4ccea0400cc37cfccb0215",
"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.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": 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": "6f1700e5dbd3139c8f8b211d2a33a2aff09c85bdf117a13108341c9108430f3e",
"currencyInferred": false,
"declaredGroupRatio": "1",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "8707a6c3e810524ec5c9db6501da21330995ef24274db30ba100dc1f1751cbc7",
"rawDeclaredFieldsSha256": "fb2ce4390dcee31890888b8dab918cd8dc00a6616e8394b19686e8f07c84ce96",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "198540f9e2590eeb89622d57cfc3a325e42a62f4bb8394b9cea8de53ead7e0b3",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
"CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
"CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
"CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
},
"perRequestPrice": null,
"planId": "declared-group:default",
"pricePairSourceRowId": "198540f9e2590eeb89622d57cfc3a325e42a62f4bb8394b9cea8de53ead7e0b3",
"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"
},
{
"bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
"bundleUrl": "https://api2.laozhang.ai/static/js/1037.d0a7e82f.chunk.js",
"conditionalMapSha256": "75fdd12ca2494448f923d7fb625339ec104bde7fa4ec832b4b5532195492c002",
"legacyBodySha256": "2b27657b625d72a52dd111cd7cee9705c9be396721cc2025fc1d718f32df1a5a",
"legacyEndpoint": "https://api2.laozhang.ai/api/pricing_legacy",
"legacyObservedAt": "2026-10-03T19:57:41.904Z",
"pricingAttemptId": "1972af46646e285dda843db53c5fb606db03d6440094ce422e29f3a16410fcf6",
"pricingBodySha256": "0edbdc7dc4e1a90ede8578ec080041f1d5c26111661063eeab24c6aa314ad77a",
"pricingObservedAt": "2026-10-03T19:06:33.602Z",
"pricingTransactionId": "54d9e333e0c98f9100b57feeb69ad1175e7e90e6639ff2d67f8a6daf5b724b52"
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
"fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
"kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
"sourceByteRange": [
6593,
8453
]
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
"fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
"kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
"sourceByteRange": [
39930,
42217
]
}
],
"pricingResolution": "UNRESOLVED",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "0.27397260274",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.027397260274",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 128K",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.09589041096",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.109589041096",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "128001–256K",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "1.64383561644",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.164383561644",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "256001–1M",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "128000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"condition": {
"left": {
"left": {
"name": "len",
"type": "variable"
},
"operator": ">=",
"right": {
"type": "number",
"value": "128001"
},
"type": "binary"
},
"operator": "&&",
"right": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "256000"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "256001–1M"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.164383561644"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.64383561644"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "128001–256K"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.109589041096"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1.09589041096"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 128K"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.027397260274"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.27397260274"
},
"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": "1a224dddcd44e6de5257b35b77b56095c2c94faa3f13e2f14546bdf9925071bc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "861b5392886886955c194f3dc1ec177f4978a925ab7d5bd0f6f70890553f4f3f",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "8707a6c3e810524ec5c9db6501da21330995ef24274db30ba100dc1f1751cbc7",
"quoteOrdinal": 235,
"snapshotId": "9e6fcf10fd423213fa65bafcecb9e7cab7518f47e9e44b454faa2efc6795d3c5",
"sourceDomain": "api2.laozhang.ai",
"sourceId": "api2.laozhang.ai",
"sourceRowId": "198540f9e2590eeb89622d57cfc3a325e42a62f4bb8394b9cea8de53ead7e0b3",
"transactionId": "45067df34381f4d416745c5c09ca04ae2f9e8901b330cf0a2bcc834d8575ffb0",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}