完整计费规则(含所有情况、单位和条件)
{
"branches": [
{
"components": [
{
"coefficient": "15",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [],
"perRequestPrice": null,
"tierName": "standard",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"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": "7",
"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": "34b364d8d3cff01220c302c9f2d181d413bd4eb042da01d70cdf44f94bca3097",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "da858dee9c885d19cd3fc62f935253b758dd103688b12bde0a151e333c6c15d8",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}这条价格的完整原始记录
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "e102eca71ba3790ea6f586ac6d799e4f417f6e846cac8a354d49e2ffb6f655e0",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "STRUCTURED_PRICING_RULE",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "Openai正价API",
"declaredGroupRatio": 7,
"eligibility": {
"declaredGroup": "正价Openai",
"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": "正价Openai",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-17T07:25:52.629000Z",
"groupOfferingFlags": [],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-4o-2024-05-13",
"multimodalPricing": null,
"observedAt": "2026-10-10T07:25:54.289Z",
"offerKey": "e340fcf29eb83313fae12163fd6a579920dc4952674cdd08de646c1f135cb3db",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.7.0",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:正价Openai",
"pricePairSourceRowId": "2ba6ab3280ec961f0902b8d512050a9b5b97faf5a73e42788dd7648e3f729094",
"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"
},
{
"adapterEvidence": {
"adapterId": "group-display",
"bindingId": "group-display/jp.claudecn.top",
"cashQualification": "NOT_EVALUATED",
"declaredGroup": "正价Openai",
"evidenceFile": "adapter-group-display.json",
"evidenceFileSha256": "bd9a1a92de1d8379249858af2d2fc4b38b4e625ae5f1465e15ff853a44f0d38f",
"exactPinMatched": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "ADAPTER_EVIDENCE_REAPPLIED_BY_SEMANTIC_KEY",
"observedClientAssetKeySha256": "4811ca35fac977b707b700b8dfa84aecfe8f073b7eef8fe4086b7ec9602265ab",
"observedHomepageSha256": "8b2ac2541f7262d0a5ba81ad5c39e2d63e53b3b7548798600f000a4b5b134a03",
"renewsObservationTime": false,
"reviewedAt": "2026-10-04",
"schema": "grandet.adapter-evidence-decision/v1",
"semanticKey": {
"assetPaths": [
"/_next/static/chunks/4908dfddd2137d59.js",
"/_next/static/chunks/614c52151cd3171a.js"
],
"kind": "CLIENT_SCRIPT_ASSETS/v1",
"sha256": "ff8031d74f0bad9467073fb1dd708ca21eeaec3be03e015bb148717b0e026154"
},
"sourceId": "jp.claudecn.top",
"structuralPredicates": [
"ANONYMOUS_PUBLIC_SCOPE",
"PUBLIC_GROUP_MAPS",
"GLOBAL_KEYS_SUBSET",
"GLOBAL_KEYS_PRESENT",
"GROUP_DISPLAY_FAMILY_SHAPE"
]
},
"adapterVersion": "grandet.source-group-display/1.5.2",
"additionalMultiplierAppliedByAdapter": false,
"cashQualification": "NOT_EVALUATED",
"clientEvidence": [
{
"sha256": "8628a78a2bf53535638213dced8f1eebad8c51aa0122dee0c945ce4c5087d717",
"url": "https://jp.claudecn.top/_next/static/chunks/4908dfddd2137d59.js"
},
{
"sha256": "583fc15b0b44f63e5298dcdcd1a14482bbc2eb37fb062b67afce3e821ab8b0c8",
"url": "https://jp.claudecn.top/_next/static/chunks/614c52151cd3171a.js"
}
],
"declaredBaseGroupRatio": 7,
"declaredEffectiveGroupRatio": 7,
"declaredGroup": "正价Openai",
"declaredResponseUserGroup": null,
"effectiveRatioIsAlreadySelectedBySource": true,
"eligibilityVerified": false,
"kind": "SOURCE_BOUND_EFFECTIVE_GROUP_RATE_DISPLAY",
"membershipAlternatives": [],
"originalHtmlDocumentId": "9aebded9f815515f5c55441c966bb30e41b89393b3a9c3b22333c13d8b2cc295",
"originalHtmlSha256": "edeb7536f26527c606b75c927dadc6192d85dd2d0deaf2974b7d6b825add5e4b",
"qualityScore": null,
"renewsObservationTime": false,
"researchSha256": "4a99ebcd033837453c00b22a2e574f4ec2fbd50ac5c6e27535604a87e3cdf8d9",
"retainedGlobalDeclarations": {
"base_group_ratio": {
"sourceValueRetainedIn": "configuration.declaredFields.base_group_ratio",
"sourceValueSha256": "406d6c0a641d649d329a566cd221f328ef6af0b8e05b7fbc111b2ebb77f1879a"
},
"group_promotions": {
"sourceValueRetainedIn": "configuration.declaredFields.group_promotions",
"sourceValueSha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
},
"task_model_schemas": {
"sourceValueRetainedIn": "configuration.declaredFields.task_model_schemas",
"sourceValueSha256": "ec32875deffcae4e07191b61729e9f210f510c6a9daead93d1cf00f901ec09b1"
},
"task_usage_schemas": {
"sourceValueRetainedIn": "configuration.declaredFields.task_usage_schemas",
"sourceValueSha256": "5fdb39acffb01f789971a9c7908658c925e336ad8786a6737d642c2e5276c4bd"
}
},
"sourceGlobalProjectionSha256": "0ccaf507cc5bd865dbd55b58578b4b1b627cac041fd88cfd86a830c370146cfc",
"sourceId": "jp.claudecn.top",
"sourceObservationScope": "ORIGINAL_PUBLIC_ANONYMOUS_RESPONSE",
"sourceValueRetainedIn": "configuration.declaredFields",
"taskSchemaSelection": {
"endpointFamiliesReviewed": [
"openai"
],
"exactModelKeyPresent": false,
"rowTaskUsageSchemaPresent": false,
"taskSchemaGlobalBodiesRetained": true
},
"upstreamVerified": false
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "15",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [],
"perRequestPrice": null,
"tierName": "standard",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"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": "7",
"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": "34b364d8d3cff01220c302c9f2d181d413bd4eb042da01d70cdf44f94bca3097",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "da858dee9c885d19cd3fc62f935253b758dd103688b12bde0a151e333c6c15d8",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "c41901c28b7730ff7bb025cd6f16cbe4e2c6c809a9e3f0295b3cc483ecbeff1f",
"quoteOrdinal": 114,
"semanticFlags": [],
"snapshotId": "b6d609cdeedfba2fa7c81d58b2bb91cacb65dec88d34ba14e5e92cfbb1587d12",
"sourceDomain": "jp.claudecn.top",
"sourceId": "jp.claudecn.top",
"sourceRowId": "2ba6ab3280ec961f0902b8d512050a9b5b97faf5a73e42788dd7648e3f729094",
"transactionId": "1d67021db998aefe005e1999cf0de4a773cbd0bd6481d9d17c7179ac704ff03e",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}