528 identifier groups match; choose one and submit to view prices.

142 sources · 258 public declarations

Pricing and freshness · cash / quality unverified

Input, output, cache rates and conditions stay with their original plan. Host units differ and are not cash-ranked across hosts; cash qualification, upstream identity and quality remain unverified.

258 declarations in scope: 258 within observation window, 0 freshness unassessed, 0 historical / verification records.

Freshness evaluated as of: · Rendering does not extend the original observation window.

Captured name archive

Back to all sources

1 sources and 6 declarations match · 6 rows on this page

api.xi-ai.cn

6 declarations · 6 on this page

6 within window, 0 freshness unassessed, 0 historical / verification records.

default· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · 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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "declarationComplete": true,
  "declaredCurrency": "CNY",
  "groupRatio": "3",
  "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": "91545afd6809d296b48fda607b2ed129c41d9023335ea05634bc459803de7663",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "479999.999999999952000000",
      "cacheWrite": null,
      "input": "2400000.0",
      "output": "9600000.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": "0.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "653e872e9022076655142e25cda084737df5b68a5fa078b80fff04885cc26382",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "7f388a890116dfd68849ad6017e781b70c0880b4c099a1a965a68bacbf8dddd0",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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": "3",
  "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": "e77a0db2aaf3e5348804ab67d1eebe874e9e244ab807e30f14ba392d683753ca",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认模型",
  "declaredGroupRatio": 3,
  "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:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "默认模型",
    "declaredGroupRatio": 3,
    "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "declarationComplete": true,
      "declaredCurrency": "CNY",
      "groupRatio": "3",
      "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": "91545afd6809d296b48fda607b2ed129c41d9023335ea05634bc459803de7663",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "479999.999999999952000000",
        "cacheWrite": null,
        "input": "2400000.0",
        "output": "9600000.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": "0.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "653e872e9022076655142e25cda084737df5b68a5fa078b80fff04885cc26382",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "7f388a890116dfd68849ad6017e781b70c0880b4c099a1a965a68bacbf8dddd0",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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": "3",
    "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": "e77a0db2aaf3e5348804ab67d1eebe874e9e244ab807e30f14ba392d683753ca",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7f388a890116dfd68849ad6017e781b70c0880b4c099a1a965a68bacbf8dddd0",
  "quoteOrdinal": 3244,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default_1· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:default_1 · default_1

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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "declarationComplete": true,
  "declaredCurrency": "CNY",
  "groupRatio": "3",
  "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": "91545afd6809d296b48fda607b2ed129c41d9023335ea05634bc459803de7663",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "479999.999999999952000000",
      "cacheWrite": null,
      "input": "2400000.0",
      "output": "9600000.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": "0.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "7f1f0bd115890e66e838e44b04544f4019499b1df43bac08e2f0fe6c15ad29d3",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "8be021ed9e8546eac48ff2d564047e254461fed163a72abf8d93cbdfa9e53b7b",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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": "3",
  "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": "e77a0db2aaf3e5348804ab67d1eebe874e9e244ab807e30f14ba392d683753ca",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 3,
  "eligibility": {
    "declaredGroup": "default_1",
    "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:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "默认分组",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "default_1",
      "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_1",
  "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "declarationComplete": true,
      "declaredCurrency": "CNY",
      "groupRatio": "3",
      "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": "91545afd6809d296b48fda607b2ed129c41d9023335ea05634bc459803de7663",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "479999.999999999952000000",
        "cacheWrite": null,
        "input": "2400000.0",
        "output": "9600000.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": "0.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "7f1f0bd115890e66e838e44b04544f4019499b1df43bac08e2f0fe6c15ad29d3",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "8be021ed9e8546eac48ff2d564047e254461fed163a72abf8d93cbdfa9e53b7b",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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_1",
  "pricePairSourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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": "3",
    "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": "e77a0db2aaf3e5348804ab67d1eebe874e9e244ab807e30f14ba392d683753ca",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "8be021ed9e8546eac48ff2d564047e254461fed163a72abf8d93cbdfa9e53b7b",
  "quoteOrdinal": 3245,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

优惠模型· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:优惠模型 · 优惠模型

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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "declarationComplete": true,
  "declaredCurrency": "CNY",
  "groupRatio": "2",
  "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": "0b388c92826ab41c0fd976e3c0966d50625e3125aaab74e44e2537ed45f6c189",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "319999.999999999968000000",
      "cacheWrite": null,
      "input": "1600000.0",
      "output": "6400000.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": "0.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "12c7704a406845a1ca47b01064e63c9c575a6c1bb7b897da99c0843171f06614",
  "currencyInferred": false,
  "declaredGroupRatio": "2",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "236f94e46a13ef8f885c02557e9f1a1db284dd904aff5b171cd341b5fb27fe9b",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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": "2",
  "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": "36ca19877f27fd7ded0c4df6f175a376f1b615a37f4f781813884ff23ae49d6b",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "1比2分组",
  "declaredGroupRatio": 2,
  "eligibility": {
    "declaredGroup": "优惠模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "1比2分组",
    "declaredGroupRatio": 2,
    "eligibility": {
      "declaredGroup": "优惠模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "优惠模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "declarationComplete": true,
      "declaredCurrency": "CNY",
      "groupRatio": "2",
      "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": "0b388c92826ab41c0fd976e3c0966d50625e3125aaab74e44e2537ed45f6c189",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "319999.999999999968000000",
        "cacheWrite": null,
        "input": "1600000.0",
        "output": "6400000.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": "0.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "12c7704a406845a1ca47b01064e63c9c575a6c1bb7b897da99c0843171f06614",
    "currencyInferred": false,
    "declaredGroupRatio": "2",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "236f94e46a13ef8f885c02557e9f1a1db284dd904aff5b171cd341b5fb27fe9b",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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:优惠模型",
  "pricePairSourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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": "2",
    "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": "36ca19877f27fd7ded0c4df6f175a376f1b615a37f4f781813884ff23ae49d6b",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "236f94e46a13ef8f885c02557e9f1a1db284dd904aff5b171cd341b5fb27fe9b",
  "quoteOrdinal": 3246,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

国产模型· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:国产模型 · 国产模型

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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "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": "f3ea20e931bb7fa63fab5f85b922be1a04515dd291f31a5e7cf4f96675765a0d",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "159999.999999999984000000",
      "cacheWrite": null,
      "input": "800000.0",
      "output": "3200000.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": "0.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "8e7eeaa21ca80ca968b2247de3ef6dc429a1a9f97a59c933eb7f1b143a4e03f9",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "3b6fd0a6c3589f3351f2c7be805bad5e0b7d258788f832ff81b3a804b98ce369",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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": "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": "02f4f93f78f162d2e6a6c93a646e74d705570cfa030e666ad030f399f54a3108",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "1比1分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "国产模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "1比1分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "国产模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国产模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "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": "f3ea20e931bb7fa63fab5f85b922be1a04515dd291f31a5e7cf4f96675765a0d",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "159999.999999999984000000",
        "cacheWrite": null,
        "input": "800000.0",
        "output": "3200000.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": "0.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "8e7eeaa21ca80ca968b2247de3ef6dc429a1a9f97a59c933eb7f1b143a4e03f9",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "3b6fd0a6c3589f3351f2c7be805bad5e0b7d258788f832ff81b3a804b98ce369",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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:国产模型",
  "pricePairSourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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": "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": "02f4f93f78f162d2e6a6c93a646e74d705570cfa030e666ad030f399f54a3108",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "3b6fd0a6c3589f3351f2c7be805bad5e0b7d258788f832ff81b3a804b98ce369",
  "quoteOrdinal": 3247,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

特惠模型· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:特惠模型 · 特惠模型

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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "declarationComplete": true,
  "declaredCurrency": "CNY",
  "groupRatio": "0.6",
  "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": "f79b50892dec515e872eb4792f08b66ff049fe8532281bb79604ce7011a094a7",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "95999.9999999999904000000",
      "cacheWrite": null,
      "input": "480000.00",
      "output": "1920000.00"
    }
  },
  "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.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "940dfbdf0b2dc76f2eacc972e96d0b66e37a5c605fc5bd73b2980ef37b06c9aa",
  "currencyInferred": false,
  "declaredGroupRatio": "0.6",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "5b703685a40f7237fedf3199f6175fd347827e9303b33ef6d6507ac3372cebfb",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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.6",
  "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": "2181d1d5ea639e3ec1e8f39e7434fde23ff355aa8596f36978bb060585dabfbb",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "1比0.6分组",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "特惠模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "1比0.6分组",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "特惠模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "特惠模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "declarationComplete": true,
      "declaredCurrency": "CNY",
      "groupRatio": "0.6",
      "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": "f79b50892dec515e872eb4792f08b66ff049fe8532281bb79604ce7011a094a7",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "95999.9999999999904000000",
        "cacheWrite": null,
        "input": "480000.00",
        "output": "1920000.00"
      }
    },
    "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.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "940dfbdf0b2dc76f2eacc972e96d0b66e37a5c605fc5bd73b2980ef37b06c9aa",
    "currencyInferred": false,
    "declaredGroupRatio": "0.6",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "5b703685a40f7237fedf3199f6175fd347827e9303b33ef6d6507ac3372cebfb",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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:特惠模型",
  "pricePairSourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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.6",
    "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": "2181d1d5ea639e3ec1e8f39e7434fde23ff355aa8596f36978bb060585dabfbb",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "5b703685a40f7237fedf3199f6175fd347827e9303b33ef6d6507ac3372cebfb",
  "quoteOrdinal": 3248,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

