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

186 sources · 373 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.

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

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

grok-4.3

Back to all sources

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

api.apiyi.com

3 declarations · 3 on this page

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

CodexResponses· Public API

grok-4.3

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

grok-4.3

api.apiyi.com · Public API declaration

Plan / group: declared-group:CodexResponses · CodexResponses

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": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.625",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "204800",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1.25",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "204801",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "grok-4.3",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "0.625",
        "MaxTokens": "204800",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "1.25",
        "MaxTokens": "-1",
        "MinTokens": "204801"
      }
    ]
  },
  "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
  "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.625 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.16 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "100000.00000",
      "cacheWrite": null,
      "input": "625000.000",
      "output": "1250000.000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "0.625"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "2"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.16"
    }
  ],
  "contentSha256": "8a44495419f16e730ea936bae3045d2214ebc71427c2d610ad8bf03db9424ef9",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "a2c7ad4a1dfeb016a942fdd283778fb719e0033770e1a77c89525f35650a7957",
  "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "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.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "204800"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "> 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.4"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.25"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "CodexResponses",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "CodexResponses",
    "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:40:53.708000Z",
  "firstObservedAt": "2026-10-03T23:40:56.434Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceId": "api.apiyi.com",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "dfc64b3d5980f39b123b1afcc1740bbe095e6cb8fc4b4d793afc7761b3c3a8d9",
  "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": "CodexResponses",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "CodexResponses",
      "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": "CodexResponses",
  "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:40:53.708000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "grok-4.3",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "outputPrice": null,
  "parseRevisionId": "33153a13cb83a729db69d38521d77afa627d91c96fe8d73a399d67112b39c018",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.625",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "204800",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1.25",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "204801",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
      "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "grok-4.3",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "0.625",
            "MaxTokens": "204800",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "1.25",
            "MaxTokens": "-1",
            "MinTokens": "204801"
          }
        ]
      },
      "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
      "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": "100000.00000",
        "cacheWrite": null,
        "input": "625000.000",
        "output": "1250000.000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "0.625"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "2"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.16"
      }
    ],
    "contentSha256": "8a44495419f16e730ea936bae3045d2214ebc71427c2d610ad8bf03db9424ef9",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "a2c7ad4a1dfeb016a942fdd283778fb719e0033770e1a77c89525f35650a7957",
    "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
    "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:CodexResponses",
  "pricePairSourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.apiyi.com/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "d108ea8789e82e0bb87b8df39377e2aa980ba73b9fffe931644669af128104a7",
      "legacyBodySha256": "baae899baaa00fda0a19a2bce9ae2384593af52669afef0b64b7473e7947f002",
      "legacyEndpoint": "https://api.apiyi.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:35.483Z",
      "pricingAttemptId": "5557f7331b3b6818fc2f20034d800afa4d130ce423f2175850401b0611f5371f",
      "pricingBodySha256": "5227288d05b8cb160e6bedb106eca3c684853ac97f887d6720a6e600c064b5fe",
      "pricingObservedAt": "2026-10-03T19:01:02.734Z",
      "pricingTransactionId": "4ee6bcced6a281d18558f10eacd0ad961c04fc7d4719b4d2201ac715b5b943b8"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "204800"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.4"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.25"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "a2c7ad4a1dfeb016a942fdd283778fb719e0033770e1a77c89525f35650a7957",
  "quoteOrdinal": 511,
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceDomain": "api.apiyi.com",
  "sourceId": "api.apiyi.com",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

grok-4.3

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

grok-4.3

