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

84 sources · 201 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.

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

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

Captured name archive

84 sources and 201 declarations match · 13 rows on this page

api.hopeai.cc

All plans →
1 declarations · 1 on this page

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

default· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Input
37500000
Output
150000000
Request
Not provided
Cache read
Not provided
Cache write
Not provided
All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.hopeai.cc · 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: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
37500000
Output
150000000
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:43:10.580000Z",
  "firstObservedAt": "2026-10-03T23:43:11.979Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:11.979Z",
  "snapshotId": "c5212af1bd4689764af9737ea3911f2d96aeeab81d9707a6d40db1728a116f56",
  "sourceId": "api.hopeai.cc",
  "transactionId": "96129a385d7a1d645fb5eab71731052a54c755aab4b4151d343659507d250032"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "2c0bfe81c9b11f1481a0ab3f138c3cfcbbbe949bb80a5a357cbd99f7eaa73317",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:43:10.580000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "37500000",
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:11.979Z",
  "outputPrice": "150000000",
  "parseRevisionId": "91c1bc04b1ecb434aed69e9ebd65e4f5d1cfb2d45fdb035faecec1fed3b19caf",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "a34a82915fe3a22d25d7d3fa7a63c42bc578d08fea053da34ac0205249623d4a",
  "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"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7a4e4305ea8963886903b5482304c7cc49df3743c937e5e2770b72c773d47183",
  "quoteOrdinal": 317,
  "snapshotId": "c5212af1bd4689764af9737ea3911f2d96aeeab81d9707a6d40db1728a116f56",
  "sourceDomain": "api.hopeai.cc",
  "sourceId": "api.hopeai.cc",
  "sourceRowId": "a34a82915fe3a22d25d7d3fa7a63c42bc578d08fea053da34ac0205249623d4a",
  "transactionId": "96129a385d7a1d645fb5eab71731052a54c755aab4b4151d343659507d250032",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.hy88.my

All plans →
1 declarations · 1 on this page

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

gemini_pro· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.hy88.my · Public API declaration

Plan / group: declared-group:gemini_pro · gemini_pro

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: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

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

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
1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
6 · SOURCE_COMPLETION_RATIO
cache_ratio
0.1 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "60000.00",
      "cacheWrite": null,
      "input": "600000.0",
      "output": "3600000.0"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "6"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.1"
    }
  ],
  "contentSha256": "5c22a290176d2afb3367aba9bb8e2a501dd603dfad363037ae0f097ed97a2d8c",
  "currencyInferred": false,
  "declaredGroupRatio": "0.6",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "1ef22de7c43da53492a4f5dff62f2e13bdbae002a7c4798b1a25b09f169c80bc",
  "rawDeclaredFieldsSha256": "e4a9f3a782daa7390e6abaa81f5255032abe60da78030d0aa86098e8a2d32215",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "1c0e52ccebd608053d71e63853664b3de77229e89bc8981d3d6f95690feafd2d",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_GLOBAL_FIELDS",
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

Unresolved reasons

[
  "NONSTANDARD_GLOBAL_FIELDS",
  "NONSTANDARD_PRICING_FIELDS"
]
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "Gemini 官方专线",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "gemini_pro",
    "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:43:13.521000Z",
  "firstObservedAt": "2026-10-03T23:43:16.671Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:16.671Z",
  "snapshotId": "26e5668455958f3cc663de59facfd404f4f32f1be141476586e2e935d9a388c7",
  "sourceId": "api.hy88.my",
  "transactionId": "e043f1fba2a879a65e7f9baec60c94ede84ebfaa3a3b40312c0034ba07376891"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "74148194b46f40a640345f0ee24c5036402cdab20e53ce35d4fbdafaaebff65e",
  "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": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "Gemini 官方专线",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "gemini_pro",
      "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": "gemini_pro",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_GLOBAL_FIELDS",
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:43:13.521000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:16.671Z",
  "outputPrice": null,
  "parseRevisionId": "2112124fee12184809cffcb680f5b69d8dc5be76506a071e143ffe61672ed5fd",
  "parsedPricingDeclarations": null,
  "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": "60000.00",
        "cacheWrite": null,
        "input": "600000.0",
        "output": "3600000.0"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "6"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.1"
      }
    ],
    "contentSha256": "5c22a290176d2afb3367aba9bb8e2a501dd603dfad363037ae0f097ed97a2d8c",
    "currencyInferred": false,
    "declaredGroupRatio": "0.6",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "1ef22de7c43da53492a4f5dff62f2e13bdbae002a7c4798b1a25b09f169c80bc",
    "rawDeclaredFieldsSha256": "e4a9f3a782daa7390e6abaa81f5255032abe60da78030d0aa86098e8a2d32215",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "1c0e52ccebd608053d71e63853664b3de77229e89bc8981d3d6f95690feafd2d",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_GLOBAL_FIELDS",
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:gemini_pro",
  "pricePairSourceRowId": "1c0e52ccebd608053d71e63853664b3de77229e89bc8981d3d6f95690feafd2d",
  "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"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1ef22de7c43da53492a4f5dff62f2e13bdbae002a7c4798b1a25b09f169c80bc",
  "quoteOrdinal": 54,
  "snapshotId": "26e5668455958f3cc663de59facfd404f4f32f1be141476586e2e935d9a388c7",
  "sourceDomain": "api.hy88.my",
  "sourceId": "api.hy88.my",
  "sourceRowId": "1c0e52ccebd608053d71e63853664b3de77229e89bc8981d3d6f95690feafd2d",
  "transactionId": "e043f1fba2a879a65e7f9baec60c94ede84ebfaa3a3b40312c0034ba07376891",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.ifopen.ai

All plans →
2 declarations · 2 on this page

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

全模型专线渠道· Public API

gemini-3.1-pro-preview-customtools

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.ifopen.ai · Public API declaration

Plan / group: declared-group:全模型专线渠道 · 全模型专线渠道

