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

78 sources · 158 public declarations

Pricing and freshness · cash / quality unverified

Input, output, cache rates and conditions stay with their original plan. Host units differ and are not cash-ranked across hosts; cash qualification, upstream identity and quality remain unverified.

158 declarations in scope: 156 within observation window, 2 freshness unassessed, 0 historical / verification records.

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

Captured name archive

78 sources and 158 declarations match · 15 rows on this page

cn.xcode.best

All plans →
2 declarations · 2 on this page

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

deepseek官方· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

deepseek-flash

cn.xcode.best · Public API declaration

Plan / group: declared-group:deepseek官方 · deepseek官方

Within observation window · not a live quote

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

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

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

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved

Extracted numeric fields

These source ratios or price fields do not yet establish the complete plan cost.

model_ratio
0.5 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.035 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "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": "18375.000000",
      "cacheWrite": null,
      "input": "525000.000",
      "output": "1050000.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": "0.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.035"
    }
  ],
  "contentSha256": "91ecc99571cc0b50bb577bd39564011bfbea57a699f842593d084ef06d58073f",
  "currencyInferred": false,
  "declaredGroupRatio": "1.05",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "fa8d6a804b744c5560ac74ccfa0fc4b7873bb842c5fdfe8bd04a7e1adeed3a85",
  "rawDeclaredFieldsSha256": "cb81ca84ba51ccc25f11ca548a752f3207f2edc4aa68c867321324d909912d98",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

Unresolved reasons

[
  "NONSTANDARD_GLOBAL_FIELDS"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "16",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.08",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.02"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1.05",
  "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": "bbfd29d47754f028b08232528f4f183590fd01f2822264ab312dc8baff638dea",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "ab6b9a7668965cc8c0f4ccaca988a6e4e63379dee0ce22160b5b703872ecbcef",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "deepseek官方",
  "declaredGroupRatio": "1.05",
  "eligibility": {
    "declaredGroup": "deepseek官方",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:48:33.539000Z",
  "firstObservedAt": "2026-10-03T23:48:35.304Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:48:35.304Z",
  "snapshotId": "fda237cf7cd798761f419b776e85884c2cbf253fff93a11421d8bf38a848d67a",
  "sourceId": "cn.xcode.best",
  "transactionId": "866beeb390f0a0664ae6f18addac2533bf53ca4b10e9c6b735426478e033ce6e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "49352e9e16184f2c41706c393cee0e2dcd6ab55a46ed67e26da5157dbe2b15e2",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "deepseek官方",
    "declaredGroupRatio": "1.05",
    "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-10T23:48:33.539000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:48:35.304Z",
  "outputPrice": null,
  "parseRevisionId": "651270320e6f0b3179294b3834ad63479e52bbc8e01a02c7129f657d2e0f859f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "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": "18375.000000",
        "cacheWrite": null,
        "input": "525000.000",
        "output": "1050000.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": "0.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.035"
      }
    ],
    "contentSha256": "91ecc99571cc0b50bb577bd39564011bfbea57a699f842593d084ef06d58073f",
    "currencyInferred": false,
    "declaredGroupRatio": "1.05",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "fa8d6a804b744c5560ac74ccfa0fc4b7873bb842c5fdfe8bd04a7e1adeed3a85",
    "rawDeclaredFieldsSha256": "cb81ca84ba51ccc25f11ca548a752f3207f2edc4aa68c867321324d909912d98",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:deepseek官方",
  "pricePairSourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "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": "16",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.08",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.02"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1.05",
    "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": "bbfd29d47754f028b08232528f4f183590fd01f2822264ab312dc8baff638dea",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "ab6b9a7668965cc8c0f4ccaca988a6e4e63379dee0ce22160b5b703872ecbcef",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "fa8d6a804b744c5560ac74ccfa0fc4b7873bb842c5fdfe8bd04a7e1adeed3a85",
  "quoteOrdinal": 32,
  "snapshotId": "fda237cf7cd798761f419b776e85884c2cbf253fff93a11421d8bf38a848d67a",
  "sourceDomain": "cn.xcode.best",
  "sourceId": "cn.xcode.best",
  "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "transactionId": "866beeb390f0a0664ae6f18addac2533bf53ca4b10e9c6b735426478e033ce6e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

国模官转直出· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

deepseek-flash

cn.xcode.best · Public API declaration

Plan / group: declared-group:国模官转直出 · 国模官转直出

Within observation window · not a live quote

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

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

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

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved

Extracted numeric fields

These source ratios or price fields do not yet establish the complete plan cost.

model_ratio
0.5 · SOURCE_BASE_MODEL_RATIO
completion_ratio
2 · SOURCE_COMPLETION_RATIO
cache_ratio
0.035 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "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": "18375.000000",
      "cacheWrite": null,
      "input": "525000.000",
      "output": "1050000.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": "0.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.035"
    }
  ],
  "contentSha256": "c657f544b7795af54bf860285e8b1e56e7662aebe1eb94d5e2e55e6d1d733f35",
  "currencyInferred": false,
  "declaredGroupRatio": "1.05",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "5cc2c0e029a7a123fd2ab02d775a7088bb6ec9fc804dc282eb62af2cf2eb88a2",
  "rawDeclaredFieldsSha256": "cb81ca84ba51ccc25f11ca548a752f3207f2edc4aa68c867321324d909912d98",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ]
}

Unresolved reasons