稳定模型· Public API

qwen3.7-plus

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

qwen3.7-plus

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:稳定模型 · 稳定模型

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": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "3",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "1000000",
        "maximumInclusive": true,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "declarationComplete": true,
  "declaredCurrency": "CNY",
  "groupRatio": "5.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_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "93d849785e74a71b4801d8568f6dcaa2b49c4ea2b3fecdb4313fe4d5b4ef87c6",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.7-plus",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "256000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4",
        "FixedPrice": "0",
        "InputRatio": "3",
        "MaxTokens": "1000000",
        "MinTokens": "256001"
      }
    ],
    "Currency": "CNY"
  },
  "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
  "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.8 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.19999999999999998 · 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": "879999.9999999999120000000",
      "cacheWrite": null,
      "input": "4400000.00",
      "output": "17600000.00"
    }
  },
  "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.8"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.19999999999999998"
    }
  ],
  "contentSha256": "78d9155dd50fb6dfec8bea74c7cb347f64dd4949b8b4d8ec84e80946be813c9f",
  "currencyInferred": false,
  "declaredGroupRatio": "5.5",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "8104aefec44ad45c3b238c925e77f13b291a152184a678f399174fc58bf1b6ef",
  "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "1.17647058824",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.0588235294118",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.294117647059",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "3.52941176471",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.176470588235",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.882352941176",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "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": "256000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "256001–1M"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.882352941176"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.52941176471"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.176470588235"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 256K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.294117647059"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.17647058824"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.0588235294118"
            },
            "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": "5.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": "72a51d828c4c857844fb3c77f4ac77422371ee5da15ca2c5eed1f687728c99b5",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "稳定模型",
  "declaredGroupRatio": "5.5",
  "eligibility": {
    "declaredGroup": "稳定模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "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": "稳定模型",
    "declaredGroupRatio": "5.5",
    "eligibility": {
      "declaredGroup": "稳定模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "稳定模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "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:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.7-plus",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "3",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "1000000",
            "maximumInclusive": true,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
      "declarationComplete": true,
      "declaredCurrency": "CNY",
      "groupRatio": "5.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_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_SOURCE_FX_RATE_NOT_BOUND",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "93d849785e74a71b4801d8568f6dcaa2b49c4ea2b3fecdb4313fe4d5b4ef87c6",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.7-plus",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "256000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4",
            "FixedPrice": "0",
            "InputRatio": "3",
            "MaxTokens": "1000000",
            "MinTokens": "256001"
          }
        ],
        "Currency": "CNY"
      },
      "sourceConfigSha256": "53643c588c03b1631ee4107017e84ef9a26bf7c7830569c2093e7db1798c2387",
      "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": "879999.9999999999120000000",
        "cacheWrite": null,
        "input": "4400000.00",
        "output": "17600000.00"
      }
    },
    "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.8"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.19999999999999998"
      }
    ],
    "contentSha256": "78d9155dd50fb6dfec8bea74c7cb347f64dd4949b8b4d8ec84e80946be813c9f",
    "currencyInferred": false,
    "declaredGroupRatio": "5.5",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "8104aefec44ad45c3b238c925e77f13b291a152184a678f399174fc58bf1b6ef",
    "rawDeclaredFieldsSha256": "ad06f44118d2406ce8520ffc7af9caa7f521b6d7625df8c08ea546adda53ab8c",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
    "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:稳定模型",
  "pricePairSourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "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": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "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": "1.17647058824",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.0588235294118",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.294117647059",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "3.52941176471",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.176470588235",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.882352941176",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "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": "256000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "256001–1M"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.882352941176"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "3.52941176471"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.176470588235"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 256K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.294117647059"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.17647058824"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.0588235294118"
              },
              "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": "5.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": "72a51d828c4c857844fb3c77f4ac77422371ee5da15ca2c5eed1f687728c99b5",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "474c13c508ae5077a7ac4d7c726fab81d02f2c0b58a88fbf7289d99a1a3ce054",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "8104aefec44ad45c3b238c925e77f13b291a152184a678f399174fc58bf1b6ef",
  "quoteOrdinal": 3249,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "d58460904d379d4359f32cafa8aac3cb690a8c8a7e7b9b60090d05e7dd24c894",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

qwen3.7-plus

Name attribution evidence
{
  "id": "21439b36800d4faabbf8",
  "matches": [
    {
      "declaredName": "qwen3.7-plus",
      "evidence": {
        "canonicalId": "qwen/qwen3.7-plus",
        "claimId": "21439b36800d4faabbf8",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "qwen3.7-plus",
        "evidenceIds": [
          "qwen-model-list"
        ],
        "evidenceUrl": "https://help.aliyun.com/zh/model-studio/models",
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "EXACT_OFFICIAL_IDENTIFIER",
        "status": "OFFICIAL_ID",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "configurationSupport": "NOT_VERIFIED",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "qwen3.7-plus",
  "officialId": null
}