Skip to content
inetGeek

DeepInfra vs Google Gemini API

SEPT 2026 audit

A comparison of DeepInfra and Google Gemini API built from values read directly from each provider's own documentation, with the source recorded against every figure.

Reviewed by Palash BagchiUpdated 23 criteria comparedSources last checked

The short answer

Choose DeepInfra if…

Running open-weight models at the lowest published per-token rates here — DeepSeek-V4-Flash at $0.06 per million input is a fraction of what the lab itself charges — with dedicated H100s at $2.20 an hour if throughput demands it.

Editorial · Palash Bagchi · approved

Choose Google Gemini API if…

Getting to a working prototype without a card, then staying on the cheapest frontier-adjacent rates in this set — $0.75 per million input tokens is well under half what Anthropic and OpenAI charge for their top models.

Editorial · Palash Bagchi · approved

Consider something else if…

  • DeepInfra: Only some models carry per-token pricing; the rest bill for inference execution time, which is a different and harder thing to forecast.
  • Google Gemini API: The rates are dated: they roughly double on 1 January 2027, free-tier content is used to improve Google's products, and rate limits are not published anywhere you can read before signing up.

17 sourced criteria separate them — see where, with sources, below.

No affiliate links, sponsored placements or paid rankings appear on this site. Ordering follows the sourced data and the stated criteria.

01.

At a glance.

CriterionDeepInfraGoogle Gemini API
Pricing
Free tier
No
Yes
Kind of free offerNo free offerFree tier
Entry paid planNo minimum spend and no seat fees - billing is pay-per-token usage only, with no charge for idle GPU time.$5 minimum prepaid credit to move from the Free Tier to the Paid Tier; the minimum credit purchase is $5 and the maximum $5,000. No monthly plan fee — usage is billed per token. Applies to the Prepay billing plan; some accounts are offered or assigned Postpay instead.
Pricing modelTwo products on one bill: per-token serverless inference with a separate cached-input rate for each model, and dedicated GPUs billed per minute and invoiced weekly. Models without per-token pricing are billed for inference execution time instead.Per million tokens, with dated price changes published in advance — the current Gemini 3.x rates are explicitly promotional through 31 December 2026 and roughly double on 1 January 2027. A free tier exists, and its content is used to improve Google's products where the paid tier's is not.
Infrastructure
RegionsServerless inference runs on DeepInfra's own inference-optimised infrastructure in US-based data centers. No region selector is documented for the shared inference API.Google publishes availability as a country list rather than deployment regions: the Gemini API and Google AI Studio are listed as available in 230 countries and territories, counted from the page's own list, which publishes no total. Country and territory availability for access, not a choice of data region.
Inference
Input price, top model
$1.30 per million input tokens for DeepSeek-V4-Pro, the most expensive model in its catalogue. Cached input is $0.10.
$0.75 per million input tokens for Gemini 3.8 Flash through 31 December 2026, then $1.50. Gemini 3.1 Pro, still preview, is $2.00 for prompts up to 200k tokens and $4.00 above.
Output price, top model
$2.60 per million output tokens for DeepSeek-V4-Pro.
$3.75 per million output tokens for Gemini 3.8 Flash through 31 December 2026, then $7.50. Thinking tokens are billed as output.
Input price, cheapest model
$0.06 per million input tokens for DeepSeek-V4-Flash-0731, with cached input at $0.015 and output at $0.18. DeepSeek itself charges $0.44 at peak for the same checkpoint and Fireworks $0.22.
$0.30 per million input tokens for Gemini 3.5 Flash-Lite, with output at $2.50.
Context window
1024k tokens on the DeepSeek V4 models it serves; 160k on the V3 generation. The window is the model's rather than a platform limit.
1,048,576 tokens for Gemini 3.8 Flash. Read from the Vertex AI model card: the Gemini API docs build their model cards client-side and publish no figure a fetch can read.
Max output tokensHard cap of 16384 output tokens per response for most models on the chat completions API; the exact limit is model-dependent.65,536 tokens for Gemini 3.8 Flash, and Google counts thinking tokens as output.
Prompt cachingSupportedSupported
Batch discountBatch API jobs are billed 20% below real-time pricing, with results returned within 24 hours.50% off through the Batch API, which is a paid-tier feature.
Rate limitsDefault 200 concurrent requests per model per account (429 above it); a limit increase can be requested in the dashboard.Tied to a usage tier — Free, then Tier 1/2/3 unlocked by cumulative spend — and enforced as requests per minute, input tokens per minute and requests per day. Google publishes no numbers in the docs: limits are viewed in AI Studio and are stated not to be guaranteed.
Compliance
ISO 27001Security measures stated to comply with ISO 27001 standards in the privacy policy; no certificate or issuing body is published.Google commits to maintain ISO/IEC 27001:2013 certification for the Processor Services, which include Gemini API Paid Services. Contractual commitment in the DPA the Gemini API terms incorporate, not a Gemini-specific ISO certificate.
GDPR / data residencyPrivacy Policy: data may be transferred, stored and processed outside your jurisdiction, specifically in the United States; EU residents keep GDPR rights.Processed under Google's Data Processing Addendum on the paid tier; abuse-detection logs may be stored or cached in any country where Google has facilities. Scope: the logs Google keeps for Paid Services to detect Prohibited Use Policy violations.
Encryption at rest
Inference inputs and outputs are not stored to disk; bulk-inference data may be stored on disk in encrypted form, then deleted.
Google security policies mandate encryption at rest for all user data; personal data is encrypted at the storage level, generally using AES256. From the processor DPA that the Gemini API Additional Terms incorporate for Paid Services.
Role-based access controlTeam roles are member and admin; an admin can change roles, but all team members share the same API tokens and models.The only IAM role published for the Gemini API is a service agent role for GCS reads; the reference states there are no IAM permissions for the service.
Dedicated infrastructurePrivate model deployments run on dedicated GPU infrastructure - your weights, your endpoint, your isolation - not shared with other users.Provisioned throughput is offered as optional access on the Enterprise tier, which the pricing page says is powered by Gemini Enterprise Agent Platform.

