{"apiQuotes":[{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"e19b524331c71401f00eb5ab3dca4f22af19e1b81a17923f921fdb54a7a66119","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-11-24T05:40:35.687000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","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":"5fee96022364135c886b1bd5700678d0e9d9e124e000bec43fe6200898376eef","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"466fd84d693d75796b0896f22af3af4fd6a4af4deac6dbc3ac5ccfebba0c64be","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:自建","pricePairSourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","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":"466fd84d693d75796b0896f22af3af4fd6a4af4deac6dbc3ac5ccfebba0c64be","quoteOrdinal":3867,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"e19b524331c71401f00eb5ab3dca4f22af19e1b81a17923f921fdb54a7a66119","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-11-24T05:40:35.687000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","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":"ab1260358b9486ff5864c2f034f7102e963e117efd9dcc541028e7f2c4386716","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"763cb77e47c3031d16c79d4192566fd4d60c133e3db3eed1c2e47460e572d9c9","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:default","pricePairSourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","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":"763cb77e47c3031d16c79d4192566fd4d60c133e3db3eed1c2e47460e572d9c9","quoteOrdinal":3868,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"e19b524331c71401f00eb5ab3dca4f22af19e1b81a17923f921fdb54a7a66119","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-11-24T05:40:35.687000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","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":"c72d2515b9321330f3c5481408608ff7f5c408452f2b80734f5786c9134fd198","currencyInferred":false,"declaredGroupRatio":"0.975","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"0862e8426f666c7fd106dd45d246c0c0a694ad0736311091aa8c3436a197c982","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_1","pricePairSourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","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":"0862e8426f666c7fd106dd45d246c0c0a694ad0736311091aa8c3436a197c982","quoteOrdinal":3869,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"e19b524331c71401f00eb5ab3dca4f22af19e1b81a17923f921fdb54a7a66119","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-11-24T05:40:35.687000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","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":"3a46fa1aa2b9116b50534831a4415ba779fae8307e4e0da3f347b96a1b9040df","currencyInferred":false,"declaredGroupRatio":"0.95","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"cc370bd020690754447512f8ab83938b3f259fd814d41fc5235e3bfb501810bf","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_2","pricePairSourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","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":"cc370bd020690754447512f8ab83938b3f259fd814d41fc5235e3bfb501810bf","quoteOrdinal":3870,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"},{"accountEligibility":"UNVERIFIED","analysisDoesNotRenewObservation":true,"attemptId":"e19b524331c71401f00eb5ab3dca4f22af19e1b81a17923f921fdb54a7a66119","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-11-24T05:40:35.687000Z","groupOfferingFlags":[],"humanExtractionReview":"NOT_PERFORMED","inputPrice":null,"modelName":"[hm]t|gpt-5.6-terra-codex-pro","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","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":"f6b62a5d742958fbf1331a2afa649704d7288d79fa4ea565e332714890b19005","currencyInferred":false,"declaredGroupRatio":"0.9","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"f399a563d20b3a4cf40912e578362a331f214a8d48506a6c156a822413b6f89b","rawDeclaredFieldsSha256":"78c0b65e53ee6a9969a520f5ec885aa66c28aefd02d7df3a8aa1a530858cac42","schema":"grandet.partial-price-components/v1","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_3","pricePairSourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","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":"f399a563d20b3a4cf40912e578362a331f214a8d48506a6c156a822413b6f89b","quoteOrdinal":3871,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"0f127354ebb25a08c4b66fb17f6a3feda8c446ae1d09dbe17ce744daa05179d5","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"}],"modelId":"2eb75e7d1ca75c8a4cbf","modelName":"[hm]t|gpt-5.6-terra-codex-pro","nativeClaims":[],"revision":"cc7d5e4eadac6810f958ee9cd07e7a0913c5515fcca731b60fc1d0718db287a7","schema":"grandet-current-public-model-v1"}
