gpt不降智· 公开 API
完整条件规则 · 展开查看全部分支与计价条件
全部价格、条件与来源证据
gpt-5.5-openai-compact
ai.lt4net.org · 公开 API 声明
套餐 / 分组:declared-group:gpt不降智 · gpt不降智
观察有效期内 · 非实时报价
截至观察: · 原缓存截止: · 最终评估截止(不含):
公开声明;现金资格尚未评估,上游身份、购买资格与服务质量未核验。
原计价单位:各项原单位见完整规则 · STRUCTURED_DECLARED_PRICING_RULE
按完整规则计费;不可用单一最低价代表。 · STRUCTURED_RULE
- 输入
- 未提供 / 待解析
- 输出
- 未提供 / 待解析
- 按次
- 未提供 / 待解析
- 缓存读取
- 未提供 / 待解析
- 缓存写入
- 未提供 / 待解析
完整计费规则 · 含所有分支、单位与条件
{
"branches": [
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "22.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "90",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "20",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "45"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "short"
},
{
"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": "30"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "0.5"
}
},
"type": "binary"
},
"dependencies": {
"requestContext": [
{
"argument": "service_tier",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"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.3",
"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": "a0777ba00401c5447bb6f640bfd5b7199834b88ffa244b2caa098b822ddace53",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "6604337643ba03a0fb2dee2d7ca1c58aaaac869d0b4e709e25efa118fdd17cb2",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}完整声明条件
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "不降智商版本",
"declaredGroupRatio": "0.3",
"eligibility": {
"declaredGroup": "gpt不降智",
"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"
}
}绑定的来源时效依据
{
"cacheFreshUntil": "2026-10-10T23:38:24.989000Z",
"firstObservedAt": "2026-10-03T23:38:26.269Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-03T23:38:26.269Z",
"snapshotId": "b50c68db5d497ae68cb273da18b6cc7a1d760bb9d5a7ed6488e1b0a40235b59c",
"sourceId": "ai.lt4net.org",
"transactionId": "3507dcbe16ce060c070fd9ff0a5fc856013ec2fd482d7fc8a5db73b48900cba0"
}完整公开声明与来源定位
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "155db8432a9651f295acb4102852ada4a34a8b7273571d49f88b3014a49453d8",
"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.3",
"eligibility": {
"declaredGroup": "gpt不降智",
"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": "gpt不降智",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:38:24.989000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-5.5-openai-compact",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:38:26.269Z",
"outputPrice": null,
"parseRevisionId": "25771b90d7b92b67aa9d0b33a961cd948e47ddef606a2ca0d5aea9ab0a877adc",
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.5.1",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:gpt不降智",
"pricePairSourceRowId": "78fa371e1fbe338553a264307eb2eddcc850334fc63b70ec1586d63bd517292c",
"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": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "22.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "90",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "20",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"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": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "45",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"matches": false
}
],
"perRequestPrice": null,
"tierName": "long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long"
},
{
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "45"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "1"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "short"
},
{
"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": "30"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "priority"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "flex"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "0.5"
}
},
"type": "binary"
},
"dependencies": {
"requestContext": [
{
"argument": "service_tier",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"c",
"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.3",
"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": "a0777ba00401c5447bb6f640bfd5b7199834b88ffa244b2caa098b822ddace53",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "6604337643ba03a0fb2dee2d7ca1c58aaaac869d0b4e709e25efa118fdd17cb2",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "70f103fd6819a2406368283621f3f39bcd072622b7c8f8a2a21a75b1610fff2b",
"quoteOrdinal": 332,
"snapshotId": "b50c68db5d497ae68cb273da18b6cc7a1d760bb9d5a7ed6488e1b0a40235b59c",
"sourceDomain": "ai.lt4net.org",
"sourceId": "ai.lt4net.org",
"sourceRowId": "78fa371e1fbe338553a264307eb2eddcc850334fc63b70ec1586d63bd517292c",
"transactionId": "3507dcbe16ce060c070fd9ff0a5fc856013ec2fd482d7fc8a5db73b48900cba0",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}