找到 752 个模型,选好后点「查看报价」。

1,529 个网站 · 3,033 条报价

这些价格怎么看

同一个套餐的输入价、输出价、缓存价和条件放在一起,按各网站自己的单位显示,单位不同的价格不能直接比较。

共 3,033 条报价:近期采集的 2,900 条,采集时间未确认的 10 条,较旧或还没核实的 123 条。

以上按 计算,算不算「近期」看每条价格自己的采集时间。

按站内名称查看

返回全部服务商

找到 1 个服务商、4 条报价 · 本页 4 条

whale-api.com

提问或补充信息

共 4 条 · 本页 4 条

近期采集 4 条,采集时间未确认 0 条,较旧或还没核实 0 条。

DeepSeek_Balance· 公开接口

deepseek-v4-pro

各项单位见完整计费规则 · 采集于:

还没读出价格 · 总费用未确认

没有能直接显示的价格,展开下面可以看原始数据。

全部价格、条件和原始数据

deepseek-v4-pro

whale-api.com · 服务商接口公开的价格

套餐 / 分组:declared-group:DeepSeek_Balance · DeepSeek_Balance

近期采集的价格 · 不是实时价格

采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)

这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。

计价单位:各项单位见完整计费规则

还没读出完整价格。读到的部分在下面,总费用还没确认。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出

读到的部分价格

下面是从服务商页面读到的倍率或价格,只是一部分,套餐的总费用还没核实。

model_ratio
2.97 · SOURCE_BASE_MODEL_RATIO
completion_ratio
3 · SOURCE_COMPLETION_RATIO
cache_ratio
0.033333 · SOURCE_CACHE_READ_RATIO
这部分的完整原始数据
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "65339.9999993466000000",
      "cacheWrite": null,
      "input": "1960200.0000",
      "output": "5880600.0000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "2.97"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "3"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.033333333333"
    }
  ],
  "contentSha256": "7741118ffe067bf43592ff3a5180df26bd420e8d3265f33bde48c8af7890a5e7",
  "currencyInferred": false,
  "declaredGroupRatio": "0.66",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "41cb894f6959f183c24efb5ef3d229394045d19d514b2953c7921cd75a4d88fb",
  "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_PRICING_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": true
        }
      ],
      "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": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base2",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "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"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "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": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "base2"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.66",
  "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": "31595f3ed0394b7f5eb69ba802763d104fd8a34433188a669d343b216171d7fc",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": "0.66",
  "eligibility": {
    "declaredGroup": "DeepSeek_Balance",
    "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"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-12-07T22:09:38.494000Z",
  "firstObservedAt": "2026-11-27T22:09:39.944Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceId": "whale-api.com",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d758c63f66f3f1b6d6568354798b98c4063c49052be37e843b31fdff7fee93e1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": "0.66",
    "eligibility": {
      "declaredGroup": "DeepSeek_Balance",
      "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_Balance",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-12-07T22:09:38.494000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "offerKey": "84d06e5ff1f14df52a3edac0e29f139469fa5bdccdff59aab75b30fcd6d35e04",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.8.0",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": "65339.9999993466000000",
        "cacheWrite": null,
        "input": "1960200.0000",
        "output": "5880600.0000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "2.97"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "3"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.033333333333"
      }
    ],
    "contentSha256": "7741118ffe067bf43592ff3a5180df26bd420e8d3265f33bde48c8af7890a5e7",
    "currencyInferred": false,
    "declaredGroupRatio": "0.66",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "41cb894f6959f183c24efb5ef3d229394045d19d514b2953c7921cd75a4d88fb",
    "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek_Balance",
  "pricePairSourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": true
          }
        ],
        "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": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base2",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "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"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "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": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "base2"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.66",
    "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": "31595f3ed0394b7f5eb69ba802763d104fd8a34433188a669d343b216171d7fc",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "41cb894f6959f183c24efb5ef3d229394045d19d514b2953c7921cd75a4d88fb",
  "quoteOrdinal": 179,
  "semanticFlags": [],
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceDomain": "whale-api.com",
  "sourceId": "whale-api.com",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

DeepSeek_Cheap· 公开接口

deepseek-v4-pro

各项单位见完整计费规则 · 采集于:

还没读出价格 · 总费用未确认

没有能直接显示的价格,展开下面可以看原始数据。

全部价格、条件和原始数据

deepseek-v4-pro

whale-api.com · 服务商接口公开的价格

套餐 / 分组:declared-group:DeepSeek_Cheap · DeepSeek_Cheap

近期采集的价格 · 不是实时价格

采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)

这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。

计价单位:各项单位见完整计费规则

还没读出完整价格。读到的部分在下面,总费用还没确认。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出

读到的部分价格

下面是从服务商页面读到的倍率或价格,只是一部分,套餐的总费用还没核实。

