{"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-6-astra-codex-plus","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"eb1a0aa15b6f3a4fb74a85f98bcfc629f5c8981c68fc56e3ecbb2a399d2fd993","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":"37500000.0","cacheWrite":"468750000.00","input":"375000000","output":"1875000000"}},"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":"375"},{"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":"1c4eac28ab7ed4376ded3b06def444f511b6780cc46c6298d4b5c22c53e42711","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"80dabc420adf3b8ca1608581ddf629d18cc09c5637f5fc6f2e2eb5355b136525","rawDeclaredFieldsSha256":"742962240c3b4aeadc5f92b6f0800c011983554bcc25d731139172ac20d313d6","schema":"grandet.partial-price-components/v1","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:自建","pricePairSourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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":"3750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"937.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"75","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"750","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":"5625","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"1875","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"150","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"1500","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":"1500"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"5625"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"150"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"1875"},"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":"750"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"3750"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"75"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"937.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":"b28b8109d42df3b82085fd249c212cc68b995ca8c0e0f0d5d1944359c769e879","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2feee24d5eb095b5eefbec4c68ed747ecb8cdffa0de39e4d5924efa966c1330e","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"80dabc420adf3b8ca1608581ddf629d18cc09c5637f5fc6f2e2eb5355b136525","quoteOrdinal":156,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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-codex-plus","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"19ca89824aa92bc6d77b7b36b81dacd119ed5189c0ccc3a86efb1bd92f154bae","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":"37500000.0","cacheWrite":"468750000.00","input":"375000000","output":"1875000000"}},"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":"375"},{"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":"2c751eb5010ec0495dc7beb24b71c8948209f74f49129f3e4a0842b6501bd461","currencyInferred":false,"declaredGroupRatio":"1","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"a214988e510ae2911b3aac0c2742192617d5f4c013881c6701daf9abfb78920e","rawDeclaredFieldsSha256":"742962240c3b4aeadc5f92b6f0800c011983554bcc25d731139172ac20d313d6","schema":"grandet.partial-price-components/v1","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:default","pricePairSourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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":"3750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"937.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"75","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"750","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":"5625","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"1875","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"150","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"1500","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":"1500"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"5625"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"150"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"1875"},"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":"750"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"3750"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"75"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"937.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":"b28b8109d42df3b82085fd249c212cc68b995ca8c0e0f0d5d1944359c769e879","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2feee24d5eb095b5eefbec4c68ed747ecb8cdffa0de39e4d5924efa966c1330e","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"a214988e510ae2911b3aac0c2742192617d5f4c013881c6701daf9abfb78920e","quoteOrdinal":157,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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-codex-plus","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"c3586f373fd3845a2d63b6cac3f0e6468e8ca3812051ffaa9ea1b82adff36362","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":"36562500.0000","cacheWrite":"457031250.00000","input":"365625000.000","output":"1828125000.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":"375"},{"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":"37e6e624fdd9c63c0432b5faf8de3091a115cc32d9a893bafa9a8f222be13373","currencyInferred":false,"declaredGroupRatio":"0.975","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"7308eeae5a6684cb790845785ab89903308ef8c3aa0552f8a0b23b35a42387f6","rawDeclaredFieldsSha256":"742962240c3b4aeadc5f92b6f0800c011983554bcc25d731139172ac20d313d6","schema":"grandet.partial-price-components/v1","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_1","pricePairSourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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":"3750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"937.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"75","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"750","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":"5625","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"1875","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"150","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"1500","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":"1500"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"5625"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"150"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"1875"},"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":"750"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"3750"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"75"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"937.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":"af96aa28fa2af60869990e1c885c5362fefae6a90a967f1bec5ce1333af1f7c1","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2feee24d5eb095b5eefbec4c68ed747ecb8cdffa0de39e4d5924efa966c1330e","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"7308eeae5a6684cb790845785ab89903308ef8c3aa0552f8a0b23b35a42387f6","quoteOrdinal":158,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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-6-astra-codex-plus","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"b0640af5dfba46915ae057640b0821f475fbfcbfcee440d29d8306077ef909a8","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":"35625000.000","cacheWrite":"445312500.0000","input":"356250000.00","output":"1781250000.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":"375"},{"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":"a363487f11d742c9196a6f3432d7c0d875702da81fa312836b13683b5dc80b76","currencyInferred":false,"declaredGroupRatio":"0.95","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"ae44cd64bfe41e2490c272545aa357c91fe31ba4fd6fb93985e6bc8efa504fb4","rawDeclaredFieldsSha256":"742962240c3b4aeadc5f92b6f0800c011983554bcc25d731139172ac20d313d6","schema":"grandet.partial-price-components/v1","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_2","pricePairSourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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":"3750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"937.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"75","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"750","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":"5625","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"1875","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"150","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"1500","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":"1500"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"5625"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"150"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"1875"},"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":"750"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"3750"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"75"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"937.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":"439a1106fcea06931c01f0a3a664c80d221be62e7752122e9095b4599169cbeb","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2feee24d5eb095b5eefbec4c68ed747ecb8cdffa0de39e4d5924efa966c1330e","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"ae44cd64bfe41e2490c272545aa357c91fe31ba4fd6fb93985e6bc8efa504fb4","quoteOrdinal":159,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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-codex-plus","multimodalPricing":null,"observedAt":"2026-11-14T05:40:42.807Z","offerKey":"eba9a9371a73656938a31d84a47e439392db914000c8bd67b519ff78f73fef63","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":"33750000.00","cacheWrite":"421875000.000","input":"337500000.0","output":"1687500000.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":"375"},{"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":"58de019f8545fe03ff61d16ae1c2d09ff436d8e0a6eb2800e92e3b77e8f74f26","currencyInferred":false,"declaredGroupRatio":"0.9","effectiveQuote":false,"eligibleForPriceRanking":false,"quoteId":"2ab8ee7b5297d0eeb38898fd4e99b965094aa77e9e286841dfa7e5f9ecff94c9","rawDeclaredFieldsSha256":"742962240c3b4aeadc5f92b6f0800c011983554bcc25d731139172ac20d313d6","schema":"grandet.partial-price-components/v1","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","status":"PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED","unresolvedTariffReasons":["NONSTANDARD_GLOBAL_FIELDS"]},"perRequestPrice":null,"planId":"declared-group:tier_3","pricePairSourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","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":"3750","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"937.5","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"75","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"750","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":"5625","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"OUTPUT_BASE","usageVariable":"c"},{"coefficient":"1875","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_WRITE_5M_OR_GENERIC","usageVariable":"cc"},{"coefficient":"150","unit":"DECLARED_USD_PER_MILLION_TOKENS","usageKind":"CACHE_READ","usageVariable":"cr"},{"coefficient":"1500","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":"1500"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"5625"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"150"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"1875"},"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":"750"},"type":"binary"},"operator":"+","right":{"left":{"name":"c","type":"variable"},"operator":"*","right":{"type":"number","value":"3750"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cr","type":"variable"},"operator":"*","right":{"type":"number","value":"75"},"type":"binary"},"type":"binary"},"operator":"+","right":{"left":{"name":"cc","type":"variable"},"operator":"*","right":{"type":"number","value":"937.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":"eb99258b349beb7f062905ec98b058c83b13142f56e6e8a4f162d6f77bb428a3","schema":"grandet.public-pricing-rule/v1","sourceExpressionSha256":"2feee24d5eb095b5eefbec4c68ed747ecb8cdffa0de39e4d5924efa966c1330e","status":"SUPPORTED_PUBLIC_DECLARATION","units":["DECLARED_USD_PER_MILLION_TOKENS"]},"publicOfferingStatus":"DECLARED_IN_PUBLIC_GROUP","quoteId":"2ab8ee7b5297d0eeb38898fd4e99b965094aa77e9e286841dfa7e5f9ecff94c9","quoteOrdinal":160,"semanticFlags":[],"snapshotId":"6af0aeb682f83d40ef096f75cf45d91ea077cc0309be1eda447aa523edbcb6d0","sourceDomain":"openai.sharkmagic.top","sourceId":"openai.sharkmagic.top","sourceRowId":"071ed9b00f2e56f0cbf827e661ca47e04e89266fc634eaa4b6075c0c79b489c0","transactionId":"0b066349b2c71d1ec609edd3f2b07ae73232c032a763d713c1d1f3765982aa4d","unit":"STRUCTURED_DECLARED_PRICING_RULE"}],"modelId":"3ea257246152e2e8b3d1","modelName":"[hm]t|gpt-6-astra-codex-plus","nativeClaims":[],"revision":"cc7d5e4eadac6810f958ee9cd07e7a0913c5515fcca731b60fc1d0718db287a7","schema":"grandet-current-public-model-v1"}