Within observation window · not a live quote

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

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

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

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "提示 <= 20 万个 token",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "提示 > 20 万个 token",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "提示 > 20 万个 token"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "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": "提示 <= 20 万个 token"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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": "2.6",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "3997022c22480c8986fafeb723dc8ded9df1d349c7c2a49bc3eabd854f7818b3",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "a959c9c7c7aa936d88a30c8de998edd36aaaad5aa8871833786d6d513d4c059b",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "👍 全模型最高并发保证 | 24小时稳定",
  "declaredGroupRatio": "2.6",
  "eligibility": {
    "declaredGroup": "全模型专线渠道",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:43:15.061000Z",
  "firstObservedAt": "2026-10-03T23:43:19.259Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:19.259Z",
  "snapshotId": "2deea2e97fa57263e67c15a54136135ce05f1114bc76c29f61e282847f4f5806",
  "sourceId": "api.ifopen.ai",
  "transactionId": "bcb1af2e4583d00993c178681d9f860d96026af30043314729031053e9921e4c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "8061cfee9eab5f8bd3ff95a301fcfe0056dad08a211a37d78d622e6e9ab97604",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "👍 全模型最高并发保证 | 24小时稳定",
    "declaredGroupRatio": "2.6",
    "eligibility": {
      "declaredGroup": "全模型专线渠道",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "全模型专线渠道",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:43:15.061000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:19.259Z",
  "outputPrice": null,
  "parseRevisionId": "378e0bab8f3af8cd2ab3b078ddfc28b8b8546593a6f76a0eab0ec5cc06f3099f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:全模型专线渠道",
  "pricePairSourceRowId": "23699887c59e5a92e67e086775b35b56b11646b4e503ffc712e1c6a69f997a08",
  "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"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "提示 <= 20 万个 token",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "提示 > 20 万个 token",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "提示 > 20 万个 token"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "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": "提示 <= 20 万个 token"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "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": "2.6",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "3997022c22480c8986fafeb723dc8ded9df1d349c7c2a49bc3eabd854f7818b3",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "a959c9c7c7aa936d88a30c8de998edd36aaaad5aa8871833786d6d513d4c059b",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "66e1a6ef5aeebe6b5fcf7a1ad430f0b41937b1e907fa439a93e629792a95dec3",
  "quoteOrdinal": 1465,
  "snapshotId": "2deea2e97fa57263e67c15a54136135ce05f1114bc76c29f61e282847f4f5806",
  "sourceDomain": "api.ifopen.ai",
  "sourceId": "api.ifopen.ai",
  "sourceRowId": "23699887c59e5a92e67e086775b35b56b11646b4e503ffc712e1c6a69f997a08",
  "transactionId": "bcb1af2e4583d00993c178681d9f860d96026af30043314729031053e9921e4c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

gemini-3.1-pro-preview-customtools

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.ifopen.ai · 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

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "提示 <= 20 万个 token",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "提示 > 20 万个 token",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "提示 > 20 万个 token"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "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": "提示 <= 20 万个 token"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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": "104b7a9070cc7896a3bd110e6c19ffe75841aad10757fd0ce7d6f0b505e657ed",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "a959c9c7c7aa936d88a30c8de998edd36aaaad5aa8871833786d6d513d4c059b",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "⭐ 推荐 | 全模型自动负载优化",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:43:15.061000Z",
  "firstObservedAt": "2026-10-03T23:43:19.259Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:19.259Z",
  "snapshotId": "2deea2e97fa57263e67c15a54136135ce05f1114bc76c29f61e282847f4f5806",
  "sourceId": "api.ifopen.ai",
  "transactionId": "bcb1af2e4583d00993c178681d9f860d96026af30043314729031053e9921e4c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "8061cfee9eab5f8bd3ff95a301fcfe0056dad08a211a37d78d622e6e9ab97604",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "⭐ 推荐 | 全模型自动负载优化",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:43:15.061000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:19.259Z",
  "outputPrice": null,
  "parseRevisionId": "378e0bab8f3af8cd2ab3b078ddfc28b8b8546593a6f76a0eab0ec5cc06f3099f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "23699887c59e5a92e67e086775b35b56b11646b4e503ffc712e1c6a69f997a08",
  "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"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "提示 <= 20 万个 token",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "提示 > 20 万个 token",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "提示 > 20 万个 token"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "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": "提示 <= 20 万个 token"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "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": "104b7a9070cc7896a3bd110e6c19ffe75841aad10757fd0ce7d6f0b505e657ed",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "a959c9c7c7aa936d88a30c8de998edd36aaaad5aa8871833786d6d513d4c059b",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "28e2b2ece455d63ffac417a943a26f2e6c1275a3ba60f075e017488fbcf82c1b",
  "quoteOrdinal": 1469,
  "snapshotId": "2deea2e97fa57263e67c15a54136135ce05f1114bc76c29f61e282847f4f5806",
  "sourceDomain": "api.ifopen.ai",
  "sourceId": "api.ifopen.ai",
  "sourceRowId": "23699887c59e5a92e67e086775b35b56b11646b4e503ffc712e1c6a69f997a08",
  "transactionId": "bcb1af2e4583d00993c178681d9f860d96026af30043314729031053e9921e4c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

api.ikuncode.cc

All plans →
1 declarations · 1 on this page

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

gemini-cli-反重力· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Input
700000
Output
4200000
Request
Not provided
Cache read
70000
Cache write
Not provided
All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.ikuncode.cc · Public API declaration

Plan / group: declared-group:gemini-cli-反重力 · gemini-cli-反重力

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: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
700000
Output
4200000
Per request
Not provided / unresolved
Cache read
70000
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "可用于Gemini CLI,缓存低慎重",
  "declaredGroupRatio": "0.7",
  "eligibility": {
    "declaredGroup": "gemini-cli-反重力",
    "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:43:14Z",
  "firstObservedAt": "2026-10-03T23:43:15.033Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:15.033Z",
  "snapshotId": "eeb126f9e5569d2ae8aa08b351d65e7aa992d838491f477200fe304b0b5f2d41",
  "sourceId": "api.ikuncode.cc",
  "transactionId": "a965027a3c6d79fb27477c7fd211d9ea80ef0e4ec72e600fd9f0c8697c731570"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "4a667d70124fa1a6af0c0b221c5ffddd23c4d807323bd27fac7a9defcb3b4e6d",
  "cacheReadPrice": "70000",
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "可用于Gemini CLI,缓存低慎重",
    "declaredGroupRatio": "0.7",
    "eligibility": {
      "declaredGroup": "gemini-cli-反重力",
      "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": "gemini-cli-反重力",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:43:14Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "700000",
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:15.033Z",
  "outputPrice": "4200000",
  "parseRevisionId": "aa1a4c01c0202a856d28394f620932f41e4ac8ef32cbbe9b4e912f875e395732",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:gemini-cli-反重力",
  "pricePairSourceRowId": "dbccc849a85ae5486e5c79ea306e7f4f34120c519e6d064e2e9d17a995fc64c0",
  "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"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7e6d7b6b6bd2a032e0d95ed15f62d11710f3dd8794fa052f8daa2c94d1db635e",
  "quoteOrdinal": 85,
  "snapshotId": "eeb126f9e5569d2ae8aa08b351d65e7aa992d838491f477200fe304b0b5f2d41",
  "sourceDomain": "api.ikuncode.cc",
  "sourceId": "api.ikuncode.cc",
  "sourceRowId": "dbccc849a85ae5486e5c79ea306e7f4f34120c519e6d064e2e9d17a995fc64c0",
  "transactionId": "a965027a3c6d79fb27477c7fd211d9ea80ef0e4ec72e600fd9f0c8697c731570",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.kpzhu.com

All plans →
1 declarations · 1 on this page

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

vertex gemini coding· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Input
56250000
Output
225000000
Request
Not provided
Cache read
Not provided
Cache write
Not provided
All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.kpzhu.com · Public API declaration

Plan / group: declared-group:vertex gemini coding · vertex gemini coding

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: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
56250000
Output
225000000
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "禁止蒸馏!蒸馏不退款",
  "declaredGroupRatio": "1.5",
  "eligibility": {
    "declaredGroup": "vertex gemini  coding",
    "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:43:31.186000Z",
  "firstObservedAt": "2026-10-03T23:43:32.997Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:43:32.997Z",
  "snapshotId": "6abc60f28d4ee2d5e1fab6771f63aff72fe440039aef3e4123809b635030bfbd",
  "sourceId": "api.kpzhu.com",
  "transactionId": "8287ca46a511fe0a0c87521026f5fd84b550759d5af77dc6076be3d01088baa2"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "aa694edf0cd7a0b57a19dfb2c7d45998eb28f59fc651a6cc4a4544f87cad4b4b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "禁止蒸馏!蒸馏不退款",
    "declaredGroupRatio": "1.5",
    "eligibility": {
      "declaredGroup": "vertex gemini  coding",
      "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": "vertex gemini  coding",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:43:31.186000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "56250000",
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:43:32.997Z",
  "outputPrice": "225000000",
  "parseRevisionId": "883482d70d85e8f8d151f2a3c8c6bdc9f96c188a7847c56582578e2329380512",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:vertex gemini  coding",
  "pricePairSourceRowId": "1258d9b38d85fa081f968023503541a6eec48abcbac25c8812e7d9147d5e59c8",
  "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"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "ffb41905f4585a26142b1d0e9120717470a629ed5175f9b3a57f7143ffd39913",
  "quoteOrdinal": 437,
  "snapshotId": "6abc60f28d4ee2d5e1fab6771f63aff72fe440039aef3e4123809b635030bfbd",
  "sourceDomain": "api.kpzhu.com",
  "sourceId": "api.kpzhu.com",
  "sourceRowId": "1258d9b38d85fa081f968023503541a6eec48abcbac25c8812e7d9147d5e59c8",
  "transactionId": "8287ca46a511fe0a0c87521026f5fd84b550759d5af77dc6076be3d01088baa2",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.qiuqiutoken.com

All plans →
1 declarations · 1 on this page

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

Gemini专用-Ultra号池· Public API

gemini-3.1-pro-preview-customtools

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.qiuqiutoken.com · Public API declaration

Plan / group: declared-group:Gemini专用-Ultra号池 · Gemini专用-Ultra号池

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

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "标准",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "tier_2",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
          "usageVariable": "cc"
        },
        {
          "coefficient": "0.4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": ">",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "兜底",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": ">",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "兜底"
          },
          {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cc",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "tier_2"
          },
          {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cc",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "标准"
        },
        {
          "left": {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cc",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "4.5"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cc",
      "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": "f5eb4ae63f6d740088dfdec68d2bf99392bea1d62efbb72445fc6289230d3b8a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "8d9dfa20d8668f7b2b9841fccf8cf205c22fd066742a25ddc7f79d0b56061e29",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "自建Google AI Ultra订阅号池,满血,无场景限制",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "Gemini专用-Ultra号池",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:44:41.498000Z",
  "firstObservedAt": "2026-10-03T23:44:43.402Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:44:43.402Z",
  "snapshotId": "05914f9c8fa32de9910109fcbea3af9fa01697cab618418c1f517d3e4be3a515",
  "sourceId": "api.qiuqiutoken.com",
  "transactionId": "430dba0aaabdc10c07f33c8874d968df931a41551314410ddbe9b8c1c31c6e2d"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "15d337f529adf44e93d7c514ef257cf8fcf8c20ebefe60f87eab2986153e0a85",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "自建Google AI Ultra订阅号池,满血,无场景限制",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "Gemini专用-Ultra号池",
      "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": "Gemini专用-Ultra号池",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:44:41.498000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:44:43.402Z",
  "outputPrice": null,
  "parseRevisionId": "e3556bed8b892efe5773a08dee8ebfbc81b63bd857fd8dd56799d9cde9023b07",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:Gemini专用-Ultra号池",
  "pricePairSourceRowId": "4e840156adc0c5c5ccc51e6f3cd7616cb2fb229989c0a648f3c9f4770b96887b",
  "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"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "标准",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "tier_2",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_WRITE_5M_OR_GENERIC",
            "usageVariable": "cc"
          },
          {
            "coefficient": "0.4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": ">",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "兜底",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "condition": {
          "left": {
            "name": "len",
            "type": "variable"
          },
          "operator": ">",
          "right": {
            "type": "number",
            "value": "200000"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "arguments": [
            {
              "type": "string",
              "value": "兜底"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "whenTrue": {
          "arguments": [
            {
              "type": "string",
              "value": "tier_2"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cc",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        }
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "标准"
          },
          {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.2"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cc",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cc",
        "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": "f5eb4ae63f6d740088dfdec68d2bf99392bea1d62efbb72445fc6289230d3b8a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "8d9dfa20d8668f7b2b9841fccf8cf205c22fd066742a25ddc7f79d0b56061e29",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "ddbdc587291aaa1a90b1bc7a9b0fede1b697a07a894c95fc3258e398d10de883",
  "quoteOrdinal": 87,
  "snapshotId": "05914f9c8fa32de9910109fcbea3af9fa01697cab618418c1f517d3e4be3a515",
  "sourceDomain": "api.qiuqiutoken.com",
  "sourceId": "api.qiuqiutoken.com",
  "sourceRowId": "4e840156adc0c5c5ccc51e6f3cd7616cb2fb229989c0a648f3c9f4770b96887b",
  "transactionId": "430dba0aaabdc10c07f33c8874d968df931a41551314410ddbe9b8c1c31c6e2d",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

api.xhuoai.com

All plans →
2 declarations · 2 on this page

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

default· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Input
1000000
Output
6000000
Request
Not provided
Cache read
Not provided
Cache write
Not provided
All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.xhuoai.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: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
1000000
Output
6000000
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "默认分组,支持所有常用模型,OpenAI特价渠道(AZ微软渠道)Claude Code,Gemini稳定渠道(GCP/Velax),性价比首选,2折,倍率1.0",
  "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:45:53.227000Z",
  "firstObservedAt": "2026-10-03T23:45:55.543Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:55.543Z",
  "snapshotId": "396adfbc71a628c25cffb5eda5f6815a1770fb1d076ea2bd54cb938ae29664b3",
  "sourceId": "api.xhuoai.com",
  "transactionId": "4bd4cfa023f1737cb3148061059d46c2353db3aa462e15cd968b17a5c94cffcb"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "3f67ddc2ccf88b1764d0b0beaa695a834d587222a18c4be9fb93c9fc461b3ea1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "默认分组,支持所有常用模型,OpenAI特价渠道(AZ微软渠道)Claude Code,Gemini稳定渠道(GCP/Velax),性价比首选,2折,倍率1.0",
    "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_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:45:53.227000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "1000000",
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:55.543Z",
  "outputPrice": "6000000",
  "parseRevisionId": "2f07f22b88b9344624cda8d02a3a5d933b504ff4902468aadaac0471aa0e29e1",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "bc55ff044ac9966491db7718d94eda56b79ab2c4b7584922ef34312f5cc2233d",
  "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"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "39263e948c9ac6488d17830352a3f7c6f97cae00ab3a108c0ea229d539106c04",
  "quoteOrdinal": 599,
  "snapshotId": "396adfbc71a628c25cffb5eda5f6815a1770fb1d076ea2bd54cb938ae29664b3",
  "sourceDomain": "api.xhuoai.com",
  "sourceId": "api.xhuoai.com",
  "sourceRowId": "bc55ff044ac9966491db7718d94eda56b79ab2c4b7584922ef34312f5cc2233d",
  "transactionId": "4bd4cfa023f1737cb3148061059d46c2353db3aa462e15cd968b17a5c94cffcb",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

企业渠道· Public API

gemini-3.1-pro-preview-customtools

Host quota points / million tokens · Observed:

Input
4000000
Output
24000000
Request
Not provided
Cache read
Not provided
Cache write
Not provided
All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.xhuoai.com · Public API declaration

Plan / group: declared-group:企业渠道 · 企业渠道

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
4000000
Output
24000000
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "OpenAI/Claude企业级渠道,追求极速稳定首选,超高并发,功能与官方完全一致,5.6折,倍率4.0",
  "declaredGroupRatio": 4,
  "eligibility": {
    "declaredGroup": "企业渠道",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.227000Z",
  "firstObservedAt": "2026-10-03T23:45:55.543Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:55.543Z",
  "snapshotId": "396adfbc71a628c25cffb5eda5f6815a1770fb1d076ea2bd54cb938ae29664b3",
  "sourceId": "api.xhuoai.com",
  "transactionId": "4bd4cfa023f1737cb3148061059d46c2353db3aa462e15cd968b17a5c94cffcb"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "3f67ddc2ccf88b1764d0b0beaa695a834d587222a18c4be9fb93c9fc461b3ea1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "OpenAI/Claude企业级渠道,追求极速稳定首选,超高并发,功能与官方完全一致,5.6折,倍率4.0",
    "declaredGroupRatio": 4,
    "eligibility": {
      "declaredGroup": "企业渠道",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "企业渠道",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:45:53.227000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "4000000",
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:55.543Z",
  "outputPrice": "24000000",
  "parseRevisionId": "2f07f22b88b9344624cda8d02a3a5d933b504ff4902468aadaac0471aa0e29e1",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:企业渠道",
  "pricePairSourceRowId": "bc55ff044ac9966491db7718d94eda56b79ab2c4b7584922ef34312f5cc2233d",
  "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"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "013f4bd3b765d34fa0463ef96c8e0e711dd1e4d04438ffd6eb435a728309d63c",
  "quoteOrdinal": 600,
  "snapshotId": "396adfbc71a628c25cffb5eda5f6815a1770fb1d076ea2bd54cb938ae29664b3",
  "sourceDomain": "api.xhuoai.com",
  "sourceId": "api.xhuoai.com",
  "sourceRowId": "bc55ff044ac9966491db7718d94eda56b79ab2c4b7584922ef34312f5cc2233d",
  "transactionId": "4bd4cfa023f1737cb3148061059d46c2353db3aa462e15cd968b17a5c94cffcb",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.xi-ai.cn

All plans →
3 declarations · 2 on this page

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

default· Public API

gemini-3.1-pro-preview-customtools

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

gemini-3.1-pro-preview-customtools

api.xi-ai.cn · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

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

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

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "6",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "200000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4.5",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "2",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "200001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "3",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "deedb52923b5758ff65fbbf530f2c1a67a1b1bc9068729eb555e870f75ae00ac",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "gemini-3.1-pro-preview-*",
    "selection": "MOST_SPECIFIC_THEN_LEXICAL"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "6",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "200000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4.5",
        "FixedPrice": "0",
        "InputRatio": "2",
        "MaxTokens": "-1",
        "MinTokens": "200001"
      }
    ]
  },
  "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
  "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
1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
6 · SOURCE_COMPLETION_RATIO
cache_ratio
0.1 · SOURCE_CACHE_READ_RATIO
image_ratio
1 · SOURCE_IMAGE_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": "300000.0",
      "cacheWrite": null,
      "input": "3000000",
      "output": "18000000"
    }
  },
  "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": "1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "6"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "image_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_IMAGE_RATIO",
      "usageKind": "IMAGE",
      "value": "1"
    }
  ],
  "contentSha256": "238950f36da471d1efde1788839745ede0f64fd247b475a59dfde4fda02b910b",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "9197ab118a2e562aace0621e7cceecf6ed204d7c0026424286dfeeaeadabea35",
  "rawDeclaredFieldsSha256": "27e2295a2e80eddf046d7d51923d742fe2a4a29d7dd8f7654a73c8a49d9a0cbb",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "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",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED",
  "MULTIMODAL_BILLING_MODE_CONFLICT",
  "NONSTANDARD_PRICING_FIELDS"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 200K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 200K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "> 200K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "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": "≤ 200K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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": "3",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "49d157431ea434c51647d0df44557544aa7a1f0144581fdfc6e1d61d87af2906",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认模型",
  "declaredGroupRatio": 3,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认模型",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "6",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "200000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4.5",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "2",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "200001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "3",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "deedb52923b5758ff65fbbf530f2c1a67a1b1bc9068729eb555e870f75ae00ac",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "gemini-3.1-pro-preview-*",
        "selection": "MOST_SPECIFIC_THEN_LEXICAL"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "6",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "200000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4.5",
            "FixedPrice": "0",
            "InputRatio": "2",
            "MaxTokens": "-1",
            "MinTokens": "200001"
          }
        ]
      },
      "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
      "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": "300000.0",
        "cacheWrite": null,
        "input": "3000000",
        "output": "18000000"
      }
    },
    "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": "1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "6"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "image_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_IMAGE_RATIO",
        "usageKind": "IMAGE",
        "value": "1"
      }
    ],
    "contentSha256": "238950f36da471d1efde1788839745ede0f64fd247b475a59dfde4fda02b910b",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "9197ab118a2e562aace0621e7cceecf6ed204d7c0026424286dfeeaeadabea35",
    "rawDeclaredFieldsSha256": "27e2295a2e80eddf046d7d51923d742fe2a4a29d7dd8f7654a73c8a49d9a0cbb",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
    "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",
      "MULTIMODAL_BILLING_MODE_CONFLICT",
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 200K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 200K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 200K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "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": "≤ 200K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "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": "3",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "49d157431ea434c51647d0df44557544aa7a1f0144581fdfc6e1d61d87af2906",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "9197ab118a2e562aace0621e7cceecf6ed204d7c0026424286dfeeaeadabea35",
  "quoteOrdinal": 912,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

优惠模型· Public API

gemini-3.1-pro-preview-customtools

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

gemini-3.1-pro-preview-customtools

api.xi-ai.cn · Public API declaration

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

Within observation window · not a live quote

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

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

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

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

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "6",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "200000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4.5",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "2",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "200001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
  "declarationComplete": true,
  "declaredCurrency": null,
  "groupRatio": "2",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "MODEL_CONDITIONAL_PRICING",
  "limitations": [
    "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
    "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
    "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
    "SOURCE_CONDITION_ORDINALS_PRESERVED"
  ],
  "missingSemantics": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
  ],
  "parserVersion": "grandet.source-conditional-declaration/1.5.0",
  "ruleContentSha256": "a67391e61a9ef909afe5b3c4394585a6227acd0d644e2be2296f4e5723b365c9",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "gemini-3.1-pro-preview-*",
    "selection": "MOST_SPECIFIC_THEN_LEXICAL"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "6",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "200000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4.5",
        "FixedPrice": "0",
        "InputRatio": "2",
        "MaxTokens": "-1",
        "MinTokens": "200001"
      }
    ]
  },
  "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
  "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
