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

530 个网站 · 934 条报价

这些价格怎么看

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

共 934 条报价:近期采集的 889 条,采集时间未确认的 10 条,较旧或还没核实的 35 条。

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

按站内名称查看

找到 530 个服务商、934 条报价 · 本页 18 条

提问或补充信息

共 6 条 · 本页 2 条

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

default· 公开接口

deepseek-v4-pro

站内额度 / 百万 Token · 采集于:

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

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

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

deepseek-v4-pro

api.xi-ai.cn · 服务商接口公开的价格

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

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

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

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

计价单位:站内额度 / 百万 Token

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

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

读到的部分价格

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

model_ratio
1.5 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.083333 · 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": "374999.999999999985000000",
      "cacheWrite": null,
      "input": "4500000.0",
      "output": "9000000.0"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "1.5"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "2"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.08333333333333333"
    }
  ],
  "contentSha256": "59937ce39370acb1845c0655aa28a31f4565489e1ef1d2176622470402d47d75",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "6ecdce396841a1908462bd326a2197e9ea679919c0cb41b97e8a848153e2a344",
  "rawDeclaredFieldsSha256": "a1080354c86736be0c16141848e0f5e296b5a331a8b20f7e6745f56225bde3bf",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
  "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
  "NONSTANDARD_GLOBAL_FIELDS"
]
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认模型",
  "declaredGroupRatio": 3,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:44Z",
  "firstObservedAt": "2026-10-16T07:42:45.908Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:45.908Z",
  "snapshotId": "1878cf0ae4b1313e940b53bb77b74dec96f5b3b518610828ed85efce1c94fecb",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "f54ffda6e88d5a77f8a42d12b3fc0b4643a2110140ea64355138795915b5929e"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "3dd956de74ec8b58fbd555641c89970cc1bdda4147f9eaafe819674ac02eb657",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认模型",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:44Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:45.908Z",
  "offerKey": "5ad1177f1aff1e5bb94959c6c10e7920f9f35c9f06c90bbde4ea860e55a2ce28",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "374999.999999999985000000",
        "cacheWrite": null,
        "input": "4500000.0",
        "output": "9000000.0"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "1.5"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "2"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.08333333333333333"
      }
    ],
    "contentSha256": "59937ce39370acb1845c0655aa28a31f4565489e1ef1d2176622470402d47d75",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "6ecdce396841a1908462bd326a2197e9ea679919c0cb41b97e8a848153e2a344",
    "rawDeclaredFieldsSha256": "a1080354c86736be0c16141848e0f5e296b5a331a8b20f7e6745f56225bde3bf",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "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"
    },
    {
      "adapterId": "conditional-map",
      "bindingId": "conditional-map/api.xi-ai.cn",
      "evidenceFile": "adapter-conditional-map.json",
      "evidenceFileSha256": "6883d2f32f57b55a4437500827a7b64813b1575f847334e17336aa462f53754e",
      "kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "observedClientAssetKeySha256": "6d0fa34da3caf78d9d8d3b09c3c941df1c420907a07b7b92cc793dbe4f082695",
      "quoteRemainsUnresolvedForThisAdapter": true,
      "reasons": [
        "CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/runtime.69d40411.js"
      ],
      "renewsObservationTime": false,
      "reviewQueue": true,
      "reviewedSemanticKeySha256": "fcae33b5cff8fc6394366acec8ab86f1e66874506ac207fe7a0f9a5a8867c168",
      "schema": "grandet.adapter-evidence-decision/v1",
      "sourceId": "api.xi-ai.cn"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "6ecdce396841a1908462bd326a2197e9ea679919c0cb41b97e8a848153e2a344",
  "quoteOrdinal": 531,
  "semanticFlags": [],
  "snapshotId": "1878cf0ae4b1313e940b53bb77b74dec96f5b3b518610828ed85efce1c94fecb",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "transactionId": "f54ffda6e88d5a77f8a42d12b3fc0b4643a2110140ea64355138795915b5929e",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

default_1· 公开接口

deepseek-v4-pro

站内额度 / 百万 Token · 采集于:

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

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

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

deepseek-v4-pro

api.xi-ai.cn · 服务商接口公开的价格

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

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

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

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

计价单位:站内额度 / 百万 Token

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

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

读到的部分价格

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

model_ratio
1.5 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.083333 · 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": "374999.999999999985000000",
      "cacheWrite": null,
      "input": "4500000.0",
      "output": "9000000.0"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "1.5"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "2"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.08333333333333333"
    }
  ],
  "contentSha256": "d199b23a2cb69c43e303fcdfd80ff24560252d851f412c75cf99b6d7f67f05e8",
  "currencyInferred": false,
  "declaredGroupRatio": "3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "5c0502265e1c48521edf249949e2eddbb134b55c50caf2312eb6b1bd7fc453e4",
  "rawDeclaredFieldsSha256": "a1080354c86736be0c16141848e0f5e296b5a331a8b20f7e6745f56225bde3bf",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
  "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
  "NONSTANDARD_GLOBAL_FIELDS"
]
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 3,
  "eligibility": {
    "declaredGroup": "default_1",
    "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-10-26T07:42:44Z",
  "firstObservedAt": "2026-10-16T07:42:45.908Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:45.908Z",
  "snapshotId": "1878cf0ae4b1313e940b53bb77b74dec96f5b3b518610828ed85efce1c94fecb",
  "sourceId": "api.xi-ai.cn",
  "transactionId": "f54ffda6e88d5a77f8a42d12b3fc0b4643a2110140ea64355138795915b5929e"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "3dd956de74ec8b58fbd555641c89970cc1bdda4147f9eaafe819674ac02eb657",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "default_1",
      "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_1",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:44Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:45.908Z",
  "offerKey": "5ef60c5d31121856efbd9ccb8ef1bf2e421371f6b921684c058bd590e94b641b",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "374999.999999999985000000",
        "cacheWrite": null,
        "input": "4500000.0",
        "output": "9000000.0"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "1.5"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "2"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.08333333333333333"
      }
    ],
    "contentSha256": "d199b23a2cb69c43e303fcdfd80ff24560252d851f412c75cf99b6d7f67f05e8",
    "currencyInferred": false,
    "declaredGroupRatio": "3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "5c0502265e1c48521edf249949e2eddbb134b55c50caf2312eb6b1bd7fc453e4",
    "rawDeclaredFieldsSha256": "a1080354c86736be0c16141848e0f5e296b5a331a8b20f7e6745f56225bde3bf",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default_1",
  "pricePairSourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "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"
    },
    {
      "adapterId": "conditional-map",
      "bindingId": "conditional-map/api.xi-ai.cn",
      "evidenceFile": "adapter-conditional-map.json",
      "evidenceFileSha256": "6883d2f32f57b55a4437500827a7b64813b1575f847334e17336aa462f53754e",
      "kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "observedClientAssetKeySha256": "6d0fa34da3caf78d9d8d3b09c3c941df1c420907a07b7b92cc793dbe4f082695",
      "quoteRemainsUnresolvedForThisAdapter": true,
      "reasons": [
        "CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/runtime.69d40411.js"
      ],
      "renewsObservationTime": false,
      "reviewQueue": true,
      "reviewedSemanticKeySha256": "fcae33b5cff8fc6394366acec8ab86f1e66874506ac207fe7a0f9a5a8867c168",
      "schema": "grandet.adapter-evidence-decision/v1",
      "sourceId": "api.xi-ai.cn"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "5c0502265e1c48521edf249949e2eddbb134b55c50caf2312eb6b1bd7fc453e4",
  "quoteOrdinal": 532,
  "semanticFlags": [],
  "snapshotId": "1878cf0ae4b1313e940b53bb77b74dec96f5b3b518610828ed85efce1c94fecb",
  "sourceDomain": "api.xi-ai.cn",
  "sourceId": "api.xi-ai.cn",
  "sourceRowId": "91c19e07a61bb4c727f88d498bfeb06404ef740ccdea16d6acf01fc4355ab5c9",
  "transactionId": "f54ffda6e88d5a77f8a42d12b3fc0b4643a2110140ea64355138795915b5929e",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

api.xiaoyaoxx.cn

查看全部套餐 →

提问或补充信息

共 2 条 · 本页 2 条

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

Deepseek-V4.1稳定满血组· 公开接口

deepseek-v4-pro

站内额度 / 百万 Token · 采集于:

输入
675000
输出
2025000
按次
没写
缓存读
22500
缓存写
没写
全部价格、条件和原始数据

deepseek-v4-pro

api.xiaoyaoxx.cn · 服务商接口公开的价格

套餐 / 分组:declared-group:Deepseek-V4.1稳定满血组 · Deepseek-V4.1稳定满血组

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

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

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

计价单位:站内额度 / 百万 Token

直接标价(输入、输出等价格来自同一条记录)

输入
675000
输出
2025000
按次
没写或没读出
缓存读取
22500
缓存写入
没写或没读出
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "自研渠道,几乎等于官key",
  "declaredGroupRatio": "0.15",
  "eligibility": {
    "declaredGroup": "Deepseek-V4.1稳定满血组",
    "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-10-26T07:42:43.920000Z",
  "firstObservedAt": "2026-10-16T07:42:44.814Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:44.814Z",
  "snapshotId": "8fd66929a8450c63f84443746f12b0c617c0d7f7a7a1d88b3af2b6fbde24e553",
  "sourceId": "api.xiaoyaoxx.cn",
  "transactionId": "d732c7368fc5bcb330ae2bbb4a85b01a349c82ba4acac984938d762d0f344342"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "7e8ab645a4f069cc41aab83c1a0dafd62f8e6f7cbd684332ad99cfd234f6763d",
  "cacheReadPrice": "22499.999999775",
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "自研渠道,几乎等于官key",
    "declaredGroupRatio": "0.15",
    "eligibility": {
      "declaredGroup": "Deepseek-V4.1稳定满血组",
      "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-V4.1稳定满血组",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:43.920000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "675000",
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:44.814Z",
  "offerKey": "1ea68da9e613d3edd097f8a4bad5442cb47f8923b13c4d1a8ba5b002953f68af",
  "outputPrice": "2025000",
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:Deepseek-V4.1稳定满血组",
  "pricePairSourceRowId": "169fbd9638aa0d6ddfed091438c35ff3f6803a82383cb2f33b72999e6d94a5a9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "e6aa7c63af87780a1611c6cd76ff10f53a952c17c5822684d6df2c11a94014f9",
  "quoteOrdinal": 30,
  "semanticFlags": [],
  "snapshotId": "8fd66929a8450c63f84443746f12b0c617c0d7f7a7a1d88b3af2b6fbde24e553",
  "sourceDomain": "api.xiaoyaoxx.cn",
  "sourceId": "api.xiaoyaoxx.cn",
  "sourceRowId": "169fbd9638aa0d6ddfed091438c35ff3f6803a82383cb2f33b72999e6d94a5a9",
  "transactionId": "d732c7368fc5bcb330ae2bbb4a85b01a349c82ba4acac984938d762d0f344342",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

国模自部署· 公开接口

deepseek-v4-pro

站内额度 / 百万 Token · 采集于:

输入
540000
输出
1620000
按次
没写
缓存读
18000
缓存写
没写
全部价格、条件和原始数据

deepseek-v4-pro

api.xiaoyaoxx.cn · 服务商接口公开的价格

套餐 / 分组:declared-group:国模自部署 · 国模自部署

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

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

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

计价单位:站内额度 / 百万 Token

直接标价(输入、输出等价格来自同一条记录)

输入
540000
输出
1620000
按次
没写或没读出
缓存读取
18000
缓存写入
没写或没读出
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "超高缓存",
  "declaredGroupRatio": "0.12",
  "eligibility": {
    "declaredGroup": "国模自部署",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:43.920000Z",
  "firstObservedAt": "2026-10-16T07:42:44.814Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:44.814Z",
  "snapshotId": "8fd66929a8450c63f84443746f12b0c617c0d7f7a7a1d88b3af2b6fbde24e553",
  "sourceId": "api.xiaoyaoxx.cn",
  "transactionId": "d732c7368fc5bcb330ae2bbb4a85b01a349c82ba4acac984938d762d0f344342"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "7e8ab645a4f069cc41aab83c1a0dafd62f8e6f7cbd684332ad99cfd234f6763d",
  "cacheReadPrice": "17999.99999982",
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "超高缓存",
    "declaredGroupRatio": "0.12",
    "eligibility": {
      "declaredGroup": "国模自部署",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国模自部署",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:43.920000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "540000",
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:44.814Z",
  "offerKey": "34c4056846e7772c3c4c2b5582ffa8021c3f65a0f3bf25c8d60305e5403f54ce",
  "outputPrice": "1620000",
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:国模自部署",
  "pricePairSourceRowId": "169fbd9638aa0d6ddfed091438c35ff3f6803a82383cb2f33b72999e6d94a5a9",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1e66bc86552269ea08a1edb1a13b5ae1f1083c7ce98f82e9d433f04390370806",
  "quoteOrdinal": 31,
  "semanticFlags": [],
  "snapshotId": "8fd66929a8450c63f84443746f12b0c617c0d7f7a7a1d88b3af2b6fbde24e553",
  "sourceDomain": "api.xiaoyaoxx.cn",
  "sourceId": "api.xiaoyaoxx.cn",
  "sourceRowId": "169fbd9638aa0d6ddfed091438c35ff3f6803a82383cb2f33b72999e6d94a5a9",
  "transactionId": "d732c7368fc5bcb330ae2bbb4a85b01a349c82ba4acac984938d762d0f344342",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

提问或补充信息

共 1 条 · 本页 1 条

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

default· 公开接口

deepseek-v4-pro

站内额度 / 百万 Token · 采集于:

输入
1500000
输出
3000000
按次
没写
缓存读
没写
缓存写
没写
全部价格、条件和原始数据

deepseek-v4-pro

api.xistree.hk · 服务商接口公开的价格

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

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

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

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

计价单位:站内额度 / 百万 Token

直接标价(输入、输出等价格来自同一条记录)

输入
1500000
输出
3000000
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:49.137000Z",
  "firstObservedAt": "2026-10-16T07:42:51.141Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:51.141Z",
  "snapshotId": "6aae1b3f8d7995fdc504280fbd5593835a438d2c24d583c1be989d522fd9d058",
  "sourceId": "api.xistree.hk",
  "transactionId": "2932a757a70c1277b9d2fcf7887145de4670166fbd64db55f39d648400393b8b"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "0e4bbf5e1b141b6432febeacb639be3080d04f3d620aea29219d3a683adee57a",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:49.137000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "1500000",
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:51.141Z",
  "offerKey": "caad6230b649171c67a4d0e56c050e0897bf99708c9155ceedec32fa3c1935be",
  "outputPrice": "3000000",
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "4802f82a5658f53c97c20c848681c548cafb2d17d670af9a0ae8b9783785f453",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "SCALAR_PRICE",
  "pricingRule": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "fb04b17701f5cc3e9ccf30cf779bbf841466791047d5294bae1716df62ba3127",
  "quoteOrdinal": 146,
  "semanticFlags": [],
  "snapshotId": "6aae1b3f8d7995fdc504280fbd5593835a438d2c24d583c1be989d522fd9d058",
  "sourceDomain": "api.xistree.hk",
  "sourceId": "api.xistree.hk",
  "sourceRowId": "4802f82a5658f53c97c20c848681c548cafb2d17d670af9a0ae8b9783785f453",
  "transactionId": "2932a757a70c1277b9d2fcf7887145de4670166fbd64db55f39d648400393b8b",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

提问或补充信息

共 2 条 · 本页 2 条

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

default· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.xkj666.top · 服务商接口公开的价格

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

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "4"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "6"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "10"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "13.5"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "27"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "ce539842171ccefe4eb8135135bf157a93d847632f9dbeaa69bc6369335aca0a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "7a4ae9cc84d60bc0a7ac478c6666bd594c46d2d326c378a4c73a3d4e5cc9b7a6",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "该分组下没有模型,勿选",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:48.166000Z",
  "firstObservedAt": "2026-10-16T07:42:49.332Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:49.332Z",
  "snapshotId": "c3716b04ae33e73d659843e39aef58a4fca121f4b9462f448e363dfe3467efc5",
  "sourceId": "api.xkj666.top",
  "transactionId": "c3f82d0729a0a28cea7ebeb54bdc35c90064e3a88adc30cd2273628470e05062"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f9eaa9dc876bcb916dae7452e267e39a4666cf77f358df1718f794df7305b3f7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "该分组下没有模型,勿选",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:48.166000Z",
  "groupOfferingFlags": [
    "DISPLAY_ONLY_OR_DO_NOT_SELECT"
  ],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:49.332Z",
  "offerKey": "172fef8fa39ff57eab239a41265ec2d1b3cb5e376f379a2721c4befb14f303a9",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "b90509988723eaf8234bc9239fa3bedc6ecae39eeb39dacbd99b3558d85c530e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.15"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.3"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "ce539842171ccefe4eb8135135bf157a93d847632f9dbeaa69bc6369335aca0a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "7a4ae9cc84d60bc0a7ac478c6666bd594c46d2d326c378a4c73a3d4e5cc9b7a6",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "6ab4a7ca08f20667f2e22e43b720b3a8337aac025acd184de03df38056e63153",
  "quoteOrdinal": 155,
  "semanticFlags": [
    "GROUP_FLAGGED"
  ],
  "snapshotId": "c3716b04ae33e73d659843e39aef58a4fca121f4b9462f448e363dfe3467efc5",
  "sourceDomain": "api.xkj666.top",
  "sourceId": "api.xkj666.top",
  "sourceRowId": "b90509988723eaf8234bc9239fa3bedc6ecae39eeb39dacbd99b3558d85c530e",
  "transactionId": "c3f82d0729a0a28cea7ebeb54bdc35c90064e3a88adc30cd2273628470e05062",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

国模分组· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.xkj666.top · 服务商接口公开的价格

套餐 / 分组:declared-group:国模分组 · 国模分组

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "4"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "||",
      "right": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "6"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "10"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "13.5"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "27"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.45",
  "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": "814059bafe7d273c6964fcde3c8b84b18d7664f3b547e0b9d47d4f5b26b46730",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "7a4ae9cc84d60bc0a7ac478c6666bd594c46d2d326c378a4c73a3d4e5cc9b7a6",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "涵盖所有官方国产模型",
  "declaredGroupRatio": "0.45",
  "eligibility": {
    "declaredGroup": "国模分组",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:48.166000Z",
  "firstObservedAt": "2026-10-16T07:42:49.332Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:49.332Z",
  "snapshotId": "c3716b04ae33e73d659843e39aef58a4fca121f4b9462f448e363dfe3467efc5",
  "sourceId": "api.xkj666.top",
  "transactionId": "c3f82d0729a0a28cea7ebeb54bdc35c90064e3a88adc30cd2273628470e05062"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "f9eaa9dc876bcb916dae7452e267e39a4666cf77f358df1718f794df7305b3f7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "涵盖所有官方国产模型",
    "declaredGroupRatio": "0.45",
    "eligibility": {
      "declaredGroup": "国模分组",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国模分组",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:48.166000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:49.332Z",
  "offerKey": "e6a351f82d26a4faf5db6311bd1dc0a57eb9e53b790d664ed3a48b10add2e6ca",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:国模分组",
  "pricePairSourceRowId": "b90509988723eaf8234bc9239fa3bedc6ecae39eeb39dacbd99b3558d85c530e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.15"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.3"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.45",
    "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": "814059bafe7d273c6964fcde3c8b84b18d7664f3b547e0b9d47d4f5b26b46730",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "7a4ae9cc84d60bc0a7ac478c6666bd594c46d2d326c378a4c73a3d4e5cc9b7a6",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "8da8f722d5b78bd974efb490a62e023bf6d99fd773dba4880f31c03ac8936035",
  "quoteOrdinal": 156,
  "semanticFlags": [],
  "snapshotId": "c3716b04ae33e73d659843e39aef58a4fca121f4b9462f448e363dfe3467efc5",
  "sourceDomain": "api.xkj666.top",
  "sourceId": "api.xkj666.top",
  "sourceRowId": "b90509988723eaf8234bc9239fa3bedc6ecae39eeb39dacbd99b3558d85c530e",
  "transactionId": "c3f82d0729a0a28cea7ebeb54bdc35c90064e3a88adc30cd2273628470e05062",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

api.yanai.it.com

查看全部套餐 →

提问或补充信息

共 4 条 · 本页 2 条

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

阿里百炼· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.yanai.it.com · 服务商接口公开的价格

套餐 / 分组:declared-group:阿里百炼 · 阿里百炼

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "0.6",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "85b132c1b4eeae118b16e7a2ff6a78566e30f278ca686286f98378147d9cb40d",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "04e1de227e7f700c335dcb25ac15ce2470460800fbaff0b224bbbad06d9c9479",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "阿里百炼官key",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "阿里百炼",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:48.393000Z",
  "firstObservedAt": "2026-10-16T07:42:49.561Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:49.561Z",
  "snapshotId": "52c65b1248cd5f60d16327992dd5c9384b8502b47b16700b95b55e9e7dffd386",
  "sourceId": "api.yanai.it.com",
  "transactionId": "6954430487908d4ad5920f34515307e1c3d1aaa1bacf6bc622cb8b82605c47e9"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "75beedf5e03a9935154c7ecaa770e0e3ad1efb6fcfcebb6fc6698aa0dc5c44a2",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "阿里百炼官key",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "阿里百炼",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "阿里百炼",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:48.393000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:49.561Z",
  "offerKey": "656658268546591fc9e3422f0df6742b7a04fc3c5a8280f276763a6864fb8654",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:阿里百炼",
  "pricePairSourceRowId": "b63af74feb1dc79e01c2f012ee063d116de36231cec3ca0996b61dcf2f70eb2e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "0.6",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "85b132c1b4eeae118b16e7a2ff6a78566e30f278ca686286f98378147d9cb40d",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "04e1de227e7f700c335dcb25ac15ce2470460800fbaff0b224bbbad06d9c9479",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "ea0b9f5360888934ef6816c2f3aeca67f858681b79905cc39c48c8a156836522",
  "quoteOrdinal": 202,
  "semanticFlags": [],
  "snapshotId": "52c65b1248cd5f60d16327992dd5c9384b8502b47b16700b95b55e9e7dffd386",
  "sourceDomain": "api.yanai.it.com",
  "sourceId": "api.yanai.it.com",
  "sourceRowId": "b63af74feb1dc79e01c2f012ee063d116de36231cec3ca0996b61dcf2f70eb2e",
  "transactionId": "6954430487908d4ad5920f34515307e1c3d1aaa1bacf6bc622cb8b82605c47e9",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

自部署ds· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.yanai.it.com · 服务商接口公开的价格

套餐 / 分组:declared-group:自部署ds · 自部署ds

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "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.4",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "b300ea148f422eb87efb2344b3f232c87e2d0711cdebfd79d86702500baad3ae",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "04e1de227e7f700c335dcb25ac15ce2470460800fbaff0b224bbbad06d9c9479",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "b300 自部署deepseek",
  "declaredGroupRatio": "0.4",
  "eligibility": {
    "declaredGroup": "自部署ds",
    "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-10-26T07:42:48.393000Z",
  "firstObservedAt": "2026-10-16T07:42:49.561Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:49.561Z",
  "snapshotId": "52c65b1248cd5f60d16327992dd5c9384b8502b47b16700b95b55e9e7dffd386",
  "sourceId": "api.yanai.it.com",
  "transactionId": "6954430487908d4ad5920f34515307e1c3d1aaa1bacf6bc622cb8b82605c47e9"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "75beedf5e03a9935154c7ecaa770e0e3ad1efb6fcfcebb6fc6698aa0dc5c44a2",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "b300 自部署deepseek",
    "declaredGroupRatio": "0.4",
    "eligibility": {
      "declaredGroup": "自部署ds",
      "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": "自部署ds",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:48.393000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:49.561Z",
  "offerKey": "6549616468cb29e772957a1f2013950fbd933a2d5275f14d2e747999cbda3d31",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:自部署ds",
  "pricePairSourceRowId": "b63af74feb1dc79e01c2f012ee063d116de36231cec3ca0996b61dcf2f70eb2e",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "27"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "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.4",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "b300ea148f422eb87efb2344b3f232c87e2d0711cdebfd79d86702500baad3ae",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "04e1de227e7f700c335dcb25ac15ce2470460800fbaff0b224bbbad06d9c9479",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "499f9299504270bd3d6a7f89a93ba931e0e0928ed51dbd3269cda6400c3400c0",
  "quoteOrdinal": 203,
  "semanticFlags": [],
  "snapshotId": "52c65b1248cd5f60d16327992dd5c9384b8502b47b16700b95b55e9e7dffd386",
  "sourceDomain": "api.yanai.it.com",
  "sourceId": "api.yanai.it.com",
  "sourceRowId": "b63af74feb1dc79e01c2f012ee063d116de36231cec3ca0996b61dcf2f70eb2e",
  "transactionId": "6954430487908d4ad5920f34515307e1c3d1aaa1bacf6bc622cb8b82605c47e9",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

提问或补充信息

共 2 条 · 本页 2 条

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

OpenModels· 公开接口

deepseek-v4-pro

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

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

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

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

deepseek-v4-pro

api.yjs.im · 服务商接口公开的价格

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

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

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

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

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

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

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

读到的部分价格

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

model_ratio
2.25 · 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": "11249.9999998875000000",
      "cacheWrite": null,
      "input": "337500.0000",
      "output": "1012500.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.25"
    },
    {
      "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": "ce9d9efdb6a30d43e8906bfec4c91d9fac410c5b88be464a3d8c15ec68db8ec8",
  "currencyInferred": false,
  "declaredGroupRatio": "0.15",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "1755cc78b3bc33731e986decace0010ca94cde83d97aaf716796aee4cb9e658c",
  "rawDeclaredFieldsSha256": "64fe41cc170b2baa45de0e609af6b52be31a86624ad2d3120141f3582a89a82a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_GLOBAL_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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "13.5"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "27"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "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.15",
  "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": "45ceec22a4edbf243d8c601b32f60129509383e074b936fcb6892452982407cd",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "7ebea7f203494aeefe8ca7d6ef1ea923263beb9cf167108e9dd5b231dc32bb1c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "開源模型,少部分模型低緩或無緩(Low Cache or No Cache)",
  "declaredGroupRatio": "0.15",
  "eligibility": {
    "declaredGroup": "OpenModels",
    "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-10-26T07:42:48.834000Z",
  "firstObservedAt": "2026-10-16T07:42:50.303Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:50.303Z",
  "snapshotId": "845cb359327d1a26e1ede7cf41e35aa8b7955ac5736dba5f61885327e6a62c50",
  "sourceId": "api.yjs.im",
  "transactionId": "3a2f6a9ee0b0fc94fa7ded1abbb10a890bf39f98785f9a97709e85c617d79a57"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c47250cbbd18ddca6b28a89762ddbdc4297a501ca50421eb32386fa45659bc86",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "開源模型,少部分模型低緩或無緩(Low Cache or No Cache)",
    "declaredGroupRatio": "0.15",
    "eligibility": {
      "declaredGroup": "OpenModels",
      "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": "OpenModels",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:48.834000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:50.303Z",
  "offerKey": "8750579a3fa8c71b87b70e9b235d4c28dad899121d6269f3877befcd5becd34a",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "11249.9999998875000000",
        "cacheWrite": null,
        "input": "337500.0000",
        "output": "1012500.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.25"
      },
      {
        "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": "ce9d9efdb6a30d43e8906bfec4c91d9fac410c5b88be464a3d8c15ec68db8ec8",
    "currencyInferred": false,
    "declaredGroupRatio": "0.15",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "1755cc78b3bc33731e986decace0010ca94cde83d97aaf716796aee4cb9e658c",
    "rawDeclaredFieldsSha256": "64fe41cc170b2baa45de0e609af6b52be31a86624ad2d3120141f3582a89a82a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:OpenModels",
  "pricePairSourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.15"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.3"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "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.15",
    "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": "45ceec22a4edbf243d8c601b32f60129509383e074b936fcb6892452982407cd",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "7ebea7f203494aeefe8ca7d6ef1ea923263beb9cf167108e9dd5b231dc32bb1c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1755cc78b3bc33731e986decace0010ca94cde83d97aaf716796aee4cb9e658c",
  "quoteOrdinal": 65,
  "semanticFlags": [],
  "snapshotId": "845cb359327d1a26e1ede7cf41e35aa8b7955ac5736dba5f61885327e6a62c50",
  "sourceDomain": "api.yjs.im",
  "sourceId": "api.yjs.im",
  "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "transactionId": "3a2f6a9ee0b0fc94fa7ded1abbb10a890bf39f98785f9a97709e85c617d79a57",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

DeepSeek· 公开接口

deepseek-v4-pro

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

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

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

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

deepseek-v4-pro

api.yjs.im · 服务商接口公开的价格

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

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

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

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

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

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

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

读到的部分价格

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

model_ratio
2.25 · 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": "4499.9999999550000000",
      "cacheWrite": null,
      "input": "135000.0000",
      "output": "405000.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.25"
    },
    {
      "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": "1b12cf2a6165eaa4d41d8e9a910cda60879991d2bc6c470ae8f3a7c9da7d1b9e",
  "currencyInferred": false,
  "declaredGroupRatio": "0.06",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "58d01b22120b87a9ba20bac71c1cbf9bd84aa36dd26a89a107ed4d95ea6b380b",
  "rawDeclaredFieldsSha256": "64fe41cc170b2baa45de0e609af6b52be31a86624ad2d3120141f3582a89a82a",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "NONSTANDARD_GLOBAL_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": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "13.5"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "27"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "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.06",
  "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": "3febaa9b3b478061fbeae7edf7603038b7e2ef726225f84adca62b5eb29dee1a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "7ebea7f203494aeefe8ca7d6ef1ea923263beb9cf167108e9dd5b231dc32bb1c",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "DeepSeek 專線",
  "declaredGroupRatio": "0.06",
  "eligibility": {
    "declaredGroup": "DeepSeek",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:48.834000Z",
  "firstObservedAt": "2026-10-16T07:42:50.303Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:50.303Z",
  "snapshotId": "845cb359327d1a26e1ede7cf41e35aa8b7955ac5736dba5f61885327e6a62c50",
  "sourceId": "api.yjs.im",
  "transactionId": "3a2f6a9ee0b0fc94fa7ded1abbb10a890bf39f98785f9a97709e85c617d79a57"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c47250cbbd18ddca6b28a89762ddbdc4297a501ca50421eb32386fa45659bc86",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "DeepSeek 專線",
    "declaredGroupRatio": "0.06",
    "eligibility": {
      "declaredGroup": "DeepSeek",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "DeepSeek",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:48.834000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:50.303Z",
  "offerKey": "a90bd5ecdb48ead1c639452a32950dc1f9e9de1ca751f83e730e429bcb7986bd",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "4499.9999999550000000",
        "cacheWrite": null,
        "input": "135000.0000",
        "output": "405000.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.25"
      },
      {
        "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": "1b12cf2a6165eaa4d41d8e9a910cda60879991d2bc6c470ae8f3a7c9da7d1b9e",
    "currencyInferred": false,
    "declaredGroupRatio": "0.06",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "58d01b22120b87a9ba20bac71c1cbf9bd84aa36dd26a89a107ed4d95ea6b380b",
    "rawDeclaredFieldsSha256": "64fe41cc170b2baa45de0e609af6b52be31a86624ad2d3120141f3582a89a82a",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek",
  "pricePairSourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.15"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.3"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "27"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "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.06",
    "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": "3febaa9b3b478061fbeae7edf7603038b7e2ef726225f84adca62b5eb29dee1a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "7ebea7f203494aeefe8ca7d6ef1ea923263beb9cf167108e9dd5b231dc32bb1c",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "58d01b22120b87a9ba20bac71c1cbf9bd84aa36dd26a89a107ed4d95ea6b380b",
  "quoteOrdinal": 66,
  "semanticFlags": [],
  "snapshotId": "845cb359327d1a26e1ede7cf41e35aa8b7955ac5736dba5f61885327e6a62c50",
  "sourceDomain": "api.yjs.im",
  "sourceId": "api.yjs.im",
  "sourceRowId": "2000aed34ac9f553084126f2f5721c78d328770c7968eb87498370ac1dd76059",
  "transactionId": "3a2f6a9ee0b0fc94fa7ded1abbb10a890bf39f98785f9a97709e85c617d79a57",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

提问或补充信息

共 1 条 · 本页 1 条

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

国产之光· 公开接口

deepseek-v4-pro

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

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

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

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

deepseek-v4-pro

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

套餐 / 分组:declared-group:国产之光 · 国产之光

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

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

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

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

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

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

读到的部分价格

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

model_ratio
2.25 · 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": "22499.99999999999775000000",
      "cacheWrite": null,
      "input": "675000.000",
      "output": "2025000.000"
    }
  },
  "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.25"
    },
    {
      "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.03333333333333333"
    }
  ],
  "contentSha256": "fbf06d2419d6ad404b9df16602cde28236c865535488dc5af5b80945841e76df",
  "currencyInferred": false,
  "declaredGroupRatio": "0.3",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "24e1b895d605a7ec8b0f2e76ec5822c01e6456925e1a99b699e2a9819d5128bd",
  "rawDeclaredFieldsSha256": "1c64eb779ea56a6862eb623cecc819ebe46255e9b8ff574d273fa68888d68dcd",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "71d854339e0acfcdb1b43f6ceca39b34c860602dcd7498c88c912faafea36f12",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONSTANDARD_GLOBAL_FIELDS",
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

为什么还没读出价格

[
  "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
  "NONSTANDARD_GLOBAL_FIELDS",
  "NONSTANDARD_PRICING_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "54",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "18",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": "6"
                  },
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "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": "6"
                  },
                  "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"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": "6"
                  },
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "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": "6"
                  },
                  "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"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": "6"
                  },
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "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": "6"
                  },
                  "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"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": "6"
                  },
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "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": "6"
                  },
                  "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"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "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": "6"
                },
                "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"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "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": "6"
              },
              "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": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "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.3",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "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": "9532f28d266639e62f91fe1a578c6e17024fe31e2f9f8c442c8b2d125410240f",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "ca3f29216ff5524724b30e9bbd58752505b0e3cf2270f4172845e2b05389c205",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "open code",
  "declaredGroupRatio": "0.3",
  "eligibility": {
    "declaredGroup": "国产之光",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:49Z",
  "firstObservedAt": "2026-10-16T07:42:49.945Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:49.945Z",
  "snapshotId": "e2a3f92ef01a7dec02953826e2099082b6ac8468e9152a373e3b5f97d4c859ff",
  "sourceId": "api.yoshub.com",
  "transactionId": "df935fe04fafb070a5de9dfea858bc2613639edece612cfc7828ccd679d52516"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "85c9bc86999cf50cd8191d1e5ce016bd3d5d8e21924434fb120442bb38348690",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "open code",
    "declaredGroupRatio": "0.3",
    "eligibility": {
      "declaredGroup": "国产之光",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "国产之光",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONSTANDARD_GLOBAL_FIELDS",
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:49Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:49.945Z",
  "offerKey": "fe310bbcdd1cc8ca12de9e1224273ffbb4f96880f405981fedf2e5d75257ad9d",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "22499.99999999999775000000",
        "cacheWrite": null,
        "input": "675000.000",
        "output": "2025000.000"
      }
    },
    "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.25"
      },
      {
        "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.03333333333333333"
      }
    ],
    "contentSha256": "fbf06d2419d6ad404b9df16602cde28236c865535488dc5af5b80945841e76df",
    "currencyInferred": false,
    "declaredGroupRatio": "0.3",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "24e1b895d605a7ec8b0f2e76ec5822c01e6456925e1a99b699e2a9819d5128bd",
    "rawDeclaredFieldsSha256": "1c64eb779ea56a6862eb623cecc819ebe46255e9b8ff574d273fa68888d68dcd",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "71d854339e0acfcdb1b43f6ceca39b34c860602dcd7498c88c912faafea36f12",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "NONSTANDARD_GLOBAL_FIELDS",
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:国产之光",
  "pricePairSourceRowId": "71d854339e0acfcdb1b43f6ceca39b34c860602dcd7498c88c912faafea36f12",
  "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"
    },
    {
      "adapterVersion": "grandet.typed-catalog-metadata/1.5.1",
      "basis": "CLOSED_PRESENTATION_SCHEMA_FROM_SEALED_PUBLIC_DECLARATIONS",
      "basisManifestSha256": "f9119331f65e18eed8b6f360c174717e28f7022b3ede2250b77cfebf9bc72da3",
      "cashQualification": "NOT_EVALUATED",
      "kind": "TYPED_RETAINED_PUBLIC_CATALOG_METADATA",
      "scopeOrBillingAuthority": false
    },
    {
      "adapterId": "group-display",
      "bindingId": "group-display/api.yoshub.com",
      "declaredGroup": "国产之光",
      "evidenceFile": "adapter-group-display.json",
      "evidenceFileSha256": "bd9a1a92de1d8379249858af2d2fc4b38b4e625ae5f1465e15ff853a44f0d38f",
      "kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "observedClientAssetKeySha256": "65a55017a1eea7c75e1c699c3aa876e78308d2bf652a4c92b4fdf080b4f72260",
      "quoteRemainsUnresolvedForThisAdapter": true,
      "reasons": [
        "CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/index.8e46c6ae0e.js"
      ],
      "renewsObservationTime": false,
      "reviewQueue": true,
      "reviewedSemanticKeySha256": "c2b8a37e42703f39c11690b8b60b8ee60914b6c173657b8246e0099612d1288b",
      "schema": "grandet.adapter-evidence-decision/v1",
      "sourceId": "api.yoshub.com"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "54",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "18",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": "6"
                    },
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "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": "6"
                    },
                    "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"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": "6"
                    },
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "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": "6"
                    },
                    "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"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": "6"
                    },
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "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": "6"
                    },
                    "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"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": "6"
                    },
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "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": "6"
                    },
                    "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"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "13.5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.15"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "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": "6"
                  },
                  "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"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "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": "6"
                },
                "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": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "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.3",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "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": "9532f28d266639e62f91fe1a578c6e17024fe31e2f9f8c442c8b2d125410240f",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "ca3f29216ff5524724b30e9bbd58752505b0e3cf2270f4172845e2b05389c205",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "24e1b895d605a7ec8b0f2e76ec5822c01e6456925e1a99b699e2a9819d5128bd",
  "quoteOrdinal": 27,
  "semanticFlags": [],
  "snapshotId": "e2a3f92ef01a7dec02953826e2099082b6ac8468e9152a373e3b5f97d4c859ff",
  "sourceDomain": "api.yoshub.com",
  "sourceId": "api.yoshub.com",
  "sourceRowId": "71d854339e0acfcdb1b43f6ceca39b34c860602dcd7498c88c912faafea36f12",
  "transactionId": "df935fe04fafb070a5de9dfea858bc2613639edece612cfc7828ccd679d52516",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

