完整计费规则(含所有情况、单位和条件)
{
"branches": [
{
"components": [],
"pathConditions": [],
"perRequestPrice": "0.3",
"tierName": "base",
"unit": "DECLARED_USD_PER_REQUEST"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "base"
},
{
"arguments": [
{
"type": "number",
"value": "0.3"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": []
},
"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": "10",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "FIXED_REQUEST",
"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": "430094c9e5507789f31b8395d1b55da63ff048490e8657d31333ff6c6d9f74e2",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "ff88641fca2644e6be1993c008892f60ce55b8e5f7300a4b789c91e2a67f0892",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_REQUEST"
]
}这条价格的完整原始记录
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "87b9d1e81f2fe366b610e02bb7e7ed6a7b26b66e777916c1c00ac10bc602b182",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "SPECIAL_OR_UNKNOWN_PRICING",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"anthropic",
"openai"
],
"declaredGroupDescription": "测试渠道-勿选",
"declaredGroupRatio": 10,
"eligibility": {
"declaredGroup": "测试渠道-勿选",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
},
"declaredGroup": "测试渠道-勿选",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [
"ADAPTER_EVIDENCE_REVIEW_REQUIRED",
"NONSTANDARD_GLOBAL_FIELDS"
],
"freshUntil": "2026-11-23T13:32:12Z",
"groupOfferingFlags": [
"DISPLAY_ONLY_OR_DO_NOT_SELECT",
"TEST_OR_DEBUG"
],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "doubao-seed-2-1-turbo-260628",
"multimodalPricing": null,
"observedAt": "2026-11-13T13:32:12.909Z",
"offerKey": "3b043dff067dd962615d939db55716018db0783d0b72968e19bdcb83e6e5999d",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.8.0",
"partialPriceComponents": {
"baseFormulaArithmetic": null,
"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": "37.5"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "1"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_price",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "NOMINAL_DISPLAY_UNITS_PER_REQUEST",
"usageKind": "REQUEST",
"value": "0.3"
}
],
"contentSha256": "fa8dba83f993dc799b721e334d05b32bbbd4738dd85b331815ad6c734046069d",
"currencyInferred": false,
"declaredGroupRatio": "10",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "e06a8878af3768f0ebd78c304c7dcc4bff3d6ff735c7a4b92d3e22324749e0b9",
"rawDeclaredFieldsSha256": "09f1f2bc8de4580a0f9c7e693c9c590a08b1f719afaeda79943bec7d674551fa",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "746545275c9470a978ed7b50669c5e0a9cf193667ce4c15d23f1e853b5823f3b",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"ADAPTER_EVIDENCE_REVIEW_REQUIRED",
"NONSTANDARD_GLOBAL_FIELDS"
]
},
"perRequestPrice": null,
"planId": "declared-group:测试渠道-勿选",
"pricePairSourceRowId": "746545275c9470a978ed7b50669c5e0a9cf193667ce4c15d23f1e853b5823f3b",
"pricingAdapterEvidence": [
{
"kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
},
{
"kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
},
{
"adapterId": "group-access",
"bindingId": "group-access/api.dzzi.ai",
"declaredGroup": "测试渠道-勿选",
"evidenceFile": "adapter-group-access.json",
"evidenceFileSha256": "0d7911eb7ff8cf1378cafc6e7dff2a2321c146deefc8aaa14b3cfc645dbbe263",
"kind": "ADAPTER_EVIDENCE_REVIEW_REQUIRED",
"observedClientAssetKeySha256": "fd3712b126d35bd66bf51cafc97cc12b592db473fd392a57d7cd7a47dec7ee1c",
"quoteRemainsUnresolvedForThisAdapter": true,
"reasons": [
"CLIENT_ASSET_KEY_MISMATCH:missing=/static/js/index.ea9895216b.js"
],
"renewsObservationTime": false,
"reviewQueue": true,
"reviewedSemanticKeySha256": "e3d4148a1e1228cd6025acd39c141feeb60aa416c772c1b89d07994bd1aea70f",
"schema": "grandet.adapter-evidence-decision/v1",
"sourceId": "api.dzzi.ai"
}
],
"pricingResolution": "UNRESOLVED",
"pricingRule": {
"branches": [
{
"components": [],
"pathConditions": [],
"perRequestPrice": "0.3",
"tierName": "base",
"unit": "DECLARED_USD_PER_REQUEST"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "base"
},
{
"arguments": [
{
"type": "number",
"value": "0.3"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": []
},
"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": "10",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "FIXED_REQUEST",
"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": "430094c9e5507789f31b8395d1b55da63ff048490e8657d31333ff6c6d9f74e2",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "ff88641fca2644e6be1993c008892f60ce55b8e5f7300a4b789c91e2a67f0892",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_REQUEST"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "e06a8878af3768f0ebd78c304c7dcc4bff3d6ff735c7a4b92d3e22324749e0b9",
"quoteOrdinal": 107,
"semanticFlags": [
"GROUP_FLAGGED"
],
"snapshotId": "dbc5c08b41c5314f2553408d6966925839550c909ae970752eaa3a88f06532b3",
"sourceDomain": "api.dzzi.ai",
"sourceId": "api.dzzi.ai",
"sourceRowId": "746545275c9470a978ed7b50669c5e0a9cf193667ce4c15d23f1e853b5823f3b",
"transactionId": "013dafa69fc9692f583ada9f209e60327d19c1b245407861a95e5e64f4f7dd28",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}