[
  "NONSTANDARD_GLOBAL_FIELDS"
]
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "16",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.08",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.02"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1.05",
  "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": "bbfd29d47754f028b08232528f4f183590fd01f2822264ab312dc8baff638dea",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "ab6b9a7668965cc8c0f4ccaca988a6e4e63379dee0ce22160b5b703872ecbcef",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "国模官转直出",
  "declaredGroupRatio": "1.05",
  "eligibility": {
    "declaredGroup": "国模官转直出",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:48:33.539000Z",
  "firstObservedAt": "2026-10-03T23:48:35.304Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:48:35.304Z",
  "snapshotId": "fda237cf7cd798761f419b776e85884c2cbf253fff93a11421d8bf38a848d67a",
  "sourceId": "cn.xcode.best",
  "transactionId": "866beeb390f0a0664ae6f18addac2533bf53ca4b10e9c6b735426478e033ce6e"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "49352e9e16184f2c41706c393cee0e2dcd6ab55a46ed67e26da5157dbe2b15e2",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "SPECIAL_OR_UNKNOWN_PRICING",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "国模官转直出",
    "declaredGroupRatio": "1.05",
    "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": [
    "NONSTANDARD_GLOBAL_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:48:33.539000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:48:35.304Z",
  "outputPrice": null,
  "parseRevisionId": "651270320e6f0b3179294b3834ad63479e52bbc8e01a02c7129f657d2e0f859f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "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": "18375.000000",
        "cacheWrite": null,
        "input": "525000.000",
        "output": "1050000.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": "0.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.035"
      }
    ],
    "contentSha256": "c657f544b7795af54bf860285e8b1e56e7662aebe1eb94d5e2e55e6d1d733f35",
    "currencyInferred": false,
    "declaredGroupRatio": "1.05",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "5cc2c0e029a7a123fd2ab02d775a7088bb6ec9fc804dc282eb62af2cf2eb88a2",
    "rawDeclaredFieldsSha256": "cb81ca84ba51ccc25f11ca548a752f3207f2edc4aa68c867321324d909912d98",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_GLOBAL_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:国模官转直出",
  "pricePairSourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "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": "16",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.08",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.02"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1.05",
    "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": "bbfd29d47754f028b08232528f4f183590fd01f2822264ab312dc8baff638dea",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "ab6b9a7668965cc8c0f4ccaca988a6e4e63379dee0ce22160b5b703872ecbcef",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "5cc2c0e029a7a123fd2ab02d775a7088bb6ec9fc804dc282eb62af2cf2eb88a2",
  "quoteOrdinal": 33,
  "snapshotId": "fda237cf7cd798761f419b776e85884c2cbf253fff93a11421d8bf38a848d67a",
  "sourceDomain": "cn.xcode.best",
  "sourceId": "cn.xcode.best",
  "sourceRowId": "072fcb86eefb5d603cfe912d1a97394c65deb1fb70285a9bc45cd10b898e1f4b",
  "transactionId": "866beeb390f0a0664ae6f18addac2533bf53ca4b10e9c6b735426478e033ce6e",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

crownapi.org

All plans →
2 declarations · 2 on this page

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

default· Public API

deepseek-flash

Host quota points / million tokens · Observed:

Input
75000
Output
300000
Request
Not provided
Cache read
1500
Cache write
Not provided
All prices, conditions and source evidence

deepseek-flash

crownapi.org · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
75000
Output
300000
Per request
Not provided / unresolved
Cache read
1500
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:05.854000Z",
  "firstObservedAt": "2026-10-03T23:49:07.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:07.249Z",
  "snapshotId": "f1cef6866e10f976ecf5af16bc2d168b7c2520ae358e5b518aad9fece2a77ea9",
  "sourceId": "crownapi.org",
  "transactionId": "d73ca5a177469b845cd0a9d44fb03a489b85821c3d4bf5b6a2d03e49794a250c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "dcc27e7105afc0c3dcedb260c8a25260069febd5e13951cb27ec909ecbd9c697",
  "cacheReadPrice": "1500",
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.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-10T23:49:05.854000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "75000",
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:07.249Z",
  "outputPrice": "300000",
  "parseRevisionId": "6a05453bf9d3089798907cc9b53a8cf94cb4a5ce76b7d2e6dba659ac8aeddba4",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "b0ec5aa071774496ca9a2a9478519bf41f6203a139816a04099a064337133534",
  "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": "c522097159841c5c1816d101626f69118b44dbde9e53150e53079d8ef37b5e60",
  "quoteOrdinal": 4,
  "snapshotId": "f1cef6866e10f976ecf5af16bc2d168b7c2520ae358e5b518aad9fece2a77ea9",
  "sourceDomain": "crownapi.org",
  "sourceId": "crownapi.org",
  "sourceRowId": "b0ec5aa071774496ca9a2a9478519bf41f6203a139816a04099a064337133534",
  "transactionId": "d73ca5a177469b845cd0a9d44fb03a489b85821c3d4bf5b6a2d03e49794a250c",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

国模· Public API

deepseek-flash

Host quota points / million tokens · Observed:

Input
75000
Output
300000
Request
Not provided
Cache read
1500
Cache write
Not provided
All prices, conditions and source evidence

deepseek-flash

crownapi.org · Public API declaration

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

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
75000
Output
300000
Per request
Not provided / unresolved
Cache read
1500
Cache write
Not provided / unresolved
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "国模",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:05.854000Z",
  "firstObservedAt": "2026-10-03T23:49:07.249Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:07.249Z",
  "snapshotId": "f1cef6866e10f976ecf5af16bc2d168b7c2520ae358e5b518aad9fece2a77ea9",
  "sourceId": "crownapi.org",
  "transactionId": "d73ca5a177469b845cd0a9d44fb03a489b85821c3d4bf5b6a2d03e49794a250c"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "dcc27e7105afc0c3dcedb260c8a25260069febd5e13951cb27ec909ecbd9c697",
  "cacheReadPrice": "1500",
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": 1,
    "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-10T23:49:05.854000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "75000",
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:07.249Z",
  "outputPrice": "300000",
  "parseRevisionId": "6a05453bf9d3089798907cc9b53a8cf94cb4a5ce76b7d2e6dba659ac8aeddba4",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:国模",
  "pricePairSourceRowId": "b0ec5aa071774496ca9a2a9478519bf41f6203a139816a04099a064337133534",
  "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": "7c650abdc1089de303752505440e656ae2ecde14c6c5047906b8b3e3b7e464a6",
  "quoteOrdinal": 5,
  "snapshotId": "f1cef6866e10f976ecf5af16bc2d168b7c2520ae358e5b518aad9fece2a77ea9",
  "sourceDomain": "crownapi.org",
  "sourceId": "crownapi.org",
  "sourceRowId": "b0ec5aa071774496ca9a2a9478519bf41f6203a139816a04099a064337133534",
  "transactionId": "d73ca5a177469b845cd0a9d44fb03a489b85821c3d4bf5b6a2d03e49794a250c",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}
