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

458 sources · 792 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.

792 declarations in scope: 782 within observation window, 10 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 8 declarations match · 8 rows on this page

openai-labs.com

8 declarations · 8 on this page

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

OpenAIVIP· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "3889b5b2e3092a40022919b6ecb1dcf6d9aa2ae4554b4f1420415e9675b568de",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "3889b5b2e3092a40022919b6ecb1dcf6d9aa2ae4554b4f1420415e9675b568de",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "476846e00f4af42bbf0113a4df65f3902578bdefb93ecfbe10e0769b593731db",
  "quoteOrdinal": 62,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

azure· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "04d2bf5044d7bf8b042dadf628fc67953907c677eefdd9ddf4bec083a545945a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "04d2bf5044d7bf8b042dadf628fc67953907c677eefdd9ddf4bec083a545945a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "4ed7dd7de8a2c626eade1e4df26c08b2482b1a99eea511cb22bcbb55b8f6eceb",
  "quoteOrdinal": 63,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "987862cbffa34ae5009666c81370fe4549a4cf9b190a19a897acd74d6f6125bb",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "常用模型",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23: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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "987862cbffa34ae5009666c81370fe4549a4cf9b190a19a897acd74d6f6125bb",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "8631dbd001c95c28cd27c83d337c906fd134aa7ac91c947fa397797ea8347fc2",
  "quoteOrdinal": 64,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

enterprise· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "ff87b60c14680471634bb96ab3eedb025df087a1a58076cb0b205ddfd7dbe533",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "ff87b60c14680471634bb96ab3eedb025df087a1a58076cb0b205ddfd7dbe533",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "e5524fa0eb9b3f8908281b1e0b52b8d659e2baaf1d3866925fdd338f63a4483f",
  "quoteOrdinal": 65,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

g1· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "16dcfd624d2b79b2783002e93a7a2e54de1b34a4a0fa9be47626ecbf1644dd7f",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "16dcfd624d2b79b2783002e93a7a2e54de1b34a4a0fa9be47626ecbf1644dd7f",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "f5dc99abd4f546ad30f0ea796927e30c31d420c2e4730b057dad21e9625b89ae",
  "quoteOrdinal": 66,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

gcBusiness· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "f4a0fb39e06c83ac57aea3ebf7568fb0fb52a948fabdb25a3182f32434b5bca2",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "f4a0fb39e06c83ac57aea3ebf7568fb0fb52a948fabdb25a3182f32434b5bca2",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7118a350af1536b1d42980510d3c6140868fa56d0730d48a6b4b2b47dde19a16",
  "quoteOrdinal": 67,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

op5· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "0531459374b3a15877d3eecc012fb0aae0f100d2a661864df8d4ae7f581d5938",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "0531459374b3a15877d3eecc012fb0aae0f100d2a661864df8d4ae7f581d5938",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "3ff41084714c957d3c48352ca156b71f555d9fbd4b3de143b9e1bd1c2d98bbb3",
  "quoteOrdinal": 68,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

openai-plus· Public API

deepseek-v4-pro

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-v4-pro

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": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "540"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "720"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "840"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "*",
                      "right": {
                        "type": "number",
                        "value": "60"
                      },
                      "type": "binary"
                    },
                    "operator": "+",
                    "right": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "minute",
                      "type": "call"
                    },
                    "type": "binary"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "1080"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "540"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "720"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "840"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "60"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "minute",
                "type": "call"
              },
              "type": "binary"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "1080"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "minute"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "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": "04d2bf5044d7bf8b042dadf628fc67953907c677eefdd9ddf4bec083a545945a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "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"
    ],
    "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-pro",
  "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": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "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": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "540"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "720"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "840"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "left": {
                        "left": {
                          "arguments": [
                            {
                              "type": "string",
                              "value": "Asia/Shanghai"
                            }
                          ],
                          "function": "hour",
                          "type": "call"
                        },
                        "operator": "*",
                        "right": {
                          "type": "number",
                          "value": "60"
                        },
                        "type": "binary"
                      },
                      "operator": "+",
                      "right": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "minute",
                        "type": "call"
                      },
                      "type": "binary"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "1080"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "540"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "720"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "840"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "60"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "minute",
                  "type": "call"
                },
                "type": "binary"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "1080"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "minute"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "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": "04d2bf5044d7bf8b042dadf628fc67953907c677eefdd9ddf4bec083a545945a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "f1465bb3802cde5731d348003806f603057ee3f472625e513ed6412a8319f8fe",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1b63746ca12489cf9e28af3c35eb06b667db5e948505b788c695795e85f224bd",
  "quoteOrdinal": 69,
  "snapshotId": "939f5b346b3ac04b8c4784308c101935ebd5e4c138d1216e1962efc2374eece2",
  "sourceDomain": "openai-labs.com",
  "sourceId": "openai-labs.com",
  "sourceRowId": "570a79224f935e2dc66d352299c32d813be66d9ccfa6e5b9c90a4f8b5cb7eb44",
  "transactionId": "e85aca9bf2b49017731666c567fbe791924bd48cbfcd98f4f96a8e539b69401e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

deepseek-v4-pro

Name attribution evidence
{
  "id": "052e4fc0bc88e2a5376e",
  "matches": [
    {
      "declaredName": "deepseek-v4-pro",
      "evidence": {
        "canonicalId": "deepseek/deepseek-v4-pro",
        "claimId": "052e4fc0bc88e2a5376e",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "deepseek-v4-pro",
        "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-pro",
  "officialId": null
}