1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
6 · SOURCE_COMPLETION_RATIO
cache_ratio
0.1 · SOURCE_CACHE_READ_RATIO
image_ratio
1 · SOURCE_IMAGE_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": "200000.0",
      "cacheWrite": null,
      "input": "2000000",
      "output": "12000000"
    }
  },
  "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": "1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "6"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "image_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_IMAGE_RATIO",
      "usageKind": "IMAGE",
      "value": "1"
    }
  ],
  "contentSha256": "a95ae4dbb53d4936fe58737eaee0318008b413a4d51b34ff886759f4cd629dbf",
  "currencyInferred": false,
  "declaredGroupRatio": "2",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "27e549c1173161f091f63a9e1b4144877ae0231571f87d73c7b8e9acf3e9bf98",
  "rawDeclaredFieldsSha256": "27e2295a2e80eddf046d7d51923d742fe2a4a29d7dd8f7654a73c8a49d9a0cbb",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "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",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED",
  "MULTIMODAL_BILLING_MODE_CONFLICT",
  "NONSTANDARD_PRICING_FIELDS"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "≤ 200K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "> 200K",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "> 200K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "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": "≤ 200K"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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": "2",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "b8ed035cf8ac73bad973975f3940d375cda9a82ac0a368461201fddb169382a1",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "1比2分组",
  "declaredGroupRatio": 2,
  "eligibility": {
    "declaredGroup": "优惠模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:53.704000Z",
  "firstObservedAt": "2026-10-03T23:45:56.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d725e98b9b0422cb7aa4e77b0118896f69771470c9da3963923b233e5cebac3c",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "1比2分组",
    "declaredGroupRatio": 2,
    "eligibility": {
      "declaredGroup": "优惠模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "优惠模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
    "CONDITIONAL_CURRENCY_NOT_DECLARED",
    "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
    "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:45:53.704000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:56.249Z",
  "outputPrice": null,
  "parseRevisionId": "cd3f7e9604b81c99ef0cba69047d4da62020b89a0d8043aa7f0b6860b39c3928",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "6",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "200000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4.5",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "2",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "200001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
      "declarationComplete": true,
      "declaredCurrency": null,
      "groupRatio": "2",
      "groupRatioApplied": false,
      "humanExtractionReview": "NOT_PERFORMED",
      "kind": "MODEL_CONDITIONAL_PRICING",
      "limitations": [
        "SOURCE_DISPLAY_SEMANTICS_NOT_BACKEND_SETTLEMENT_PROOF",
        "NO_DEFAULT_CURRENCY_OR_FX_APPLIED",
        "NO_TOKEN_BASIS_INFERRED_FROM_MODEL_NAME",
        "SOURCE_CONDITION_ORDINALS_PRESERVED"
      ],
      "missingSemantics": [
        "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
        "CONDITIONAL_CURRENCY_NOT_DECLARED",
        "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
        "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED"
      ],
      "parserVersion": "grandet.source-conditional-declaration/1.5.0",
      "ruleContentSha256": "a67391e61a9ef909afe5b3c4394585a6227acd0d644e2be2296f4e5723b365c9",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "gemini-3.1-pro-preview-*",
        "selection": "MOST_SPECIFIC_THEN_LEXICAL"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "6",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "200000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4.5",
            "FixedPrice": "0",
            "InputRatio": "2",
            "MaxTokens": "-1",
            "MinTokens": "200001"
          }
        ]
      },
      "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
      "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": "200000.0",
        "cacheWrite": null,
        "input": "2000000",
        "output": "12000000"
      }
    },
    "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": "1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "6"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "image_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_IMAGE_RATIO",
        "usageKind": "IMAGE",
        "value": "1"
      }
    ],
    "contentSha256": "a95ae4dbb53d4936fe58737eaee0318008b413a4d51b34ff886759f4cd629dbf",
    "currencyInferred": false,
    "declaredGroupRatio": "2",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "27e549c1173161f091f63a9e1b4144877ae0231571f87d73c7b8e9acf3e9bf98",
    "rawDeclaredFieldsSha256": "27e2295a2e80eddf046d7d51923d742fe2a4a29d7dd8f7654a73c8a49d9a0cbb",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
    "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",
      "MULTIMODAL_BILLING_MODE_CONFLICT",
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:优惠模型",
  "pricePairSourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "bundleUrl": "https://api.xi-ai.cn/static/js/1037.f9964504.chunk.js",
      "conditionalMapSha256": "104709407082d12d5a527d60c84ae7cca3220b0021098630f7b1470d32b4556c",
      "legacyBodySha256": "be861fb5aef92445b38a68ccc81fd057aa533847c7086b02b766ece90ec17988",
      "legacyEndpoint": "https://api.xi-ai.cn/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.204Z",
      "pricingAttemptId": "62bffb103635ed79567fa7cff58a28fcf78288b7e1e084e840175412c3b8e698",
      "pricingBodySha256": "2afa49c27d5cb2a56069ea74a8a714f13120892348611d40bc2e1822590cc41f",
      "pricingObservedAt": "2026-10-03T19:05:51.284Z",
      "pricingTransactionId": "ac47a9fafbf410357b5d386478edacd4496568480e1e6e79a209e9c185b48588"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "0146732dfc422b187c9741334c21b25f057caf6a5170177f98ce4b71a9a6b41b",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "≤ 200K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "> 200K",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "> 200K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "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": "≤ 200K"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "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": "2",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "b8ed035cf8ac73bad973975f3940d375cda9a82ac0a368461201fddb169382a1",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "308d09a326bd999f165c529b125fae4d4dfd1b4ffb55becb98f7573434140637",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "27e549c1173161f091f63a9e1b4144877ae0231571f87d73c7b8e9acf3e9bf98",
  "quoteOrdinal": 913,
  "snapshotId": "67e2a9d8a84b5fbbcdb098090654239cd1ed110eca3c8ddc520b11d0b95648ae",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "e65d29144d7a16b6913b0ca34bc9bba04865e5d097a8848e376b9b7bd276863a",
  "transactionId": "81703bad1cfff87ec863d8fd3a226f0ab030e30940e5219c0059c8082d8e0d5a",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

