gemini· 公开接口
价格按条件变化 · 展开看所有情况和计价条件
全部价格、条件和原始数据
gemini-3.1-flash-lite-image
linkapi.ai · 服务商接口公开的价格
套餐 / 分组:declared-group:gemini · gemini
近期采集的价格 · 不是实时价格
采集于: · 接口数据缓存到: · 按本站规则算当前价格,到:为止(不含这一刻)
这是服务商自己公开的价格。能不能用真钱按这个价买到、实际用的是谁的模型、质量怎么样,都还没核实。
计价单位:各项单位见完整计费规则
价格要按下面的完整规则和条件来算。
- 输入
- 没写或没读出
- 输出
- 没写或没读出
- 按次
- 没写或没读出
- 缓存读取
- 没写或没读出
- 缓存写入
- 没写或没读出
完整计费规则(含所有情况、单位和条件)
{
"branches": [
{
"components": [],
"pathConditions": [],
"perRequestPrice": "0.0375",
"tierName": "request",
"unit": "DECLARED_USD_PER_REQUEST"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "request"
},
{
"arguments": [
{
"type": "number",
"value": "0.0375"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": []
},
"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.6",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "FIXED_REQUEST",
"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": "af49b76773d8c7be4832987b1acb7ec961595f149c24de5498a0b46d557d344e",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "80b652ff670335f64c899f15eed10c69aefb7e2855f544e6fa5776618ddc3b61",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_REQUEST"
]
}服务商写的全部条件
{
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"gemini",
"openai"
],
"declaredGroupDescription": "官方Gemini/ Official Gemini",
"declaredGroupRatio": "1.6",
"eligibility": {
"declaredGroup": "gemini",
"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"
}
}判断是否过期用的数据
{
"cacheFreshUntil": "2026-10-17T09:10:08.517000Z",
"firstObservedAt": "2026-10-10T09:10:10.727Z",
"maximumQuoteAgeDays": 7,
"observedAt": "2026-10-10T09:10:10.727Z",
"snapshotId": "560c30c823a7e50983a59163a9762c4915d414ee115cb2986121427a86d2d0a1",
"sourceId": "linkapi.ai",
"transactionId": "2f55c66d8894a3d950bc2872b636e9b7623ed5d2ce0988a3c0219861a9a3dcff"
}这条价格的完整原始记录
{
"accountEligibility": "UNVERIFIED",
"analysisDoesNotRenewObservation": true,
"attemptId": "6092195955d7932da94bc91e5e5f573b9227e7c66ffe5600bf6193ace7c6c38f",
"cacheReadPrice": null,
"cacheWritePrice": null,
"captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"classification": "STRUCTURED_PRICING_RULE",
"conditions": {
"balanceExpiry": {
"status": "UNKNOWN"
},
"bonusWallet": {
"status": "UNKNOWN"
},
"declaredEndpointTypes": [
"gemini",
"openai"
],
"declaredGroupDescription": "官方Gemini/ Official Gemini",
"declaredGroupRatio": "1.6",
"eligibility": {
"declaredGroup": "gemini",
"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": "gemini",
"formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
"formulaProjectionBlockers": [],
"freshUntil": "2026-10-17T09:10:08.517000Z",
"groupOfferingFlags": [],
"humanExtractionReview": "NOT_PERFORMED",
"inputPrice": null,
"modelName": "gemini-3.1-flash-lite-image",
"multimodalPricing": null,
"observedAt": "2026-10-10T09:10:10.727Z",
"offerKey": "ff8bd8b32377eccb978cbaf65fadb2f6f08eaa8aa2abfb509301c5b0c505ac39",
"outputPrice": null,
"parseRevisionId": null,
"parsedPricingDeclarations": null,
"parserFamily": "NEW_API_PUBLIC_PRICING",
"parserVersion": "grandet.new-api-public-pricing/1.7.0",
"partialPriceComponents": null,
"perRequestPrice": null,
"planId": "declared-group:gemini",
"pricePairSourceRowId": "6488792a7a0d15243c63cbfb0bb933bf823f52457632ad595fd4c5cc6fa2b05a",
"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": "STRUCTURED_RULE",
"pricingRule": {
"branches": [
{
"components": [],
"pathConditions": [],
"perRequestPrice": "0.0375",
"tierName": "request",
"unit": "DECLARED_USD_PER_REQUEST"
}
],
"cashQualification": "NOT_EVALUATED",
"cashQualified": false,
"conditionAST": {
"arguments": [
{
"type": "string",
"value": "request"
},
{
"arguments": [
{
"type": "number",
"value": "0.0375"
}
],
"function": "fixed",
"type": "call"
}
],
"function": "tier",
"type": "call"
},
"dependencies": {
"requestContext": [],
"taskUsageSchema": null,
"usageVariables": []
},
"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.6",
"groupRatioApplied": false,
"humanExtractionReview": "NOT_PERFORMED",
"kind": "FIXED_REQUEST",
"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": "af49b76773d8c7be4832987b1acb7ec961595f149c24de5498a0b46d557d344e",
"schema": "grandet.public-pricing-rule/v1",
"sourceExpressionSha256": "80b652ff670335f64c899f15eed10c69aefb7e2855f544e6fa5776618ddc3b61",
"status": "SUPPORTED_PUBLIC_DECLARATION",
"units": [
"DECLARED_USD_PER_REQUEST"
]
},
"publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
"quoteId": "5b9213f523cd60101dd6597da3ac0ce39b2ab459317ce10b79190f80e6a400a6",
"quoteOrdinal": 412,
"semanticFlags": [],
"snapshotId": "560c30c823a7e50983a59163a9762c4915d414ee115cb2986121427a86d2d0a1",
"sourceDomain": "linkapi.ai",
"sourceId": "linkapi.ai",
"sourceRowId": "6488792a7a0d15243c63cbfb0bb933bf823f52457632ad595fd4c5cc6fa2b05a",
"transactionId": "2f55c66d8894a3d950bc2872b636e9b7623ed5d2ce0988a3c0219861a9a3dcff",
"unit": "STRUCTURED_DECLARED_PRICING_RULE"
}