2 declarations · 2 on this page

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

deepseek· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

dli.li · Public API declaration

Plan / group: declared-group:deepseek · deepseek

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": {
                      "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"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "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"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": {
                      "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"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "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"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.02"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "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": {
                  "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"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "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"
      },
      "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": "8616a234152d984108a6b2f6389bf6be782fc07dda51e8a46d7fca4a4c35ddba",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "8c367f4ce22abcb37047b970b539a65f0a3e479c789c6c26fe7efbd7020b2f65",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "anthropic"
  ],
  "declaredGroupDescription": "DeepSeek 官方 API 通道",
  "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"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:25.703000Z",
  "firstObservedAt": "2026-10-03T23:49:26.940Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:26.940Z",
  "snapshotId": "d19d13fab16e86ff23d54143c78f148b149feed22890d29984126ef95c54794a",
  "sourceId": "dli.li",
  "transactionId": "e3fe62f5c9ac0d6dfcec139530eaec4d9998cb9e43e94b3c2bede8088bfb9429"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "a58e17cad38b446ccfd3e940fcf71db60969e839366e3e8f5cf2e2abaf539bad",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "anthropic"
    ],
    "declaredGroupDescription": "DeepSeek 官方 API 通道",
    "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-10T23:49:25.703000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:26.940Z",
  "outputPrice": null,
  "parseRevisionId": "c95ab2245b1ac7c5dfbf4f98a946b22a70c040fee2fd3226f84e9f2999e31665",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:deepseek",
  "pricePairSourceRowId": "5c99348a375ff865e90c14566e518fef19aa125c9da1475dc9786b31b044a6b9",
  "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": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": {
                        "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"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "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"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": {
                        "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"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "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"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.02"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "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": {
                    "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"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "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"
        },
        "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": "8616a234152d984108a6b2f6389bf6be782fc07dda51e8a46d7fca4a4c35ddba",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "8c367f4ce22abcb37047b970b539a65f0a3e479c789c6c26fe7efbd7020b2f65",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "d04f8a1cfc54366e009d04e15fbe53143f754e72f23c1bfd8ec53854470a2169",
  "quoteOrdinal": 49,
  "snapshotId": "d19d13fab16e86ff23d54143c78f148b149feed22890d29984126ef95c54794a",
  "sourceDomain": "dli.li",
  "sourceId": "dli.li",
  "sourceRowId": "5c99348a375ff865e90c14566e518fef19aa125c9da1475dc9786b31b044a6b9",
  "transactionId": "e3fe62f5c9ac0d6dfcec139530eaec4d9998cb9e43e94b3c2bede8088bfb9429",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

deepseek-surprise· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

dli.li · Public API declaration

Plan / group: declared-group:deepseek-surprise · deepseek-surprise

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": {
                      "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"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "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"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "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": {
                      "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"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "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"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.02"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "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": {
                  "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"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "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"
      },
      "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.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": "e24da7c6d62cff344fc8a2ff3f0ff11bc4a2b4f8a861ec9c3f7456528cd12dce",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "8c367f4ce22abcb37047b970b539a65f0a3e479c789c6c26fe7efbd7020b2f65",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "anthropic"
  ],
  "declaredGroupDescription": "DeepSeek 特价 API 通道",
  "declaredGroupRatio": "0.4",
  "eligibility": {
    "declaredGroup": "deepseek-surprise",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:25.703000Z",
  "firstObservedAt": "2026-10-03T23:49:26.940Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:26.940Z",
  "snapshotId": "d19d13fab16e86ff23d54143c78f148b149feed22890d29984126ef95c54794a",
  "sourceId": "dli.li",
  "transactionId": "e3fe62f5c9ac0d6dfcec139530eaec4d9998cb9e43e94b3c2bede8088bfb9429"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "a58e17cad38b446ccfd3e940fcf71db60969e839366e3e8f5cf2e2abaf539bad",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "anthropic"
    ],
    "declaredGroupDescription": "DeepSeek 特价 API 通道",
    "declaredGroupRatio": "0.4",
    "eligibility": {
      "declaredGroup": "deepseek-surprise",
      "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-surprise",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:49:25.703000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:26.940Z",
  "outputPrice": null,
  "parseRevisionId": "c95ab2245b1ac7c5dfbf4f98a946b22a70c040fee2fd3226f84e9f2999e31665",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:deepseek-surprise",
  "pricePairSourceRowId": "5c99348a375ff865e90c14566e518fef19aa125c9da1475dc9786b31b044a6b9",
  "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": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": {
                        "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"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "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"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "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": {
                        "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"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "Asia/Shanghai"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "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"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "base"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.02"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "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": {
                    "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"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "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"
        },
        "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.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": "e24da7c6d62cff344fc8a2ff3f0ff11bc4a2b4f8a861ec9c3f7456528cd12dce",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "8c367f4ce22abcb37047b970b539a65f0a3e479c789c6c26fe7efbd7020b2f65",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "ca723ba0306188468ab2331c8d70fb0201c513018c9ba28e67f117a2a96339da",
  "quoteOrdinal": 50,
  "snapshotId": "d19d13fab16e86ff23d54143c78f148b149feed22890d29984126ef95c54794a",
  "sourceDomain": "dli.li",
  "sourceId": "dli.li",
  "sourceRowId": "5c99348a375ff865e90c14566e518fef19aa125c9da1475dc9786b31b044a6b9",
  "transactionId": "e3fe62f5c9ac0d6dfcec139530eaec4d9998cb9e43e94b3c2bede8088bfb9429",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

dpseek.tech

All plans →
1 declarations · 1 on this page

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

default· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

dpseek.tech · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "空闲时段",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "空闲时段",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "空闲时段",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.01",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.5",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "14"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "18"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "空闲时段",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "arguments": [
          {
            "type": "string",
            "value": "空闲时段"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.5"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "2"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.01"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "9"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "12"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "14"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "hour",
            "type": "call"
          },
          "operator": "<",
          "right": {
            "type": "number",
            "value": "18"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "2"
      }
    },
    "type": "binary"
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "f8cc8e644653c153729ba132465e57f542b8a95085af950b3705a0af601b5583",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "b098cad7cb4a090f66d477c76b8de756b4c686f215c214c6f7439e2565eb0e9e",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:32.062000Z",
  "firstObservedAt": "2026-10-03T23:49:33.218Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:33.218Z",
  "snapshotId": "93b53bb4892770314a849deac14a31b21af10ac63535fe1b3f48e89d557b5700",
  "sourceId": "dpseek.tech",
  "transactionId": "5339899441285fe2fde39dfd2dad2ceb7f5b4b5d1b70453e9a1d71a88c799c63"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "23c5c636407aa6cc3afb9adc2e9701e4f6bf15bcc8609a51a93a6171aaea7977",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:49:32.062000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:33.218Z",
  "outputPrice": null,
  "parseRevisionId": "c324551f14ebfa2e6b0713be07ad6e3e87e63a55f2a374489a7f0e144ca78ca7",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "f4a0be4385b0b08b28e5de3642e3cbe9bbb9cf909f931f0d694dfa47a64e351e",
  "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": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "空闲时段",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "空闲时段",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "空闲时段",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.01",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.5",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "9"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "12"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "14"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "Asia/Shanghai"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "18"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "空闲时段",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "空闲时段"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.5"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "2"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.01"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "9"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "12"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "14"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "hour",
              "type": "call"
            },
            "operator": "<",
            "right": {
              "type": "number",
              "value": "18"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "2"
        }
      },
      "type": "binary"
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "f8cc8e644653c153729ba132465e57f542b8a95085af950b3705a0af601b5583",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "b098cad7cb4a090f66d477c76b8de756b4c686f215c214c6f7439e2565eb0e9e",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "e55433ccb645f2bc281e8be071e5f29bda5e7e8200309413d1ab81a3f3ddf222",
  "quoteOrdinal": 0,
  "snapshotId": "93b53bb4892770314a849deac14a31b21af10ac63535fe1b3f48e89d557b5700",
  "sourceDomain": "dpseek.tech",
  "sourceId": "dpseek.tech",
  "sourceRowId": "f4a0be4385b0b08b28e5de3642e3cbe9bbb9cf909f931f0d694dfa47a64e351e",
  "transactionId": "5339899441285fe2fde39dfd2dad2ceb7f5b4b5d1b70453e9a1d71a88c799c63",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