model_ratio
2.97 · SOURCE_BASE_MODEL_RATIO
completion_ratio
3 · SOURCE_COMPLETION_RATIO
cache_ratio
0.033333 · SOURCE_CACHE_READ_RATIO
这部分的完整原始数据
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "35639.9999996436000000",
      "cacheWrite": null,
      "input": "1069200.0000",
      "output": "3207600.0000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "2.97"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "3"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.033333333333"
    }
  ],
  "contentSha256": "154d725778879d48ac2d0a578941a6135e49f7da1a52308ab08db53c13fd8e3c",
  "currencyInferred": false,
  "declaredGroupRatio": "0.36",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "62b2c0c89a494ece882f87b913c968163c43494b8ec0303477ff5888ebe0fd2e",
  "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_PRICING_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": true
        }
      ],
      "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": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base2",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "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"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "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": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "base2"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.36",
  "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": "1f9b680981d1d2e8267bcb3b5337635278512277e5aa6a1949947457a7429965",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": "0.36",
  "eligibility": {
    "declaredGroup": "DeepSeek_Cheap",
    "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"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-12-07T22:09:38.494000Z",
  "firstObservedAt": "2026-11-27T22:09:39.944Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceId": "whale-api.com",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d758c63f66f3f1b6d6568354798b98c4063c49052be37e843b31fdff7fee93e1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": "0.36",
    "eligibility": {
      "declaredGroup": "DeepSeek_Cheap",
      "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_Cheap",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-12-07T22:09:38.494000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "offerKey": "8ec248e203261d485a90a1eb11380ed411e1f6bdeeb7908c95d82ab17849a2f3",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.8.0",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": "35639.9999996436000000",
        "cacheWrite": null,
        "input": "1069200.0000",
        "output": "3207600.0000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "2.97"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "3"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.033333333333"
      }
    ],
    "contentSha256": "154d725778879d48ac2d0a578941a6135e49f7da1a52308ab08db53c13fd8e3c",
    "currencyInferred": false,
    "declaredGroupRatio": "0.36",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "62b2c0c89a494ece882f87b913c968163c43494b8ec0303477ff5888ebe0fd2e",
    "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek_Cheap",
  "pricePairSourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": true
          }
        ],
        "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": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base2",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "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"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "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": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "base2"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.36",
    "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": "1f9b680981d1d2e8267bcb3b5337635278512277e5aa6a1949947457a7429965",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "62b2c0c89a494ece882f87b913c968163c43494b8ec0303477ff5888ebe0fd2e",
  "quoteOrdinal": 180,
  "semanticFlags": [],
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceDomain": "whale-api.com",
  "sourceId": "whale-api.com",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

DeepSeek_Premium· 公开接口

deepseek-v4-pro

各项单位见完整计费规则 · 采集于:

还没读出价格 · 总费用未确认

没有能直接显示的价格,展开下面可以看原始数据。

全部价格、条件和原始数据

deepseek-v4-pro

whale-api.com · 服务商接口公开的价格

套餐 / 分组:declared-group:DeepSeek_Premium · DeepSeek_Premium

近期采集的价格 · 不是实时价格

采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)

这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。

计价单位:各项单位见完整计费规则

还没读出完整价格。读到的部分在下面,总费用还没确认。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出

读到的部分价格

下面是从服务商页面读到的倍率或价格,只是一部分,套餐的总费用还没核实。

model_ratio
2.97 · SOURCE_BASE_MODEL_RATIO
completion_ratio
3 · SOURCE_COMPLETION_RATIO
cache_ratio
0.033333 · SOURCE_CACHE_READ_RATIO
这部分的完整原始数据
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "85139.9999991486000000",
      "cacheWrite": null,
      "input": "2554200.0000",
      "output": "7662600.0000"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "2.97"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "3"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.033333333333"
    }
  ],
  "contentSha256": "f4139a3e34a46dcb5bcd7561f5fa66e36cca38490667a24c8fc9d5b01db6e2d0",
  "currencyInferred": false,
  "declaredGroupRatio": "0.86",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "bdb3e6c37c90648baadc30db12e995b747f606690e6b4ac1b96356c70fb92f82",
  "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_PRICING_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": true
        }
      ],
      "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": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base2",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "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"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "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": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "base2"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.86",
  "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": "f0cd0e91fb5adbe9af3e88d7bed4a08835c76a753a1dc720d2fb458de976efd8",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": "0.86",
  "eligibility": {
    "declaredGroup": "DeepSeek_Premium",
    "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"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-12-07T22:09:38.494000Z",
  "firstObservedAt": "2026-11-27T22:09:39.944Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceId": "whale-api.com",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d758c63f66f3f1b6d6568354798b98c4063c49052be37e843b31fdff7fee93e1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": "0.86",
    "eligibility": {
      "declaredGroup": "DeepSeek_Premium",
      "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_Premium",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-12-07T22:09:38.494000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "offerKey": "8cbf3705c4ebcf91112d036ee14c3a2aca418f78cf12a51ce704c834ef268ee1",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.8.0",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": "85139.9999991486000000",
        "cacheWrite": null,
        "input": "2554200.0000",
        "output": "7662600.0000"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "2.97"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "3"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.033333333333"
      }
    ],
    "contentSha256": "f4139a3e34a46dcb5bcd7561f5fa66e36cca38490667a24c8fc9d5b01db6e2d0",
    "currencyInferred": false,
    "declaredGroupRatio": "0.86",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "bdb3e6c37c90648baadc30db12e995b747f606690e6b4ac1b96356c70fb92f82",
    "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek_Premium",
  "pricePairSourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": true
          }
        ],
        "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": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base2",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "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"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "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": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "base2"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.86",
    "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": "f0cd0e91fb5adbe9af3e88d7bed4a08835c76a753a1dc720d2fb458de976efd8",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "bdb3e6c37c90648baadc30db12e995b747f606690e6b4ac1b96356c70fb92f82",
  "quoteOrdinal": 181,
  "semanticFlags": [],
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceDomain": "whale-api.com",
  "sourceId": "whale-api.com",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· 公开接口

