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

56 sources · 131 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.

131 declarations in scope: 131 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 7 declarations match · 7 rows on this page

api.zyai.online

7 declarations · 7 on this page

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

AZvip· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:AZvip · AZvip

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "37123285037a6591e038b59112808548e50b6b7d4376cac54e8ab1755d3c2323",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "100000.0",
      "output": "1000000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "ce5a3a7c53bb7a152ecc2f3a2ed67e157393ecc2ca8ffb267ebc32f07b831e84",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "e4aba09736e30c55d8169080027576e5286de398bd597f36adec298f023dfc8b",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "c7a1538ba65cbbb64538f7972bded68b1185b8f84109173e727c1f01c7b6ce1d",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "纯AZ-OpenAI专用",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "AZvip",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "纯AZ-OpenAI专用",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "AZvip",
      "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": "AZvip",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "1",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "37123285037a6591e038b59112808548e50b6b7d4376cac54e8ab1755d3c2323",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "100000.0",
        "output": "1000000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "ce5a3a7c53bb7a152ecc2f3a2ed67e157393ecc2ca8ffb267ebc32f07b831e84",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "e4aba09736e30c55d8169080027576e5286de398bd597f36adec298f023dfc8b",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:AZvip",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "c7a1538ba65cbbb64538f7972bded68b1185b8f84109173e727c1f01c7b6ce1d",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "e4aba09736e30c55d8169080027576e5286de398bd597f36adec298f023dfc8b",
  "quoteOrdinal": 2504,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

AaLI· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:AaLI · AaLI

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "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_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "fabfd7b18bef1fd63d72eae593b8ca7ccfea33ee2a9c3096a71330a6cf63fa9e",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "60000.00",
      "output": "600000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "8f7c79976622221d9276713903e8744d77e1ffee5fc9472881a9973c9d3e516a",
  "currencyInferred": false,
  "declaredGroupRatio": "0.6",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "3a9a19b62489c005cc214da8278dfadd7c085229bc830281b00b72d1943681f9",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "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": "19a0132324550eed2a01a3fb01ac1470beb36f6d9ef8e26461cfcd53f07c30a2",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "阿里千问专用",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "AaLI",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "阿里千问专用",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "AaLI",
      "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": "AaLI",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "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_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "fabfd7b18bef1fd63d72eae593b8ca7ccfea33ee2a9c3096a71330a6cf63fa9e",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "60000.00",
        "output": "600000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "8f7c79976622221d9276713903e8744d77e1ffee5fc9472881a9973c9d3e516a",
    "currencyInferred": false,
    "declaredGroupRatio": "0.6",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "3a9a19b62489c005cc214da8278dfadd7c085229bc830281b00b72d1943681f9",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:AaLI",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "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": "19a0132324550eed2a01a3fb01ac1470beb36f6d9ef8e26461cfcd53f07c30a2",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "3a9a19b62489c005cc214da8278dfadd7c085229bc830281b00b72d1943681f9",
  "quoteOrdinal": 2505,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

Guochan6· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:Guochan6 · Guochan6

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "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_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "fabfd7b18bef1fd63d72eae593b8ca7ccfea33ee2a9c3096a71330a6cf63fa9e",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "60000.00",
      "output": "600000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "3038ad8673fae0e37040dae05220e8ddd8d2b9fa31a1cdd8405d6722dc23512c",
  "currencyInferred": false,
  "declaredGroupRatio": "0.6",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "37124ea90c9890bfff3940c26e39a6fb8a190ebe0812d2eb9840bd71223b5919",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "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": "19a0132324550eed2a01a3fb01ac1470beb36f6d9ef8e26461cfcd53f07c30a2",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "国产开源模型 6折",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "Guochan6",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "国产开源模型 6折",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "Guochan6",
      "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": "Guochan6",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "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_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "fabfd7b18bef1fd63d72eae593b8ca7ccfea33ee2a9c3096a71330a6cf63fa9e",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "60000.00",
        "output": "600000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "3038ad8673fae0e37040dae05220e8ddd8d2b9fa31a1cdd8405d6722dc23512c",
    "currencyInferred": false,
    "declaredGroupRatio": "0.6",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "37124ea90c9890bfff3940c26e39a6fb8a190ebe0812d2eb9840bd71223b5919",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:Guochan6",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "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": "19a0132324550eed2a01a3fb01ac1470beb36f6d9ef8e26461cfcd53f07c30a2",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "37124ea90c9890bfff3940c26e39a6fb8a190ebe0812d2eb9840bd71223b5919",
  "quoteOrdinal": 2506,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

