CC-MAX· Public API
Complete conditional rule · expand for every branch and condition
All prices, conditions and source evidence
claude-sonnet-5-5
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": "c4caff22909bdd41e046c07d4ebe5ad4b042f91b148cf3751a861e1b85d6b763",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "f2cd5dfa52b4adeacc4a6a76d6c8aee4d751bd41c33c95b8b98bc3ad8f79f0dc"
},
"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": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"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": "bb1e745191bbc0086eaf9a29f5dbbd4aec22ec66eadbcfe917262e2dee037168",
"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-sonnet-5-5",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-10-02T09:14:57Z",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.2",
"cache_write": "2.5",
"context_label": "full",
"input": 2,
"max_context_tokens": 1000000,
"output": 10,
"service_tier": "standard"
},
{
"context_label": "full",
"input": 1,
"max_context_tokens": 1000000,
"output": 5,
"service_tier": "batch"
}
],
"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": "0aeb60d0e9dfe9e1a6ffabcb8d145a3208eddac311b26db7e25f45bd3be6257f",
"rowIndex": 28,
"rowJsonPointer": "/data/28",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "param(\"service_tier\") == \"batch\" ? (tier(\"batch_full\", p * 1 + c * 5)) : (tier(\"standard_full\", p * 2 + c * 10 + cr * 0.2 + cc * 2.5))",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 1,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "claude-sonnet-5-5",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-10-02T09:14:57Z",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.2",
"cache_write": "2.5",
"context_label": "full",
"input": 2,
"max_context_tokens": 1000000,
"output": 10,
"service_tier": "standard"
},
{
"context_label": "full",
"input": 1,
"max_context_tokens": 1000000,
"output": 5,
"service_tier": "batch"
}
],
"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": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "batch_full",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "standard_full",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "standard_full"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "batch_full"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [
{
"argument": "service_tier",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"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": "CONDITIONAL_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",
"CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
],
"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": "c4caff22909bdd41e046c07d4ebe5ad4b042f91b148cf3751a861e1b85d6b763",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "f2cd5dfa52b4adeacc4a6a76d6c8aee4d751bd41c33c95b8b98bc3ad8f79f0dc",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared conditions
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"anthropic",
"openai"
],
"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": [
"anthropic",
"openai"
],
"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-sonnet-5-5",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:49:47.997Z",
"outputPrice": null,
"parseRevisionId": "d9800b86fb13e1730564ff69cb4503f2c3d457c593ef39fa3071bc4985183807",
"parsedPricingDeclarations": [
{
"activePricing": {
"mode": "BILLING_EXPRESSION",
"ruleContentSha256": "c4caff22909bdd41e046c07d4ebe5ad4b042f91b148cf3751a861e1b85d6b763",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "f2cd5dfa52b4adeacc4a6a76d6c8aee4d751bd41c33c95b8b98bc3ad8f79f0dc"
},
"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": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "56250000",
"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": "bb1e745191bbc0086eaf9a29f5dbbd4aec22ec66eadbcfe917262e2dee037168",
"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-sonnet-5-5",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-10-02T09:14:57Z",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.2",
"cache_write": "2.5",
"context_label": "full",
"input": 2,
"max_context_tokens": 1000000,
"output": 10,
"service_tier": "standard"
},
{
"context_label": "full",
"input": 1,
"max_context_tokens": 1000000,
"output": 5,
"service_tier": "batch"
}
],
"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": "0aeb60d0e9dfe9e1a6ffabcb8d145a3208eddac311b26db7e25f45bd3be6257f",
"rowIndex": 28,
"rowJsonPointer": "/data/28",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "param(\"service_tier\") == \"batch\" ? (tier(\"batch_full\", p * 1 + c * 5)) : (tier(\"standard_full\", p * 2 + c * 10 + cr * 0.2 + cc * 2.5))",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 1,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "claude-sonnet-5-5",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-10-02T09:14:57Z",
"source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.2",
"cache_write": "2.5",
"context_label": "full",
"input": 2,
"max_context_tokens": 1000000,
"output": 10,
"service_tier": "standard"
},
{
"context_label": "full",
"input": 1,
"max_context_tokens": 1000000,
"output": 5,
"service_tier": "batch"
}
],
"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": "4e202fb924c7c672f8faed3696aa52738c1b70c806d50ba518c50b2691689b77",
"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": "bb1e745191bbc0086eaf9a29f5dbbd4aec22ec66eadbcfe917262e2dee037168",
"kind": "SOURCE_BOUND_FANREN_UNIT_CACHE_CONTEXT",
"sourceBinding": {
"declaredGroup": "CC-MAX",
"declaredGroupRatio": "1.5",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "0aeb60d0e9dfe9e1a6ffabcb8d145a3208eddac311b26db7e25f45bd3be6257f",
"rowIndex": 28,
"rowJsonPointer": "/data/28",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
}
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "batch_full",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "standard_full",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "standard_full"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "batch_full"
},
{
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [
{
"argument": "service_tier",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"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": "CONDITIONAL_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",
"CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
],
"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": "c4caff22909bdd41e046c07d4ebe5ad4b042f91b148cf3751a861e1b85d6b763",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "f2cd5dfa52b4adeacc4a6a76d6c8aee4d751bd41c33c95b8b98bc3ad8f79f0dc",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "5ee35a11eddf414b1b3c9f448b4cf20b2d1688d96b42376d36337fe222b1a268",
"quoteOrdinal": 100,
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDomain": "fanrenapi.com",
"sourceId": "fanrenapi.com",
"sourceRowId": "4e202fb924c7c672f8faed3696aa52738c1b70c806d50ba518c50b2691689b77",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}