Home / Guides / AI data analysis cost: what analyzing one CSV costs

AI data analysis cost: what analyzing one CSV costs

Handing a spreadsheet to a model sends a lot of input tokens. That changes which models are cheap.

By Piotr Olszewski · Nov 8, 2026 · prices as of Nov 22, 2026

The cheapest measured model for analyzing a 200-row CSV was GLM 5.3 Flash at 0.15¢ per task, but that run used the full 16,000-token reasoning cap and returned no visible output. The best measured result with a finished answer was GPT-6 Luna at 0.19¢. Input price matters less than you would expect, because reasoning tokens are billed as output and often dominate the bill.

What the spreadsheet analysis task actually bills

The task is a 200-row spreadsheet analysis. Input is small, between 4,681 and 6,357 tokens depending on the model's tokenizer. Visible output is small for most models. The variable part is reasoning, which ranged from 0 to 30,023 tokens in my data. Many runs hit the 16,000-token output cap.

So the job looks input-heavy on paper, but cost is driven by how long each model thinks. Input price tells you what reading the data costs. Reasoning length tells you what the answer costs.

Input price alone is a poor guide

Input prices in my price data range from $0.034 per 1M tokens for GLM 5.3 Flash to $10.00 for Claude Fable 5.1. The cheapest and most expensive models by input price also sit at the two ends of the measured spreadsheet analysis costs, but the middle of the ranking does not follow input price.

List prices are from the official pricing page as of 2026-11-08:

ModelInput $/1MOutput $/1MAnalyze 200 rows, per 1,000 tasksBlog post, per 1,000 tasks
GLM 5.3 Flash$0.034$0.083$1.49$0.58
GPT-6 Luna$0.10$0.50$1.87$1.19
DeepSeek V4.1 Flash$0.051$0.57$9.32$1.73
Claude Haiku 5.5$0.10$0.50$8.54$1.89
Mistral Small 4$0.15$0.60$7.14$4.67
Mistral Large 4$0.70$2.10$25.81$16.35
Claude Sonnet 5.5$2.00$10.00$170.87$36.58
Claude Opus 5.5$4.00$20.00$341.73$73.16
Claude Fable 5.1$10.00$50.00$854.33$182.90

GPT-6 Luna and Claude Haiku 5.5 have the same list prices, yet spreadsheet analysis costs $1.87 per 1,000 tasks on one and $8.54 on the other. Haiku 5.5 hit the 16,000-token cap, using 15,434 reasoning tokens, while Luna finished with 2,338. Likewise, DeepSeek V4.1 Flash has an input price of $0.051, but it hit the cap with no visible output and cost $9.32 per 1,000 tasks. Its input price was not the problem. Its reasoning length was.

Mistral Small 4 is also cheaper than Claude Haiku 5.5 on this task, at a higher input price.

Measured versus estimated

Twelve models were measured directly. The rest are estimated. Each measured run was one run per task with default settings through OpenRouter, output capped at 16,000 tokens. Where a model hit the cap, its cost reflects the cap, not a finished answer.

This matters most for the cheapest rows. GLM 5.3 Flash and Qwen3.8 Flash both hit the cap with zero visible output, so their low per-task numbers describe a truncated run as much as a cheap one. GPT-6 Luna is the more useful budget reference: measured, 456 output tokens, 2,338 reasoning tokens.

The output-heavy contrast: blog post

To see how the ranking changes, compare the same models on the blog post task, a 1,500-word post. Input is tiny, between 52 and 1,296 tokens, and output is large. The median across all 325 models is 0.87¢ per blog post, against 2.2¢ for spreadsheet analysis.

The gap between tasks is largest for premium models:

  • Claude Sonnet 5.5: 17¢ per spreadsheet analysis task, 3.7¢ per blog post.
  • Grok 4.7: 20¢ per spreadsheet analysis task, 2.3¢ per blog post.
  • Gemini 3.8 Flash: 3.9¢ per spreadsheet analysis task, 1.5¢ per blog post.
  • Mistral Large 4: 2.6¢ per spreadsheet analysis task, 1.6¢ per blog post.

