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

444 sources · 785 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.

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

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

Captured name archive

Back to all sources

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

openai-labs.com

9 declarations · 9 on this page

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

OpenAIVIP· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:OpenAIVIP · OpenAIVIP

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "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.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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "0180094db57fce71caa189dcc7e45f93226c020b06165321c71d5ab3f13e087a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "OpenAI-VIP",
  "declaredGroupRatio": "1.2",
  "eligibility": {
    "declaredGroup": "OpenAIVIP",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "OpenAI-VIP",
    "declaredGroupRatio": "1.2",
    "eligibility": {
      "declaredGroup": "OpenAIVIP",
      "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": "OpenAIVIP",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:OpenAIVIP",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "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.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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "0180094db57fce71caa189dcc7e45f93226c020b06165321c71d5ab3f13e087a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "d1efe687cca345a9579d16c3a5b3e40f588d17f62a21753e5a4c93ac461234d1",
  "quoteOrdinal": 39,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

azure· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:azure · azure

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.9",
  "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "4e89f01965ddc76b69e7008d6ec6528817522306167c15694e360e8ead99ee1e",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "azure-openai",
  "declaredGroupRatio": "0.9",
  "eligibility": {
    "declaredGroup": "azure",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "azure-openai",
    "declaredGroupRatio": "0.9",
    "eligibility": {
      "declaredGroup": "azure",
      "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": "azure",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:azure",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.9",
    "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "4e89f01965ddc76b69e7008d6ec6528817522306167c15694e360e8ead99ee1e",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "f2b3eb18dc4c58f74417ee5c2eec77e52ad46b5efc2a1bc518fd2a99d8b692e2",
  "quoteOrdinal": 40,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

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

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "9af861e9e01dd83f343803fdb291e8501e710770f4d71074032f4a3a0a7d4c4f",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "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:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "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": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "9af861e9e01dd83f343803fdb291e8501e710770f4d71074032f4a3a0a7d4c4f",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1ed6f37b36622933e41bb2f6d65fac6e0d67f61f5c841d76a7bf0b6ca9083baf",
  "quoteOrdinal": 41,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

enterprise· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:enterprise · enterprise

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.8",
  "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "14b0c8b2803af3ca329735c1b20c98f1bd44774933bd2a789977905819d1b0d4",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "国产大模型max",
  "declaredGroupRatio": "0.8",
  "eligibility": {
    "declaredGroup": "enterprise",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "国产大模型max",
    "declaredGroupRatio": "0.8",
    "eligibility": {
      "declaredGroup": "enterprise",
      "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": "enterprise",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:enterprise",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.8",
    "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "14b0c8b2803af3ca329735c1b20c98f1bd44774933bd2a789977905819d1b0d4",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "83f5a65a110783d120e5b940a58e0e2aed151f85bf8de9d9cd760005db802a09",
  "quoteOrdinal": 42,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

g1· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:g1 · g1

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.5",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "0caee549ad79aa8b4be7941019d5434b9960eba8e3e21d91571244236baf6178",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "OpenAI Lite",
  "declaredGroupRatio": "0.5",
  "eligibility": {
    "declaredGroup": "g1",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "OpenAI Lite",
    "declaredGroupRatio": "0.5",
    "eligibility": {
      "declaredGroup": "g1",
      "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": "g1",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:g1",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.5",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "0caee549ad79aa8b4be7941019d5434b9960eba8e3e21d91571244236baf6178",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "b3014f3079aa3638c8f5a2150d5e0ff132f077e3f70d162b8d92f3cf0654996d",
  "quoteOrdinal": 43,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

gcBusiness· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:gcBusiness · gcBusiness

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.6",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "63699499d36426f5ff67a2f2b25f90c64eb0c5a40aca84a54288bf659294f28a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "国产大模型Pro",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "gcBusiness",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "国产大模型Pro",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "gcBusiness",
      "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": "gcBusiness",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:gcBusiness",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.6",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "63699499d36426f5ff67a2f2b25f90c64eb0c5a40aca84a54288bf659294f28a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "b92460be271789173b6f0f02e9ca1c1fbbfc530844c0fc08b23d5a199d392521",
  "quoteOrdinal": 44,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

op5· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:op5 · op5

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "5",
  "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "0fc92bca08c33e59509ef5c8ef04205395cfc44d5c2f78a713a53f1188733c39",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "大模型官方合同",
  "declaredGroupRatio": 5,
  "eligibility": {
    "declaredGroup": "op5",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "大模型官方合同",
    "declaredGroupRatio": 5,
    "eligibility": {
      "declaredGroup": "op5",
      "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": "op5",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:op5",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "5",
    "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "0fc92bca08c33e59509ef5c8ef04205395cfc44d5c2f78a713a53f1188733c39",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "92ca28434d0050d0c3298583a3b8828d1ffb11fcefcf91b3cf6945085e05a049",
  "quoteOrdinal": 45,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

openai-advanced· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:openai-advanced · openai-advanced

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "b42a4d339efcfcc95ebc363d53d27c3601689107a0fbe0747d57fb4226368b12",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "OpenAI Advanced",
  "declaredGroupRatio": 2,
  "eligibility": {
    "declaredGroup": "openai-advanced",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "OpenAI Advanced",
    "declaredGroupRatio": 2,
    "eligibility": {
      "declaredGroup": "openai-advanced",
      "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": "openai-advanced",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:openai-advanced",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "b42a4d339efcfcc95ebc363d53d27c3601689107a0fbe0747d57fb4226368b12",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "6b67795c18ad0565ea974a7413a129807e7aadbb2f4c209eb8e8f6933fe9f3d2",
  "quoteOrdinal": 46,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

openai-plus· Public API

deepseek-v4-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-flash

openai-labs.com · Public API declaration

Plan / group: declared-group:openai-plus · openai-plus

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": "18",
          "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": "6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.05",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.05"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.9",
  "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",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "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": "4e89f01965ddc76b69e7008d6ec6528817522306167c15694e360e8ead99ee1e",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "anthropic"
  ],
  "declaredGroupDescription": "OpenAI Standard",
  "declaredGroupRatio": "0.9",
  "eligibility": {
    "declaredGroup": "openai-plus",
    "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:53:45.337000Z",
  "firstObservedAt": "2026-10-03T23:53:47.103Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceId": "openai-labs.com",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c3b5336d0b83b46e2f85f4586f0c301350adee92c717e49a0351cfeb6e9b967e",
  "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": [
      "openai",
      "anthropic"
    ],
    "declaredGroupDescription": "OpenAI Standard",
    "declaredGroupRatio": "0.9",
    "eligibility": {
      "declaredGroup": "openai-plus",
      "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": "openai-plus",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:53:45.337000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:53:47.103Z",
  "outputPrice": null,
  "parseRevisionId": "963dad014c2683f65a8f28c2d0ae2986782e599bdc1d46f347eefedbc8205165",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:openai-plus",
  "pricePairSourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "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://openai-labs.com/static/js/1037.24886c5c.chunk.js",
      "conditionalMapSha256": "33053df81e8667b967eb81266bc4d3f26e6169274aa361fbe1d2ceb6e8be25bc",
      "legacyBodySha256": "f297ca5b2a1e11be207d2edf03b810d24c8ca06ffd3e8aba852e8092c2a07946",
      "legacyEndpoint": "https://openai-labs.com/api/pricing_legacy",
      "legacyObservedAt": "2026-10-03T19:57:49.465Z",
      "pricingAttemptId": "c05305998738aa2a0e2f9119411c5a11a26201ebe3212c241c339c3e2d0c1497",
      "pricingBodySha256": "2d91d647283c720450e3bd1f87d40cb6bfeec6e91568f3f72f6bea5c485c01ee",
      "pricingObservedAt": "2026-10-03T19:13:17.410Z",
      "pricingTransactionId": "e8f4d7fe46641cd546b1a27c975610fe9ec79f7ca0ca69ece2a1ec640988275a"
    },
    {
      "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": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "18",
            "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": "6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.05",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.05"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.9",
    "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",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "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": "4e89f01965ddc76b69e7008d6ec6528817522306167c15694e360e8ead99ee1e",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b85b7217d9aee305acfd949eab98268a09ea637a7161434e851f9a9c21c4c52c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "bc139498af385dee9f991a133e0ee01bd77741ebf70740064ad10ec30d21334e",
  "quoteOrdinal": 47,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "f5687a8114a7d07613cd5d8a79a2fd67b001d342cbf05695a43ee6956fc76cda",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

deepseek-v4-flash

Name attribution evidence
{
  "id": "f61ff5cf8e1cc88da694",
  "matches": [
    {
      "declaredName": "deepseek-v4-flash",
      "evidence": {
        "canonicalId": "deepseek/deepseek-v4-flash",
        "claimId": "f61ff5cf8e1cc88da694",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "deepseek-v4-flash",
        "evidenceIds": [
          "deepseek-models",
          "hf-deepseek"
        ],
        "evidenceUrl": "https://api-docs.deepseek.com/quick_start/pricing",
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "EXACT_OFFICIAL_IDENTIFIER",
        "status": "OFFICIAL_ID",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "configurationSupport": "NOT_VERIFIED",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "deepseek-v4-flash",
  "officialId": null
}