{"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":"会员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-6-astra-Az","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"93ba187b4aad1ba2e9b4075ef579f309116dbdbccb8d12b98a5806ac63042ea2","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":"190000000.000","cacheWrite":"2375000000.0000","input":"1900000000.00","output":"9500000000.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":"2000"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"5"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_READ_RATIO","usageKind":"CACHE_READ","value":"0.1"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"create_cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_WRITE_RATIO","usageKind":"CACHE_WRITE","value":"1.25"}],"contentSha256":"0b6a56636706ca2d5f185febd971ef9535bdaf8261f78799bac1e339824c6f96","currencyInferred":false,"declaredGroupRatio":"0.95","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"2f742f84a0f1850f5c3a80802dcfe480b3e63b99c8d16ffab5928c3145a860ad","rawDeclaredFieldsSha256":"8881ee9d92a0cc3d4bc731ca3b28076cb83ccaad385882949a76479946ce422d","schema":"grandet.partial-price-components/v1","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_2","pricePairSourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"20000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"5000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"400","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"4000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"30000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"10000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"8000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"type":"conditional","whenFalse":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"8000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"30000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"10000"},"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":"4000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"20000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"400"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"5000"},"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":"7339c11ce15089aa01e13cf70acce1e298617c8506af2a3da0d28e6e43c9b796","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"9c52890415cb9ed91ae74bc53dd6c34f9fe940651ade32a8be17fe1bcea3b89f","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"2f742f84a0f1850f5c3a80802dcfe480b3e63b99c8d16ffab5928c3145a860ad","quoteOrdinal":4012,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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-6-astra-Az","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"2e72b9c3022af9b20473c66c9f4a371d7ce46ca014ffe6deb12661deb086eda7","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":"180000000.00","cacheWrite":"2250000000.000","input":"1800000000.0","output":"9000000000.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":"2000"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"5"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_READ_RATIO","usageKind":"CACHE_READ","value":"0.1"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"create_cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_WRITE_RATIO","usageKind":"CACHE_WRITE","value":"1.25"}],"contentSha256":"1ae54fbb6af294ed8afd3e4f9af4387babd2c244acf1c450d3348acc6255ea83","currencyInferred":false,"declaredGroupRatio":"0.9","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"33ab2386b8cebc86b2a4008bda8e4208e25896140421bef7f9f44964c63d0c07","rawDeclaredFieldsSha256":"8881ee9d92a0cc3d4bc731ca3b28076cb83ccaad385882949a76479946ce422d","schema":"grandet.partial-price-components/v1","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_3","pricePairSourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"20000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"5000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"400","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"4000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"30000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"10000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"8000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"type":"conditional","whenFalse":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"8000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"30000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"10000"},"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":"4000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"20000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"400"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"5000"},"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":"d6012b6cf719e8452e46e1ee6192ce5716fa395269c8a86569ca076d06b1107c","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"9c52890415cb9ed91ae74bc53dd6c34f9fe940651ade32a8be17fe1bcea3b89f","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"33ab2386b8cebc86b2a4008bda8e4208e25896140421bef7f9f44964c63d0c07","quoteOrdinal":4013,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"自建","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-6-astra-Az","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"a5229888895d8d005731c765018bc395dd63a2bc5933fc300feed19d2dd60418","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":"200000000.0","cacheWrite":"2500000000.00","input":"2000000000","output":"10000000000"}},"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":"2000"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"5"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_READ_RATIO","usageKind":"CACHE_READ","value":"0.1"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"create_cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_WRITE_RATIO","usageKind":"CACHE_WRITE","value":"1.25"}],"contentSha256":"40b65814b4644f9e964fb1d32f1cb899a9b1889586ba6bb254d46462fc4c1633","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"41bfa981c7c54ff5b4d4009e5c142970de859a5f3d4111079f20493070670ab6","rawDeclaredFieldsSha256":"8881ee9d92a0cc3d4bc731ca3b28076cb83ccaad385882949a76479946ce422d","schema":"grandet.partial-price-components/v1","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:自建","pricePairSourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"20000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"5000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"400","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"4000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"30000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"10000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"8000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"type":"conditional","whenFalse":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"8000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"30000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"10000"},"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":"4000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"20000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"400"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"5000"},"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":"682ac44363bbcd41c065f6de0f03459c6379b3ae628121bb5484884a024ccaa5","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"9c52890415cb9ed91ae74bc53dd6c34f9fe940651ade32a8be17fe1bcea3b89f","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"41bfa981c7c54ff5b4d4009e5c142970de859a5f3d4111079f20493070670ab6","quoteOrdinal":4014,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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-6-astra-Az","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"55a32c2238350907b822ea565b4a3d3c238967b8116e0301499357df98abcacc","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":"200000000.0","cacheWrite":"2500000000.00","input":"2000000000","output":"10000000000"}},"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":"2000"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"5"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_READ_RATIO","usageKind":"CACHE_READ","value":"0.1"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"create_cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_WRITE_RATIO","usageKind":"CACHE_WRITE","value":"1.25"}],"contentSha256":"dd616d3f6317401c0cf9dd9a4bf9fef5695bbeb02ee5680f4e65dc20c6687458","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"72e5204375d02a10f47b8bd6440069d2e478f9c2c1d12d945526033739dedfdd","rawDeclaredFieldsSha256":"8881ee9d92a0cc3d4bc731ca3b28076cb83ccaad385882949a76479946ce422d","schema":"grandet.partial-price-components/v1","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:default","pricePairSourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"20000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"5000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"400","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"4000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"30000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"10000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"8000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"type":"conditional","whenFalse":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"8000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"30000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"10000"},"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":"4000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"20000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"400"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"5000"},"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":"682ac44363bbcd41c065f6de0f03459c6379b3ae628121bb5484884a024ccaa5","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"9c52890415cb9ed91ae74bc53dd6c34f9fe940651ade32a8be17fe1bcea3b89f","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"72e5204375d02a10f47b8bd6440069d2e478f9c2c1d12d945526033739dedfdd","quoteOrdinal":4015,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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-6-astra-Az","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"bf2f5519e49d1baf904ff2a746b0369503cc283e6d474438633f0a90e33dfd94","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":"195000000.0000","cacheWrite":"2437500000.00000","input":"1950000000.000","output":"9750000000.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":"2000"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"completion_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_COMPLETION_RATIO","usageKind":"TEXT_OUTPUT","value":"5"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_READ_RATIO","usageKind":"CACHE_READ","value":"0.1"},{"role":"BASE_DECLARATION_NOT_EFFECTIVE_TARIFF","sourceField":"create_cache_ratio","status":"EXACT_NUMERIC_DECLARATION","unit":"SOURCE_CACHE_WRITE_RATIO","usageKind":"CACHE_WRITE","value":"1.25"}],"contentSha256":"667c44195486967b232e1118cf06439fd3462b7bc4f46356242909fb607b1211","currencyInferred":false,"declaredGroupRatio":"0.975","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"fc179ffddfebcd22a5163821623fc4965f8b3959e2f75ae93d9f70be00193200","rawDeclaredFieldsSha256":"8881ee9d92a0cc3d4bc731ca3b28076cb83ccaad385882949a76479946ce422d","schema":"grandet.partial-price-components/v1","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_1","pricePairSourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","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":"20000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"5000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"400","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"4000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":true}],"perRequestPrice":null,"tierName":"base","unit":"DECLARED_USD_PER_MILLION_TOKENS"},{"components":[{"coefficient":"30000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"10000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"800","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"8000","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"INPUT_BASE","usageVariable":"p"}],"pathConditions":[{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":"<=","right":{"type":"number","value":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"matches":false},{"conditionAST":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"270000"},"type":"binary"},"type":"conditional","whenFalse":{"condition":{"left":{"name":"len","type":"variable"},"operator":">","right":{"type":"number","value":"270000"},"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":"8000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"30000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"800"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"10000"},"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":"4000"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"20000"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"400"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"5000"},"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":"041c9cfbec7169548bb3c1a41637de476c38fcecb4ca8cdd791362139c9b68da","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"9c52890415cb9ed91ae74bc53dd6c34f9fe940651ade32a8be17fe1bcea3b89f","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"fc179ffddfebcd22a5163821623fc4965f8b3959e2f75ae93d9f70be00193200","quoteOrdinal":4016,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"f530cb5a13b1cf8e9fdba469fd7d9ed98e9bd9069400fa2591a33b68f4f7027d","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"}],"modelId":"9fba08ac3837f2f7f28c","modelName":"[hm]t|gpt-6-astra-Az","nativeClaims":[],"revision":"cc7d5e4eadac6810f958ee9cd07e7a0913c5515fcca731b60fc1d0718db287a7","schema":"grandet-current-public-model-v1"}