提问或补充信息

共 2 条 · 本页 2 条

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

pro· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.ytea.top · 服务商接口公开的价格

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

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "3.96",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.044",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.32",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "1.98",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.022",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.66",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.66"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.022"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "1.98"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.32"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.044"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "3.96"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "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": "3",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "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": "e0715de272a57fa18c54a55c46a6c10d29d20f97b470125a88ddc0a7920ef106",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2a97dc0ff3d2ebfa27d19bea094dd4313a93239b2b431558fe848bb40275f6f4",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "面向进阶用户,适合开发与高频调用",
  "declaredGroupRatio": 3,
  "eligibility": {
    "declaredGroup": "pro",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:50.485000Z",
  "firstObservedAt": "2026-10-16T07:42:52.396Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:52.396Z",
  "snapshotId": "c4d7a016f347976c0344a55b92a87b4e78422df819e460cd0741e3eb54ffc8b2",
  "sourceId": "api.ytea.top",
  "transactionId": "1f8f06f1b9ec7bd4ef3c03206cbb02501129226bce4e66e0f8a5e0d22c609bcc"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d338837b20bbdfaf1595f70c59783144f476c2e9d1f530049fa1b4b3bdab14f7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "面向进阶用户,适合开发与高频调用",
    "declaredGroupRatio": 3,
    "eligibility": {
      "declaredGroup": "pro",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "pro",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:50.485000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:52.396Z",
  "offerKey": "07f8bae8c8d7d1ffc76bcec694c87b8725777543e274948a879358b355013200",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:pro",
  "pricePairSourceRowId": "75b374c11d7a2011bfea93642e25e68ecf1abcd41831bd15a48d9565c58b1f65",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "3.96",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.044",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.32",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "1.98",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.022",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.66",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.66"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.022"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.98"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.32"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.044"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.96"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "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": "3",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "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": "e0715de272a57fa18c54a55c46a6c10d29d20f97b470125a88ddc0a7920ef106",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2a97dc0ff3d2ebfa27d19bea094dd4313a93239b2b431558fe848bb40275f6f4",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "1bf8a28aaecc5ec730ebe678c628ab98a4843eb135a537fc81f5890199d66c03",
  "quoteOrdinal": 53,
  "semanticFlags": [],
  "snapshotId": "c4d7a016f347976c0344a55b92a87b4e78422df819e460cd0741e3eb54ffc8b2",
  "sourceDomain": "api.ytea.top",
  "sourceId": "api.ytea.top",
  "sourceRowId": "75b374c11d7a2011bfea93642e25e68ecf1abcd41831bd15a48d9565c58b1f65",
  "transactionId": "1f8f06f1b9ec7bd4ef3c03206cbb02501129226bce4e66e0f8a5e0d22c609bcc",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

default· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.ytea.top · 服务商接口公开的价格

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

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "3.96",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.044",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1.32",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "1.98",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.022",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.66",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "6"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "10"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "4"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "10"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.66"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.022"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "1.98"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.32"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.044"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "3.96"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "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": "d1da234ee56037518fbd04db65e3e2d8f1e3b970453ed79f4bf280766da1621f",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2a97dc0ff3d2ebfa27d19bea094dd4313a93239b2b431558fe848bb40275f6f4",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "面向普通用户,支持日常公益调用",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:50.485000Z",
  "firstObservedAt": "2026-10-16T07:42:52.396Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:52.396Z",
  "snapshotId": "c4d7a016f347976c0344a55b92a87b4e78422df819e460cd0741e3eb54ffc8b2",
  "sourceId": "api.ytea.top",
  "transactionId": "1f8f06f1b9ec7bd4ef3c03206cbb02501129226bce4e66e0f8a5e0d22c609bcc"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "d338837b20bbdfaf1595f70c59783144f476c2e9d1f530049fa1b4b3bdab14f7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "面向普通用户,支持日常公益调用",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:50.485000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:52.396Z",
  "offerKey": "e3a65622b8632bd32172233beb6066593e0cb7f25c493cf0900580b8244fb73b",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "75b374c11d7a2011bfea93642e25e68ecf1abcd41831bd15a48d9565c58b1f65",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "3.96",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.044",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1.32",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "1.98",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.022",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.66",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": "<=",
                  "right": {
                    "type": "number",
                    "value": "5"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "<=",
            "right": {
              "type": "number",
              "value": "5"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.66"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.022"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.98"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.32"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.044"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "3.96"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "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": "d1da234ee56037518fbd04db65e3e2d8f1e3b970453ed79f4bf280766da1621f",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2a97dc0ff3d2ebfa27d19bea094dd4313a93239b2b431558fe848bb40275f6f4",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "49738ef440f4495595764f808b175f78dd60b8b97481b60546a5150371333c9b",
  "quoteOrdinal": 56,
  "semanticFlags": [],
  "snapshotId": "c4d7a016f347976c0344a55b92a87b4e78422df819e460cd0741e3eb54ffc8b2",
  "sourceDomain": "api.ytea.top",
  "sourceId": "api.ytea.top",
  "sourceRowId": "75b374c11d7a2011bfea93642e25e68ecf1abcd41831bd15a48d9565c58b1f65",
  "transactionId": "1f8f06f1b9ec7bd4ef3c03206cbb02501129226bce4e66e0f8a5e0d22c609bcc",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

提问或补充信息

共 2 条 · 本页 2 条

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

Doubao· 公开接口

deepseek-v4-pro

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

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

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

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

deepseek-v4-pro

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

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

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

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

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

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

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

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

读到的部分价格

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

model_ratio
4.5 · 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": "149999.999999999985000000",
      "cacheWrite": null,
      "input": "4500000.0",
      "output": "13500000.0"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "4.5"
    },
    {
      "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.03333333333333333"
    }
  ],
  "contentSha256": "53e473f556572dc9a28dc4136ef5caf7bddbd372bf4802b7101c3db8db6d1192",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "dc5a2a0284de1113cfc72612a875f9f058684ac3ea7090dc7369333373816c8d",
  "rawDeclaredFieldsSha256": "9d33e66944a888f7d34324f3dee4c693fa09451f3dc12fb07670ec4300c7597e",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
  "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
  "NONSTANDARD_GLOBAL_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "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"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "平常时段 0-9/12-14/18-24",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "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"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "高峰期 9-12/14-18",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "9"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "12"
            },
            "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"
        },
        "type": "binary"
      },
      "operator": "||",
      "right": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "Asia/Shanghai"
            }
          ],
          "function": "hour",
          "type": "call"
        },
        "operator": ">=",
        "right": {
          "type": "number",
          "value": "18"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "高峰期 9-12/14-18"
        },
        {
          "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"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "平常时段 0-9/12-14/18-24"
        },
        {
          "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"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "525f3a2436cadb03a509cbeb29c08202c29b4447cab4f59952e2ef0a8d292677",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2cc01bd28231bdf77acbeccfc5b38faa34d2691a6f483bef80e3c5a25bf08106",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "火山方舟",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "Doubao",
    "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-10-26T07:42:51.939000Z",
  "firstObservedAt": "2026-10-16T07:42:53.875Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:53.875Z",
  "snapshotId": "c1ec23a0126b882cc364bbec3fc8f46da86320c57485978683971cee3b45badd",
  "sourceId": "api.yuboar.com",
  "transactionId": "4fd1ac92e70d5cbacfc09d9b97966b90005fd454dd29b7106bbedec1aa15454c"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c259b67fb27e93120c437ffab1bcac119553a1dedf2a19f52136be7b1d1df322",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "火山方舟",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "Doubao",
      "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": "Doubao",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:51.939000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:53.875Z",
  "offerKey": "a4b56b9be0a7f4bb104d7498f7a9baed17325fac07de295fb16145fb59504907",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "149999.999999999985000000",
        "cacheWrite": null,
        "input": "4500000.0",
        "output": "13500000.0"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "4.5"
      },
      {
        "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.03333333333333333"
      }
    ],
    "contentSha256": "53e473f556572dc9a28dc4136ef5caf7bddbd372bf4802b7101c3db8db6d1192",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "dc5a2a0284de1113cfc72612a875f9f058684ac3ea7090dc7369333373816c8d",
    "rawDeclaredFieldsSha256": "9d33e66944a888f7d34324f3dee4c693fa09451f3dc12fb07670ec4300c7597e",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:Doubao",
  "pricePairSourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "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"
    },
    {
      "adapterId": "conditional-map",
      "bindingId": "conditional-map/api.yuboar.com",
      "evidenceFile": "adapter-conditional-map.json",
      "evidenceFileSha256": "6883d2f32f57b55a4437500827a7b64813b1575f847334e17336aa462f53754e",
      "kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "observedClientAssetKeySha256": "151c4f5488189dff89412d44a41ae48313721963a9a18f7a833b6a687627aea8",
      "quoteRemainsUnresolvedForThisAdapter": true,
      "reasons": [
        "CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/runtime.3c7393af.js"
      ],
      "renewsObservationTime": false,
      "reviewQueue": true,
      "reviewedSemanticKeySha256": "d4de934f0d759ebfd70e0ab570563646bd0a33038f98eeeb71f625471c544599",
      "schema": "grandet.adapter-evidence-decision/v1",
      "sourceId": "api.yuboar.com"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "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"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "平常时段 0-9/12-14/18-24",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "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"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "高峰期 9-12/14-18",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "高峰期 9-12/14-18"
          },
          {
            "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"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "平常时段 0-9/12-14/18-24"
          },
          {
            "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"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "525f3a2436cadb03a509cbeb29c08202c29b4447cab4f59952e2ef0a8d292677",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2cc01bd28231bdf77acbeccfc5b38faa34d2691a6f483bef80e3c5a25bf08106",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "dc5a2a0284de1113cfc72612a875f9f058684ac3ea7090dc7369333373816c8d",
  "quoteOrdinal": 38,
  "semanticFlags": [],
  "snapshotId": "c1ec23a0126b882cc364bbec3fc8f46da86320c57485978683971cee3b45badd",
  "sourceDomain": "api.yuboar.com",
  "sourceId": "api.yuboar.com",
  "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "transactionId": "4fd1ac92e70d5cbacfc09d9b97966b90005fd454dd29b7106bbedec1aa15454c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

domestic· 公开接口

deepseek-v4-pro

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

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

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

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

deepseek-v4-pro

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

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

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

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

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

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

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

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

读到的部分价格

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

model_ratio
4.5 · 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": "149999.999999999985000000",
      "cacheWrite": null,
      "input": "4500000.0",
      "output": "13500000.0"
    }
  },
  "cashQualification": "NOT_EVALUATED",
  "components": [
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "model_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_BASE_MODEL_RATIO",
      "usageKind": "TEXT_INPUT",
      "value": "4.5"
    },
    {
      "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.03333333333333333"
    }
  ],
  "contentSha256": "c93b1b91c3d84827136f7bb89740c2f1e8d1849bffeabcd0ce74401f58526146",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "eabc6183e84d0320a5e615d9f706727a9baef60967a1dbe53fa639886bfe971f",
  "rawDeclaredFieldsSha256": "9d33e66944a888f7d34324f3dee4c693fa09451f3dc12fb07670ec4300c7597e",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

