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 4 declarations match · 4 rows on this page

ai.ufoai.online

4 declarations · 4 on this page

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

DeepSeek[羊毛]· 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

ai.ufoai.online · Public API declaration

Plan / group: declared-group:DeepSeek[羊毛] · DeepSeek[羊毛]

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": "54",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "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"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.7",
  "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": "135534036ce9d79d7ec059cdabe9571403d68057661855a67938051ac4433c67",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "薅羊毛渠道 满血聪明 偶尔会炸无兜底 报错切换到国产模型分组",
  "declaredGroupRatio": "0.7",
  "eligibility": {
    "declaredGroup": "DeepSeek[羊毛]",
    "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:38:42.981000Z",
  "firstObservedAt": "2026-10-03T23:38:44.638Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceId": "ai.ufoai.online",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "fe69d601b89a8c0608cbff3c7ec5898fbc27e9515bcb557f8affd18916758862",
  "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": "0.7",
    "eligibility": {
      "declaredGroup": "DeepSeek[羊毛]",
      "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": "DeepSeek[羊毛]",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:38:42.981000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "outputPrice": null,
  "parseRevisionId": "c8d6f765adef2be7d3ff1c05da729e3a471e0fc980d858ef9bd2fa155a57675f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek[羊毛]",
  "pricePairSourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "54",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "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"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.7",
    "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": "135534036ce9d79d7ec059cdabe9571403d68057661855a67938051ac4433c67",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "bfb32c98abf63f932b32e390813623aaf25eeb2d6c2057a927c3ba389c85cfeb",
  "quoteOrdinal": 23,
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceDomain": "ai.ufoai.online",
  "sourceId": "ai.ufoai.online",
  "sourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c",
  "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

ai.ufoai.online · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

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

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": "54",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "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"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "2.4",
  "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": "58a5dc711455c08b1b83ceeee238683f8ae35cea5de66ba5d4fdf6a6ad5e11a4",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": "2.4",
  "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:38:42.981000Z",
  "firstObservedAt": "2026-10-03T23:38:44.638Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceId": "ai.ufoai.online",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "fe69d601b89a8c0608cbff3c7ec5898fbc27e9515bcb557f8affd18916758862",
  "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": "2.4",
    "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:38:42.981000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "outputPrice": null,
  "parseRevisionId": "c8d6f765adef2be7d3ff1c05da729e3a471e0fc980d858ef9bd2fa155a57675f",
  "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": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "54",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "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"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "2.4",
    "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": "58a5dc711455c08b1b83ceeee238683f8ae35cea5de66ba5d4fdf6a6ad5e11a4",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7f659031a191da23cdf026a10c951aaedd8a6efc18aa827cfae0b9607e949c90",
  "quoteOrdinal": 24,
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceDomain": "ai.ufoai.online",
  "sourceId": "ai.ufoai.online",
  "sourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

国产模型· 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

ai.ufoai.online · Public API declaration

Plan / group: declared-group:国产模型 · 国产模型

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "54",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "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"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1.2",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "89fc0b5e6928ad1920e339f6d8edc2dbf9bf72fd38f453082c479ffb5ac9a95a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "deepseek、glm、kimi、MiniMax,比官方便宜40%",
  "declaredGroupRatio": "1.2",
  "eligibility": {
    "declaredGroup": "国产模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:38:42.981000Z",
  "firstObservedAt": "2026-10-03T23:38:44.638Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceId": "ai.ufoai.online",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "fe69d601b89a8c0608cbff3c7ec5898fbc27e9515bcb557f8affd18916758862",
  "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": "deepseek、glm、kimi、MiniMax,比官方便宜40%",
    "declaredGroupRatio": "1.2",
    "eligibility": {
      "declaredGroup": "国产模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国产模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:38:42.981000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "outputPrice": null,
  "parseRevisionId": "c8d6f765adef2be7d3ff1c05da729e3a471e0fc980d858ef9bd2fa155a57675f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:国产模型",
  "pricePairSourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "54",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "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"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1.2",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "89fc0b5e6928ad1920e339f6d8edc2dbf9bf72fd38f453082c479ffb5ac9a95a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "76146cd86c65facc75da35b574181b1e6a584939ecb47a03bac2df92ac3a7b7e",
  "quoteOrdinal": 25,
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceDomain": "ai.ufoai.online",
  "sourceId": "ai.ufoai.online",
  "sourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

国产模型[阿里直连]· 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

ai.ufoai.online · Public API declaration

Plan / group: declared-group:国产模型[阿里直连] · 国产模型[阿里直连]

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "54",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "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": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "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"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1.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": "4dd9a8f061750fe5cebbe9c59f4a33f9b0aa5c9eccbaf61eb7383ce720f4fd93",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "官方9折,deepseek、glm、minimax和kimi",
  "declaredGroupRatio": "1.8",
  "eligibility": {
    "declaredGroup": "国产模型[阿里直连]",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:38:42.981000Z",
  "firstObservedAt": "2026-10-03T23:38:44.638Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceId": "ai.ufoai.online",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "fe69d601b89a8c0608cbff3c7ec5898fbc27e9515bcb557f8affd18916758862",
  "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": "官方9折,deepseek、glm、minimax和kimi",
    "declaredGroupRatio": "1.8",
    "eligibility": {
      "declaredGroup": "国产模型[阿里直连]",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国产模型[阿里直连]",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:38:42.981000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:38:44.638Z",
  "outputPrice": null,
  "parseRevisionId": "c8d6f765adef2be7d3ff1c05da729e3a471e0fc980d858ef9bd2fa155a57675f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:国产模型[阿里直连]",
  "pricePairSourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "54",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "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"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1.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": "4dd9a8f061750fe5cebbe9c59f4a33f9b0aa5c9eccbaf61eb7383ce720f4fd93",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "6ecfb09144798c81a587dbc9fba8011c2221868d8078d62fc7be673f525adbe3",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "0e5ca3d88f7fb160ac82aa207a40161d1f2e3366a3271f43e078a463f43c96ec",
  "quoteOrdinal": 26,
  "snapshotId": "b252cab0424da69e8f09b9dbdb10e0d36752c11f1b14c5155be18336674d18b5",
  "sourceDomain": "ai.ufoai.online",
  "sourceId": "ai.ufoai.online",
  "sourceRowId": "999529fd56c45836ade15a2ddd6b70cc50080fbf2ae79f9bc589e2dd9e855af9",
  "transactionId": "3fcb100f7cb9c153288221c62a3219abec72ee0c8f2aa7b28d04d72d5e6fc11c",
  "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
}