Model comparison

DeepSeek V4 Flash 0731 vs GPT-5.6 Luna: recurring text extraction

For a combined extraction request with 600,000 uncached input tokens, GPT-5.6 Luna costs $0.276 and DeepSeek V4 Flash 0731 costs $0.2904 at 20,000 billed output tokens. At 100,000 billed output tokens, Luna costs $0.42 and DeepSeek costs $0.396. The cheaper endpoint depends on how much each job generates.

Updated · 5 sources · Methodology

Estimated token costs and published endpoint specs
DimensionWinnerMarginEvidence
Combined field extraction · 600,000 uncached input + 20,000 billed output tokensGPT-5.6 Luna$0.0144 less per request$0.2904 / $0.276 12
Combined exception report · 600,000 uncached input + 100,000 billed output tokensDeepSeek V4 Flash 0731$0.024 less per request$0.396 / $0.42 12
Maximum output (tokens)DeepSeek V4 Flash 0731265,216 additional output tokens393,216 / 128,000123
Accepted inputGPT-5.6 LunaImageText / Text, Image123

The task changes the choice

Keep extraction results traceable to individual records

Assign each form a record ID, define required fields and decide how to represent missing values. Validate every result against its source. In a combined request, flag any field pulled from a neighbouring record and send only affected records back for review.

For a 600,000-token uncached request, Luna’s higher input tier applies to the full request. Short field lists and long exception reports can therefore favour different endpoints. Use billed output, including reasoning where the provider counts it, to budget each job.2

Price the records that survive validation

Use a trial set containing repeated names, blank fields and adjacent forms with different values. Send the same set to both models, then count the records accepted on the first pass and those needing a retry. Divide the total model spend, including retries, by the number of accepted records. If a cheaper request leaves more records unresolved, that extra work can outweigh the per-request savings shown in the table.

When output changes the cost of a combined request

USD per 1M billable tokens · lower input-length tier
MetricDeepSeek V4 Flash 0731 · Novita AIGPT-5.6 Luna · OpenAI
Uncached input$0.44 1$0.2 2
Billed output$1.32 1$1.2 2
Cache read$0.028 1$0.02 2
Context window (tokens)1,048,5761,050,000
Maximum output (tokens)393,216128,000
Accepted inputTextText, Image

Sources: 123

Token-cost examples per request · No new cache writes
MetricDeepSeek V4 Flash 0731 · Novita AIGPT-5.6 Luna · OpenAI
Combined field extraction · 600,000 uncached input + 20,000 billed output tokens$0.2904$0.276
Combined exception report · 600,000 uncached input + 100,000 billed output tokens$0.396$0.42
Combined exception report · 600,000 uncached input + 100,000 billed output tokens
DeepSeek V4 Flash 0731$0.396
GPT-5.6 Luna$0.42

Route records by source and output size

DeepSeek V4 Flash 0731

  • Use DeepSeek V4 Flash 0731 for text records when a combined exception report generates enough output to cross the cost threshold. Keep the record validator in your application.

GPT-5.6 Luna

  • Use Luna when short field lists dominate or when forms arrive as images. For image forms, track the number of records that still need manual correction.

Practical questions

What changes the cheaper endpoint for one long request?

At 600,000 uncached input tokens, both cost $0.33 at exactly 50,000 billed output tokens. Luna costs less below that threshold. DeepSeek V4 Flash 0731 costs less above it. This calculation uses Standard token rates and assumes no new cache writes.12

Methodology and sources

Prices and limits use the named providers’ public API terms as of 2026-11-18. Exact model IDs are listed below.123

For each request, multiply the token count by the rate in each billing category, add the amounts and divide by 1,000,000. The examples use equal billed counts for both models and assume no new cache writes. For a separately billed write, apply its total write rate to those tokens. Add any cache storage separately.325

Published limits do not guarantee that maximum input and output fit in one request. Cost examples are calculated from public token rates; they do not measure task success, speed or output quality. Execution, paid tools, taxes and optional service tiers are excluded.

The rate table shows OpenAI Standard’s lower input tier. Above 272,000 input tokens, uncached input is 2× and output is 1.5× for the full request.25

For this model, OpenAI’s default cache-write option has a 30-minute minimum lifetime and costs 1.25× the ordinary input rate. The Responses API offers a 12-hour minimum lifetime at 2.5×.5

GPT-5.6 Luna · Published cache-write charges (lower input-length tier): $0.25 / 1M tokens · 30 min; $0.5 / 1M tokens · 12 h (Responses API). The Novita catalog for DeepSeek V4 Flash 0731 lists no separate cache-write price; this is not treated as a zero price.235

deepseek/deepseek-v4-flash-0731 · Novita AI
gpt-5.6-luna · OpenAI

  1. DeepSeek V4 Flash 0731 novita.ai
  2. GPT-5.6 Luna developers.openai.com
  3. Novita AI · Public model catalog api.novita.ai
  4. Novita AI · Chat Completions documentation docs.novita.ai
  5. OpenAI · Prompt caching and write durations developers.openai.com

Build your comparison on Novita AI

Set up the DeepSeek text extraction path with Novita’s Chat Completions documentation. Connect Luna through OpenAI with its own credentials and billing.4