ergouapi.com

All plans →
1 declarations · 1 on this page

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

default· Public API

deepseek-flash

Host quota points / million tokens · Observed:

Pricing unresolved · known amounts are not complete cost

No directly displayable scalar; the complete declaration is retained.

All prices, conditions and source evidence

deepseek-flash

ergouapi.com · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Pricing unresolved; known parts do not establish complete cost. · UNRESOLVED

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved

Extracted numeric fields

These source ratios or price fields do not yet establish the complete plan cost.

model_ratio
0.475 · SOURCE_BASE_MODEL_RATIO
completion_ratio
4 · SOURCE_COMPLETION_RATIO
cache_ratio
0.02 · SOURCE_CACHE_READ_RATIO
Complete partial extraction
{
  "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": "9500.00000",
      "cacheWrite": null,
      "input": "475000.000",
      "output": "1900000.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": "0.475"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "completion_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_COMPLETION_RATIO",
      "usageKind": "TEXT_OUTPUT",
      "value": "4"
    },
    {
      "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
      "sourceField": "cache_ratio",
      "status": "EXACT_NUMERIC_DECLARATION",
      "unit": "SOURCE_CACHE_READ_RATIO",
      "usageKind": "CACHE_READ",
      "value": "0.02"
    }
  ],
  "contentSha256": "83b692d6f797c4a785850f9e965b6f3fa15e9736aa611d418589342b58c3e81f",
  "currencyInferred": false,
  "declaredGroupRatio": "1",
  "effectiveQuote": false,
  "eligibleForPriceRanking": false,
  "quoteId": "47f79459dc65361cf3448c80d5677b2cfa1eda0776d59c0210e51dee19378ccf",
  "rawDeclaredFieldsSha256": "f706f0d7efa4aae4bb6fdf076eeb3de8a93b7d9fb73888898c8709ad941dd88e",
  "schema": "grandet.partial-price-components/v1",
  "sourceRowId": "6a18335fd6cca5e85f28d6c93de9a71c25694673aa9a1c1313b87ec2e4d726f2",
  "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
  "unresolvedTariffReasons": [
    "NONSTANDARD_PRICING_FIELDS"
  ]
}

Unresolved reasons