Only criteria both providers publish appear here; a tinted cell marks a real difference. Criteria only one of them documents are listed below, and an absence there means we found no source — not that the feature is missing. How we source this.

The small bar above a value is inetGeek's own lean toward that side — computed from the same facts shown, never a number the provider published. See the picker below "The short answer" to weigh only the criteria you care about.

02.

Where they differ.

Free tier

DeepInfra
No
Google Gemini API
Yes
Sources (2) →

Kind of free offer

DeepInfra
No free offer
Google Gemini API
Free tier
Sources (2) →

Entry paid plan

DeepInfra
No minimum spend and no seat fees - billing is pay-per-token usage only, with no charge for idle GPU time.
Google Gemini API
$5 minimum prepaid credit to move from the Free Tier to the Paid Tier; the minimum credit purchase is $5 and the maximum $5,000. No monthly plan fee — usage is billed per token. Applies to the Prepay billing plan; some accounts are offered or assigned Postpay instead.
Sources (2) →

Pricing model

DeepInfra
Two products on one bill: per-token serverless inference with a separate cached-input rate for each model, and dedicated GPUs billed per minute and invoiced weekly. Models without per-token pricing are billed for inference execution time instead.
Google Gemini API
Per million tokens, with dated price changes published in advance — the current Gemini 3.x rates are explicitly promotional through 31 December 2026 and roughly double on 1 January 2027. A free tier exists, and its content is used to improve Google's products where the paid tier's is not.
Sources (2) →
  • Pricing — DeepInfra ↗

    “Some of our langauge models offer per token pricing. Most other models are billed for inference execution time. [...] Billed in minute granularity Invoiced weekly”

    Read 2026-09-06 · official pricing · Report a correction

  • Gemini Developer API Pricing ↗

    “Paid Tier, per 1M tokens in USD [...] $0.75 through December 31, 2026. $1.50 starting January 1, 2027. [...] Used to improve our products | Yes | No”

    Read 2026-09-06 · official pricing · Report a correction

Regions

DeepInfra
Serverless inference runs on DeepInfra's own inference-optimised infrastructure in US-based data centers. No region selector is documented for the shared inference API.
Google Gemini API
Google publishes availability as a country list rather than deployment regions: the Gemini API and Google AI Studio are listed as available in 230 countries and territories, counted from the page's own list, which publishes no total. Country and territory availability for access, not a choice of data region.
Sources (2) →

