Model comparison

DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview: API Comparison

Reviewing documents without losing their layout. DeepSeek V4.1 Flash 1017: $0.0621; Gemini 3.1 Pro Preview: $0.4220 for 199,000 input and 2,000 output tokens.

Compared versions: DeepSeek V4.1 Flash 1017 via Novita AI; Gemini 3.1 Pro Preview via Google.

Updated · 8 sources · Methodology and sources

DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview
DimensionWinnerDifferenceEvidence
Token cost in the exampleDeepSeek V4.1 Flash 1017$0.3599DeepSeek V4.1 Flash 1017: $0.0621 / Gemini 3.1 Pro Preview: $0.42201256
Published maximum outputDeepSeek V4.1 Flash 1017327680 tokensDeepSeek V4.1 Flash 1017: 393216 / Gemini 3.1 Pro Preview: 6553612
Audio/video input types supportedGemini 3.1 Pro Preview2DeepSeek V4.1 Flash 1017: 0 / Gemini 3.1 Pro Preview: 212

What survives PDF text extraction?

For document workflows, distinguish an extracted text document from a PDF with charts or a recording. Gemini 3.1 Pro Preview accepts more file modalities; Flash 1017 fits text and image requests. Large input bundles can cross Gemini’s 200K price boundary, so cost the whole request before choosing one call over several.128

When does extracting PDF text change the task?
StepEvidence handling
1Extraction changes the task when meaning depends on chart axes, table alignment or page geometry.
2Keep page references and compare the extracted representation with the original.
3Use a layout-sensitive subset to test whether lower input cost comes with lost evidence.

Speed and latency

Response time depends on reasoning effort as well as request length. The cited Gemini 3.1 Pro Preview evaluation does not identify its reasoning-effort setting, so it cannot establish which model will answer faster under comparable conditions. For document work, compare waiting time and answer accuracy using the same documents and streaming mode.34

Specs and price

Specs and price12568
MetricDeepSeek V4.1 Flash 1017Gemini 3.1 Pro Preview
Input / 1M tokens (USD) · ≤200K input tokens$0.3$2.005
Input / 1M tokens (USD) · >200K input tokens$0.3$4.005
Output / 1M tokens (USD) · ≤200K input tokens$1.2$12.005
Output / 1M tokens (USD) · >200K input tokens$1.2$18.005
Cache read / 1M tokens (USD) · ≤200K input tokens$0.006$0.205
Cache read / 1M tokens (USD) · >200K input tokens$0.006$0.405
Published token limit (scope shown)1,048,576 (context window)11,048,576 (input only)2
Published output limit (tokens)393,21665,536
API sellerNovita AIGoogle
Model input typesText, imageText, image, audio, video, PDF

The audio/video count covers two input types only: audio and video. Gemini supports both; Flash supports neither directly. Text and image support is listed separately. Maximum output is a capacity ceiling, not measured answer quality.12

Example: 199,000 input + 2,000 output tokens, no cache
DeepSeek V4.1 Flash 1017$0.0621
Gemini 3.1 Pro Preview$0.4220
Lower is better

Worked workload budget

These are alternative request sizes, not sequential stages. Compare each row separately: crossing the input threshold changes the rate applied to the request.

Worked workload budget1256
MetricDeepSeek V4.1 Flash 1017Gemini 3.1 Pro Preview
Below the input-price threshold
Calls: 1 · 199,000 / 2,000 tokens per call
$0.0621$0.4220
Above the input-price threshold
Calls: 1 · 201,000 / 2,000 tokens per call
$0.0627$0.8400

Which to choose

DeepSeek V4.1 Flash 1017

  • Compare text extracts and individual images with retained page references.

Gemini 3.1 Pro Preview

  • Use original documents where charts or layout carry evidence, and include long-input pricing in that trial.

Integration

On Novita, send extracted text or individual page images to Flash. On Google, keep a copy of the original document for a layout-sensitive comparison.

Novita AI: LLM API documentation7

Frequently asked questions

Does splitting a prompt below 200K tokens always help?

Smaller requests may qualify for the lower Gemini rate. Include repeated instructions and any final synthesis, and check whether splitting loses relationships across pages.

Methodology and sources

Prices as of 2026-11-25 are in USD per 1M tokens. The example is synchronous, uncached text inference: input tokens × input rate / 1,000,000 + all billed output tokens × output rate / 1,000,000. It includes no tool calls, regional processing or paid storage. Reasoning tokens must fit within the output budget. Token counts are a controlled assumption, not a claim that the same text tokenizes identically.1256

Response time depends on reasoning effort as well as request length. The cited Gemini 3.1 Pro Preview evaluation does not identify its reasoning-effort setting, so it cannot establish which model will answer faster under comparable conditions. For document work, compare waiting time and answer accuracy using the same documents and streaming mode.34

Novita publishes a context window for Flash. Google lists separate input and output limits for Gemini 3.1 Pro Preview. The scope of each limit is shown in the table.

Gemini 3.1 Pro uses the Preview API version. Above 200K input tokens, its full-request rates change from $2 / $12 to $4 / $18 per 1M input/output tokens. Cache reads change from $0.20 to $0.40, with explicit cache storage priced at $4.50 per 1M tokens per hour.

Workload budgets are illustrative plans, not measured token usage, retry rates or equivalent-quality results. They use the listed uncached text rates and include billed reasoning in output. Video/image ingestion, extraction, tools and human review are outside these token-only totals. Repeated calls are billed again; no cache saving is assumed.

For a realistic cost per accepted result, add failed attempts and human review to the token bill. The examples estimate token charges only; actual task accuracy and review effort depend on your workload.

Novita AI publishes this comparison and sells the Novita-hosted endpoints listed here. No private performance test was run for this article.

  1. Novita AI: DeepSeek V4.1 Flash 1017 specifications
  2. Google: Gemini 3.1 Pro Preview specifications
  3. Artificial Analysis: DeepSeek V4.1 Flash 1017 evaluation
  4. Artificial Analysis: Gemini 3.1 Pro Preview evaluation
  5. Google: API pricing
  6. Novita AI: API pricing
  7. Novita AI: LLM API documentation
  8. DeepSeek · DeepSeek-V4.1-Flash-1017

Start with a layout-sensitive PDF

Use Flash on Novita to review an extracted page. Check its chart labels and table references against the original.