[
  "NONSTANDARD_PRICING_FIELDS"
]
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "官池满血线路-可访问全站模型(优先保证可用性)",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:42.385000Z",
  "firstObservedAt": "2026-10-03T23:49:43.425Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:43.425Z",
  "snapshotId": "9983afc3946194e1194cd9fed4146993d7d269107e783290c474a62feb1fe1c7",
  "sourceId": "ergouapi.com",
  "transactionId": "07a8c731ab46df03c687df4b5d74d9494f4094bd1c5536ec412ae07be79c8434"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "89f632249b726fc4e09667afa8b5ec121fcedaecadf5e2db6db19a5c2ac5e5d4",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.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": "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": [
    "NONSTANDARD_PRICING_FIELDS"
  ],
  "freshUntil": "2026-10-10T23:49:42.385000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:43.425Z",
  "outputPrice": null,
  "parseRevisionId": "916c47220b0f2075d4a9f844ee4ce44727673a54f92f4c761e485cb5ba14b757",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "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": "9500.00000",
        "cacheWrite": null,
        "input": "475000.000",
        "output": "1900000.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": "0.475"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "completion_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_COMPLETION_RATIO",
        "usageKind": "TEXT_OUTPUT",
        "value": "4"
      },
      {
        "role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
        "sourceField": "cache_ratio",
        "status": "EXACT_NUMERIC_DECLARATION",
        "unit": "SOURCE_CACHE_READ_RATIO",
        "usageKind": "CACHE_READ",
        "value": "0.02"
      }
    ],
    "contentSha256": "83b692d6f797c4a785850f9e965b6f3fa15e9736aa611d418589342b58c3e81f",
    "currencyInferred": false,
    "declaredGroupRatio": "1",
    "effectiveQuote": false,
    "eligibleForPriceRanking": false,
    "quoteId": "47f79459dc65361cf3448c80d5677b2cfa1eda0776d59c0210e51dee19378ccf",
    "rawDeclaredFieldsSha256": "f706f0d7efa4aae4bb6fdf076eeb3de8a93b7d9fb73888898c8709ad941dd88e",
    "schema": "grandet.partial-price-components/v1",
    "sourceRowId": "6a18335fd6cca5e85f28d6c93de9a71c25694673aa9a1c1313b87ec2e4d726f2",
    "status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
    "unresolvedTariffReasons": [
      "NONSTANDARD_PRICING_FIELDS"
    ]
  },
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "6a18335fd6cca5e85f28d6c93de9a71c25694673aa9a1c1313b87ec2e4d726f2",
  "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": null,
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "47f79459dc65361cf3448c80d5677b2cfa1eda0776d59c0210e51dee19378ccf",
  "quoteOrdinal": 12,
  "snapshotId": "9983afc3946194e1194cd9fed4146993d7d269107e783290c474a62feb1fe1c7",
  "sourceDomain": "ergouapi.com",
  "sourceId": "ergouapi.com",
  "sourceRowId": "6a18335fd6cca5e85f28d6c93de9a71c25694673aa9a1c1313b87ec2e4d726f2",
  "transactionId": "07a8c731ab46df03c687df4b5d74d9494f4094bd1c5536ec412ae07be79c8434",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

getoken.dev

All plans →
1 declarations · 1 on this page

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

DeepSeek· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

getoken.dev · Public API declaration