Input price, top model

DeepInfra
$1.30 per million input tokens for DeepSeek-V4-Pro, the most expensive model in its catalogue. Cached input is $0.10.
Google Gemini API
$0.75 per million input tokens for Gemini 3.8 Flash through 31 December 2026, then $1.50. Gemini 3.1 Pro, still preview, is $2.00 for prompts up to 200k tokens and $4.00 above.
Sources (2) →
  • Pricing — DeepInfra ↗

    “DeepSeek-V4-Pro 1024k $1.30 / $0.10 cached $2.60”

    Read 2026-09-06 · official pricing · Report a correction

  • Gemini Developer API Pricing ↗

    “Gemini 3.8 Flash [...] Input price | Free of charge | $0.75 through December 31, 2026. $1.50 starting January 1, 2027. [...] Gemini 3.1 Pro Preview [...] Input price | Not available | $2.00, prompts <= 200k tokens $4.00, prompts > 200k tokens”

    Read 2026-09-06 · official pricing · Report a correction

Output price, top model

DeepInfra
$2.60 per million output tokens for DeepSeek-V4-Pro.
Google Gemini API
$3.75 per million output tokens for Gemini 3.8 Flash through 31 December 2026, then $7.50. Thinking tokens are billed as output.
Sources (2) →

Input price, cheapest model

DeepInfra
$0.06 per million input tokens for DeepSeek-V4-Flash-0731, with cached input at $0.015 and output at $0.18. DeepSeek itself charges $0.44 at peak for the same checkpoint and Fireworks $0.22.
Google Gemini API
$0.30 per million input tokens for Gemini 3.5 Flash-Lite, with output at $2.50.
Sources (2) →

Context window

DeepInfra

1024k tokens on the DeepSeek V4 models it serves; 160k on the V3 generation. The window is the model's rather than a platform limit.

Google Gemini API

1,048,576 tokens for Gemini 3.8 Flash. Read from the Vertex AI model card: the Gemini API docs build their model cards client-side and publish no figure a fetch can read.

Sources (2) →

Max output tokens

DeepInfra
Hard cap of 16384 output tokens per response for most models on the chat completions API; the exact limit is model-dependent.
Google Gemini API
65,536 tokens for Gemini 3.8 Flash, and Google counts thinking tokens as output.
Sources (2) →

Batch discount

DeepInfra
Batch API jobs are billed 20% below real-time pricing, with results returned within 24 hours.
Google Gemini API
50% off through the Batch API, which is a paid-tier feature.
Sources (2) →

Rate limits

DeepInfra
Default 200 concurrent requests per model per account (429 above it); a limit increase can be requested in the dashboard.
Google Gemini API
Tied to a usage tier — Free, then Tier 1/2/3 unlocked by cumulative spend — and enforced as requests per minute, input tokens per minute and requests per day. Google publishes no numbers in the docs: limits are viewed in AI Studio and are stated not to be guaranteed.
Sources (2) →
  • Rate Limits - DeepInfra ↗

    “Every account has a default limit of 200 concurrent requests per model [...] You can request a rate limit increase in your”

    Read 2026-09-13 · official docs · Report a correction

  • Rate limits — Gemini API ↗

    “Rate limits depend on a variety of factors (such as your usage tier) and can be viewed in Google AI Studio. [...] Specified rate limits are not guaranteed and actual capacity may vary. [...] Usage tier | Qualification | Billing tier cap Free | Active project or free trial | N/A Tier 1 | Set up and link an active billing account | $250”

    Read 2026-09-06 · official docs · Report a correction

ISO 27001

DeepInfra
Security measures stated to comply with ISO 27001 standards in the privacy policy; no certificate or issuing body is published.
Google Gemini API
Google commits to maintain ISO/IEC 27001:2013 certification for the Processor Services, which include Gemini API Paid Services. Contractual commitment in the DPA the Gemini API terms incorporate, not a Gemini-specific ISO certificate.
Sources (2) →

GDPR / data residency