api.apiyi.com · 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": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.625",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "204800",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1.25",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "204801",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "grok-4.3",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "0.625",
        "MaxTokens": "204800",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "1.25",
        "MaxTokens": "-1",
        "MinTokens": "204801"
      }
    ]
  },
  "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
  "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.625 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.16 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "100000.00000",
      "cacheWrite": null,
      "input": "625000.000",
      "output": "1250000.000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "0.625"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "2"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.16"
    }
  ],
  "contentSha256": "e975713e2cff3c4cea8cbc9bf78f546ec65f0b871e0d65d53b9dd1ad1a4b6ac8",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "c8bc80401babe7f4fa75666e305e09e3dbd9f0b8e28f79dc99c1b25f058cb94e",
  "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "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.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "204800"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "> 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.4"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.25"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "Default",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:40:53.708000Z",
  "firstObservedAt": "2026-10-03T23:40:56.434Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceId": "api.apiyi.com",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "dfc64b3d5980f39b123b1afcc1740bbe095e6cb8fc4b4d793afc7761b3c3a8d9",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "Default",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "freshUntil": "2026-10-10T23:40:53.708000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "grok-4.3",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "outputPrice": null,
  "parseRevisionId": "33153a13cb83a729db69d38521d77afa627d91c96fe8d73a399d67112b39c018",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.625",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "204800",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1.25",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "204801",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
      "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "grok-4.3",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "0.625",
            "MaxTokens": "204800",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "1.25",
            "MaxTokens": "-1",
            "MinTokens": "204801"
          }
        ]
      },
      "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
      "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": "100000.00000",
        "cacheWrite": null,
        "input": "625000.000",
        "output": "1250000.000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "0.625"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "2"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.16"
      }
    ],
    "contentSha256": "e975713e2cff3c4cea8cbc9bf78f546ec65f0b871e0d65d53b9dd1ad1a4b6ac8",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "c8bc80401babe7f4fa75666e305e09e3dbd9f0b8e28f79dc99c1b25f058cb94e",
    "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
    "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": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.apiyi.com/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "d108ea8789e82e0bb87b8df39377e2aa980ba73b9fffe931644669af128104a7",
      "legacyBodySha256": "baae899baaa00fda0a19a2bce9ae2384593af52669afef0b64b7473e7947f002",
      "legacyEndpoint": "https://api.apiyi.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:35.483Z",
      "pricingAttemptId": "5557f7331b3b6818fc2f20034d800afa4d130ce423f2175850401b0611f5371f",
      "pricingBodySha256": "5227288d05b8cb160e6bedb106eca3c684853ac97f887d6720a6e600c064b5fe",
      "pricingObservedAt": "2026-10-03T19:01:02.734Z",
      "pricingTransactionId": "4ee6bcced6a281d18558f10eacd0ad961c04fc7d4719b4d2201ac715b5b943b8"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "204800"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.4"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.25"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "c8bc80401babe7f4fa75666e305e09e3dbd9f0b8e28f79dc99c1b25f058cb94e",
  "quoteOrdinal": 512,
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceDomain": "api.apiyi.com",
  "sourceId": "api.apiyi.com",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

svip· Public API

grok-4.3

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

grok-4.3

api.apiyi.com · Public API declaration

Plan / group: declared-group:svip · svip

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": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "0.625",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "204800",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "2",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1.25",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "204801",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "grok-4.3",
    "selection": "EXACT"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "0.625",
        "MaxTokens": "204800",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "2",
        "FixedPrice": "0",
        "InputRatio": "1.25",
        "MaxTokens": "-1",
        "MinTokens": "204801"
      }
    ]
  },
  "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
  "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.625 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.16 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "100000.00000",
      "cacheWrite": null,
      "input": "625000.000",
      "output": "1250000.000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "0.625"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "2"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.16"
    }
  ],
  "contentSha256": "5f6bd0e8512b3f25a1c2a3ad44d4b0fb3d350767509a86086accab47ded14037",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "4373fa7799e6f6ea0592eb067da35364e76ebf161edeb3ee7fdc11a5e9fbdbb7",
  "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "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.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.25",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "204800"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 204800",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "204800"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "> 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.4"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "≤ 204800"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.25"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "SVIP",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "svip",
    "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:40:53.708000Z",
  "firstObservedAt": "2026-10-03T23:40:56.434Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceId": "api.apiyi.com",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "dfc64b3d5980f39b123b1afcc1740bbe095e6cb8fc4b4d793afc7761b3c3a8d9",
  "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": "SVIP",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "svip",
      "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": "svip",
  "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:40:53.708000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "grok-4.3",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:40:56.434Z",
  "outputPrice": null,
  "parseRevisionId": "33153a13cb83a729db69d38521d77afa627d91c96fe8d73a399d67112b39c018",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "0.625",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "204800",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "2",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1.25",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "204801",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
      "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": "562e1d0f2cb0246abbb528e9e0692026801ba3cae7fac873a7237a26884c0803",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "grok-4.3",
        "selection": "EXACT"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "0.625",
            "MaxTokens": "204800",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "2",
            "FixedPrice": "0",
            "InputRatio": "1.25",
            "MaxTokens": "-1",
            "MinTokens": "204801"
          }
        ]
      },
      "sourceConfigSha256": "20c26260fd81d66b0337d268e99432d903ae655cdc01157d7e341e74c1af1aaf",
      "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": "100000.00000",
        "cacheWrite": null,
        "input": "625000.000",
        "output": "1250000.000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "0.625"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "2"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.16"
      }
    ],
    "contentSha256": "5f6bd0e8512b3f25a1c2a3ad44d4b0fb3d350767509a86086accab47ded14037",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "4373fa7799e6f6ea0592eb067da35364e76ebf161edeb3ee7fdc11a5e9fbdbb7",
    "rawDeclaredFieldsSha256": "e6fff499ac55a2f3b34ea24cf58bd8c1a719218365ca958780948679048c3a56",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
    "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:svip",
  "pricePairSourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.apiyi.com/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "d108ea8789e82e0bb87b8df39377e2aa980ba73b9fffe931644669af128104a7",
      "legacyBodySha256": "baae899baaa00fda0a19a2bce9ae2384593af52669afef0b64b7473e7947f002",
      "legacyEndpoint": "https://api.apiyi.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:35.483Z",
      "pricingAttemptId": "5557f7331b3b6818fc2f20034d800afa4d130ce423f2175850401b0611f5371f",
      "pricingBodySha256": "5227288d05b8cb160e6bedb106eca3c684853ac97f887d6720a6e600c064b5fe",
      "pricingObservedAt": "2026-10-03T19:01:02.734Z",
      "pricingTransactionId": "4ee6bcced6a281d18558f10eacd0ad961c04fc7d4719b4d2201ac715b5b943b8"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.25",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "204800"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 204800",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "204800"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.4"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "≤ 204800"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.25"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "26d8bfc8d90041ecbde097e46852b9bf60191bc92bf01c149bbfa6d67cba612a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d3a0a8b605782b7f5ee11df8fa2da5edec99021ea6fa5f38adae6e6a45e0e6ab",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "4373fa7799e6f6ea0592eb067da35364e76ebf161edeb3ee7fdc11a5e9fbdbb7",
  "quoteOrdinal": 513,
  "snapshotId": "958ec8c8acd343ea27d65d105957978d7a00e8c2f2f3d3b0ae5450a0b9a97f64",
  "sourceDomain": "api.apiyi.com",
  "sourceId": "api.apiyi.com",
  "sourceRowId": "d4336835ce8317be0a15b5cdea4bc87c30cd3cc672cd9c4990d6a66a86c0ee07",
  "transactionId": "136bfba04a89e04b6c2c7982887a0b7492430d31d571210fb3b2e4219427a6a5",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