Plan / group: declared-group:DeepSeek · DeepSeek

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.006",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.3",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "arguments": [
      {
        "type": "string",
        "value": "base"
      },
      {
        "left": {
          "left": {
            "left": {
              "name": "p",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.3"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.006"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "+",
        "right": {
          "left": {
            "name": "c",
            "type": "variable"
          },
          "operator": "*",
          "right": {
            "type": "number",
            "value": "1.2"
          },
          "type": "binary"
        },
        "type": "binary"
      }
    ],
    "function": "tier",
    "type": "call"
  },
  "dependencies": {
    "requestContext": [],
    "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.1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "TOKEN_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"
  ],
  "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": "2fc3aaa62379d45dd899f8a88d534dbcbc70ded238340adddecc03a4e80acc4a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "9888612e154e4ee1a4265565269e851c01afa75a7242ec5f7a35507bf9f9b103",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "openai-response-compact",
    "anthropic",
    "gemini",
    "openai-alpha-search"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": "0.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"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:49:53.026000Z",
  "firstObservedAt": "2026-10-03T23:49:54.218Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:49:54.218Z",
  "snapshotId": "49fd0de1e61cc4684b8844801c0a79237f21053b1c04ed6dcba0c1cc8785e86a",
  "sourceId": "getoken.dev",
  "transactionId": "2680e81c2d6c795d7142cbb016859b237bc7e1d0cf603dc106490769eea7c4e9"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "7f2318728435c5ea291dcf40db40d9a758153511a37e92629415b7b5af42e014",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "openai-response-compact",
      "anthropic",
      "gemini",
      "openai-alpha-search"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": "0.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-10T23:49:53.026000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:49:54.218Z",
  "outputPrice": null,
  "parseRevisionId": "d264d75f9d91da736b58db1a6e897c442c76593a888addd908fa1740940bd80a",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek",
  "pricePairSourceRowId": "e70def41799c1e60cb9f48a0b2ad73c810d3febc5f50b8905b0154b0b03fef52",
  "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": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.006",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.3",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "arguments": [
        {
          "type": "string",
          "value": "base"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.3"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.006"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "1.2"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "dependencies": {
      "requestContext": [],
      "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.1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "TOKEN_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"
    ],
    "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": "2fc3aaa62379d45dd899f8a88d534dbcbc70ded238340adddecc03a4e80acc4a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "9888612e154e4ee1a4265565269e851c01afa75a7242ec5f7a35507bf9f9b103",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "32cc07a86aac3432cc03ffcf58c6c11e8d57c57848639e87325c15937416d769",
  "quoteOrdinal": 15,
  "snapshotId": "49fd0de1e61cc4684b8844801c0a79237f21053b1c04ed6dcba0c1cc8785e86a",
  "sourceDomain": "getoken.dev",
  "sourceId": "getoken.dev",
  "sourceRowId": "e70def41799c1e60cb9f48a0b2ad73c810d3febc5f50b8905b0154b0b03fef52",
  "transactionId": "2680e81c2d6c795d7142cbb016859b237bc7e1d0cf603dc106490769eea7c4e9",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

guaihub.com

All plans →
1 declarations · 1 on this page

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

deepseek-officially· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

guaihub.com · Public API declaration

Plan / group: declared-group:deepseek-officially · deepseek-officially

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": {
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "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": {
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": {
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "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": {
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": {
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "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": {
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "8",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.04",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "2",
          "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": {
                  "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"
          },
          "matches": true
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "4",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.02",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "1",
          "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": {
                  "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"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "matches": false
        },
        {
          "conditionAST": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "6"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "base",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "left": {
      "left": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "base"
            },
            {
              "left": {
                "left": {
                  "left": {
                    "name": "p",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "c",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "4"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.02"
                },
                "type": "binary"
              },
              "type": "binary"
            }
          ],
          "function": "tier",
          "type": "call"
        },
        "operator": "*",
        "right": {
          "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": {
                  "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": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "2"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "number",
            "value": "0"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "1"
        }
      },
      "type": "binary"
    },
    "operator": "*",
    "right": {
      "condition": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "Asia/Shanghai"
            }
          ],
          "function": "weekday",
          "type": "call"
        },
        "operator": "==",
        "right": {
          "type": "number",
          "value": "6"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "type": "number",
        "value": "1"
      },
      "whenTrue": {
        "type": "number",
        "value": "1"
      }
    },
    "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.8",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "6c4bbeb21d46bc1cefcba04d1c5512c502d7b50a6eb4b4e2d227189fdbcd7783",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d340275928f74b19391201a516b595b276dd5b960aa0cca5e58e1c8491bfc044",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "deepseek官方渠道",
  "declaredGroupRatio": "0.8",
  "eligibility": {
    "declaredGroup": "deepseek-officially",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:08.235000Z",
  "firstObservedAt": "2026-10-03T23:50:10.785Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:10.785Z",
  "snapshotId": "adfdc1954562bd335f7c7e648ea4a491b3c9f68183a5fda6522544e929797b6a",
  "sourceId": "guaihub.com",
  "transactionId": "79f1d49ac5a61f298183c4873c04eda80aeaa93ad52516c87f5b8efec6a60471"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "0265400bd7ed5a45d1077d234125f08777e75b4c57d05803e6e6a8839b55e42e",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "deepseek官方渠道",
    "declaredGroupRatio": "0.8",
    "eligibility": {
      "declaredGroup": "deepseek-officially",
      "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-officially",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:50:08.235000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:10.785Z",
  "outputPrice": null,
  "parseRevisionId": "6ed95d9c40968b73961ef6007078097c766fe9485494d72fbfa064b31da2706d",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:deepseek-officially",
  "pricePairSourceRowId": "6d45303c56b9e3ea549782dfe541ed06dcda997642886b348ac9222cc563401c",
  "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": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": {
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "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": {
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": {
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "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": {
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": {
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "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": {
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "8",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.04",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "2",
            "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": {
                    "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"
            },
            "matches": true
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "4",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.02",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "1",
            "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": {
                    "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"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "0"
              },
              "type": "binary"
            },
            "matches": false
          },
          {
            "conditionAST": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "Asia/Shanghai"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "==",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "base",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "left": {
        "left": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "base"
              },
              {
                "left": {
                  "left": {
                    "left": {
                      "name": "p",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "+",
                  "right": {
                    "left": {
                      "name": "c",
                      "type": "variable"
                    },
                    "operator": "*",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "+",
                "right": {
                  "left": {
                    "name": "cr",
                    "type": "variable"
                  },
                  "operator": "*",
                  "right": {
                    "type": "number",
                    "value": "0.02"
                  },
                  "type": "binary"
                },
                "type": "binary"
              }
            ],
            "function": "tier",
            "type": "call"
          },
          "operator": "*",
          "right": {
            "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": {
                    "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": "conditional",
            "whenFalse": {
              "type": "number",
              "value": "1"
            },
            "whenTrue": {
              "type": "number",
              "value": "2"
            }
          },
          "type": "binary"
        },
        "operator": "*",
        "right": {
          "condition": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "Asia/Shanghai"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": "==",
            "right": {
              "type": "number",
              "value": "0"
            },
            "type": "binary"
          },
          "type": "conditional",
          "whenFalse": {
            "type": "number",
            "value": "1"
          },
          "whenTrue": {
            "type": "number",
            "value": "1"
          }
        },
        "type": "binary"
      },
      "operator": "*",
      "right": {
        "condition": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "Asia/Shanghai"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "==",
          "right": {
            "type": "number",
            "value": "6"
          },
          "type": "binary"
        },
        "type": "conditional",
        "whenFalse": {
          "type": "number",
          "value": "1"
        },
        "whenTrue": {
          "type": "number",
          "value": "1"
        }
      },
      "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.8",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "6c4bbeb21d46bc1cefcba04d1c5512c502d7b50a6eb4b4e2d227189fdbcd7783",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d340275928f74b19391201a516b595b276dd5b960aa0cca5e58e1c8491bfc044",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "4e3565ff07f3f697b1000d380e59fe0bef7f9c34fd32ae2ec3e632dee96f9b7d",
  "quoteOrdinal": 44,
  "snapshotId": "adfdc1954562bd335f7c7e648ea4a491b3c9f68183a5fda6522544e929797b6a",
  "sourceDomain": "guaihub.com",
  "sourceId": "guaihub.com",
  "sourceRowId": "6d45303c56b9e3ea549782dfe541ed06dcda997642886b348ac9222cc563401c",
  "transactionId": "79f1d49ac5a61f298183c4873c04eda80aeaa93ad52516c87f5b8efec6a60471",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

hk.apitoken.ai

All plans →
6 declarations · 2 on this page

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

zs· Public API

deepseek-flash

Host quota points / million tokens · Observed:

Input
500000
Output
4000000
Request
Not provided
Cache read
20000
Cache write
1000000
All prices, conditions and source evidence

deepseek-flash

hk.apitoken.ai · Public API declaration

Plan / group: declared-group:zs · zs

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
500000
Output
4000000
Per request
Not provided / unresolved
Cache read
20000
Cache write
1000000
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "zs",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:18.476000Z",
  "firstObservedAt": "2026-10-03T23:50:20.215Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:20.215Z",
  "snapshotId": "85621a1777a721b4a12c811ac0e1870900e3e9c0e8ccd933d35a29931e4dfe38",
  "sourceId": "hk.apitoken.ai",
  "transactionId": "b296339fd63c6a984e87aa8dd8528dd37df167c95c54024766345f854174104a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "22d2e643aef09e9e224a093cfbc5e0451e3f120370ce6a35c97c6fc6f1cb366c",
  "cacheReadPrice": "20000",
  "cacheWritePrice": "1000000",
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "CONDITIONAL_TOKEN_FORMULA",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "zs",
      "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": "zs",
  "formulaAssurance": "DECLARED_NEW_API_FORMULA_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:50:18.476000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "500000",
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:20.215Z",
  "outputPrice": "4000000",
  "parseRevisionId": "c66fb7235ff3c18e56f67d1dcdbbdbc57f433d19606831bd882f8903437a41e8",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:zs",
  "pricePairSourceRowId": "ba914dea9dc9ef6447e56738487d7c566b3d076bbe75c2cb4b8b4a7ee0c2c9b4",
  "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": "b0b99564f6a5040d2c5a44e3f917e6b696cb4fe0ce6089a72c46d2894c4d8fb7",
  "quoteOrdinal": 65,
  "snapshotId": "85621a1777a721b4a12c811ac0e1870900e3e9c0e8ccd933d35a29931e4dfe38",
  "sourceDomain": "hk.apitoken.ai",
  "sourceId": "hk.apitoken.ai",
  "sourceRowId": "ba914dea9dc9ef6447e56738487d7c566b3d076bbe75c2cb4b8b4a7ee0c2c9b4",
  "transactionId": "b296339fd63c6a984e87aa8dd8528dd37df167c95c54024766345f854174104a",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

default· Public API

deepseek-flash

Host quota points / million tokens · Observed:

Input
500000
Output
4000000
Request
Not provided
Cache read
20000
Cache write
1000000
All prices, conditions and source evidence

deepseek-flash

hk.apitoken.ai · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

Original pricing unit: Host quota points / million tokens · PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS

Scalar declaration (prices from this same row) · SCALAR_PRICE

Input
500000
Output
4000000
Per request
Not provided / unresolved
Cache read
20000
Cache write
1000000
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:18.476000Z",
  "firstObservedAt": "2026-10-03T23:50:20.215Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:20.215Z",
  "snapshotId": "85621a1777a721b4a12c811ac0e1870900e3e9c0e8ccd933d35a29931e4dfe38",
  "sourceId": "hk.apitoken.ai",
  "transactionId": "b296339fd63c6a984e87aa8dd8528dd37df167c95c54024766345f854174104a"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "22d2e643aef09e9e224a093cfbc5e0451e3f120370ce6a35c97c6fc6f1cb366c",
  "cacheReadPrice": "20000",
  "cacheWritePrice": "1000000",
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.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-10T23:50:18.476000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": "500000",
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:20.215Z",
  "outputPrice": "4000000",
  "parseRevisionId": "c66fb7235ff3c18e56f67d1dcdbbdbc57f433d19606831bd882f8903437a41e8",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "ba914dea9dc9ef6447e56738487d7c566b3d076bbe75c2cb4b8b4a7ee0c2c9b4",
  "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": "f63c4e17dc94c50a315526d3548f0ebc34c14541066b87f433d3aa63426f979d",
  "quoteOrdinal": 66,
  "snapshotId": "85621a1777a721b4a12c811ac0e1870900e3e9c0e8ccd933d35a29931e4dfe38",
  "sourceDomain": "hk.apitoken.ai",
  "sourceId": "hk.apitoken.ai",
  "sourceRowId": "ba914dea9dc9ef6447e56738487d7c566b3d076bbe75c2cb4b8b4a7ee0c2c9b4",
  "transactionId": "b296339fd63c6a984e87aa8dd8528dd37df167c95c54024766345f854174104a",
  "unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS"
}

home.moleapi.com

All plans →
3 declarations · 2 on this page

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

default· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

home.moleapi.com · Public API declaration

Plan / group: declared-group:default · default

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.006",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.3",
          "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": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.003",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.15",
          "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": "0.15"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.6"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.003"
            },
            "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": "0.3"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.006"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "Asia/Shanghai",
        "function": "hour"
      },
      {
        "argument": "Asia/Shanghai",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "e6c84bc0146e557688eeed8a7f39c6c4224ea2807d6bda0bc11d9ec64b0a94b8",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "469ac75326215cb845c4ca971d858b4663a920a099f8bca72e2e52b52fc50c2d",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "anthropic",
    "gemini"
  ],
  "declaredGroupDescription": "标准",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:26.450000Z",
  "firstObservedAt": "2026-10-03T23:50:31.379Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:31.379Z",
  "snapshotId": "eb2b6b60a2c1bbd623f57ea4a6a212723438d368cc655c51534aafdac49b3276",
  "sourceId": "home.moleapi.com",
  "transactionId": "60475b1ae978ccc569930b3dfa01817e7942660b4dced7e4c6f34322ec2a30c7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "7af92cd668f8402ee34a42a3b6d3938b00954114e0c7fa11a3d0f3b73dd9e4d7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "anthropic",
      "gemini"
    ],
    "declaredGroupDescription": "标准",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:50:26.450000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:31.379Z",
  "outputPrice": null,
  "parseRevisionId": "6c7d79ad3d6b1687fc18a16d91cf0f7028decb757ba4c29e4ba37aa2ff2bec56",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "81453c17329d3b2e8c9bf2e065f45ee6d9799d7a5c78322535090c646794b7af",
  "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": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.006",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.3",
            "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": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.003",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.15",
            "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": "0.15"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.6"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.003"
              },
              "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": "0.3"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.006"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "Asia/Shanghai",
          "function": "hour"
        },
        {
          "argument": "Asia/Shanghai",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "e6c84bc0146e557688eeed8a7f39c6c4224ea2807d6bda0bc11d9ec64b0a94b8",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "469ac75326215cb845c4ca971d858b4663a920a099f8bca72e2e52b52fc50c2d",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "49a717dfa24d1ce416178c16292a6c80392cf8a2d3b102fc01b5f93ba2a16146",
  "quoteOrdinal": 1169,
  "snapshotId": "eb2b6b60a2c1bbd623f57ea4a6a212723438d368cc655c51534aafdac49b3276",
  "sourceDomain": "home.moleapi.com",
  "sourceId": "home.moleapi.com",
  "sourceRowId": "81453c17329d3b2e8c9bf2e065f45ee6d9799d7a5c78322535090c646794b7af",
  "transactionId": "60475b1ae978ccc569930b3dfa01817e7942660b4dced7e4c6f34322ec2a30c7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

discount· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

home.moleapi.com · Public API declaration

Plan / group: declared-group:discount · discount

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.006",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.3",
          "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": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.003",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.15",
          "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": "0.15"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.6"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.003"
            },
            "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": "0.3"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.006"
            },
            "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.8",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "9efcf1dbf555fa212cf364a434d0de5787ef6222b92a4bc9b9108a288a2bac9a",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "469ac75326215cb845c4ca971d858b4663a920a099f8bca72e2e52b52fc50c2d",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai",
    "openai-response",
    "anthropic",
    "gemini"
  ],
  "declaredGroupDescription": "特价",
  "declaredGroupRatio": "0.8",
  "eligibility": {
    "declaredGroup": "discount",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:26.450000Z",
  "firstObservedAt": "2026-10-03T23:50:31.379Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:31.379Z",
  "snapshotId": "eb2b6b60a2c1bbd623f57ea4a6a212723438d368cc655c51534aafdac49b3276",
  "sourceId": "home.moleapi.com",
  "transactionId": "60475b1ae978ccc569930b3dfa01817e7942660b4dced7e4c6f34322ec2a30c7"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "7af92cd668f8402ee34a42a3b6d3938b00954114e0c7fa11a3d0f3b73dd9e4d7",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai",
      "openai-response",
      "anthropic",
      "gemini"
    ],
    "declaredGroupDescription": "特价",
    "declaredGroupRatio": "0.8",
    "eligibility": {
      "declaredGroup": "discount",
      "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": "discount",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-10T23:50:26.450000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:31.379Z",
  "outputPrice": null,
  "parseRevisionId": "6c7d79ad3d6b1687fc18a16d91cf0f7028decb757ba4c29e4ba37aa2ff2bec56",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:discount",
  "pricePairSourceRowId": "81453c17329d3b2e8c9bf2e065f45ee6d9799d7a5c78322535090c646794b7af",
  "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": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.006",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.3",
            "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": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.003",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.15",
            "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": "0.15"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.6"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.003"
              },
              "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": "0.3"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.2"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.006"
              },
              "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.8",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "9efcf1dbf555fa212cf364a434d0de5787ef6222b92a4bc9b9108a288a2bac9a",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "469ac75326215cb845c4ca971d858b4663a920a099f8bca72e2e52b52fc50c2d",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "12c87425894e4368624838ab774faa1ac87a45114726a10dee0852529f80dcfc",
  "quoteOrdinal": 1170,
  "snapshotId": "eb2b6b60a2c1bbd623f57ea4a6a212723438d368cc655c51534aafdac49b3276",
  "sourceDomain": "home.moleapi.com",
  "sourceId": "home.moleapi.com",
  "sourceRowId": "81453c17329d3b2e8c9bf2e065f45ee6d9799d7a5c78322535090c646794b7af",
  "transactionId": "60475b1ae978ccc569930b3dfa01817e7942660b4dced7e4c6f34322ec2a30c7",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