api.xiaoyaoxx.cn

All plans →
1 declarations · 1 on this page

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

vt geminni· Public API

gemini-3.1-pro-preview-customtools

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

gemini-3.1-pro-preview-customtools

api.xiaoyaoxx.cn · Public API declaration

Plan / group: declared-group:vt geminni · vt geminni

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

Complete pricing rule; no single minimum represents this declaration. · STRUCTURED_RULE

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "0_200k",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "200k_plus",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "200k_plus"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "0_200k"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.2"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "len",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "2.3",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "306078353fcde32b4803fdec63f7bab6fac3e59fd6ddcaa6b9787b5c373c4f97",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "90c6630d0f0560f9dbd263011b89c692048fef139ddf7d61150159091b84f7c7",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "企业级稳定",
  "declaredGroupRatio": "2.3",
  "eligibility": {
    "declaredGroup": "vt  geminni",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:45:55.508000Z",
  "firstObservedAt": "2026-10-03T23:45:57.875Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:45:57.875Z",
  "snapshotId": "5c49b473296539253a1c5d4b472d735008847695ec94a185fc93507df96b5db4",
  "sourceId": "api.xiaoyaoxx.cn",
  "transactionId": "fe55d207c6dd622d3f46314ca67520fc66bf3518bfe167a7794751ef19a94b70"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "b67fd8d9ad2a80b3358c759c7331416448ed06bee3655dfac56493db614c60ed",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "企业级稳定",
    "declaredGroupRatio": "2.3",
    "eligibility": {
      "declaredGroup": "vt  geminni",
      "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": "vt  geminni",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:45:55.508000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:45:57.875Z",
  "outputPrice": null,
  "parseRevisionId": "f74a58b8182c4a4b635e319197499408def8b274df3d4d8088f730f8f93b03d4",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:vt  geminni",
  "pricePairSourceRowId": "005b00cbe2c4dc95f75865f29f6d7cd3c0f62b94cdc142c5f541054f227518a0",
  "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"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "0_200k",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "200k_plus",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "200k_plus"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "0_200k"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.2"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "len",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "2.3",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "306078353fcde32b4803fdec63f7bab6fac3e59fd6ddcaa6b9787b5c373c4f97",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "90c6630d0f0560f9dbd263011b89c692048fef139ddf7d61150159091b84f7c7",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "13dd21a67f815994ffe40a9168ff4d3c379bdc4169224288a2088f7964eb4298",
  "quoteOrdinal": 111,
  "snapshotId": "5c49b473296539253a1c5d4b472d735008847695ec94a185fc93507df96b5db4",
  "sourceDomain": "api.xiaoyaoxx.cn",
  "sourceId": "api.xiaoyaoxx.cn",
  "sourceRowId": "005b00cbe2c4dc95f75865f29f6d7cd3c0f62b94cdc142c5f541054f227518a0",
  "transactionId": "fe55d207c6dd622d3f46314ca67520fc66bf3518bfe167a7794751ef19a94b70",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

api.yuboar.com

All plans →
1 declarations · 1 on this page

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

Gemini· Public API

gemini-3.1-pro-preview-customtools

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

gemini-3.1-pro-preview-customtools

api.yuboar.com · Public API declaration

Plan / group: declared-group:Gemini · Gemini

Within observation window · not a live quote

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

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

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

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

Extracted conditional declaration

Complete terms and source evidence
{
  "branches": [
    {
      "completionRatio": "6",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "1",
      "sourceConditionOrdinal": 0,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": "200000",
        "maximumInclusive": true,
        "minimum": "0",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    },
    {
      "completionRatio": "4.5",
      "fixedPrice": "0",
      "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
      "inputRatio": "2",
      "sourceConditionOrdinal": 1,
      "tokenBounds": {
        "integerRequired": true,
        "maximum": null,
        "maximumInclusive": false,
        "minimum": "200001",
        "minimumInclusive": true,
        "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
      }
    }
  ],
  "calculationSupported": false,
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "competingExpressionSha256": "520ab04393e5b0b6e4d4c3d6187989f6d2f4f86110e21c427a74d2bccc743c9b",
  "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": "083ce0f02b0ab06fbb1babe03f266ae128cfc12107a3a42c42297a690e52a18f",
  "schema": "grandet.public-conditional-declaration/v1",
  "selection": {
    "selectedPattern": "gemini-3.1-pro-preview-*",
    "selection": "MOST_SPECIFIC_THEN_LEXICAL"
  },
  "sourceConfig": {
    "Conditions": [
      {
        "CompletionRatio": "6",
        "FixedPrice": "0",
        "InputRatio": "1",
        "MaxTokens": "200000",
        "MinTokens": "0"
      },
      {
        "CompletionRatio": "4.5",
        "FixedPrice": "0",
        "InputRatio": "2",
        "MaxTokens": "-1",
        "MinTokens": "200001"
      }
    ]
  },
  "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
  "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
1 · SOURCE_BASE_MODEL_RATIO
completion_ratio
6 · SOURCE_COMPLETION_RATIO
cache_ratio
0.1 · SOURCE_CACHE_READ_RATIO
image_ratio
1 · SOURCE_IMAGE_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.0",
      "cacheWrite": null,
      "input": "1000000",
      "output": "6000000"
    }
  },
  "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": "1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "6"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.1"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "image_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_IMAGE_RATIO",
      "usageKind": "IMAGE",
      "value": "1"
    }
  ],
  "contentSha256": "7d51a3706a9c927e2ffd548946f1b2a536391695c52301dd2f7e8e129867953c",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "a06a92c6791b59f21c1a42ba979d33e22f775d6fe6125edc6de0a20c5d8e902e",
  "rawDeclaredFieldsSha256": "5390893d6e2b989100753a4a547db7f60f6af1874457d16156ae162c4ddd8baf",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "df364fbdb232bd5f7e0386210e1da13907ea0a45e19d10f0621e7abb2fd21800",
  "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",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