chongzhi· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:chongzhi · chongzhi

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "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_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "ac21835223181f3b794bd8abf4a7b786fb4ae517bc5150a67037fb476ddfa4a4",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "300000.0",
      "output": "3000000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "e12896544fc7ee19e0fbd02bfdc3cb3b195d7481bd24d63f6a29622c806d252e",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "7fefbc79bb894408724c28504f62376cfc72779b75c19acc784f491e0d0c19e4",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "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": "02d2f1c1649fb883cfdc83990ea6a78ad5f7badc4fb36451922730ea210035e2",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "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": "chongzhi",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "高稳定性-企业级推荐",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "chongzhi",
      "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": "chongzhi",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "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_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "ac21835223181f3b794bd8abf4a7b786fb4ae517bc5150a67037fb476ddfa4a4",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "300000.0",
        "output": "3000000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "e12896544fc7ee19e0fbd02bfdc3cb3b195d7481bd24d63f6a29622c806d252e",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "7fefbc79bb894408724c28504f62376cfc72779b75c19acc784f491e0d0c19e4",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:chongzhi",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "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": "02d2f1c1649fb883cfdc83990ea6a78ad5f7badc4fb36451922730ea210035e2",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7fefbc79bb894408724c28504f62376cfc72779b75c19acc784f491e0d0c19e4",
  "quoteOrdinal": 2507,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "37123285037a6591e038b59112808548e50b6b7d4376cac54e8ab1755d3c2323",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "100000.0",
      "output": "1000000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "da74253516482d99bb0c371711f02aeaa51f08de8e2e661d566466b325993272",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "d62e06ea7c09bab8a5b4bea70e9d9cfdc4c9b8a962134f2280f0917f26523e64",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "c7a1538ba65cbbb64538f7972bded68b1185b8f84109173e727c1f01c7b6ce1d",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "1",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "37123285037a6591e038b59112808548e50b6b7d4376cac54e8ab1755d3c2323",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "100000.0",
        "output": "1000000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "da74253516482d99bb0c371711f02aeaa51f08de8e2e661d566466b325993272",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "d62e06ea7c09bab8a5b4bea70e9d9cfdc4c9b8a962134f2280f0917f26523e64",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "c7a1538ba65cbbb64538f7972bded68b1185b8f84109173e727c1f01c7b6ce1d",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "d62e06ea7c09bab8a5b4bea70e9d9cfdc4c9b8a962134f2280f0917f26523e64",
  "quoteOrdinal": 2508,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

