CC-MAX· Public API
Complete conditional rule · expand for every branch and condition
All prices, conditions and source evidence
claude-opus-4-8
fanrenapi.com · Public API declaration
Plan / group: declared-group:CC-MAX · CC-MAX
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
Billing and cache terms
The complete formula below determines the tariff; base ratios and cache reference values are not added again.
The source’s “official price” is a provider-declared reference, not this plan’s tariff.
Complete terms and source evidence
{
"activePricing": {
"mode": "BILLING_EXPRESSION",
"ruleContentSha256": "e9fa460c80e2c7014dd5d366077f3e498ce2391af16a2d3310a4f47b8fd19e6e",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "d987a1cd4d8ea73f25933a884a9f8b6a8b24f0f72dc681dc0c123395d0567eb9"
},
"baseRatioComponents": {
"appliesToActiveTariff": false,
"components": [
{
"groupRatioApplied": true,
"selectedSourceField": "model_ratio",
"sourceRatio": "37.5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"usageKind": "TEXT_INPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "completion_ratio",
"sourceRatio": "5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "281250000",
"usageKind": "TEXT_OUTPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"usageKind": "CACHE_READ"
},
{
"groupRatioApplied": true,
"selectedSourceField": "create_cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1.25",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "70312500",
"usageKind": "CACHE_WRITE_5M"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "112500000",
"usageKind": "CACHE_WRITE_1H"
}
],
"role": "INACTIVE_SOURCE_BASE_DISPLAY_NOT_EXPRESSION_PRICE"
},
"billingUnit": "per_token",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"consumerRequirements": [
"HONOR_ACTIVE_PRICING_MODE_AND_KEEP_COMPLETE_EXPRESSION_BRANCHES",
"DO_NOT_ADD_INACTIVE_BASE_RATIO_COMPONENTS_TO_EXPRESSION_PRICES",
"DISPLAY_CACHE_WRITE_5M_AND_1H_AS_DISTINCT_COMPONENTS",
"DISPLAY_SOURCE_DEFAULT_VS_CONFIGURED_CACHE_RATIO_PROVENANCE",
"KEEP_IMAGE_SECOND_AND_TOKEN_UNITS_SEPARATE",
"DISPLAY_DURATION_DEFAULT_AND_MAX_WITHOUT_MULTIPLYING_UNIT_PRICE",
"OFFICIAL_REFERENCE_IS_NOT_THE_PROVIDER_TARIFF_OR_INDEPENDENT_VERIFICATION",
"PRESERVE_ORIGINAL_GROUP_CONDITIONS_AND_OBSERVATION_TIME",
"NO_CASH_ELIGIBILITY_QUALITY_OR_UPSTREAM_STATUS_UPGRADE"
],
"contentSha256": "b07a085048fb5d1e72850f6ebae6ee0c1b5b0dd1cbdaf0189af46fb43f9b54c2",
"declaredGroup": "CC-MAX",
"eligibilityVerified": false,
"evidenceRefs": [
{
"documentId": "38baec2e6d9bfd0eb44f4c2be11ee8bb297b84368aa078f8d217137df489c40b",
"observedAt": "2026-10-03T23:50:07.193Z",
"sha256": "d38d162f1a8ba64f9c34f1afd52270d13cfaa0e4395e423e5924d7a578392c3c",
"url": "https://fanrenapi.com/"
},
{
"sha256": "3ff228737e5aeb7f864bca4ec1a274e44cd024614d348c9fb766b4049d226a40",
"url": "https://fanrenapi.com/static/js/index.c1e5afa94a.js"
},
{
"basePriceCharacterRange": [
52800,
60000
],
"groupPriceCharacterRange": [
60900,
67900
],
"semanticModules": [
24425,
36832
],
"sha256": "cae7d605ad51af46709b09a4d33d85f26cc7e97ede5d8224e27dae98bc22dac2",
"url": "https://fanrenapi.com/static/js/async/9630.b1841463c6.js"
}
],
"groupRatio": "1.5",
"kind": "SOURCE_BOUND_BILLING_UNIT_AND_CACHE_CONTEXT",
"modelName": "claude-opus-4-8",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-03",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.5",
"cache_write": "6.25",
"cache_write_1h": 10,
"context_label": "all",
"input": 5,
"output": 25,
"service_tier": "standard"
}
],
"unit": "per_million_tokens"
}
},
"parserVersion": "grandet.source-fanren-pricing/1.5.3",
"qualityScore": null,
"renewsObservationTime": false,
"schema": "grandet.source-fanren-billing-context/v1",
"selectedCacheRatios": [
{
"selectedRatio": "1",
"selectedSourceField": "cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"cache_ratio_configured": false,
"cache_ratio_effective": 1
},
"usageKind": "CACHE_READ"
},
{
"selectedRatio": "1.25",
"selectedSourceField": "create_cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25"
},
"usageKind": "CACHE_WRITE_5M"
},
{
"fallback5mSelection": {
"selectedRatio": "1.25",
"selectedSourceField": "create_cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25"
},
"usageKind": "CACHE_WRITE_5M"
},
"selectedRatio": "2",
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"cache_write_1h_ratio_effective": 2
},
"usageKind": "CACHE_WRITE_1H"
}
],
"sourceBinding": {
"declaredGroup": "CC-MAX",
"declaredGroupRatio": "1.5",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "c3ff0ee5ec0ac7adcbf795c456f6798f3d0895187c390e4d1715ce4ae41b786c",
"rowIndex": 21,
"rowJsonPointer": "/data/21",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "tier(\"standard_all\", p * 5 + c * 25 + cr * 0.5 + cc * 6.25 + cc1h * 10)",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 5,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "claude-opus-4-8",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-03",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.5",
"cache_write": "6.25",
"cache_write_1h": 10,
"context_label": "all",
"input": 5,
"output": 25,
"service_tier": "standard"
}
],
"unit": "per_million_tokens"
},
"quota_type": 0
},
"upstreamVerified": false,
"usageConstraints": null
}- 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": "25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "6.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_1H",
"usageVariable": "cc1h"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [],
"perRequestPrice": null,
"tierName": "standard_all",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "standard_all"
},
{
"left": {
"left": {
"left": {
"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": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "6.25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc1h",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cc1h",
"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.5",
"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": "e9fa460c80e2c7014dd5d366077f3e498ce2391af16a2d3310a4f47b8fd19e6e",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "d987a1cd4d8ea73f25933a884a9f8b6a8b24f0f72dc681dc0c123395d0567eb9",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared conditions
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai",
"anthropic"
],
"declaredGroupDescription": "上游CC-Max",
"declaredGroupRatio": "1.5",
"eligibility": {
"declaredGroup": "CC-MAX",
"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:46.273000Z",
"firstObservedAt": "2026-10-03T23:49:47.997Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:49:47.997Z",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
}Complete public declaration and source identity
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "5c0635aa7d5cefc7f084ffe4b5ad7e0b9b350984db31873b2190114d3a112a3c",
"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",
"anthropic"
],
"declaredGroupDescription": "上游CC-Max",
"declaredGroupRatio": "1.5",
"eligibility": {
"declaredGroup": "CC-MAX",
"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": "CC-MAX",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:49:46.273000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "claude-opus-4-8",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:49:47.997Z",
"outputPrice": null,
"parseRevisionId": "d9800b86fb13e1730564ff69cb4503f2c3d457c593ef39fa3071bc4985183807",
"parsedPricingDeclarations": [
{
"activePricing": {
"mode": "BILLING_EXPRESSION",
"ruleContentSha256": "e9fa460c80e2c7014dd5d366077f3e498ce2391af16a2d3310a4f47b8fd19e6e",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "d987a1cd4d8ea73f25933a884a9f8b6a8b24f0f72dc681dc0c123395d0567eb9"
},
"baseRatioComponents": {
"appliesToActiveTariff": false,
"components": [
{
"groupRatioApplied": true,
"selectedSourceField": "model_ratio",
"sourceRatio": "37.5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"usageKind": "TEXT_INPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "completion_ratio",
"sourceRatio": "5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "281250000",
"usageKind": "TEXT_OUTPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"usageKind": "CACHE_READ"
},
{
"groupRatioApplied": true,
"selectedSourceField": "create_cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1.25",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "70312500",
"usageKind": "CACHE_WRITE_5M"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "112500000",
"usageKind": "CACHE_WRITE_1H"
}
],
"role": "INACTIVE_SOURCE_BASE_DISPLAY_NOT_EXPRESSION_PRICE"
},
"billingUnit": "per_token",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"consumerRequirements": [
"HONOR_ACTIVE_PRICING_MODE_AND_KEEP_COMPLETE_EXPRESSION_BRANCHES",
"DO_NOT_ADD_INACTIVE_BASE_RATIO_COMPONENTS_TO_EXPRESSION_PRICES",
"DISPLAY_CACHE_WRITE_5M_AND_1H_AS_DISTINCT_COMPONENTS",
"DISPLAY_SOURCE_DEFAULT_VS_CONFIGURED_CACHE_RATIO_PROVENANCE",
"KEEP_IMAGE_SECOND_AND_TOKEN_UNITS_SEPARATE",
"DISPLAY_DURATION_DEFAULT_AND_MAX_WITHOUT_MULTIPLYING_UNIT_PRICE",
"OFFICIAL_REFERENCE_IS_NOT_THE_PROVIDER_TARIFF_OR_INDEPENDENT_VERIFICATION",
"PRESERVE_ORIGINAL_GROUP_CONDITIONS_AND_OBSERVATION_TIME",
"NO_CASH_ELIGIBILITY_QUALITY_OR_UPSTREAM_STATUS_UPGRADE"
],
"contentSha256": "b07a085048fb5d1e72850f6ebae6ee0c1b5b0dd1cbdaf0189af46fb43f9b54c2",
"declaredGroup": "CC-MAX",
"eligibilityVerified": false,
"evidenceRefs": [
{
"documentId": "38baec2e6d9bfd0eb44f4c2be11ee8bb297b84368aa078f8d217137df489c40b",
"observedAt": "2026-10-03T23:50:07.193Z",
"sha256": "d38d162f1a8ba64f9c34f1afd52270d13cfaa0e4395e423e5924d7a578392c3c",
"url": "https://fanrenapi.com/"
},
{
"sha256": "3ff228737e5aeb7f864bca4ec1a274e44cd024614d348c9fb766b4049d226a40",
"url": "https://fanrenapi.com/static/js/index.c1e5afa94a.js"
},
{
"basePriceCharacterRange": [
52800,
60000
],
"groupPriceCharacterRange": [
60900,
67900
],
"semanticModules": [
24425,
36832
],
"sha256": "cae7d605ad51af46709b09a4d33d85f26cc7e97ede5d8224e27dae98bc22dac2",
"url": "https://fanrenapi.com/static/js/async/9630.b1841463c6.js"
}
],
"groupRatio": "1.5",
"kind": "SOURCE_BOUND_BILLING_UNIT_AND_CACHE_CONTEXT",
"modelName": "claude-opus-4-8",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-03",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.5",
"cache_write": "6.25",
"cache_write_1h": 10,
"context_label": "all",
"input": 5,
"output": 25,
"service_tier": "standard"
}
],
"unit": "per_million_tokens"
}
},
"parserVersion": "grandet.source-fanren-pricing/1.5.3",
"qualityScore": null,
"renewsObservationTime": false,
"schema": "grandet.source-fanren-billing-context/v1",
"selectedCacheRatios": [
{
"selectedRatio": "1",
"selectedSourceField": "cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"cache_ratio_configured": false,
"cache_ratio_effective": 1
},
"usageKind": "CACHE_READ"
},
{
"selectedRatio": "1.25",
"selectedSourceField": "create_cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25"
},
"usageKind": "CACHE_WRITE_5M"
},
{
"fallback5mSelection": {
"selectedRatio": "1.25",
"selectedSourceField": "create_cache_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25"
},
"usageKind": "CACHE_WRITE_5M"
},
"selectedRatio": "2",
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceConfigured": false,
"sourceDisplayConfigured": false,
"sourceValues": {
"cache_write_1h_ratio_effective": 2
},
"usageKind": "CACHE_WRITE_1H"
}
],
"sourceBinding": {
"declaredGroup": "CC-MAX",
"declaredGroupRatio": "1.5",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "c3ff0ee5ec0ac7adcbf795c456f6798f3d0895187c390e4d1715ce4ae41b786c",
"rowIndex": 21,
"rowJsonPointer": "/data/21",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "tier(\"standard_all\", p * 5 + c * 25 + cr * 0.5 + cc * 6.25 + cc1h * 10)",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 5,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "claude-opus-4-8",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-03",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.5",
"cache_write": "6.25",
"cache_write_1h": 10,
"context_label": "all",
"input": 5,
"output": 25,
"service_tier": "standard"
}
],
"unit": "per_million_tokens"
},
"quota_type": 0
},
"upstreamVerified": false,
"usageConstraints": null
}
],
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.3",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:CC-MAX",
"pricePairSourceRowId": "82a2ae86b7b7e6a5446b8b1319eb6cb66089f1a52a9dfec8507ecaf8cf20760d",
"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-fanren-pricing/1.5.3",
"cashQualification": "NOT_EVALUATED",
"clientEvidence": [
{
"documentId": "38baec2e6d9bfd0eb44f4c2be11ee8bb297b84368aa078f8d217137df489c40b",
"observedAt": "2026-10-03T23:50:07.193Z",
"sha256": "d38d162f1a8ba64f9c34f1afd52270d13cfaa0e4395e423e5924d7a578392c3c",
"url": "https://fanrenapi.com/"
},
{
"sha256": "3ff228737e5aeb7f864bca4ec1a274e44cd024614d348c9fb766b4049d226a40",
"url": "https://fanrenapi.com/static/js/index.c1e5afa94a.js"
},
{
"basePriceCharacterRange": [
52800,
60000
],
"groupPriceCharacterRange": [
60900,
67900
],
"semanticModules": [
24425,
36832
],
"sha256": "cae7d605ad51af46709b09a4d33d85f26cc7e97ede5d8224e27dae98bc22dac2",
"url": "https://fanrenapi.com/static/js/async/9630.b1841463c6.js"
}
],
"contextContentSha256": "b07a085048fb5d1e72850f6ebae6ee0c1b5b0dd1cbdaf0189af46fb43f9b54c2",
"kind": "SOURCE_BOUND_FANREN_UNIT_CACHE_CONTEXT",
"sourceBinding": {
"declaredGroup": "CC-MAX",
"declaredGroupRatio": "1.5",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "c3ff0ee5ec0ac7adcbf795c456f6798f3d0895187c390e4d1715ce4ae41b786c",
"rowIndex": 21,
"rowJsonPointer": "/data/21",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
}
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "6.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_1H",
"usageVariable": "cc1h"
},
{
"coefficient": "0.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [],
"perRequestPrice": null,
"tierName": "standard_all",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "standard_all"
},
{
"left": {
"left": {
"left": {
"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": "25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "6.25"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc1h",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cc1h",
"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.5",
"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": "e9fa460c80e2c7014dd5d366077f3e498ce2391af16a2d3310a4f47b8fd19e6e",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "d987a1cd4d8ea73f25933a884a9f8b6a8b24f0f72dc681dc0c123395d0567eb9",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "52d9e288e5c0b2d73e177ffb7945d8ace170eb6871fddfd275245a86531c4692",
"quoteOrdinal": 79,
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDomain": "fanrenapi.com",
"sourceId": "fanrenapi.com",
"sourceRowId": "82a2ae86b7b7e6a5446b8b1319eb6cb66089f1a52a9dfec8507ecaf8cf20760d",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}