grok-4.3

xai/grok-4.3

x-ai/grok-4.3

[按次]grok-4.3

grok/grok-4.3

grok-4.3-low

grok-4.3-high

[白邂逅]grok-4.3

grok-4.3-search

grok-4.3-按次

grok-4.3-medium

「XQ」grok-4.3

「HP」grok-4.3

「按次B」grok-4.3

[aws] grok-4.3

[按次]grok-4.3-thinking

vercel/spacexai/grok-4.3

Name attribution evidence
Grouped by identifier; original names and configurations retained

Route prefixes and configuration suffixes are source declarations. A name link does not prove which model was executed. Review configurations, plans and original terms separately.

Complete names and attribution evidence (JSON) · Every screening decision (JSON)
{
  "classification": {
    "ledgerUrl": "/public-data/classification/4f89468293ecc1b3c650bce47d4ad1e0e48ebdf1b11edd04dba4788f9aa5c851/ledger.json",
    "namesUrl": "/public-data/classification/4f89468293ecc1b3c650bce47d4ad1e0e48ebdf1b11edd04dba4788f9aa5c851/names.json",
    "revision": "4f89468293ecc1b3c650bce47d4ad1e0e48ebdf1b11edd04dba4788f9aa5c851"
  },
  "id": "xai/grok-4.3",
  "matches": [
    {
      "declaredName": "grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [],
        "relationship": "EXACT_OFFICIAL_IDENTIFIER",
        "status": "OFFICIAL_ID"
      }
    },
    {
      "declaredName": "xai/grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_NAMESPACE",
            "value": "xai"
          }
        ],
        "relationship": "DECLARED_OFFICIAL_IDENTIFIER",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "x-ai/grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_NAMESPACE",
            "value": "x-ai"
          }
        ],
        "relationship": "DECLARED_OFFICIAL_IDENTIFIER",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "[按次]grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "[按次]"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok/grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "delimiter": "/",
            "type": "DECLARED_NAMESPACE_CHAIN",
            "value": "grok"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok-4.3-low",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-low"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok-4.3-high",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-high"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "[白邂逅]grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "[白邂逅]"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok-4.3-search",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-search"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok-4.3-按次",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-按次"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "grok-4.3-medium",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-medium"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "「XQ」grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "「XQ」"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "「HP」grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "「HP」"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "「按次B」grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "「按次B」"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "[aws] grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "[aws]"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "[按次]grok-4.3-thinking",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "type": "DECLARED_LABEL",
            "value": "[按次]"
          },
          {
            "type": "DECLARED_CONFIG_SUFFIX",
            "value": "-thinking"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    },
    {
      "declaredName": "vercel/spacexai/grok-4.3",
      "evidence": {
        "canonicalId": "xai/grok-4.3",
        "qualifiers": [
          {
            "delimiter": "/",
            "type": "DECLARED_NAMESPACE_CHAIN",
            "value": "vercel/spacexai"
          }
        ],
        "relationship": "DECLARED_BASE_IDENTIFIER_REFERENCE",
        "status": "DECLARED_VARIANT"
      }
    }
  ],
  "name": "xAI · grok-4.3",
  "officialId": "grok-4.3"
}