CodeX· 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.5-openai-compact
api.zyai.online · Public API declaration
Plan / group: declared-group:CodeX · CodeX
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": "2.5",
"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": "5",
"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": "4f7aabcc13d7e51bb1d2dde806bd0eb0e4e7def457dad1985e9f7cdf941bdd94",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "0.25",
"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": "74c4dc496ed0f431e7f69376bc3100a30d463cb7ae6c11623dff87febe7c8033",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "gpt-5.5*",
"selection": "MOST_SPECIFIC_THEN_LEXICAL"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "6",
"FixedPrice": "0",
"InputRatio": "2.5",
"MaxTokens": "271999",
"MinTokens": "0"
},
{
"CompletionRatio": "4.5",
"FixedPrice": "0",
"InputRatio": "5",
"MaxTokens": "-1",
"MinTokens": "272000"
}
]
},
"sourceConfigSha256": "518832e70346c979443a05aa0a1ce7950ba0dac4125ee1ae569a6cf940a1bb7d",
"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
- 2.5 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 6 · SOURCE_COMPLETION_RATIO
- cache_ratio
- 0.1 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
"baseFormulaArithmetic": {
"formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
"meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
"overridesApplied": false,
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"values": {
"cacheRead": "62500.0000",
"cacheWrite": null,
"input": "625000.000",
"output": "3750000.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": "2.5"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "6"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.1"
}
],
"contentSha256": "8468044c5dd27f3cebe97d2f7d9d8329f667be0b97fa8976e0632afc66be0fec",
"currencyInferred": false,
"declaredGroupRatio": "0.25",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "d25fe8d3f4910f0cc8c446a712e494e7f95589f44bc8915943c09e29b4e916c8",
"rawDeclaredFieldsSha256": "56072e93b27a98ddbf4f1be33cd3e122cb414255ee8c8f29366e1291715f797b",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "7184c6fb080f508dfb4d0ae9d5a6baef9345965e34a93f51d954070ff470f1b8",
"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": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"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": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"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": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "45"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 271999"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "30"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"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": "0.25",
"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": "a89408369a6b16b9fae1cfb3854d5e436dd37009baf8b48809868102c0d020e2",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "4f7aabcc13d7e51bb1d2dde806bd0eb0e4e7def457dad1985e9f7cdf941bdd94",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared conditions
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "CodeX专用",
"declaredGroupRatio": "0.25",
"eligibility": {
"declaredGroup": "CodeX",
"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:30.445000Z",
"firstObservedAt": "2026-10-03T23:46:32.414Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:46:32.414Z",
"snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
"sourceId": "api.zyai.online",
"transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}Complete public declaration and source identity
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
"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": "CodeX专用",
"declaredGroupRatio": "0.25",
"eligibility": {
"declaredGroup": "CodeX",
"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": "CodeX",
"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:46:30.445000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-5.5-openai-compact",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:46:32.414Z",
"outputPrice": null,
"parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
"parsedPricingDeclarations": [
{
"branches": [
{
"completionRatio": "6",
"fixedPrice": "0",
"fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
"inputRatio": "2.5",
"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": "5",
"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": "4f7aabcc13d7e51bb1d2dde806bd0eb0e4e7def457dad1985e9f7cdf941bdd94",
"declarationComplete": true,
"declaredCurrency": null,
"groupRatio": "0.25",
"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": "74c4dc496ed0f431e7f69376bc3100a30d463cb7ae6c11623dff87febe7c8033",
"schema": "grandet.public-conditional-declaration/v1",
"selection": {
"selectedPattern": "gpt-5.5*",
"selection": "MOST_SPECIFIC_THEN_LEXICAL"
},
"sourceConfig": {
"Conditions": [
{
"CompletionRatio": "6",
"FixedPrice": "0",
"InputRatio": "2.5",
"MaxTokens": "271999",
"MinTokens": "0"
},
{
"CompletionRatio": "4.5",
"FixedPrice": "0",
"InputRatio": "5",
"MaxTokens": "-1",
"MinTokens": "272000"
}
]
},
"sourceConfigSha256": "518832e70346c979443a05aa0a1ce7950ba0dac4125ee1ae569a6cf940a1bb7d",
"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": "62500.0000",
"cacheWrite": null,
"input": "625000.000",
"output": "3750000.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": "2.5"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "6"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.1"
}
],
"contentSha256": "8468044c5dd27f3cebe97d2f7d9d8329f667be0b97fa8976e0632afc66be0fec",
"currencyInferred": false,
"declaredGroupRatio": "0.25",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "d25fe8d3f4910f0cc8c446a712e494e7f95589f44bc8915943c09e29b4e916c8",
"rawDeclaredFieldsSha256": "56072e93b27a98ddbf4f1be33cd3e122cb414255ee8c8f29366e1291715f797b",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "7184c6fb080f508dfb4d0ae9d5a6baef9345965e34a93f51d954070ff470f1b8",
"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:CodeX",
"pricePairSourceRowId": "7184c6fb080f508dfb4d0ae9d5a6baef9345965e34a93f51d954070ff470f1b8",
"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://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
"conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
"legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
"legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
"legacyObservedAt": "2026-10-03T19:57:40.758Z",
"pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
"pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
"pricingObservedAt": "2026-10-03T19:06:26.514Z",
"pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
},
{
"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": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"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": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"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": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "45"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "≤ 271999"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "30"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"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": "0.25",
"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": "a89408369a6b16b9fae1cfb3854d5e436dd37009baf8b48809868102c0d020e2",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "4f7aabcc13d7e51bb1d2dde806bd0eb0e4e7def457dad1985e9f7cdf941bdd94",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "d25fe8d3f4910f0cc8c446a712e494e7f95589f44bc8915943c09e29b4e916c8",
"quoteOrdinal": 1058,
"snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
"sourceDomain": "api.zyai.online",
"sourceId": "api.zyai.online",
"sourceRowId": "7184c6fb080f508dfb4d0ae9d5a6baef9345965e34a93f51d954070ff470f1b8",
"transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}