完整计费规则 · 含所有分支、单位与条件
{
"branches": [
{
"components": [
{
"coefficient": "32",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "AUDIO_INPUT",
"usageVariable": "ai"
},
{
"coefficient": "64",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "AUDIO_OUTPUT",
"usageVariable": "ao"
},
{
"coefficient": "16",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_INPUT",
"usageVariable": "img"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_CACHE_READ",
"usageVariable": "img_cr"
},
{
"coefficient": "4",
"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": {
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "16"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "ai",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "32"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "ao",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "64"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img_cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"ai",
"ao",
"c",
"cr",
"img",
"img_cr",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "2",
"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": "d3c2f762dcd52359a5a6bb01a111c5a39d12df0f18bf176585f27e2132ee24bc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "ee96b99a75c10b58bba289e0bf6e131ab433ce31a33b0c00bff6b0a71d08a29b",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}完整公开声明与来源定位
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "d5a910dab102c2dcd232c8c164855bcc60dfb2924dd487a216d0daf59802b7d5",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.4.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "STRUCTURED_PRICING_RULE",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "按量分组,和按次是一样的渠道",
"declaredGroupRatio": 2,
"eligibility": {
"declaredGroup": "按量",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
},
"declaredGroup": "按量",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:42:39Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-realtime-1.5",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:42:40.701Z",
"outputPrice": null,
"parseRevisionId": "b966f309a83fc88d96f2783c9cb4ca0c5188332005f3b26c6990ebf17b387cc4",
"parsedPricingDeclarations": [
{
"calculationRole": "ACCESS_AND_CHARGE_CONDITION_ONLY_NOT_AN_ADDITIONAL_PRICE",
"calculationSupported": false,
"cashQualified": false,
"chargeConditionSupported": true,
"consumerRequirements": [
"DISPLAY_SELECTED_GROUP_ACCESS_AND_CHARGE_CONDITIONS_ADJACENT_TO_PRICE",
"PRESERVE_FULL_SOURCE_MAPS_IN_PUBLIC_EVIDENCE",
"DO_NOT_INFER_THRESHOLD_CURRENCY_OR_ACCOUNT_ELIGIBILITY",
"DO_NOT_RANK_WAIVED_GROUP_AS_ORDINARY_TARIFF_OR_UNCONDITIONAL_FREE_USAGE",
"PRESERVE_OTHER_ROW_BLOCKERS_AND_ORIGINAL_GROUP_DESCRIPTION"
],
"contentSha256": "74dba861b991e60262348974d2f6eb41387ed5f2053584db45bb60e1872e22d8",
"declarationComplete": true,
"declaredGroup": "按量",
"doesNotEstablishCompleteTariff": true,
"eligibilityVerified": false,
"kind": "SOURCE_GROUP_ACCESS_AND_USER_CHARGE",
"missingSemantics": [],
"nominalTariff": {
"additionalMultiplierApplied": false,
"declaredGroupRatio": 2,
"rawDeclaredFieldsSha256": "d42ee1a1fe072317544aefdbb81896e7670be9fc7a62b2154ba1c8fff418a45e",
"role": "SOURCE_LISTED_GROUP_TARIFF"
},
"parserVersion": "grandet.source-group-access/1.5.3",
"qualityScore": null,
"renewsObservationTime": false,
"schema": "grandet.source-group-access-and-charge/v1",
"selectedGroup": {
"accessLogic": "NO_GATE_DECLARED_IN_THIS_SOURCE_MAP_NOT_PROOF_OF_UNRESTRICTED_ACCESS",
"accessRequirement": null,
"accessRequirementUnit": null,
"declaredUserChargeWaived": false,
"description": "按量分组,和按次是一样的渠道",
"eligibilityVerified": false,
"name": "按量"
},
"sourceBinding": {
"globalProjectionSha256": "e20b60c386f759be974a0a3f9a6072d90696ed526126e4e617ee32b35245778b",
"observedAt": "2026-10-03T23:42:40.701Z",
"originalHtmlSha256": "57a00fc31613e8e63992ea8070353680f105396b83a855445be3619ebe8946f7",
"publicResponseBytes": 121029,
"publicResponseSha256": "18ff60651c764d8e7733509c4b2b3d5ab3ad96fc4fc344178bb314e769381c0b",
"rowIndex": 218,
"rowJsonPointer": "/data/218",
"semanticEvidence": [
{
"characterRanges": [
[
263950,
265280
],
[
573780,
574560
],
[
575900,
577100
]
],
"fetchedAt": "2026-10-04T09:41:12.484029+00:00",
"sha256": "43596a50ed663176d7270a79815ca6710f65c7077ea48c313da431f036513cfa",
"url": "https://api.dzzi.ai/static/js/index.ea9895216b.js"
},
{
"characterRanges": [
[
9180,
10000
],
[
58000,
59900
],
[
69276,
71920
]
],
"fetchedAt": "2026-10-04T09:44:08.369992+00:00",
"sha256": "38e74cde9bb725672a2ffcabe68dc0a49cc3c15b8d46a745da3457e183496286",
"url": "https://api.dzzi.ai/static/js/async/77952.f0dbad8eba.js"
}
],
"semanticEvidenceDoesNotRenewPriceObservation": true,
"snapshotId": "8711bf5f3d12c81777f67e0b743d53aed4de54f169e68b45456a1c1ec4dbe49c",
"transactionId": "de6337a607223a5d61c79fce03cd63d2dbe7fbffc388af5074d02909b0515d5c"
},
"sourceFreeGroups": [
"Claude福利A",
"Claude福利B"
],
"sourceGroupAccess": {
"Claude福利A": {
"min_topup": 50,
"whitelist_only": false
},
"Claude福利B": {
"min_topup": 50,
"whitelist_only": false
}
},
"sourceId": "api.dzzi.ai"
}
],
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.3",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:按量",
"pricePairSourceRowId": "46434073e307d14a0eb972f52f333ab072bc9089aad5d757173779fcc4518fb3",
"pricingAdapterEvidence": [
{
"kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
},
{
"kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
},
{
"adapterVersion": "grandet.source-group-access/1.5.3",
"additionalMultiplierApplied": false,
"eligibilityVerified": false,
"globalProjectionSha256": "e20b60c386f759be974a0a3f9a6072d90696ed526126e4e617ee32b35245778b",
"kind": "SOURCE_BOUND_GROUP_ACCESS_AND_CHARGE",
"publicDeclarationSchema": "grandet.source-group-access-and-charge/v1",
"publicDeclarationSha256": "74dba861b991e60262348974d2f6eb41387ed5f2053584db45bb60e1872e22d8",
"sourceId": "api.dzzi.ai"
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "32",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "AUDIO_INPUT",
"usageVariable": "ai"
},
{
"coefficient": "64",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "AUDIO_OUTPUT",
"usageVariable": "ao"
},
{
"coefficient": "16",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_INPUT",
"usageVariable": "img"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_CACHE_READ",
"usageVariable": "img_cr"
},
{
"coefficient": "4",
"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": {
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "16"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "ai",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "32"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "ao",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "64"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img_cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"ai",
"ao",
"c",
"cr",
"img",
"img_cr",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "2",
"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": "d3c2f762dcd52359a5a6bb01a111c5a39d12df0f18bf176585f27e2132ee24bc",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "ee96b99a75c10b58bba289e0bf6e131ab433ce31a33b0c00bff6b0a71d08a29b",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "75b6a6e008389342222ac843a42c65a1aafb84942250600f789439f13acffe6d",
"quoteOrdinal": 281,
"snapshotId": "8711bf5f3d12c81777f67e0b743d53aed4de54f169e68b45456a1c1ec4dbe49c",
"sourceDomain": "api.dzzi.ai",
"sourceId": "api.dzzi.ai",
"sourceRowId": "46434073e307d14a0eb972f52f333ab072bc9089aad5d757173779fcc4518fb3",
"transactionId": "de6337a607223a5d61c79fce03cd63d2dbe7fbffc388af5074d02909b0515d5c",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}