完整计费规则 · 含所有分支、单位与条件
{
"branches": [
{
"components": [
{
"coefficient": "2.482759",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.310345",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "9.931034",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_OUTPUT",
"usageVariable": "img_o"
},
{
"coefficient": "3.103448",
"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": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "3.103448"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.482759"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.310345"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img_o",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "9.931034"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"img_o",
"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": "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": "2b4721324418a7507c57be6ade48abef2f14e9c48c4a32240e86f5a3973f6d94",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "365d23b1632c15a5e67e26f1883a953fbaeef271bf98336a78265732e71bb9ec",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}完整公开声明与来源定位
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "e00df260a94083fae02227a0b5ceab1831ea70cbaa127b4540da38eb78d3026d",
"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": "enterprise",
"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": "enterprise",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:45:20.507000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "openai/gpt-5-image-mini",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:45:22.759Z",
"outputPrice": null,
"parseRevisionId": "9279e5cb7776a7af2b92e51b5403398d7739f2dc56b9bd4fe05bb7ce88cc9eb4",
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.1",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:enterprise",
"pricePairSourceRowId": "24e4e17f3f21bfdfde264a8268cc9c66071d9adff594cc4a5a066ea18c4bd331",
"pricingAdapterEvidence": [
{
"kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
},
{
"kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
"url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
},
{
"adapterVersion": "grandet.typed-catalog-metadata/1.5.1",
"basis": "CLOSED_PRESENTATION_SCHEMA_FROM_SEALED_PUBLIC_DECLARATIONS",
"basisManifestSha256": "f9119331f65e18eed8b6f360c174717e28f7022b3ede2250b77cfebf9bc72da3",
"cashQualification": "NOT_EVALUATED",
"kind": "TYPED_RETAINED_PUBLIC_CATALOG_METADATA",
"scopeOrBillingAuthority": false
},
{
"contentSha256": "ec54bf4a5e9a5da486176110efe2a4e689088a51657d36188e8e00a0a8909a27",
"entrypointContentSha256": "6e3253292ce7369b94aa912013d3937bb71b4b4dc605aeb74870703499d926d1",
"entrypointUrl": "https://api.tacklekey.com/assets/index-Bf5BT-5M.js",
"kind": "PUBLIC_SOURCE_CLIENT_REFERENCE_PRICE_COMPARISON",
"observedAt": "2026-10-04T08:02:24.751815+00:00",
"purpose": "SEMANTIC_RESEARCH_ONLY_DOES_NOT_RENEW_PRICE_OBSERVATION",
"referenceDeclaration": {
"actualRateReplacement": false,
"billingPriceEffect": "NONE_IN_INSPECTED_CLIENT",
"cashQualification": "NOT_EVALUATED",
"classification": "SOURCE_REFERENCE_COMPARISON_ONLY",
"declaredFields": {
"official_price": {
"cache_read_per_1m": "0.2",
"has_cache_read": true,
"has_input": true,
"has_output": true,
"input_per_1m": 2,
"output_per_1m": 8
},
"official_ratio": {
"cache_read_ratio": "1.35",
"has_official_price": true,
"input_ratio": "1.315",
"output_ratio": "0.45",
"primary_basis": "cache_read",
"primary_ratio": "1.35"
}
},
"declaredFieldsSha256": "9ae886c1ce80b3c7b427a8332e03bca3906ae2c4e9a51c6567fd2bea6a0ca89b",
"freeUsageEstablished": false,
"provesOfficialProviderPrice": false,
"schema": "grandet.source-reference-price-comparison/v1",
"sourceId": "api.tacklekey.com"
},
"semantics": "ACTUAL_BILLING_EXPR_TABLE_MULTIPLIES_SELECTED_GROUP; OFFICIAL_REFERENCE_TABLE_USES_MULTIPLIER_ONE",
"sourceCharacterRanges": [
[
7400,
9700
],
[
30300,
31900
],
[
50770,
54010
]
],
"sourceId": "api.tacklekey.com",
"url": "https://api.tacklekey.com/assets/index-DS9b78h5.js"
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "2.482759",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.310345",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "9.931034",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "IMAGE_OUTPUT",
"usageVariable": "img_o"
},
{
"coefficient": "3.103448",
"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": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "3.103448"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.482759"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.310345"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "img_o",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "9.931034"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cr",
"img_o",
"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": "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": "2b4721324418a7507c57be6ade48abef2f14e9c48c4a32240e86f5a3973f6d94",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "365d23b1632c15a5e67e26f1883a953fbaeef271bf98336a78265732e71bb9ec",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "d0ce77db39a98e473b834681ff0060e4b9af4eb4e45e3dc2fc0eef5adc1770d3",
"quoteOrdinal": 379,
"snapshotId": "4aa265012b24b2fddbbc3e2b063f3d1d35e237443b6d16388c2aa51742c1a523",
"sourceDomain": "api.tacklekey.com",
"sourceId": "api.tacklekey.com",
"sourceRowId": "24e4e17f3f21bfdfde264a8268cc9c66071d9adff594cc4a5a066ea18c4bd331",
"transactionId": "934b0921866950ea0ea7a15e517efe8602c51e1bcb61364bb01b562f3f43bad8",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}