The difference is the reasoning. On the blog post, Claude Sonnet 5.5 used 239 reasoning tokens. On spreadsheet analysis it used 16,000 and hit the cap. Output-heavy writing rewards cheap output rates. Data work, where the model has to reason over the table, rewards models that think efficiently.

Here is the spreadsheet analysis ranking from my measurements:

#ModelCost per taskText scoreTokens in / outBasis
1Z.ai logo
GLM 5.3 FlashZ.ai
≥0.14¢$1.45 / 1,000
14764,900 / 16,000measured best value capped
2OpenAI logo
GPT-6 LunaOpenAI
0.19¢$1.87 / 1,000
14414,779 / 2,794measured
3DeepSeek logo
DeepSeek V4.1 FlashDeepSeek
≥0.34¢$3.43 / 1,000
14764,801 / 16,000measured capped
4OpenAI logo
GPT-5.4 NanoOpenAI
0.44¢$4.45 / 1,000
14014,779 / 2,794estimated
5Mistral logo
Mistral Small 4Mistral
0.71¢$7.14 / 1,000
-4,774 / 10,700estimated
6Alibaba Qwen logo
Qwen3.8 FlashAlibaba Qwen
≥0.85¢$8.47 / 1,000
-6,357 / 16,000measured capped
7Anthropic logo
Claude Haiku 5.5Anthropic
≥0.85¢$8.54 / 1,000
14255,433 / 16,000measured capped
8Google logo
Gemini 3.1 Flash LiteGoogle
1.4¢$13.75 / 1,000
-6,304 / 8,118estimated
9Xiaomi logo
MiMo-V2.6-ProXiaomi
≥1.6¢$16.09 / 1,000
14804,984 / 16,001estimated best value capped
10OpenAI logo
GPT-5.4 MiniOpenAI
1.6¢$16.16 / 1,000
14474,779 / 2,794estimated

See the full breakdown on the analyze spreadsheet task page and the blog post task page.

Which model families suit input-heavy work

Based on my measurements:

  • Budget models with short reasoning. GPT-6 Luna is the best measured option at 0.19¢ per spreadsheet analysis task. GPT-5.4 Nano shares its token counts and is estimated at 0.44¢.
  • Very cheap models that can overthink. GLM 5.3 Flash, DeepSeek V4.1 Flash and Qwen3.8 Flash have low input prices, but in my runs they hit the 16,000-token cap. Check the output before you trust the cost.
  • Mid-tier models. Mistral Small 4 is estimated at 0.71¢ on spreadsheet analysis and 0.47¢ on the blog post. Mistral Large 4 is measured at 2.6¢ on spreadsheet analysis.
  • Premium models. Claude Sonnet 5.5, Claude Opus 5.5, Claude Fable 5.1, GPT-6 Astra and Grok 4.7 cost 17¢ or more per spreadsheet analysis task. Their blog post costs are much lower, so they fit drafting better than bulk spreadsheet work.

Anthropic's tokenizer ratio is 1.39 against 1.00 for OpenAI, so the same document uses more tokens on Claude, which raises input volume on every analysis.

For bulk spreadsheet analysis, start with a short-reasoning budget model, test it on your own data, and confirm it returns a complete answer. Use the calculator with your own token counts, and read the methodology for how each run was measured.

FAQ

Is input price the best way to pick a model for CSV analysis?

No. Reasoning tokens are billed as output, and on spreadsheet analysis they often exceed the input. GPT-6 Luna and Claude Haiku 5.5 share the same list prices but cost $1.87 and $8.54 per 1,000 tasks.

Why did some cheap models score badly on spreadsheet analysis?

Several hit the 16,000-token output cap with no visible output. Their per-task costs describe runs that did not finish, so check for a complete answer before comparing prices.

Which model should I start with for bulk spreadsheet analysis?

GPT-6 Luna was the best measured option at 0.19¢ per task, with a finished answer. Test it on your own spreadsheets, since my measurements cover one run per task with default settings.

Sources