为什么还没读出价格

[
  "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
  "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
  "NONSTANDARD_GLOBAL_FIELDS"
]
完整计费规则(含所有情况、单位和条件)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "13.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.15",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "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"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "平常时段 0-9/12-14/18-24",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "27",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "9",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "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"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "高峰期 9-12/14-18",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "9"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "12"
            },
            "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"
        },
        "type": "binary"
      },
      "operator": "||",
      "right": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "Asia/Shanghai"
            }
          ],
          "function": "hour",
          "type": "call"
        },
        "operator": ">=",
        "right": {
          "type": "number",
          "value": "18"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "高峰期 9-12/14-18"
        },
        {
          "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"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "平常时段 0-9/12-14/18-24"
        },
        {
          "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"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "525f3a2436cadb03a509cbeb29c08202c29b4447cab4f59952e2ef0a8d292677",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "2cc01bd28231bdf77acbeccfc5b38faa34d2691a6f483bef80e3c5a25bf08106",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "domestic",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "domestic",
    "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-10-26T07:42:51.939000Z",
  "firstObservedAt": "2026-10-16T07:42:53.875Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:53.875Z",
  "snapshotId": "c1ec23a0126b882cc364bbec3fc8f46da86320c57485978683971cee3b45badd",
  "sourceId": "api.yuboar.com",
  "transactionId": "4fd1ac92e70d5cbacfc09d9b97966b90005fd454dd29b7106bbedec1aa15454c"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "c259b67fb27e93120c437ffab1bcac119553a1dedf2a19f52136be7b1d1df322",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "domestic",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "domestic",
      "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": "domestic",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [
    "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
    "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-26T07:42:51.939000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:53.875Z",
  "offerKey": "9fe9df37f0795cee1916cfa62bd4e55d4281be49dab8ee7d995c5474b44b252d",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.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": "149999.999999999985000000",
        "cacheWrite": null,
        "input": "4500000.0",
        "output": "13500000.0"
      }
    },
    "cashQualification": "NOT_EVALUATED",
    "components": [
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "model_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_BASE_MODEL_RATIO",
        "usageKind": "TEXT_INPUT",
        "value": "4.5"
      },
      {
        "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.03333333333333333"
      }
    ],
    "contentSha256": "c93b1b91c3d84827136f7bb89740c2f1e8d1849bffeabcd0ce74401f58526146",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "eabc6183e84d0320a5e615d9f706727a9baef60967a1dbe53fa639886bfe971f",
    "rawDeclaredFieldsSha256": "9d33e66944a888f7d34324f3dee4c693fa09451f3dc12fb07670ec4300c7597e",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "NONEMPTY_MODELCONDITIONALPRICING_SEMANTICS_UNVERIFIED",
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:domestic",
  "pricePairSourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "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"
    },
    {
      "adapterId": "conditional-map",
      "bindingId": "conditional-map/api.yuboar.com",
      "evidenceFile": "adapter-conditional-map.json",
      "evidenceFileSha256": "6883d2f32f57b55a4437500827a7b64813b1575f847334e17336aa462f53754e",
      "kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
      "observedClientAssetKeySha256": "151c4f5488189dff89412d44a41ae48313721963a9a18f7a833b6a687627aea8",
      "quoteRemainsUnresolvedForThisAdapter": true,
      "reasons": [
        "CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/runtime.3c7393af.js"
      ],
      "renewsObservationTime": false,
      "reviewQueue": true,
      "reviewedSemanticKeySha256": "d4de934f0d759ebfd70e0ab570563646bd0a33038f98eeeb71f625471c544599",
      "schema": "grandet.adapter-evidence-decision/v1",
      "sourceId": "api.yuboar.com"
    }
  ],
  "pricingResolution": "UNRESOLVED",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "13.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.15",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "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"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "平常时段 0-9/12-14/18-24",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "27",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "9",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "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"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "高峰期 9-12/14-18",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "12"
              },
              "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"
          },
          "type": "binary"
        },
        "operator": "||",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "高峰期 9-12/14-18"
          },
          {
            "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"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "平常时段 0-9/12-14/18-24"
          },
          {
            "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"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "525f3a2436cadb03a509cbeb29c08202c29b4447cab4f59952e2ef0a8d292677",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "2cc01bd28231bdf77acbeccfc5b38faa34d2691a6f483bef80e3c5a25bf08106",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "eabc6183e84d0320a5e615d9f706727a9baef60967a1dbe53fa639886bfe971f",
  "quoteOrdinal": 39,
  "semanticFlags": [],
  "snapshotId": "c1ec23a0126b882cc364bbec3fc8f46da86320c57485978683971cee3b45badd",
  "sourceDomain": "api.yuboar.com",
  "sourceId": "api.yuboar.com",
  "sourceRowId": "0ce70285868d540d6fa79e0c591d2fcd284db83b8c612a6f94f9139cfdc26cad",
  "transactionId": "4fd1ac92e70d5cbacfc09d9b97966b90005fd454dd29b7106bbedec1aa15454c",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

提问或补充信息

共 2 条 · 本页 2 条

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

自部署国产模型· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.yunhe.one · 服务商接口公开的价格

套餐 / 分组:declared-group:自部署国产模型 · 自部署国产模型

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "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"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "闲时价格",
      "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "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"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "闲时价格",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "arguments": [
        {
          "type": "string",
          "value": "闲时价格"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "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"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "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.6",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "54460d29a10e0ee18278b30f88985a2d756e6dc8a4ddf461da1eaffa103441ef",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "3a5a202b9c4187915f2292fd910f8a6be08388c9414b8d195da86e5926cd1698",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "自部署国产模型",
  "declaredGroupRatio": "0.6",
  "eligibility": {
    "declaredGroup": "自部署国产模型",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:51.763000Z",
  "firstObservedAt": "2026-10-16T07:42:53.119Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:53.119Z",
  "snapshotId": "92b810e66a7495298475920faedb0f6a9aea5c2c83ab4a8d754d1b7c503afe0c",
  "sourceId": "api.yunhe.one",
  "transactionId": "0097c916b21e70d09246537c2f2d37ff325f97c207ad93db38630ea2a293d196"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "79aafb9afa1e6ed3ff2544608c61767867bef6cae0cbb7003f19866037cfb7b0",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "自部署国产模型",
    "declaredGroupRatio": "0.6",
    "eligibility": {
      "declaredGroup": "自部署国产模型",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "自部署国产模型",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:51.763000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:53.119Z",
  "offerKey": "1d5dc1f59d17bbfc803d7e4490b1ab391d3a83a5fbdbc33cb69b4377758fdf07",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:自部署国产模型",
  "pricePairSourceRowId": "cb1297a74ab4d0b6a30e4b190cac2cbebc531f0440268aa4df02552a2634d38b",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "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": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "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"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "闲时价格",
        "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": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "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"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "闲时价格",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "闲时价格"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "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"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "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.6",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "54460d29a10e0ee18278b30f88985a2d756e6dc8a4ddf461da1eaffa103441ef",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "3a5a202b9c4187915f2292fd910f8a6be08388c9414b8d195da86e5926cd1698",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "8f8396d07497b942f83455630edf4e36f53e31c066b400c75f4730aa857ab2c7",
  "quoteOrdinal": 114,
  "semanticFlags": [],
  "snapshotId": "92b810e66a7495298475920faedb0f6a9aea5c2c83ab4a8d754d1b7c503afe0c",
  "sourceDomain": "api.yunhe.one",
  "sourceId": "api.yunhe.one",
  "sourceRowId": "cb1297a74ab4d0b6a30e4b190cac2cbebc531f0440268aa4df02552a2634d38b",
  "transactionId": "0097c916b21e70d09246537c2f2d37ff325f97c207ad93db38630ea2a293d196",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

DeepSeek· 公开接口

deepseek-v4-pro

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

价格按条件变化 · 展开看所有情况和计价条件

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

deepseek-v4-pro

api.yunhe.one · 服务商接口公开的价格

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

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

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

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

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

价格要按下面的完整规则和条件来算。

输入
没写或没读出
输出
没写或没读出
按次
没写或没读出
缓存读取
没写或没读出
缓存写入
没写或没读出
完整计费规则(含所有情况、单位和条件)
{
  "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "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"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "闲时价格",
      "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": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "9"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "12"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "14"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "hour",
                    "type": "call"
                  },
                  "operator": "<",
                  "right": {
                    "type": "number",
                    "value": "18"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "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"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "闲时价格",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "arguments": [
        {
          "type": "string",
          "value": "闲时价格"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4.5"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "13.5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.15"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "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"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "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": "f0c1d8b1ab108b2c130b65f143b960b79d94428638e5349d27a8e08bfc54d3fb",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "3a5a202b9c4187915f2292fd910f8a6be08388c9414b8d195da86e5926cd1698",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
服务商写的全部条件
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "DeepSeek 无后缀为官key渠道,有日期后缀为自部署渠道",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "DeepSeek",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
判断是否过期用的数据
{
  "cacheFreshUntil": "2026-10-26T07:42:51.763000Z",
  "firstObservedAt": "2026-10-16T07:42:53.119Z",
  "maximumQuoteAgeDays": 10,
  "observedAt": "2026-10-16T07:42:53.119Z",
  "snapshotId": "92b810e66a7495298475920faedb0f6a9aea5c2c83ab4a8d754d1b7c503afe0c",
  "sourceId": "api.yunhe.one",
  "transactionId": "0097c916b21e70d09246537c2f2d37ff325f97c207ad93db38630ea2a293d196"
}
这条价格的完整原始记录
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "79aafb9afa1e6ed3ff2544608c61767867bef6cae0cbb7003f19866037cfb7b0",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "DeepSeek 无后缀为官key渠道,有日期后缀为自部署渠道",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "DeepSeek",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "DeepSeek",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-26T07:42:51.763000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-pro",
  "multimodalPricing": null,
  "observedAt": "2026-10-16T07:42:53.119Z",
  "offerKey": "964aa8462e6a01a09201d6b1f3066263335b68f8b0077eaf6026081c2aa7f4d4",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek",
  "pricePairSourceRowId": "cb1297a74ab4d0b6a30e4b190cac2cbebc531f0440268aa4df02552a2634d38b",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "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": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "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"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "闲时价格",
        "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": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "9"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "12"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "14"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "Asia/Shanghai"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "18"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "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"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "闲时价格",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "闲时价格"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "13.5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.15"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "||",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "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"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "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": "f0c1d8b1ab108b2c130b65f143b960b79d94428638e5349d27a8e08bfc54d3fb",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "3a5a202b9c4187915f2292fd910f8a6be08388c9414b8d195da86e5926cd1698",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "7ede342d6e84d9db10440c22dd618e3aeab2a448cf50a10d2d0ce17f6aa44f83",
  "quoteOrdinal": 115,
  "semanticFlags": [],
  "snapshotId": "92b810e66a7495298475920faedb0f6a9aea5c2c83ab4a8d754d1b7c503afe0c",
  "sourceDomain": "api.yunhe.one",
  "sourceId": "api.yunhe.one",
  "sourceRowId": "cb1297a74ab4d0b6a30e4b190cac2cbebc531f0440268aa4df02552a2634d38b",
  "transactionId": "0097c916b21e70d09246537c2f2d37ff325f97c207ad93db38630ea2a293d196",
  "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
}