deepseek-v4-pro

各项单位见完整计费规则 · 采集于:

还没读出价格 · 总费用未确认

没有能直接显示的价格,展开下面可以看原始数据。

全部价格、条件和原始数据

deepseek-v4-pro

whale-api.com · 服务商接口公开的价格

套餐 / 分组:declared-group:default · default

近期采集的价格 · 不是实时价格

采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)

这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。

计价单位:各项单位见完整计费规则

还没读出完整价格。读到的部分在下面,总费用还没确认。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出

读到的部分价格

下面是从服务商页面读到的倍率或价格,只是一部分,套餐的总费用还没核实。

model_ratio
2.97 · SOURCE_BASE_MODEL_RATIO
completion_ratio
3 · SOURCE_COMPLETION_RATIO
cache_ratio
0.033333 · SOURCE_CACHE_READ_RATIO
这部分的完整原始数据
{
  "baseFormulaArithmetic": {
    "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
    "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
    "overridesApplied": false,
    "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
    "values": {
      "cacheRead": "98999.99999901000000",
      "cacheWrite": null,
      "input": "2970000.00",
      "output": "8910000.00"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "2.97"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "3"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.033333333333"
    }
  ],
  "contentSha256": "90f0b05329f04016c1c1bf2722a60b2b6526bf070eafcfecdd0edbbb0829428b",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "54bfb38aa521c56e9537bc0be69b744a70eaf63198553bc74cf5e1a58ea6aeab",
  "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_PRICING_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": true
        }
      ],
      "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": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "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"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "weekday",
                      "type": "call"
                    },
                    "operator": "<=",
                    "right": {
                      "type": "number",
                      "value": "5"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "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": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base2",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "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"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "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": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "base2"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "697e89c57c638250526de6132987ecdbb76bead20ab05d9f6fb24ab2a6001cf0",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "Full group mixing, where the Chinese large models are either official APIs or locally deployed.",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-12-07T22:09:38.494000Z",
  "firstObservedAt": "2026-11-27T22:09:39.944Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceId": "whale-api.com",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d758c63f66f3f1b6d6568354798b98c4063c49052be37e843b31fdff7fee93e1",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "Full group mixing, where the Chinese large models are either official APIs or locally deployed.",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-12-07T22:09:38.494000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-11-27T22:09:39.944Z",
  "offerKey": "71eb346f9f9735ea4317adb70dd51243f58dc0f9e76cef0947bf189bef93b276",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.8.0",
  "partialPriceComponents": {
    "baseFormulaArithmetic": {
      "formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
      "meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
      "overridesApplied": false,
      "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
      "values": {
        "cacheRead": "98999.99999901000000",
        "cacheWrite": null,
        "input": "2970000.00",
        "output": "8910000.00"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "2.97"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "3"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.033333333333"
      }
    ],
    "contentSha256": "90f0b05329f04016c1c1bf2722a60b2b6526bf070eafcfecdd0edbbb0829428b",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "54bfb38aa521c56e9537bc0be69b744a70eaf63198553bc74cf5e1a58ea6aeab",
    "rawDeclaredFieldsSha256": "aa44f54af994896c185ba13de7c98bd082a19342933796e095abe39cd6bfe09a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": true
          }
        ],
        "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": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "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"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "Asia/Shanghai"
                          }
                        ],
                        "function": "weekday",
                        "type": "call"
                      },
                      "operator": "<=",
                      "right": {
                        "type": "number",
                        "value": "5"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "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": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base2",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "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"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "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": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "base2"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "697e89c57c638250526de6132987ecdbb76bead20ab05d9f6fb24ab2a6001cf0",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2dbd5a8d4c214425da405fdfd3c1f2ad453401545fcc8151f56b8b6390bb3621",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "54bfb38aa521c56e9537bc0be69b744a70eaf63198553bc74cf5e1a58ea6aeab",
  "quoteOrdinal": 182,
  "semanticFlags": [],
  "snapshotId": "30ae50de15e44e831dbf30971ef405af29df54d318de873c3fa09bd14cef8af0",
  "sourceDomain": "whale-api.com",
  "sourceId": "whale-api.com",
  "sourceRowId": "c54c5270ccab74067aa865de6dcb699ba845bb5187731e8881154df6e097564e",
  "transactionId": "ac6fd967a0b9408f47badb1ec66a063280052f4092b6414e7f171fe1790f15df",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
下载完整数据

deepseek-v4-pro

这个名称是怎么归类的
{
  "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
}