Codex-Pro· 公开 API
完整条件规则 · 展开查看全部分支与计价条件
全部价格、条件与来源证据
gpt-6.1-sol
fanrenapi.com · 公开 API 声明
套餐 / 分组:declared-group:Codex-Pro · Codex-Pro
观察有效期内 · 非实时报价
截至观察: · 原缓存截止: · 最终评估截止(不含):
公开声明;现金资格尚未评估,上游身份、购买资格与服务质量未核验。
原计价单位:各项原单位见完整规则 · STRUCTURED_DECLARED_PRICING_RULE
按完整规则计费;不可用单一最低价代表。 · STRUCTURED_RULE
计费方式与缓存条件
按下方完整公式计费;基础倍率和缓存对照值不额外叠加。
来源所列“官方价格”仅作该站声明的参考,不替代本套餐价格。
完整条件与来源依据
{
"activePricing": {
"mode": "BILLING_EXPRESSION",
"ruleContentSha256": "6cbe08453e1d40c321cb497ef02f324965d3b400b659ad3a84e9517c3dbdc7c0",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "22f99d8a215dee871ac59e7af9383bdf499e54db7f6cb0a88bb1241a74280f53"
},
"baseRatioComponents": {
"appliesToActiveTariff": false,
"components": [
{
"groupRatioApplied": true,
"selectedSourceField": "model_ratio",
"sourceRatio": "37.5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "12000000",
"usageKind": "TEXT_INPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "completion_ratio",
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "24000000",
"usageKind": "TEXT_OUTPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "12000000",
"usageKind": "CACHE_READ"
},
{
"groupRatioApplied": true,
"selectedSourceField": "create_cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1.25",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "15000000",
"usageKind": "CACHE_WRITE_5M"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "24000000",
"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": "9fce0205912df1d608076235f6bb2398a4a5ee0e53d2c7851a8723b3f3c0509f",
"declaredGroup": "Codex-Pro",
"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": "0.32",
"kind": "SOURCE_BOUND_BILLING_UNIT_AND_CACHE_CONTEXT",
"modelName": "gpt-6.1-sol",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-30T01:29:20Z",
"source_url": "https://developers.openai.com/api/docs/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "short",
"input": 2,
"max_context_tokens": 272000,
"output": 10,
"service_tier": "standard"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "long",
"input": 4,
"min_context_tokens": 272001,
"output": 15,
"service_tier": "standard"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "batch"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "batch"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "flex"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "flex"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "short",
"input": 4,
"max_context_tokens": 272000,
"output": 20,
"service_tier": "fast"
},
{
"cache_read": "0.4",
"cache_write": 10,
"context_label": "long",
"input": 8,
"min_context_tokens": 272001,
"output": 30,
"service_tier": "fast"
}
],
"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": "Codex-Pro",
"declaredGroupRatio": "0.32",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "ad72317f01ad2d384b8ada6c72bf6f85097ad5dbaaa3cff33cdb35449fbfdc59",
"rowIndex": 16,
"rowJsonPointer": "/data/16",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "(len <= 272000 ? tier(\"standard_short\", p * 2 + c * 10 + cr * 0.1 + cc * 2.5) : tier(\"standard_long\", p * 4 + c * 15 + cr * 0.2 + cc * 5)) * (param(\"service_tier\") == \"batch\" ? 0.5 : 1) * (param(\"service_tier\") == \"fast\" ? 2 : 1) * (param(\"service_tier\") == \"priority\" ? 2 : 1) * (param(\"service_tier\") == \"flex\" ? 0.5 : 1)",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 2,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "gpt-6.1-sol",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-30T01:29:20Z",
"source_url": "https://developers.openai.com/api/docs/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "short",
"input": 2,
"max_context_tokens": 272000,
"output": 10,
"service_tier": "standard"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "long",
"input": 4,
"min_context_tokens": 272001,
"output": 15,
"service_tier": "standard"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "batch"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "batch"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "flex"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "flex"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "short",
"input": 4,
"max_context_tokens": 272000,
"output": 20,
"service_tier": "fast"
},
{
"cache_read": "0.4",
"cache_write": 10,
"context_label": "long",
"input": 8,
"min_context_tokens": 272001,
"output": 30,
"service_tier": "fast"
}
],
"unit": "per_million_tokens"
},
"quota_type": 0
},
"upstreamVerified": false,
"usageConstraints": null
}- 输入
- 未提供 / 待解析
- 输出
- 未提供 / 待解析
- 按次
- 未提供 / 待解析
- 缓存读取
- 未提供 / 待解析
- 缓存写入
- 未提供 / 待解析
完整计费规则 · 含所有分支、单位与条件
{
"branches": [
{
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.625",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.025",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.75",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "40",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "20",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.8",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "16",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "standard_long"
},
{
"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": "15"
},
"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": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard_short"
},
{
"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.1"
},
"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"
}
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "0.5"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "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",
"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.32",
"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": "6cbe08453e1d40c321cb497ef02f324965d3b400b659ad3a84e9517c3dbdc7c0",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "22f99d8a215dee871ac59e7af9383bdf499e54db7f6cb0a88bb1241a74280f53",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}完整声明条件
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "Codex 上品灵脉,更稳、限额更高;禁止破限,违者封号;享境界折扣",
"declaredGroupRatio": "0.32",
"eligibility": {
"declaredGroup": "Codex-Pro",
"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: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"
}完整公开声明与来源定位
{
"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"
],
"declaredGroupDescription": "Codex 上品灵脉,更稳、限额更高;禁止破限,违者封号;享境界折扣",
"declaredGroupRatio": "0.32",
"eligibility": {
"declaredGroup": "Codex-Pro",
"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": "Codex-Pro",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-10T23:49:46.273000Z",
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-6.1-sol",
"multimodalPricing": null,
"observedAt": "2026-10-03T23:49:47.997Z",
"outputPrice": null,
"parseRevisionId": "d9800b86fb13e1730564ff69cb4503f2c3d457c593ef39fa3071bc4985183807",
"parsedPricingDeclarations": [
{
"activePricing": {
"mode": "BILLING_EXPRESSION",
"ruleContentSha256": "6cbe08453e1d40c321cb497ef02f324965d3b400b659ad3a84e9517c3dbdc7c0",
"ruleSchema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "22f99d8a215dee871ac59e7af9383bdf499e54db7f6cb0a88bb1241a74280f53"
},
"baseRatioComponents": {
"appliesToActiveTariff": false,
"components": [
{
"groupRatioApplied": true,
"selectedSourceField": "model_ratio",
"sourceRatio": "37.5",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "12000000",
"usageKind": "TEXT_INPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "completion_ratio",
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "24000000",
"usageKind": "TEXT_OUTPUT"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "12000000",
"usageKind": "CACHE_READ"
},
{
"groupRatioApplied": true,
"selectedSourceField": "create_cache_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "1.25",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "15000000",
"usageKind": "CACHE_WRITE_5M"
},
{
"groupRatioApplied": true,
"selectedSourceField": "cache_write_1h_ratio_effective",
"sourceDisplayConfigured": false,
"sourceRatio": "2",
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"unitPrice": "24000000",
"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": "9fce0205912df1d608076235f6bb2398a4a5ee0e53d2c7851a8723b3f3c0509f",
"declaredGroup": "Codex-Pro",
"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": "0.32",
"kind": "SOURCE_BOUND_BILLING_UNIT_AND_CACHE_CONTEXT",
"modelName": "gpt-6.1-sol",
"officialReference": {
"grantsCashQualification": false,
"independentlyVerified": false,
"role": "SOURCE_DECLARED_REFERENCE_NOT_PROVIDER_EFFECTIVE_PRICE",
"usedForProviderPrice": false,
"value": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-30T01:29:20Z",
"source_url": "https://developers.openai.com/api/docs/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "short",
"input": 2,
"max_context_tokens": 272000,
"output": 10,
"service_tier": "standard"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "long",
"input": 4,
"min_context_tokens": 272001,
"output": 15,
"service_tier": "standard"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "batch"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "batch"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "flex"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "flex"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "short",
"input": 4,
"max_context_tokens": 272000,
"output": 20,
"service_tier": "fast"
},
{
"cache_read": "0.4",
"cache_write": 10,
"context_label": "long",
"input": 8,
"min_context_tokens": 272001,
"output": 30,
"service_tier": "fast"
}
],
"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": "Codex-Pro",
"declaredGroupRatio": "0.32",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "ad72317f01ad2d384b8ada6c72bf6f85097ad5dbaaa3cff33cdb35449fbfdc59",
"rowIndex": 16,
"rowJsonPointer": "/data/16",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
},
"sourceId": "fanrenapi.com",
"sourcePricingFields": {
"billing_expr": "(len <= 272000 ? tier(\"standard_short\", p * 2 + c * 10 + cr * 0.1 + cc * 2.5) : tier(\"standard_long\", p * 4 + c * 15 + cr * 0.2 + cc * 5)) * (param(\"service_tier\") == \"batch\" ? 0.5 : 1) * (param(\"service_tier\") == \"fast\" ? 2 : 1) * (param(\"service_tier\") == \"priority\" ? 2 : 1) * (param(\"service_tier\") == \"flex\" ? 0.5 : 1)",
"billing_mode": "tiered_expr",
"billing_unit": "per_token",
"cache_ratio_configured": false,
"cache_ratio_effective": 1,
"cache_write_1h_ratio_effective": 2,
"completion_ratio": 2,
"create_cache_ratio_configured": false,
"create_cache_ratio_effective": "1.25",
"model_name": "gpt-6.1-sol",
"model_price": 0,
"model_ratio": "37.5",
"official_pricing": {
"currency": "USD",
"mode": "matrix",
"retrieved_at": "2026-09-30T01:29:20Z",
"source_url": "https://developers.openai.com/api/docs/pricing",
"status": "confirmed",
"tiers": [
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "short",
"input": 2,
"max_context_tokens": 272000,
"output": 10,
"service_tier": "standard"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "long",
"input": 4,
"min_context_tokens": 272001,
"output": 15,
"service_tier": "standard"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "batch"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "batch"
},
{
"cache_read": "0.05",
"cache_write": "1.25",
"context_label": "short",
"input": 1,
"max_context_tokens": 272000,
"output": 5,
"service_tier": "flex"
},
{
"cache_read": "0.1",
"cache_write": "2.5",
"context_label": "long",
"input": 2,
"min_context_tokens": 272001,
"output": "7.5",
"service_tier": "flex"
},
{
"cache_read": "0.2",
"cache_write": 5,
"context_label": "short",
"input": 4,
"max_context_tokens": 272000,
"output": 20,
"service_tier": "fast"
},
{
"cache_read": "0.4",
"cache_write": 10,
"context_label": "long",
"input": 8,
"min_context_tokens": 272001,
"output": 30,
"service_tier": "fast"
}
],
"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:Codex-Pro",
"pricePairSourceRowId": "d622232e5e7d526120f58d02fc02da3f60c7913845e72aeaf4c7aa5732c40e26",
"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": "9fce0205912df1d608076235f6bb2398a4a5ee0e53d2c7851a8723b3f3c0509f",
"kind": "SOURCE_BOUND_FANREN_UNIT_CACHE_CONTEXT",
"sourceBinding": {
"declaredGroup": "Codex-Pro",
"declaredGroupRatio": "0.32",
"observedAt": "2026-10-03T23:49:47.997Z",
"originalBodySha256": "4025d3ddc1a30f23d0e618d7b2ca616c4c530ca70b2572cb8daf77253bbc5235",
"rawDeclaredFieldsSha256": "ad72317f01ad2d384b8ada6c72bf6f85097ad5dbaaa3cff33cdb35449fbfdc59",
"rowIndex": 16,
"rowJsonPointer": "/data/16",
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDocumentProjectionSha256": "35638b65d91d15a2234e3ac49cff4f3115a03224f345bbc0f0439e758268fac0",
"sourceGlobalProjectionSha256": "3dae277bb5a9f89db7b02fc1ddcf12297967afda21a4f4c04c7a1dc9c7bc7e76",
"sourceId": "fanrenapi.com",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08"
}
}
],
"pricingResolution": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "2.5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "0.625",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.025",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "0.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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "3.75",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "40",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "60",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "20",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.8",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "16",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "20",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "30",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "10",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.4",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "8",
"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": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "5",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "OUTPUT_BASE",
"usageVariable": "c"
},
{
"coefficient": "1.25",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_WRITE_5M_OR_GENERIC",
"usageVariable": "cc"
},
{
"coefficient": "0.05",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "1",
"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": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "7.5",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"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.1",
"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": "272000"
},
"type": "binary"
},
"matches": true
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_short",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
},
{
"components": [
{
"coefficient": "15",
"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": "0.2",
"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": "272000"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"matches": false
},
{
"conditionAST": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "standard_long",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"left": {
"left": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "standard_long"
},
{
"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": "15"
},
"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": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard_short"
},
{
"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.1"
},
"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"
}
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "batch"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "0.5"
}
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"arguments": [
{
"type": "string",
"value": "service_tier"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "fast"
},
"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": "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",
"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.32",
"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": "6cbe08453e1d40c321cb497ef02f324965d3b400b659ad3a84e9517c3dbdc7c0",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "22f99d8a215dee871ac59e7af9383bdf499e54db7f6cb0a88bb1241a74280f53",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "7de9b8e2bdb0c8eba827056015e642e0f3372f8aa93469bc96729332d8135750",
"quoteOrdinal": 50,
"snapshotId": "1ff28207812a42bd21b56702fc371199b2da9cb50dd4fbf07622986d8bf6fef8",
"sourceDomain": "fanrenapi.com",
"sourceId": "fanrenapi.com",
"sourceRowId": "d622232e5e7d526120f58d02fc02da3f60c7913845e72aeaf4c7aa5732c40e26",
"transactionId": "fa284e1759a2a10cf5796d647ec87d9d51dc2f3d9c7c729018be5bc2a17a7c08",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}