openai· 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
gpt-5.4-pro
api.qinzhiai.com · Public API declaration
Plan / group: declared-group:openai · openai
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": "6",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "15",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "271999",
"maximumInclusive": true,
"minimum": "0",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "4.5",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "30",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": null,
"maximumInclusive": false,
"minimum": "272000",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "e4f96860ccd01ea1120efdbd9a8b48b8613b1a79c91c1ebd9e8316c02d1373d6",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "4.5",
"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": "6474e2fc076873c9676271e2ab1e1aaa9ca32e6b531136ad590d787aedc437c2",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "gpt-5.4-pro",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "6",
"FixedPrice": "0",
"InputRatio": "15",
"MaxTokens": "271999",
"MinTokens": "0"
},
{
"CompletionRatio": "4.5",
"FixedPrice": "0",
"InputRatio": "30",
"MaxTokens": "-1",
"MinTokens": "272000"
}
]
},
"sourceConfigSha256": "3c64157f12ebe860ceae2ab1d3d6d345ec16dd95fb0eea846de77f8b06be21d8",
"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
- 15 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 6 · 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": "67500000.0",
"output": "405000000.0"
}
},
"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": "15"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "6"
}
],
"contentSha256": "f99e3e0197367e59e1a72e281e1e1d681dc7c2f11635509e492e19dbeb685467",
"currencyInferred": false,
"declaredGroupRatio": "4.5",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "6429cd9422ef7e49c354747db962c9762b41aeadba34b534c59cd35abd7f23bc",
"rawDeclaredFieldsSha256": "66b8a6fc4ded9320939483bd39931bd365a955a472f0093f7aeeab80f710a15e",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "29ba9bbb88a0218c189ac8570e7128a9c0ca104d6736ed893c8181762c831a45",
"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"
]
}Unresolved reasons
[ "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED", "CONDITIONAL_CURRENCY_NOT_DECLARED", "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED", "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED" ]
Complete pricing rule · all branches, units and conditions
{
"branches": [
{
"components": [
{
"coefficient": "180",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 271999",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "270",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "> 271999",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "> 271999"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "60"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "270"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 271999"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "30"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "180"
},
"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": "4.5",
"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": "8e2076a3c40fa83b01114d7040db2e8d0276998e878b8bb26b5bc823caa89180",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "e4f96860ccd01ea1120efdbd9a8b48b8613b1a79c91c1ebd9e8316c02d1373d6",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared conditions
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"anthropic",
"openai"
],
"declaredGroupDescription": "openai官key",
"declaredGroupRatio": "4.5",
"eligibility": {
"declaredGroup": "openai",
"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:44:39.666000Z",
"firstObservedAt": "2026-10-03T23:44:41.830Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:44:41.830Z",
"snapshotId": "686501eabc5e8fcade20ba5522008fe2c1d963443eb82b643f5e83eb5687bcbd",
"sourceId": "api.qinzhiai.com",
"transactionId": "cde6ad34aab3082982327d491c94093f799d915a0f7d3526517428003abeccec"
}Complete public declaration and source identity
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "d3729ac16be9e1c6236eda4c5c5066da3962b182fe6b90b15edfd19910b31417",
"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": [
"anthropic",
"openai"
],
"declaredGroupDescription": "openai官key",
"declaredGroupRatio": "4.5",
"eligibility": {
"declaredGroup": "openai",
"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": "openai",
"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-10T23:44:39.666000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-5.4-pro",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:44:41.830Z",
"outputPrice": null,
"parseRevisionId": "9ca6f26386495f6b6b03e4cfb1017d40247e57cf686f4168d87368bf9c308685",
"parsedPricingDeclarations": [
{
"branches": [
{
"completionRatio": "6",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "15",
"sourceConditionOrdinal": 0,
"tokenBounds": {
"integerRequired": true,
"maximum": "271999",
"maximumInclusive": true,
"minimum": "0",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
},
{
"completionRatio": "4.5",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "30",
"sourceConditionOrdinal": 1,
"tokenBounds": {
"integerRequired": true,
"maximum": null,
"maximumInclusive": false,
"minimum": "272000",
"minimumInclusive": true,
"quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
}
}
],
"calculationSupported": false,
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"competingExpressionSha256": "e4f96860ccd01ea1120efdbd9a8b48b8613b1a79c91c1ebd9e8316c02d1373d6",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "4.5",
"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": "6474e2fc076873c9676271e2ab1e1aaa9ca32e6b531136ad590d787aedc437c2",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "gpt-5.4-pro",
"selection": "EXACT"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "6",
"FixedPrice": "0",
"InputRatio": "15",
"MaxTokens": "271999",
"MinTokens": "0"
},
{
"CompletionRatio": "4.5",
"FixedPrice": "0",
"InputRatio": "30",
"MaxTokens": "-1",
"MinTokens": "272000"
}
]
},
"sourceConfigSha256": "3c64157f12ebe860ceae2ab1d3d6d345ec16dd95fb0eea846de77f8b06be21d8",
"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": "67500000.0",
"output": "405000000.0"
}
},
"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": "15"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "6"
}
],
"contentSha256": "f99e3e0197367e59e1a72e281e1e1d681dc7c2f11635509e492e19dbeb685467",
"currencyInferred": false,
"declaredGroupRatio": "4.5",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "6429cd9422ef7e49c354747db962c9762b41aeadba34b534c59cd35abd7f23bc",
"rawDeclaredFieldsSha256": "66b8a6fc4ded9320939483bd39931bd365a955a472f0093f7aeeab80f710a15e",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "29ba9bbb88a0218c189ac8570e7128a9c0ca104d6736ed893c8181762c831a45",
"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:openai",
"pricePairSourceRowId": "29ba9bbb88a0218c189ac8570e7128a9c0ca104d6736ed893c8181762c831a45",
"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": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
"bundleUrl": "https://api.qinzhiai.com/static/js/1037.24886c5c.chunk.js",
"conditionalMapSha256": "6b28ccaab8681c0a11219827b8bfdb4ae3b07cf2242edc7c90871833eccceb03",
"legacyBodySha256": "48030dd79239d0857029176b62b579e1880c7ccb5a6fda31c8f8ad2cb51b2036",
"legacyEndpoint": "https://api.qinzhiai.com/api/pricing_legacy",
"legacyObservedAt": "2026-10-03T19:57:37.419Z",
"pricingAttemptId": "84ad9a34a54d531364830d90aeadbdf7fbe301fe5e00517a7ac67ceeadc3583a",
"pricingBodySha256": "58ed4d7d9f176e2991a0146c242936ce88ebff312b1c8cf2fed5eedcc381f999",
"pricingObservedAt": "2026-10-03T19:04:44.489Z",
"pricingTransactionId": "3093bf3373798d00e57ab0b1b1da436efefc972f6bf00793cd8d0d363bc3683e"
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
"fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
"kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
"sourceByteRange": [
6593,
8453
]
},
{
"adapterVersion": "grandet.source-conditional-declaration/1.5.0",
"bundleSha256": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
"fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
"kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
"sourceByteRange": [
39930,
42217
]
}
],
"pricingResolution": "UNRESOLVED",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "180",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "≤ 271999",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "270",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "> 271999",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "271999"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "> 271999"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "60"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "270"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 271999"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "30"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "180"
},
"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": "4.5",
"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": "8e2076a3c40fa83b01114d7040db2e8d0276998e878b8bb26b5bc823caa89180",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "e4f96860ccd01ea1120efdbd9a8b48b8613b1a79c91c1ebd9e8316c02d1373d6",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "6429cd9422ef7e49c354747db962c9762b41aeadba34b534c59cd35abd7f23bc",
"quoteOrdinal": 359,
"snapshotId": "686501eabc5e8fcade20ba5522008fe2c1d963443eb82b643f5e83eb5687bcbd",
"sourceDomain": "api.qinzhiai.com",
"sourceId": "api.qinzhiai.com",
"sourceRowId": "29ba9bbb88a0218c189ac8570e7128a9c0ca104d6736ed893c8181762c831a45",
"transactionId": "cde6ad34aab3082982327d491c94093f799d915a0f7d3526517428003abeccec",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}