{"apiQuotes":[{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"9dedb96c07b1557a4c0e3e514d6c0626dbd8a8e077c98870159401c75cfa5008","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":"自建","declaredGroupRatio":1,"eligibility":{"declaredGroup":"自建","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":"自建","formulaAssurance":"DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED","formulaProjectionBlockers":["NONSTANDARD_GLOBAL_FIELDS"],"freshUntil":"2026-12-07T21:57:59.707000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-27T21:58:08.228Z","offerKey":"9fd949f00ee2f9475f982b845df3ccf55d091db2d1cf73194cea217213567324","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":"15000000.0","cacheWrite":"187500000.00","input":"150000000","output":"900000000"}},"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":"150"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"6"},{"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":"a68fd78b76f73c99fcf5d5664b35c132f145f49803bf79417955bf39ad6104b0","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"f21b1ba18fb4e5aed8059ad81329746eea2ad3466d83f0e7502f6a2e2c0a5dd5","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:自建","pricePairSourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","pricingAdapterEvidence":[{"kind":"PUBLIC_PRIMARY_VENDOR_SCHEMA","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"},{"kind":"PUBLIC_PRIMARY_USABLE_GROUP_FILTER","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"}],"pricingResolution":"UNRESOLVED","pricingRule":{"branches":[{"components":[{"coefficient":"1800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"37.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"30","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"300","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":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"2700","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"60","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"600","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"tier_2","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"0","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"0","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":false}],"perRequestPrice":null,"tierName":null,"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":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"type":"conditional","whenFalse":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"type":"binary"},"whenTrue":{"arguments":[{"type":"string","value":"tier_2"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"600"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"2700"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"60"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"750"},"type":"binary"},"type":"binary"}],"function":"tier","type":"call"}},"whenTrue":{"arguments":[{"type":"string","value":"base"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"300"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"1800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"30"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"37.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":"1","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":"7f4514a46bee32b14f27847d10f018647f6e9763d0e1c6e55f871a6401c6ddc4","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2c2583ee9accd296b64a1469fabbce931f428c5b24d698c480328591687395b8","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"f21b1ba18fb4e5aed8059ad81329746eea2ad3466d83f0e7502f6a2e2c0a5dd5","quoteOrdinal":991,"semanticFlags":[],"snapshotId":"8cf4a2a6023e418e58d702cf64c5854f9de6cd1f5516f3509b8940e3938ff0aa","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","transactionId":"801770e38c45edcf1cff3add2cea66fcea92d74ab7811dba698d664e6ecb67ab","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"9dedb96c07b1557a4c0e3e514d6c0626dbd8a8e077c98870159401c75cfa5008","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":"default","declaredGroupRatio":1,"eligibility":{"declaredGroup":"default","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":"default","formulaAssurance":"DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED","formulaProjectionBlockers":["NONSTANDARD_GLOBAL_FIELDS"],"freshUntil":"2026-12-07T21:57:59.707000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-27T21:58:08.228Z","offerKey":"9afe8d9b96254a4b417529148ba76d89dc0e959aba7c4d6482bae33b8dc35238","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":"15000000.0","cacheWrite":"187500000.00","input":"150000000","output":"900000000"}},"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":"150"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"6"},{"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":"71dc71f2fce3c0964a0c580cc2bdae4aa34b5c3c37b7cbfbe86dd0c04bb4b4e7","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"337ae29fe08e348675402c66f35110a8414b365ed1270451ca60d0e127acacef","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:default","pricePairSourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","pricingAdapterEvidence":[{"kind":"PUBLIC_PRIMARY_VENDOR_SCHEMA","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"},{"kind":"PUBLIC_PRIMARY_USABLE_GROUP_FILTER","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"}],"pricingResolution":"UNRESOLVED","pricingRule":{"branches":[{"components":[{"coefficient":"1800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"37.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"30","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"300","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":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"2700","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"60","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"600","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"tier_2","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"0","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"0","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":false}],"perRequestPrice":null,"tierName":null,"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":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"type":"conditional","whenFalse":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"type":"binary"},"whenTrue":{"arguments":[{"type":"string","value":"tier_2"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"600"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"2700"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"60"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"750"},"type":"binary"},"type":"binary"}],"function":"tier","type":"call"}},"whenTrue":{"arguments":[{"type":"string","value":"base"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"300"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"1800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"30"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"37.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":"1","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":"7f4514a46bee32b14f27847d10f018647f6e9763d0e1c6e55f871a6401c6ddc4","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2c2583ee9accd296b64a1469fabbce931f428c5b24d698c480328591687395b8","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"337ae29fe08e348675402c66f35110a8414b365ed1270451ca60d0e127acacef","quoteOrdinal":992,"semanticFlags":[],"snapshotId":"8cf4a2a6023e418e58d702cf64c5854f9de6cd1f5516f3509b8940e3938ff0aa","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","transactionId":"801770e38c45edcf1cff3add2cea66fcea92d74ab7811dba698d664e6ecb67ab","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"9dedb96c07b1557a4c0e3e514d6c0626dbd8a8e077c98870159401c75cfa5008","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":"会员1级","declaredGroupRatio":"0.975","eligibility":{"declaredGroup":"tier_1","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":"tier_1","formulaAssurance":"DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED","formulaProjectionBlockers":["NONSTANDARD_GLOBAL_FIELDS"],"freshUntil":"2026-12-07T21:57:59.707000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-27T21:58:08.228Z","offerKey":"e1e9e4ed834522f46a04158e70224974376e983bc638f12385a3c80203c3b435","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":"14625000.0000","cacheWrite":"182812500.00000","input":"146250000.000","output":"877500000.000"}},"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":"150"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"6"},{"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":"85873dac8c750c25ee847c5f54130011aae91a54aa795cc39e0f7f7375a63c36","currencyInferred":false,"declaredGroupRatio":"0.975","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"9392977323c2c0d399a51c4bbde500d35987acf7fa15c0f1f340b4e99c913f9c","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_1","pricePairSourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","pricingAdapterEvidence":[{"kind":"PUBLIC_PRIMARY_VENDOR_SCHEMA","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"},{"kind":"PUBLIC_PRIMARY_USABLE_GROUP_FILTER","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"}],"pricingResolution":"UNRESOLVED","pricingRule":{"branches":[{"components":[{"coefficient":"1800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"37.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"30","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"300","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":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"2700","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"60","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"600","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"tier_2","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"0","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"0","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":false}],"perRequestPrice":null,"tierName":null,"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":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"type":"conditional","whenFalse":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"type":"binary"},"whenTrue":{"arguments":[{"type":"string","value":"tier_2"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"600"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"2700"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"60"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"750"},"type":"binary"},"type":"binary"}],"function":"tier","type":"call"}},"whenTrue":{"arguments":[{"type":"string","value":"base"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"300"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"1800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"30"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"37.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.975","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":"f66f0d62d4fd7903961e680939e84570f17fb6058855f74c7ec9b18bb17f8d75","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2c2583ee9accd296b64a1469fabbce931f428c5b24d698c480328591687395b8","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"9392977323c2c0d399a51c4bbde500d35987acf7fa15c0f1f340b4e99c913f9c","quoteOrdinal":993,"semanticFlags":[],"snapshotId":"8cf4a2a6023e418e58d702cf64c5854f9de6cd1f5516f3509b8940e3938ff0aa","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","transactionId":"801770e38c45edcf1cff3add2cea66fcea92d74ab7811dba698d664e6ecb67ab","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"9dedb96c07b1557a4c0e3e514d6c0626dbd8a8e077c98870159401c75cfa5008","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":"会员2级","declaredGroupRatio":"0.95","eligibility":{"declaredGroup":"tier_2","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":"tier_2","formulaAssurance":"DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED","formulaProjectionBlockers":["NONSTANDARD_GLOBAL_FIELDS"],"freshUntil":"2026-12-07T21:57:59.707000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-27T21:58:08.228Z","offerKey":"1641c71ca23ece0d54f1354a6b4f4a020a83f020bf170a745f2fe69326201aa0","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":"14250000.000","cacheWrite":"178125000.0000","input":"142500000.00","output":"855000000.00"}},"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":"150"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"6"},{"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":"7690e2a94d3d6f70a48ffa3aeba0d285baf3569d42db852207b02c119fc2f077","currencyInferred":false,"declaredGroupRatio":"0.95","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"96c3e14d32209544515faaad37a082de4b3f1c32c72ea136bda7885dc6e20a2c","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_2","pricePairSourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","pricingAdapterEvidence":[{"kind":"PUBLIC_PRIMARY_VENDOR_SCHEMA","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"},{"kind":"PUBLIC_PRIMARY_USABLE_GROUP_FILTER","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"}],"pricingResolution":"UNRESOLVED","pricingRule":{"branches":[{"components":[{"coefficient":"1800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"37.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"30","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"300","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":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"2700","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"60","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"600","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"tier_2","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"0","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"0","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":false}],"perRequestPrice":null,"tierName":null,"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":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"type":"conditional","whenFalse":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"type":"binary"},"whenTrue":{"arguments":[{"type":"string","value":"tier_2"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"600"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"2700"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"60"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"750"},"type":"binary"},"type":"binary"}],"function":"tier","type":"call"}},"whenTrue":{"arguments":[{"type":"string","value":"base"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"300"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"1800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"30"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"37.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.95","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":"c4b714640df95eb8d100e7a019be4fa36bf7c43a062b3da5c3b467c6b5082278","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2c2583ee9accd296b64a1469fabbce931f428c5b24d698c480328591687395b8","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"96c3e14d32209544515faaad37a082de4b3f1c32c72ea136bda7885dc6e20a2c","quoteOrdinal":994,"semanticFlags":[],"snapshotId":"8cf4a2a6023e418e58d702cf64c5854f9de6cd1f5516f3509b8940e3938ff0aa","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","transactionId":"801770e38c45edcf1cff3add2cea66fcea92d74ab7811dba698d664e6ecb67ab","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"9dedb96c07b1557a4c0e3e514d6c0626dbd8a8e077c98870159401c75cfa5008","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":"会员3级","declaredGroupRatio":"0.9","eligibility":{"declaredGroup":"tier_3","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":"tier_3","formulaAssurance":"DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED","formulaProjectionBlockers":["NONSTANDARD_GLOBAL_FIELDS"],"freshUntil":"2026-12-07T21:57:59.707000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-27T21:58:08.228Z","offerKey":"ffede053dcab387e0d165395a600fb0b64913939ea62085d04c952c5164d7688","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":"13500000.00","cacheWrite":"168750000.000","input":"135000000.0","output":"810000000.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":"150"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"6"},{"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":"5bed35b1b67d539da911a38bafd4979ad93ac0409a6e3cf4aed8b0a337edcd89","currencyInferred":false,"declaredGroupRatio":"0.9","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"98f385643e308e9a9ea463dd5a223b1b14ce59916c0c046321da7f1c2d5a8988","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_3","pricePairSourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","pricingAdapterEvidence":[{"kind":"PUBLIC_PRIMARY_VENDOR_SCHEMA","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"},{"kind":"PUBLIC_PRIMARY_USABLE_GROUP_FILTER","url":"https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"}],"pricingResolution":"UNRESOLVED","pricingRule":{"branches":[{"components":[{"coefficient":"1800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"37.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"30","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"300","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":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"2700","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"60","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"600","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"tier_2","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"0","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"0","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":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"matches":false}],"perRequestPrice":null,"tierName":null,"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":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"272000"},"type":"binary"},"type":"conditional","whenFalse":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"0"},"type":"binary"},"type":"binary"},"whenTrue":{"arguments":[{"type":"string","value":"tier_2"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"600"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"2700"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"60"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"750"},"type":"binary"},"type":"binary"}],"function":"tier","type":"call"}},"whenTrue":{"arguments":[{"type":"string","value":"base"},{"left":{"left":{"left":{"left":{"name":"p","type":"variable"},"operator":"*","right":{"type":"number","value":"300"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"1800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"30"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"37.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.9","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":"a9c2ceefc0c6fc6423263364150e09aa5bc163ef9d4c011f33c775c5ff370f7e","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2c2583ee9accd296b64a1469fabbce931f428c5b24d698c480328591687395b8","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"98f385643e308e9a9ea463dd5a223b1b14ce59916c0c046321da7f1c2d5a8988","quoteOrdinal":995,"semanticFlags":[],"snapshotId":"8cf4a2a6023e418e58d702cf64c5854f9de6cd1f5516f3509b8940e3938ff0aa","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"90bbe457f6160e5aedfb40ab5d315595a1663dd3339373268c61de0ee44d7976","transactionId":"801770e38c45edcf1cff3add2cea66fcea92d74ab7811dba698d664e6ecb67ab","unit":"STRUCTURED_DECLARED_PRICING_RULE"}],"modelId":"2eb75e7d1ca75c8a4cbf","modelName":"[hm]t|gpt-5.6-terra-codex-pro","nativeClaims":[],"revision":"afd7b87685db6c39f702638ab865f0d90bc3bd66a44fef52a06779f7a4d11346","schema":"grandet-current-public-model-v1"}
