GROK-Heavy· Public API
Complete conditional rule · expand for every branch and condition
All prices, conditions and source evidence
grok-4.6-latest
mxwell.ai · Public API declaration
Plan / group: declared-group:GROK-Heavy · GROK-Heavy
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
- 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": "6",
"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.5",
"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": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "standard",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "12",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long_context",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long_context"
},
{
"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": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"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": "6"
},
"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": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cr",
"len",
"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": "0.18",
"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"
],
"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": "baddd49d81da49ae881e712d2e13bc251bb9f01d5d3d0851452be16c7ab87526",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "fd7a974a465eb57f8862491101cb2c0a0952480575749fc7e86450a9a7c2c47a",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}Complete declared conditions
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "重度推理版",
"declaredGroupRatio": "0.18",
"eligibility": {
"declaredGroup": "GROK-Heavy",
"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:52:14.724000Z",
"firstObservedAt": "2026-10-03T23:52:16.334Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:52:16.334Z",
"snapshotId": "405f72828d8662e0c41ce0aa4ce939becdc4440060cae96db33bdfa8deef4877",
"sourceId": "mxwell.ai",
"transactionId": "fe82f0eab91015976d37044432910581a01dccb6116ebbe7103a5f533b212094"
}Complete public declaration and source identity
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "5a30278e594a5150a988787eabf202dd6976cc629761056a422df349553031a8",
"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": "0.18",
"eligibility": {
"declaredGroup": "GROK-Heavy",
"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": "GROK-Heavy",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:52:14.724000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "grok-4.6-latest",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:52:16.334Z",
"outputPrice": null,
"parseRevisionId": "c80488b6f4899f5bb2c0a4b4dbc1797590aaa19b57c7e1940acd376ff5e73f17",
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.1",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:GROK-Heavy",
"pricePairSourceRowId": "817e9738b153bd5d28bb490b026f1673741d786d9dd033b4dee86320f1d58ae9",
"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"
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [
{
"coefficient": "6",
"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.5",
"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": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "standard",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "12",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long_context",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "200000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long_context"
},
{
"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": "12"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"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": "6"
},
"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": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cr",
"len",
"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": "0.18",
"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"
],
"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": "baddd49d81da49ae881e712d2e13bc251bb9f01d5d3d0851452be16c7ab87526",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "fd7a974a465eb57f8862491101cb2c0a0952480575749fc7e86450a9a7c2c47a",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "82186f5c70fcac899dc9784e5eaee852c8062e5f517d30b098b50365215a82b9",
"quoteOrdinal": 4,
"snapshotId": "405f72828d8662e0c41ce0aa4ce939becdc4440060cae96db33bdfa8deef4877",
"sourceDomain": "mxwell.ai",
"sourceId": "mxwell.ai",
"sourceRowId": "817e9738b153bd5d28bb490b026f1673741d786d9dd033b4dee86320f1d58ae9",
"transactionId": "fe82f0eab91015976d37044432910581a01dccb6116ebbe7103a5f533b212094",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}