【⭐⭐】GPT Image Free 1-4K· Public API
Price not read yet · total cost not confirmed
No price can be shown directly. Expand below to see the raw data.
All prices, conditions and raw data
gpt-image-2
api.nioflow.com · Price published through the provider’s API
Plan / group: declared-group:【⭐⭐】GPT Image Free 1-4K · 【⭐⭐】GPT Image Free 1-4K
Recently collected price · not real-time
Collected: · API data cached until: · Treated as current until (not including):
This is the price the provider publishes. Whether you can buy at this price, whose model is really behind it and how good the service is are not verified.
Pricing unit: Units for each item are in the full pricing rule
The full price has not been read yet. The parts we read are below; the total cost is not confirmed.
- Input
- Not stated or not read
- Output
- Not stated or not read
- Per request
- Not stated or not read
- Cache read
- Not stated or not read
- Cache write
- Not stated or not read
Partial prices we found
These ratios or prices were read from the provider’s page. They are only part of the price; the plan’s total cost is not verified.
- model_ratio
- 0 · SOURCE_BASE_MODEL_RATIO
- completion_ratio
- 0 · SOURCE_COMPLETION_RATIO
- model_price
- 1 · NOMINAL_DISPLAY_UNITS_PER_REQUEST
Full raw data for this part
{
"baseFormulaArithmetic": null,
"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": "0"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "0"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_price",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "NOMINAL_DISPLAY_UNITS_PER_REQUEST",
"usageKind": "REQUEST",
"value": "1"
}
],
"contentSha256": "c7c9374c98730a98dffa3c8560e63fe717e389e1e9cc6ba82a9c41f73d340ca9",
"currencyInferred": false,
"declaredGroupRatio": "0.015",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "859beb4dce8df2eb5e8bc7f3c670b08059b9b8222d54172e6e0a065520b064d6",
"rawDeclaredFieldsSha256": "0d7808d0b38a32ec3ca5ca4034da488983ffddbd7cdcfddbd0b68e8b5dae1492",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "afecee6296e92fb6022342ef3a916c94d7f36d93a084bfa3efc24662e010afc2",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_PRICING_FIELDS"
]
}Why the price has not been read
[ "NONSTANDARD_PRICING_FIELDS" ]
Full pricing rule (every case, unit and condition)
{
"branches": [
{
"components": [],
"costExpression": {
"divisor": "1000000",
"evaluation": "SYMBOLIC_ONLY",
"expressionAST": {
"left": {
"left": {
"left": {
"type": "number",
"value": "1"
},
"operator": "*",
"right": {
"type": "number",
"value": "1000000"
},
"type": "binary"
},
"operator": "*",
"right": {
"name": "image_count",
"type": "variable"
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2880x2880"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x2160"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2160x3840"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3312x2480"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2480x3312"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3520x2336"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2336x3520"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3216x2560"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2560x3216"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x1632"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3072x4096"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"numericSemantics": "SOURCE_FLOAT64_FORMULA_RETAINED_NOT_EXECUTED",
"resultUnit": "DECLARED_USD_TOTAL"
},
"pathConditions": [],
"perRequestPrice": null,
"tierName": null,
"unit": "DECLARED_USD_TOTAL"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "image"
},
{
"arguments": [
{
"type": "number",
"value": "1"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"operator": "*",
"right": {
"name": "image_count",
"type": "variable"
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2880x2880"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x2160"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2160x3840"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3312x2480"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2480x3312"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3520x2336"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2336x3520"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3216x2560"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2560x3216"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x1632"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3072x4096"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"dependencies": {
"quantities": [
{
"integerRequired": true,
"maximum": "128",
"minimum": "1",
"requestParamNIsNotSettlementCount": true,
"unit": "count",
"upstreamMissingContextDefault": "1",
"usageKind": "IMAGE_GENERATION_COUNT",
"variable": "image_count"
}
],
"requestContext": [
{
"argument": "size",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"image_count"
]
},
"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.015",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "STRUCTURED_COST_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",
"STRUCTURED_FORMULA_IS_NOT_A_CONSTANT_TEXT_TOKEN_PRICE",
"SOURCE_FLOAT64_ROUNDING_AND_FINAL_QUOTA_INTEGER_ROUNDING_NOT_REPRODUCED",
"CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK",
"IMAGE_COUNT_REQUIRES_ACTUAL_GENERATED_OR_BILLABLE_COUNT"
],
"normalization": {
"contextLength": "len is full input context, before subclass exclusion",
"fixedAmountScale": "fixed(amount) contributes amount*1000000 before the common divisor",
"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.2.0",
"ruleContentSha256": "9c98a7dd448d336a698a315706638183a2dec944e30bfa500b23772e260099d9",
"schema": "grandet.public-pricing-rule/v2",
"sourceExpressionSha256": "ce99d7f0834d2db507a3c82916636d3f2299c8594fca528d44f4944b18264c09",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_TOTAL"
]
}All conditions the provider states
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"image-generation",
"openai"
],
"declaredGroupDescription": "【⭐⭐】GPT Image2 Free逆,2K-4K,0.015一张,质量没有原生好【使用-free模型名字!】",
"declaredGroupRatio": "0.015",
"eligibility": {
"declaredGroup": "【⭐⭐】GPT Image Free 1-4K",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
}Data used to check whether it is out of date
{
"cacheFreshUntil": "2026-11-24T07:11:43.486000Z",
"firstObservedAt": "2026-11-14T07:11:44.828Z",
"maximumQuoteAgeDays": 10,
"observedAt": "2026-11-14T07:11:44.828Z",
"snapshotId": "94b28caf3e34cec54fd9bd835168a7adf25f6b78d471400597ebff4418cf3d05",
"sourceId": "api.nioflow.com",
"transactionId": "58f9a32d1dda9ce3199a8692eb05a6db1fe060b8018f04051405fb18e75ee9b7"
}Full raw record for this price
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "0206f1ffd483c5ff8052c9ecef9b13fec6300c328af904e460384a1eec9b20cf",
"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": [
"image-generation",
"openai"
],
"declaredGroupDescription": "【⭐⭐】GPT Image2 Free逆,2K-4K,0.015一张,质量没有原生好【使用-free模型名字!】",
"declaredGroupRatio": "0.015",
"eligibility": {
"declaredGroup": "【⭐⭐】GPT Image Free 1-4K",
"status": "UNKNOWN"
},
"membership": {
"status": "UNKNOWN"
},
"minimumTopup": {
"status": "UNKNOWN"
},
"mixedWallet": {
"status": "UNKNOWN"
},
"nightDiscount": {
"status": "UNKNOWN"
},
"rateWindows": {
"status": "UNKNOWN"
},
"requiredFees": {
"status": "UNKNOWN"
},
"sharedAllowance": {
"status": "UNKNOWN"
},
"sourceEffectiveAt": {
"status": "UNKNOWN"
},
"tieredRates": {
"status": "UNKNOWN"
},
"topupBonus": {
"status": "UNKNOWN"
}
},
"declaredGroup": "【⭐⭐】GPT Image Free 1-4K",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [
"NONSTANDARD_PRICING_FIELDS"
],
"freshUntil": "2026-11-24T07:11:43.486000Z",
"groupOfferingFlags": [
"NEAR_ZERO_RATIO"
],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gpt-image-2",
"multimodalPricing": null,
"observedAt": "2026-11-14T07:11:44.828Z",
"offerKey": "2c52881edfde352eb568b90313a892fd7b760ff68117e69671ccd7144eeaafb1",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.8.0",
"partialPriceComponents": {
"baseFormulaArithmetic": null,
"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": "0"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "completion_ratio",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "SOURCE_COMPLETION_RATIO",
"usageKind": "TEXT_OUTPUT",
"value": "0"
},
{
"role": "BASE_DECLARATION_NOT_EFFECTIVE_TARIFF",
"sourceField": "model_price",
"status": "EXACT_NUMERIC_DECLARATION",
"unit": "NOMINAL_DISPLAY_UNITS_PER_REQUEST",
"usageKind": "REQUEST",
"value": "1"
}
],
"contentSha256": "c7c9374c98730a98dffa3c8560e63fe717e389e1e9cc6ba82a9c41f73d340ca9",
"currencyInferred": false,
"declaredGroupRatio": "0.015",
"effectiveQuote": false,
"eligibleForPriceRanking": false,
"quoteId": "859beb4dce8df2eb5e8bc7f3c670b08059b9b8222d54172e6e0a065520b064d6",
"rawDeclaredFieldsSha256": "0d7808d0b38a32ec3ca5ca4034da488983ffddbd7cdcfddbd0b68e8b5dae1492",
"schema": "grandet.partial-price-components/v1",
"sourceRowId": "afecee6296e92fb6022342ef3a916c94d7f36d93a084bfa3efc24662e010afc2",
"status": "PARTIAL_EXTRACTION_FINAL_TARIFF_UNRESOLVED",
"unresolvedTariffReasons": [
"NONSTANDARD_PRICING_FIELDS"
]
},
"perRequestPrice": null,
"planId": "declared-group:【⭐⭐】GPT Image Free 1-4K",
"pricePairSourceRowId": "afecee6296e92fb6022342ef3a916c94d7f36d93a084bfa3efc24662e010afc2",
"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": [],
"costExpression": {
"divisor": "1000000",
"evaluation": "SYMBOLIC_ONLY",
"expressionAST": {
"left": {
"left": {
"left": {
"type": "number",
"value": "1"
},
"operator": "*",
"right": {
"type": "number",
"value": "1000000"
},
"type": "binary"
},
"operator": "*",
"right": {
"name": "image_count",
"type": "variable"
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2880x2880"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x2160"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2160x3840"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3312x2480"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2480x3312"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3520x2336"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2336x3520"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3216x2560"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2560x3216"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x1632"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3072x4096"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"numericSemantics": "SOURCE_FLOAT64_FORMULA_RETAINED_NOT_EXECUTED",
"resultUnit": "DECLARED_USD_TOTAL"
},
"pathConditions": [],
"perRequestPrice": null,
"tierName": null,
"unit": "DECLARED_USD_TOTAL"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "image"
},
{
"arguments": [
{
"type": "number",
"value": "1"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"operator": "*",
"right": {
"name": "image_count",
"type": "variable"
},
"type": "binary"
},
"operator": "*",
"right": {
"condition": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2880x2880"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x2160"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2160x3840"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3312x2480"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2480x3312"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3520x2336"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2336x3520"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3216x2560"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "2560x3216"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3840x1632"
},
"type": "binary"
},
"type": "binary"
},
"operator": "||",
"right": {
"left": {
"arguments": [
{
"type": "string",
"value": "size"
}
],
"function": "param",
"type": "call"
},
"operator": "==",
"right": {
"type": "string",
"value": "3072x4096"
},
"type": "binary"
},
"type": "binary"
},
"type": "conditional",
"whenFalse": {
"type": "number",
"value": "1"
},
"whenTrue": {
"type": "number",
"value": "2"
}
},
"type": "binary"
},
"dependencies": {
"quantities": [
{
"integerRequired": true,
"maximum": "128",
"minimum": "1",
"requestParamNIsNotSettlementCount": true,
"unit": "count",
"upstreamMissingContextDefault": "1",
"usageKind": "IMAGE_GENERATION_COUNT",
"variable": "image_count"
}
],
"requestContext": [
{
"argument": "size",
"function": "param"
}
],
"taskUsageSchema": null,
"usageVariables": [
"image_count"
]
},
"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.015",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "STRUCTURED_COST_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",
"STRUCTURED_FORMULA_IS_NOT_A_CONSTANT_TEXT_TOKEN_PRICE",
"SOURCE_FLOAT64_ROUNDING_AND_FINAL_QUOTA_INTEGER_ROUNDING_NOT_REPRODUCED",
"CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK",
"IMAGE_COUNT_REQUIRES_ACTUAL_GENERATED_OR_BILLABLE_COUNT"
],
"normalization": {
"contextLength": "len is full input context, before subclass exclusion",
"fixedAmountScale": "fixed(amount) contributes amount*1000000 before the common divisor",
"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.2.0",
"ruleContentSha256": "9c98a7dd448d336a698a315706638183a2dec944e30bfa500b23772e260099d9",
"schema": "grandet.public-pricing-rule/v2",
"sourceExpressionSha256": "ce99d7f0834d2db507a3c82916636d3f2299c8594fca528d44f4944b18264c09",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_TOTAL"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "859beb4dce8df2eb5e8bc7f3c670b08059b9b8222d54172e6e0a065520b064d6",
"quoteOrdinal": 91,
"semanticFlags": [
"GROUP_FLAGGED"
],
"snapshotId": "94b28caf3e34cec54fd9bd835168a7adf25f6b78d471400597ebff4418cf3d05",
"sourceDomain": "api.nioflow.com",
"sourceId": "api.nioflow.com",
"sourceRowId": "afecee6296e92fb6022342ef3a916c94d7f36d93a084bfa3efc24662e010afc2",
"transactionId": "58f9a32d1dda9ce3199a8692eb05a6db1fe060b8018f04051405fb18e75ee9b7",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}