guan· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:guan · guan

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "7.5",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "293d71e10672bded9c8049958dcdc447987bc9baf9e4fe66f2f9eb16281329b0",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "750000.00",
      "output": "7500000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "1ba5cc172254ed0d807d723fc93cdb5942dc760be0b70b787f78490e1a0048d4",
  "currencyInferred": false,
  "declaredGroupRatio": "7.5",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "323948be2e6863584451b24451902d03c8fdb113571b5aa41a243939cfd26a2b",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "7.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": "d7402f7ee8ed3a189ca70aa142b9ebfbc84fe21cad3bd3b9d78bd191c881f8e4",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "全渠道纯官",
  "declaredGroupRatio": "7.5",
  "eligibility": {
    "declaredGroup": "guan",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "全渠道纯官",
    "declaredGroupRatio": "7.5",
    "eligibility": {
      "declaredGroup": "guan",
      "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": "guan",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "7.5",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "293d71e10672bded9c8049958dcdc447987bc9baf9e4fe66f2f9eb16281329b0",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "750000.00",
        "output": "7500000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "1ba5cc172254ed0d807d723fc93cdb5942dc760be0b70b787f78490e1a0048d4",
    "currencyInferred": false,
    "declaredGroupRatio": "7.5",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "323948be2e6863584451b24451902d03c8fdb113571b5aa41a243939cfd26a2b",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:guan",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "7.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": "d7402f7ee8ed3a189ca70aa142b9ebfbc84fe21cad3bd3b9d78bd191c881f8e4",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "323948be2e6863584451b24451902d03c8fdb113571b5aa41a243939cfd26a2b",
  "quoteOrdinal": 2509,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

mini· Public API

qwen3.5-flash

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.5-flash

api.zyai.online · Public API declaration

Plan / group: declared-group:mini · mini

Within observation window · not a live quote

Observed as of: · Original cache limit: · Effective limit (exclusive):

Public declaration; cash qualification is not evaluated. Upstream identity, purchase eligibility and service quality are unverified.

Original pricing unit: See individual units in the complete rule · STRUCTURED_DECLARED_PRICING_RULE

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "128000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.4",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "256000",
        "maximumInclusive": true,
        "minimum": "128001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "10",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.6",
      "sourceConditionOrdinal": 2,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "256001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "0.5",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "02589c36421f71425eb59ce10a0b751f4c5a426244f2c6e1dc136d0042ef469f",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "qwen3.5-flash",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.1",
        "MaxTokens": "128000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.4",
        "MaxTokens": "256000",
        "MinTokens": "128001"
      },
      {
        "CompletionRatio": "10",
        "FixedPrice": "0",
        "InputRatio": "0.6",
        "MaxTokens": "-1",
        "MinTokens": "256001"
      }
    ]
  },
  "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
  "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.1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
