gpt-pro-stable· Public API
Price not read yet · total cost not confirmed
No price can be shown directly. Expand below to see the raw data.
All prices, conditions and raw data
gpt-6-sol
api.tian-shu.net · Price published through the provider’s API
Plan / group: declared-group:gpt-pro-stable · gpt-pro-stable
Recently collected price · not real-time
Collected: · API data cached until: · Treated as current until (not including):
This is the price the provider publishes. Whether you can buy at this price, whose model is really behind it and how good the service is are not verified.
Pricing unit: Units for each item are in the full pricing rule
The full price has not been read yet. The parts we read are below; the total cost is not confirmed.
- Input
- Not stated or not read
- Output
- Not stated or not read
- Per request
- Not stated or not read
- Cache read
- Not stated or not read
- Cache write
- Not stated or not read
Partial prices we found
These ratios or prices were read from the provider’s page. They are only part of the price; the plan’s total cost is not verified.
- model_ratio
- 1 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 5 · SOURCE_COMPLETION_RATIO
- cache_ratio
- 0.1 · SOURCE_CACHE_READ_RATIO
- create_cache_ratio
- 1.25 · SOURCE_CACHE_WRITE_RATIO
Full raw data for this part
{
"baseFormulaArithmetic": {
"formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
"meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
"overridesApplied": false,
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"values": {
"cacheRead": "30000.00",
"cacheWrite": "375000.000",
"input": "300000.0",
"output": "1500000.0"
}
},
"cashQualification": "NOT_EVALUATED",
"components": [
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_BASE_MODEL_RATIO",
"usageKind": "TEXT_INPUT",
"value": "1"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "5"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.1"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "create_cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_WRITE_RATIO",
"usageKind": "CACHE_WRITE",
"value": "1.25"
}
],
"contentSha256": "9491ac1abbc60191f462578a80115389c4b2cb63aa8bc5056a1dda97937639d7",
"currencyInferred": false,
"declaredGroupRatio": "0.3",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "cdd5c8b723b3be09c3be3eb9cbce92f8c40dcfd378afc5b76b77334f63a16d2f",
"rawDeclaredFieldsSha256": "43d42c4059915fbd456e5e1dadad28be3846b35f3ac45ae648e46f1316ffe6a0",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "e59bf8c9344751aa118d06241b4d89ae23a35cc83a376fd95f3aebfb427ab064",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_PRICING_FIELDS"
]
}Why the price has not been read
[ "NONSTANDARD_PRICING_FIELDS" ]
Full pricing rule (every case, unit and condition)
{
"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.2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "standard",
"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.4",
"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
}
],
"perRequestPrice": null,
"tierName": "long_context",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long_context"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cr",
"len",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "0.3",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "CONDITIONAL_EXPRESSION",
"limitations": [
"DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
"PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
"TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
"GROUP_RATIO_NOT_APPLIED",
"TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
"OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
],
"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": "cbb8efad181538acd8c4c1746f652ab2482c6d102a87a89ab9fc96df058cc2a3",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "e8026362353848c804a1f652ffee502f005f050c4d8dd8288f78bb850c2ec770",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
}All conditions the provider states
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "{\"zh-CN\": \"GPT 全系列 · 更稳定的线路 · 含 GPT-5.6 Luna 与 codex-auto-review · 按 token 计费\", \"zh-TW\": \"GPT 全系列 · 更穩定的線路 · 含 GPT-5.6 Luna 與 codex-auto-review · 按 token 計費\", \"en\": \"All GPT models · More stable line · Includes GPT-5.6 Luna and codex-auto-review · Billed per token\", \"fr\": \"Tous les modèles GPT · Ligne plus stable · Inclut GPT-5.6 Luna et codex-auto-review · Facturé au token\", \"ja\": \"GPT 全シリーズ · より安定したライン · GPT-5.6 Luna と codex-auto-review を含む · トークン課金\", \"ru\": \"Все модели GPT · Более стабильная линия · Включая GPT-5.6 Luna и codex-auto-review · Оплата за токены\", \"vi\": \"Toàn bộ mô hình GPT · Tuyến ổn định hơn · Gồm GPT-5.6 Luna và codex-auto-review · Tính phí theo token\", \"es\": \"Todos los modelos GPT · Línea más estable · Incluye GPT-5.6 Luna y codex-auto-review · Cobro por token\", \"pt-BR\": \"Todos os modelos GPT · Linha mais estável · Inclui GPT-5.6 Luna e codex-auto-review · Cobrança por token\", \"id\": \"Semua model GPT · Jalur yang lebih stabil · Termasuk GPT-5.6 Luna dan codex-auto-review · Ditagih per token\", \"tr\": \"Tüm GPT modelleri · Daha kararlı hat · GPT-5.6 Luna ve codex-auto-review dahil · Token başına ücretlendirilir\", \"ar\": \"جميع نماذج GPT · خط أكثر استقرارًا · يشمل GPT-5.6 Luna وcodex-auto-review · الفوترة حسب الرموز (tokens)\"}",
"declaredGroupRatio": "0.3",
"eligibility": {
"declaredGroup": "gpt-pro-stable",
"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"
}
}Data used to check whether it is out of date
{
"cacheFreshUntil": "2026-12-02T01:36:47Z",
"firstObservedAt": "2026-11-22T01:36:49.541Z",
"maximumQuoteAgeDays": 10,
"observedAt": "2026-11-22T01:36:49.541Z",
"snapshotId": "2e63a14e5da1b70bf6b2de4c4921738e53ded858a93afe78e8acaa0fe982e4b6",
"sourceId": "api.tian-shu.net",
"transactionId": "c43c46d0229e506dc868c254eeeb244739d272cbfa83aa017a08760f4cdafff7"
}Full raw record for this price
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "fb7899ad16d13017982fe79be3d6b12540b4da551404922bf76f546d878d2b72",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.8.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "SPECIAL_OR_UNKNOWN_PRICING",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"openai"
],
"declaredGroupDescription": "{\"zh-CN\": \"GPT 全系列 · 更稳定的线路 · 含 GPT-5.6 Luna 与 codex-auto-review · 按 token 计费\", \"zh-TW\": \"GPT 全系列 · 更穩定的線路 · 含 GPT-5.6 Luna 與 codex-auto-review · 按 token 計費\", \"en\": \"All GPT models · More stable line · Includes GPT-5.6 Luna and codex-auto-review · Billed per token\", \"fr\": \"Tous les modèles GPT · Ligne plus stable · Inclut GPT-5.6 Luna et codex-auto-review · Facturé au token\", \"ja\": \"GPT 全シリーズ · より安定したライン · GPT-5.6 Luna と codex-auto-review を含む · トークン課金\", \"ru\": \"Все модели GPT · Более стабильная линия · Включая GPT-5.6 Luna и codex-auto-review · Оплата за токены\", \"vi\": \"Toàn bộ mô hình GPT · Tuyến ổn định hơn · Gồm GPT-5.6 Luna và codex-auto-review · Tính phí theo token\", \"es\": \"Todos los modelos GPT · Línea más estable · Incluye GPT-5.6 Luna y codex-auto-review · Cobro por token\", \"pt-BR\": \"Todos os modelos GPT · Linha mais estável · Inclui GPT-5.6 Luna e codex-auto-review · Cobrança por token\", \"id\": \"Semua model GPT · Jalur yang lebih stabil · Termasuk GPT-5.6 Luna dan codex-auto-review · Ditagih per token\", \"tr\": \"Tüm GPT modelleri · Daha kararlı hat · GPT-5.6 Luna ve codex-auto-review dahil · Token başına ücretlendirilir\", \"ar\": \"جميع نماذج GPT · خط أكثر استقرارًا · يشمل GPT-5.6 Luna وcodex-auto-review · الفوترة حسب الرموز (tokens)\"}",
"declaredGroupRatio": "0.3",
"eligibility": {
"declaredGroup": "gpt-pro-stable",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
},
"declaredGroup": "gpt-pro-stable",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [
"NONSTANDARD_PRICING_FIELDS"
],
"freshUntil": "2026-12-02T01:36:47Z",
"groupOfferingFlags": [],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-6-sol",
"multimodalPricing": null,
"observedAt": "2026-11-22T01:36:49.541Z",
"offerKey": "219e81afd8590f45ffd7d429367215a2060fd5567568640ed0f294461cbe53ed",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.8.0",
"partialPriceComponents": {
"baseFormulaArithmetic": {
"formula": "model_ratio * declared_group_ratio * 1000000; output/cache additionally multiply their declared ratios",
"meaning": "UNMODIFIED_BASE_ARITHMETIC_ONLY_NOT_THE_FINAL_TARIFF",
"overridesApplied": false,
"unit": "PLATFORM_QUOTA_POINTS_PER_MILLION_TOKENS",
"values": {
"cacheRead": "30000.00",
"cacheWrite": "375000.000",
"input": "300000.0",
"output": "1500000.0"
}
},
"cashQualification": "NOT_EVALUATED",
"components": [
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_BASE_MODEL_RATIO",
"usageKind": "TEXT_INPUT",
"value": "1"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "5"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_READ_RATIO",
"usageKind": "CACHE_READ",
"value": "0.1"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "create_cache_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_CACHE_WRITE_RATIO",
"usageKind": "CACHE_WRITE",
"value": "1.25"
}
],
"contentSha256": "9491ac1abbc60191f462578a80115389c4b2cb63aa8bc5056a1dda97937639d7",
"currencyInferred": false,
"declaredGroupRatio": "0.3",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "cdd5c8b723b3be09c3be3eb9cbce92f8c40dcfd378afc5b76b77334f63a16d2f",
"rawDeclaredFieldsSha256": "43d42c4059915fbd456e5e1dadad28be3846b35f3ac45ae648e46f1316ffe6a0",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "e59bf8c9344751aa118d06241b4d89ae23a35cc83a376fd95f3aebfb427ab064",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_PRICING_FIELDS"
]
},
"perRequestPrice": null,
"planId": "declared-group:gpt-pro-stable",
"pricePairSourceRowId": "e59bf8c9344751aa118d06241b4d89ae23a35cc83a376fd95f3aebfb427ab064",
"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.typed-catalog-metadata/1.5.1",
"basis": "CLOSED_PRESENTATION_SCHEMA_FROM_SEALED_PUBLIC_DECLARATIONS",
"basisManifestSha256": "f9119331f65e18eed8b6f360c174717e28f7022b3ede2250b77cfebf9bc72da3",
"cashQualification": "NOT_EVALUATED",
"kind": "TYPED_RETAINED_PUBLIC_CATALOG_METADATA",
"scopeOrBillingAuthority": false
},
{
"cashQualification": "NOT_EVALUATED",
"changesDeclaredPricing": false,
"classification": "SOURCE_REPORTED_AVAILABILITY",
"eligibilityVerified": false,
"field": "available",
"kind": "RETAINED_SOURCE_OPERATIONAL_DECLARATION",
"qualityScore": null,
"renewsObservationTime": false,
"scopeOrBillingAuthority": false,
"sourceValue": true,
"sourceValueRetainedIn": "rawDeclaredFields.available",
"statusCodeMeaning": null,
"unit": null,
"verification": "NOT_INDEPENDENTLY_VERIFIED"
},
{
"cashQualification": "NOT_EVALUATED",
"changesDeclaredPricing": false,
"classification": "SOURCE_REPORTED_RESPONSE_TIME",
"eligibilityVerified": false,
"field": "response_time",
"kind": "RETAINED_SOURCE_OPERATIONAL_DECLARATION",
"qualityScore": null,
"renewsObservationTime": false,
"scopeOrBillingAuthority": false,
"sourceValue": 2653,
"sourceValueRetainedIn": "rawDeclaredFields.response_time",
"statusCodeMeaning": null,
"unit": "UNDECLARED",
"verification": "NOT_INDEPENDENTLY_VERIFIED"
}
],
"pricingResolution": "UNRESOLVED",
"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.2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "CACHE_READ",
"usageVariable": "cr"
},
{
"coefficient": "2",
"unit": "DECLARED_USD_PER_MILLION_TOKENS",
"usageKind": "INPUT_BASE",
"usageVariable": "p"
}
],
"pathConditions": [
{
"conditionAST": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"matches": true
}
],
"perRequestPrice": null,
"tierName": "standard",
"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.4",
"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
}
],
"perRequestPrice": null,
"tierName": "long_context",
"unit": "DECLARED_USD_PER_MILLION_TOKENS"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"condition": {
"left": {
"name": "len",
"type": "variable"
},
"operator": "<=",
"right": {
"type": "number",
"value": "272000"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"arguments": [
{
"type": "string",
"value": "long_context"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "4"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "15"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.4"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
},
"whenTrue": {
"arguments": [
{
"type": "string",
"value": "standard"
},
{
"left": {
"left": {
"left": {
"left": {
"name": "p",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "c",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "10"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cr",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "0.2"
},
"type": "binary"
},
"type": "binary"
},
"operator": "+",
"right": {
"left": {
"name": "cc",
"type": "variable"
},
"operator": "*",
"right": {
"type": "number",
"value": "2.5"
},
"type": "binary"
},
"type": "binary"
}
],
"function": "tier",
"type": "call"
}
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": [
"c",
"cc",
"cr",
"len",
"p"
]
},
"evidenceRefs": [
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
"https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
],
"expressionVersion": "v1",
"groupRatio": "0.3",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "CONDITIONAL_EXPRESSION",
"limitations": [
"DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
"PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
"TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
"GROUP_RATIO_NOT_APPLIED",
"TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
"OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW"
],
"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": "cbb8efad181538acd8c4c1746f652ab2482c6d102a87a89ab9fc96df058cc2a3",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "e8026362353848c804a1f652ffee502f005f050c4d8dd8288f78bb850c2ec770",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_MILLION_TOKENS"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "cdd5c8b723b3be09c3be3eb9cbce92f8c40dcfd378afc5b76b77334f63a16d2f",
"quoteOrdinal": 72,
"semanticFlags": [],
"snapshotId": "2e63a14e5da1b70bf6b2de4c4921738e53ded858a93afe78e8acaa0fe982e4b6",
"sourceDomain": "api.tian-shu.net",
"sourceId": "api.tian-shu.net",
"sourceRowId": "e59bf8c9344751aa118d06241b4d89ae23a35cc83a376fd95f3aebfb427ab064",
"transactionId": "c43c46d0229e506dc868c254eeeb244739d272cbfa83aa017a08760f4cdafff7",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}