Unresolved reasons

[
  "CONDITIONAL_ACTIVE_MAP_EXPRESSION_PRECEDENCE_UNESTABLISHED",
  "CONDITIONAL_CURRENCY_NOT_DECLARED",
  "CONDITIONAL_SETTLEMENT_UNITS_UNESTABLISHED",
  "CONDITIONAL_TOKEN_QUANTITY_BASIS_UNESTABLISHED",
  "MULTIMODAL_BILLING_MODE_CONFLICT",
  "NONSTANDARD_PRICING_FIELDS"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "12",
          "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": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "<=200k",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "18",
          "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": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "name": "len",
              "type": "variable"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "200000"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": ">200k",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "name": "len",
        "type": "variable"
      },
      "operator": "<=",
      "right": {
        "type": "number",
        "value": "200000"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": ">200k"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "18"
              },
              "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": "<=200k"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "2"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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": "9aa8cec001c9c7dadd663964d61f616322f409f8109d66566d6d2596c9a2ccef",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "520ab04393e5b0b6e4d4c3d6187989f6d2f4f86110e21c427a74d2bccc743c9b",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "gemini",
    "openai"
  ],
  "declaredGroupDescription": "Gemini",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "Gemini",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:46:12.847000Z",
  "firstObservedAt": "2026-10-03T23:46:15.303Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:46:15.303Z",
  "snapshotId": "096f3f56330bb42ba1143dadb9505afba6d7864c6e7264ca585fde7735f1e876",
  "sourceId": "api.yuboar.com",
  "transactionId": "e3993b20245a87a5c4734902d2bbfb35d81465ac9de8f45af055cfa80d6c4ff7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "eeaac483ccb9619fde0f5251771408c340559375c85eac66c7b776334fafbdb1",
  "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": [
      "gemini",
      "openai"
    ],
    "declaredGroupDescription": "Gemini",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "Gemini",
      "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": "Gemini",
  "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",
    "MULTIMODAL_BILLING_MODE_CONFLICT",
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:46:12.847000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "gemini-3.1-pro-preview-customtools",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:46:15.303Z",
  "outputPrice": null,
  "parseRevisionId": "dbe0be39301a699537dfe7685d2574859664c2e1860e666d112f24436a687c87",
  "parsedPricingDeclarations": [
    {
      "branches": [
        {
          "completionRatio": "6",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "1",
          "sourceConditionOrdinal": 0,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": "200000",
            "maximumInclusive": true,
            "minimum": "0",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        },
        {
          "completionRatio": "4.5",
          "fixedPrice": "0",
          "fixedPriceInterpretation": "RETAINED_SOURCE_DECLARATION_NOT_COMBINED_WITH_TOKEN_RATES",
          "inputRatio": "2",
          "sourceConditionOrdinal": 1,
          "tokenBounds": {
            "integerRequired": true,
            "maximum": null,
            "maximumInclusive": false,
            "minimum": "200001",
            "minimumInclusive": true,
            "quantity": "UNESTABLISHED_SOURCE_TOKEN_QUANTITY"
          }
        }
      ],
      "calculationSupported": false,
      "cashQualification": "NOT_EVALUATED",
      "cashQualified": false,
      "competingExpressionSha256": "520ab04393e5b0b6e4d4c3d6187989f6d2f4f86110e21c427a74d2bccc743c9b",
      "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": "083ce0f02b0ab06fbb1babe03f266ae128cfc12107a3a42c42297a690e52a18f",
      "schema": "grandet.public-conditional-declaration/v1",
      "selection": {
        "selectedPattern": "gemini-3.1-pro-preview-*",
        "selection": "MOST_SPECIFIC_THEN_LEXICAL"
      },
      "sourceConfig": {
        "Conditions": [
          {
            "CompletionRatio": "6",
            "FixedPrice": "0",
            "InputRatio": "1",
            "MaxTokens": "200000",
            "MinTokens": "0"
          },
          {
            "CompletionRatio": "4.5",
            "FixedPrice": "0",
            "InputRatio": "2",
            "MaxTokens": "-1",
            "MinTokens": "200001"
          }
        ]
      },
      "sourceConfigSha256": "cf5f0bfdbf63c045e8f0838bba5b8c026c0cedf1be8da3c087b483aa240867e9",
      "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.0",
        "cacheWrite": null,
        "input": "1000000",
        "output": "6000000"
      }
    },
    "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": "1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "6"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.1"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "image_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_IMAGE_RATIO",
        "usageKind": "IMAGE",
        "value": "1"
      }
    ],
    "contentSha256": "7d51a3706a9c927e2ffd548946f1b2a536391695c52301dd2f7e8e129867953c",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "a06a92c6791b59f21c1a42ba979d33e22f775d6fe6125edc6de0a20c5d8e902e",
    "rawDeclaredFieldsSha256": "5390893d6e2b989100753a4a547db7f60f6af1874457d16156ae162c4ddd8baf",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "df364fbdb232bd5f7e0386210e1da13907ea0a45e19d10f0621e7abb2fd21800",
    "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",
      "MULTIMODAL_BILLING_MODE_CONFLICT",
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:Gemini",
  "pricePairSourceRowId": "df364fbdb232bd5f7e0386210e1da13907ea0a45e19d10f0621e7abb2fd21800",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    },
    {
      "bundleSha256": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
      "bundleUrl": "https://api.yuboar.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "5bebbe0cbd837f07425cefbce2eab42f6de165df7a2da21370225b6b7fe5f9e1",
      "legacyBodySha256": "3d31dcfaa25d148a688e32730367ac2ca8902c7a56488e7f416313adda006e8a",
      "legacyEndpoint": "https://api.yuboar.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:40.712Z",
      "pricingAttemptId": "e10a5825d93546999f5706e7e6f980694583d1a63d0a4dc82bde1e2eb503fe97",
      "pricingBodySha256": "267ed3a4dc6bacf10353f56613eb688cde909cfe23ebeb740fe736618d3e2c19",
      "pricingObservedAt": "2026-10-03T19:06:07.448Z",
      "pricingTransactionId": "27e0e98821e6f5762afbe713f8b9a05d52a97f13a5602e5f87a8e36d02bcca21"
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
      "fragmentSha256": "9dce525ca4bdcf7c5f3ee1831bbcdcb4e33dbe1db5ddf3b651943689179c1efa",
      "kind": "SOURCE_CLIENT_WILDCARD_AND_FAMILY_SELECTION",
      "sourceByteRange": [
        6593,
        8453
      ]
    },
    {
      "adapterVersion": "grandet.source-conditional-declaration/1.5.0",
      "bundleSha256": "1370b6a021448d0b7f07d685f36b73f72307f8052ab402a19a679a1415b5e189",
      "fragmentSha256": "3a017e8ceaed1d3c7fa54ae3286c015fcbedb25fc8d2b5cc7892adcf74aeec23",
      "kind": "SOURCE_CLIENT_CONDITIONAL_EXACT_REGION_MERGE_AND_DISPLAY_GATE",
      "sourceByteRange": [
        39930,
        42217
      ]
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "12",
            "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": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "<=200k",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "18",
            "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": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "name": "len",
                "type": "variable"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "200000"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": ">200k",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "name": "len",
          "type": "variable"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "200000"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": ">200k"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "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": "<=200k"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "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": "9aa8cec001c9c7dadd663964d61f616322f409f8109d66566d6d2596c9a2ccef",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "520ab04393e5b0b6e4d4c3d6187989f6d2f4f86110e21c427a74d2bccc743c9b",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "a06a92c6791b59f21c1a42ba979d33e22f775d6fe6125edc6de0a20c5d8e902e",
  "quoteOrdinal": 81,
  "snapshotId": "096f3f56330bb42ba1143dadb9505afba6d7864c6e7264ca585fde7735f1e876",
  "sourceDomain": "api.yuboar.com",
  "sourceId": "api.yuboar.com",
  "sourceRowId": "df364fbdb232bd5f7e0386210e1da13907ea0a45e19d10f0621e7abb2fd21800",
  "transactionId": "e3993b20245a87a5c4734902d2bbfb35d81465ac9de8f45af055cfa80d6c4ff7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

gemini-3.1-pro-preview-customtools

Name attribution evidence
{
  "id": "8a1b4be0b6f79ec9935f",
  "matches": [
    {
      "declaredName": "gemini-3.1-pro-preview-customtools",
      "evidence": {
        "canonicalId": null,
        "claimId": "8a1b4be0b6f79ec9935f",
        "confidence": "UNRESOLVED",
        "declaredName": "gemini-3.1-pro-preview-customtools",
        "evidenceIds": [],
        "evidenceUrl": null,
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "NO_SUFFICIENT_PRIMARY_EVIDENCE",
        "status": "UNRESOLVED",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "gemini-3.1-pro-preview-customtools",
  "officialId": null
}