10 · SOURCE_COMPLETION_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": null,
      "cacheWrite": null,
      "input": "50000.00",
      "output": "500000.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.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "10"
    }
  ],
  "contentSha256": "6e122cad86d8233cabc9a34ae48f11bcd4073c814747da3cf34c0f968b8a0ab6",
  "currencyInferred": false,
  "declaredGroupRatio": "0.5",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "4ca0cfb0d446b99f3077e9124df5a85d91d27dfaf05bb0eb5925392b1d6892b1",
  "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 128K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "128001–256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "128000"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "128001"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "256000"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 256K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "128000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "128001"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "256000"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "128001–256K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.8"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "8"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 128K"
        },
        {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.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": "2943ba32c20f9bd043e17ff022d20e4b86109e8c5d2b46b0fcbba441eec27dde",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "特价渠道 ",
  "declaredGroupRatio": "0.5",
  "eligibility": {
    "declaredGroup": "mini",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:30.445000Z",
  "firstObservedAt": "2026-10-03T23:46:32.414Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceId": "api.zyai.online",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f4daecdae44a4df62810770b822b229c7d3eb66d90404eb4fe9d40fdabad666b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "特价渠道 ",
    "declaredGroupRatio": "0.5",
    "eligibility": {
      "declaredGroup": "mini",
      "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": "mini",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:46:30.445000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "qwen3.5-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:32.414Z",
  "outputPrice": null,
  "parseRevisionId": "b6f86829e114ae8495871e75615ed74683f0bd21728d9425fb20215e1be8dc30",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "128000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.4",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "256000",
            "maximumInclusive": true,
            "minimum": "128001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "10",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.6",
          "sourceConditionOrdinal": 2,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "256001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "0.5",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "02589c36421f71425eb59ce10a0b751f4c5a426244f2c6e1dc136d0042ef469f",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "qwen3.5-flash",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.1",
            "MaxTokens": "128000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.4",
            "MaxTokens": "256000",
            "MinTokens": "128001"
          },
          {
            "CompletionRatio": "10",
            "FixedPrice": "0",
            "InputRatio": "0.6",
            "MaxTokens": "-1",
            "MinTokens": "256001"
          }
        ]
      },
      "sourceConfigSha256": "bb01f517d4814995d8ba003dba552726d53c0457c9c8594bc30d6d2459ceb401",
      "status": "PARSED_DECLARATION_CALCULATION_UNRESOLVED",
      "tierOrder": "CLIENT_SORT_BY_MIN_TOKENS_STABLE",
      "tierSelection": "NOT_EVALUATED",
      "units": [
        "SOURCE_DECLARED_CONDITIONAL_RATIOS_AND_FIXED_VALUE"
      ]
    }
  ],
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": null,
        "cacheWrite": null,
        "input": "50000.00",
        "output": "500000.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.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "10"
      }
    ],
    "contentSha256": "6e122cad86d8233cabc9a34ae48f11bcd4073c814747da3cf34c0f968b8a0ab6",
    "currencyInferred": false,
    "declaredGroupRatio": "0.5",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "4ca0cfb0d446b99f3077e9124df5a85d91d27dfaf05bb0eb5925392b1d6892b1",
    "rawDeclaredFieldsSha256": "71e588c9f0dfa169fcd04a91174c803d7a7fba44a1fd5ecb619ce99dde59a739",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
      "CONDITIONAL_CURRENCY_NOT_DECLARED",
      "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
      "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:mini",
  "pricePairSourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "bundleUrl": "https://api.zyai.online/static/js/1037.d0a7e82f.chunk.js",
      "conditionalMapSha256": "09e03173c86a81ae3245b5e2a6d2492b8b7b79d224a57b91b3766dc2ebf8e3ce",
      "legacyBodySha256": "76fa237bb1d78a5cf75e66046a44160aab628402b4a589be455c64371457f93a",
      "legacyEndpoint": "https://api.zyai.online/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.758Z",
      "pricingAttemptId": "9af4c0e4c79cb7240621bdae8c62e8cd44cf69d44e4b752ba0def6c870ab7c78",
      "pricingBodySha256": "6dec2a38a6547c331d007efbc909d70248b0eb46f96d0b0c6c1d9df55fd048e6",
      "pricingObservedAt": "2026-10-03T19:06:26.514Z",
      "pricingTransactionId": "418b8dd8695f48d596116e9073f372cdf69d641a6a739f4b4e513d72b3d6de1d"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "2c8bacb6f82d75fea06e6f5363469cbcbd14e8b9808cbeb5e6a4fb321fc3a1e1",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 128K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "128001–256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "128000"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "128001"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "name": "len",
                  "type": "variable"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "256000"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 256K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "128000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "128001"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "256000"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "> 256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "128001–256K"
            },
            {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.8"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "8"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 128K"
          },
          {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.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": "2943ba32c20f9bd043e17ff022d20e4b86109e8c5d2b46b0fcbba441eec27dde",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "45faff539d90b61d87196aacf747a204161e3af11ecb4a7fd995c19bb1a24839",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "4ca0cfb0d446b99f3077e9124df5a85d91d27dfaf05bb0eb5925392b1d6892b1",
  "quoteOrdinal": 2510,
  "snapshotId": "5309e3f8a12c26e5063fc81774dae62d114ef8cbb3fff52fc8ce2a0878babd46",
  "sourceDomain": "api.zyai.online",
  "sourceId": "api.zyai.online",
  "sourceRowId": "6318c68b51580d4f6a7f84d5b48516b11ffc7e48ecb4cc7c684c2f6172f692be",
  "transactionId": "2ccc6f9f32270f0afe4f9c822bee474ad3a7d2e64132f628c53e5816c7d366a7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

qwen3.5-flash

Name attribution evidence
{
  "id": "365e9c53bf0be005eaf9",
  "matches": [
    {
      "declaredName": "qwen3.5-flash",
      "evidence": {
        "canonicalId": null,
        "claimId": "365e9c53bf0be005eaf9",
        "confidence": "UNRESOLVED",
        "declaredName": "qwen3.5-flash",
        "evidenceIds": [],
        "evidenceUrl": null,
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "NO_SUFFICIENT_PRIMARY_EVIDENCE",
        "status": "UNRESOLVED",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "qwen3.5-flash",
  "officialId": null
}