ikun.love

All plans →
1 declarations · 1 on this page

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

DeepSeek· Public API

deepseek-flash

Individual units in the complete rule · Observed:

Complete conditional rule · expand for every branch and condition

All prices, conditions and source evidence

deepseek-flash

ikun.love · Public API declaration

Plan / group: declared-group:DeepSeek · DeepSeek

Within observation window · not a live quote

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

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

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

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

Input
Not provided / unresolved
Output
Not provided / unresolved
Per request
Not provided / unresolved
Cache read
Not provided / unresolved
Cache write
Not provided / unresolved
Complete pricing rule · all branches, units and conditions
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.2",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.006",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.3",
          "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": "0.6",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.003",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.15",
          "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.15"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.003"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.6"
            },
            "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": "0.3"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.006"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "c",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "1.2"
            },
            "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": "0ef6309bd2c9ff82bdc48317cab27f7445276ed9c6aa758a4939ceca506b9097",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "4f95f2455c60f1923b498f88ef8c17dfc50f83d6afe10c9b604733d9c3d2e793",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
Complete declared conditions
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "DeepSeek",
  "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"
  }
}
Bound source freshness context
{
  "cacheFreshUntil": "2026-10-10T23:50:35.823000Z",
  "firstObservedAt": "2026-10-03T23:50:37.161Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-03T23:50:37.161Z",
  "snapshotId": "cdcb7300a18589593abd4256ba61dc550a9f9190a8985d5498ffd38cf7d3b868",
  "sourceId": "ikun.love",
  "transactionId": "3ad4f5f325705cc2737e5a66a41aa9d061850c22a803dece90d0390c3328a39f"
}
Complete public declaration and source identity
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "b48472ffddf2ebe296c990535eca4f3696efd4bb98608511b107716b8da8f573",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "DeepSeek",
    "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-10T23:50:35.823000Z",
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-03T23:50:37.161Z",
  "outputPrice": null,
  "parseRevisionId": "617d4a6e22cc45b63fe3416a688de6504b0b742a7531ea0455e352237de2941f",
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.5.1",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:DeepSeek",
  "pricePairSourceRowId": "16798065f330dd220deef1cd47484febf28230320185137084edd1564904e8d6",
  "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": "1.2",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.006",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.3",
            "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": "0.6",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.003",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.15",
            "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.15"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.003"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.6"
              },
              "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": "0.3"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "cr",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.006"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.2"
              },
              "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": "0ef6309bd2c9ff82bdc48317cab27f7445276ed9c6aa758a4939ceca506b9097",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "4f95f2455c60f1923b498f88ef8c17dfc50f83d6afe10c9b604733d9c3d2e793",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "cedfbb2ceb2201baa718af027807399206c3db9de5ece60b6fd4c9f95d69889c",
  "quoteOrdinal": 44,
  "snapshotId": "cdcb7300a18589593abd4256ba61dc550a9f9190a8985d5498ffd38cf7d3b868",
  "sourceDomain": "ikun.love",
  "sourceId": "ikun.love",
  "sourceRowId": "16798065f330dd220deef1cd47484febf28230320185137084edd1564904e8d6",
  "transactionId": "3ad4f5f325705cc2737e5a66a41aa9d061850c22a803dece90d0390c3328a39f",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Complete public data downloads

deepseek-flash

Name attribution evidence
{
  "id": "7d963f65d1ede1bd9416",
  "matches": [
    {
      "declaredName": "deepseek-flash",
      "evidence": {
        "canonicalId": "deepseek/deepseek-flash",
        "claimId": "7d963f65d1ede1bd9416",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "deepseek-flash",
        "evidenceIds": [
          "deepseek-models"
        ],
        "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-flash",
  "officialId": null
}