DeepInfra
Privacy Policy: data may be transferred, stored and processed outside your jurisdiction, specifically in the United States; EU residents keep GDPR rights.
Google Gemini API
Processed under Google's Data Processing Addendum on the paid tier; abuse-detection logs may be stored or cached in any country where Google has facilities. Scope: the logs Google keeps for Paid Services to detect Prohibited Use Policy violations.
Sources (2) →
  • DeepInfra Privacy Policy ↗

    “Your data may be transferred, stored, and processed outside of your jurisdiction, specifically in the United States. [...] If you are a resident of the European Union you may have additional rights under the General Data Protection Regulation.”

    Read 2026-09-13 · official site · Report a correction

  • Gemini API Additional Terms of Service | Google AI for Developers ↗

    “will process your prompts and responses in accordance with the Data Processing Addendum for Products Where Google is a Data Processor [...] This data may be stored transiently or cached in any country in which Google or its agents maintain facilities.”

    Read 2026-09-13 · official site · Report a correction

Encryption at rest

DeepInfra
Inference inputs and outputs are not stored to disk; bulk-inference data may be stored on disk in encrypted form, then deleted.
Google Gemini API
Google security policies mandate encryption at rest for all user data; personal data is encrypted at the storage level, generally using AES256. From the processor DPA that the Gemini API Additional Terms incorporate for Paid Services.
Sources (2) →

Role-based access control

DeepInfra
Team roles are member and admin; an admin can change roles, but all team members share the same API tokens and models.
Google Gemini API
The only IAM role published for the Gemini API is a service agent role for GCS reads; the reference states there are no IAM permissions for the service.
Sources (2) →

Dedicated infrastructure

DeepInfra
Private model deployments run on dedicated GPU infrastructure - your weights, your endpoint, your isolation - not shared with other users.
Google Gemini API
Provisioned throughput is offered as optional access on the Enterprise tier, which the pricing page says is powered by Gemini Enterprise Agent Platform.
Sources (2) →

When these numbers change, hear about it. Sources are re-checked monthly; a repricing goes out as a short note.

Confirm by email; unsubscribe from any issue. Your address goes to Kit and nowhere else — what we do with it.

03.

Documented by only one.

These criteria are published by one provider and not the other. An absence here means we have not found a source, not that the feature is missing — except where we say we read the other provider's own page on a given date and it does not state it. Those rows lean, and the provider can correct them with a link.

Credit card to startDeepInfra: Yes
H100 SXM, per GPU-hourDeepInfra: $2.20 per GPU-hour for a dedicated H100 80GB — below every dedicated cloud in this dataset. A100 80GB is $0.89, H200 $2.69, B200 $3.69. Billed in minute granularity, invoiced weekly.
Largest GPU offeredDeepInfra: 270GB per GPU on a B300, at $4.89 per GPU-hour.
SOC 2DeepInfra: Security measures stated to comply with SOC 2 standards in the privacy policy; no report, audit type or auditor is published.
HIPAADeepInfra: Technical and organizational measures for HIPAA compliance stated in the privacy policy; no BAA or eligible-services list is published.
04.

Questions this comparison answers.

Entry paid plan: DeepInfra or Google Gemini API?

DeepInfra: No minimum spend and no seat fees - billing is pay-per-token usage only, with no charge for idle GPU time.

Google Gemini API: $5 minimum prepaid credit to move from the Free Tier to the Paid Tier; the minimum credit purchase is $5 and the maximum $5,000. No monthly plan fee — usage is billed per token. Applies to the Prepay billing plan; some accounts are offered or assigned Postpay instead.

Free tier: DeepInfra or Google Gemini API?

DeepInfra: No

Google Gemini API: Yes

Should I choose DeepInfra or Google Gemini API?

Pick DeepInfra if Running open-weight models at the lowest published per-token rates here — DeepSeek-V4-Flash at $0.06 per million input is a fraction of what the lab itself charges — with dedicated H100s at $2.20 an hour if throughput demands it.

Pick Google Gemini API if Getting to a working prototype without a card, then staying on the cheapest frontier-adjacent rates in this set — $0.75 per million input tokens is well under half what Anthropic and OpenAI charge for their top models.

Provider pages

Related comparisons

Comments

Every page here is sourced and dated.