Sorzio
PricingDocs
Sign inStart free
Start free

Enrich, verify, qualify, and write outbound inside Claude, ChatGPT, Cursor, and Google Sheets. Pay only for rows that succeed.

Start free · $20 credit

Product

  • Enrich
  • Verify
  • AI & Models
  • Flows
  • Prospect Pages
  • Tools
  • Pricing
  • Compare
  • Install

Connect

  • Documentation
  • MCP Developer Hub
  • Platform API
  • Claude
  • ChatGPT
  • Cursor

Resources

  • Use cases
  • Case studies
  • Guides & Blog
  • Glossary
  • Help Center
  • Contact Support

Company

  • About
  • Security
  • Sorzio vs Clay
  • Sorzio vs Apollo

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie list
  • Subprocessors

Empra Consultancy LTD
hello@sorzio.com

Sorzio (formerly ReplyLabs) is built and operated by Empra Consultancy LTD (https://www.sorzio.com) and is an independent product and company not affiliated with Reply.io (Reply, Inc.).

Sorzio|PrivacyTermsCookiesSubprocessors

© 2026 Empra Consultancy LTD. All rights reserved.

Home/Guides/How to estimate AI API cost for a Google Sheets job
GUIDE · BRING YOUR OWN KEY

How to estimate AI API cost for a Google Sheets job

Estimate AI API cost from token counts and per-million rates, then scale to a full Sheets batch. Worked math for input, output, managed markup, and BYOK.

UPDATED NOV 7, 2026 · 7 MIN READ
GUIDEBring your own key
Hugo Dupont
Founder at Sorzio

Builds outbound data pipelines across Google Sheets, Claude MCP, and ChatGPT.

CONTENTS
  1. 1. How do you estimate AI API cost for a spreadsheet batch?
  2. 2. How do you estimate AI API cost?
  3. 3. A worked example
  4. 4. How does managed pricing change the estimate?
  5. 5. What throws an estimate off?
  6. 6. A quick estimation checklist
  7. 7. Common questions
SHARE
CONTENTS
  1. 1. How do you estimate AI API cost for a spreadsheet batch?
  2. 2. How do you estimate AI API cost?
  3. 3. A worked example
  4. 4. How does managed pricing change the estimate?
  5. 5. What throws an estimate off?
  6. 6. A quick estimation checklist
  7. 7. Common questions
Quick summary & key takeaways

Estimate AI API cost from token counts and per-million rates, then scale to a full Sheets batch. Worked math for input, output, managed markup, and BYOK.

  • 01How do you estimate AI API cost for a spreadsheet batch?
  • 02How do you estimate AI API cost?
  • 03A worked example
  • 04How does managed pricing change the estimate?

How do you estimate AI API cost for a spreadsheet batch?

Estimate AI API cost per row by multiplying input tokens by the input rate plus output tokens by the output rate, dividing by one million, and scaling by succeeded rows. Sorzio previews exact costs across Google Sheets, Claude MCP, ChatGPT MCP, and Cursor at 1.65x plus $0.0035/row managed or 0% BYOK markup on $39/month Pro.

How do you estimate AI API cost?

The cost of one model call is driven by two token counts and two rates. Providers price per million tokens, and they price input (what you send) and output (what the model generates) separately, with output almost always costing more.

The per-row formula is:

cost per row = ((input_tokens x input_rate) + (output_tokens x output_rate)) / 1,000,000

The job estimate is then:

job cost = cost per row x rows_that_succeed

A token is a subword unit, not a word: on average one token is roughly four English characters, or about 0.75 words. So a 300-word prompt is around 400 tokens, and a 150-word generated answer is around 200 tokens. Those rough conversions are enough to estimate; you do not need exact token counts to get within a sensible margin.

A worked example

Say you are running a prompt down a column of 50,000 rows. Each row sends a prompt of about 400 input tokens and the model returns about 200 output tokens. The model you picked is priced at $2.50 per million input tokens and $15.00 per million output tokens.

Input cost per row: (400 x $2.50) / 1,000,000 = $0.0010.

Output cost per row: (200 x $15.00) / 1,000,000 = $0.0030.

Raw cost per row: $0.0010 + $0.0030 = $0.0040.

Job cost at 50,000 succeeded rows: $0.0040 x 50,000 = $200 of raw model spend.

Notice the output dominated even though it was half the token count, because the output rate was six times the input rate. That asymmetry is the single most important thing to internalize: trimming a verbose output instruction usually saves more than trimming the prompt.

How does managed pricing change the estimate?

The math above gives you the raw provider cost, which is what you pay under BYOK (bring your own key), billed to your own provider account. Managed mode in Sorzio adds two things on top of the raw cost: a markup of 1.65x and a base fee of $0.0035 per succeeded row.

So adapt the per-row figure depending on mode:

  • BYOK per row = raw cost (the $0.0040 above), billed by your provider.
  • Managed per row = (raw cost x 1.65) + $0.0035 = ($0.0040 x 1.65) + $0.0035 = $0.0101.

Across 50,000 succeeded rows that is $200 of provider spend under BYOK versus $505 managed. The $305 gap is the markup and base fee. The cheaper the raw call, the larger the fixed $0.0035 base fee looms in proportion, so high-volume runs on small fast models are where BYOK pulls furthest ahead. For the full break-even logic, the bring your own API key page lays it out, and the definition of the two modes is on the BYOK glossary entry.

Model / step tierRaw cost / 1k rowsSorzio Managed / 1kSorzio Pro BYOK / 1k
Budget LLM (1,000 in / 150 out)~$0.24~$3.90 (1.65x + $0.0035/row)~$0.24 (0% Sorzio markup)
Mid-tier LLM (400 in / 200 out)$4.00$10.10 (1.65x + $0.0035/row)$4.00 (0% Sorzio markup)
Frontier LLM (rich context)$8.00$16.70 (1.65x + $0.0035/row)$8.00 (0% Sorzio markup)
Decision Mode ICP gateCalibrated model~$1.01 ($1.00/1k base + 1.25x input)Settles from Sorzio balance
Website Enrich + Verify add-onPer succeeded row$6.00/1k enrich + $10.00/1k verify$6.00/1k enrich + $10.00/1k verify

You do not have to run any of this by hand. Sorzio shows exact pre-run cost previews across Google Sheets, multi-step Flows, Claude, and MCP, and new accounts start with $20 free credit. Model your exact prompt in the AI cost calculator, the Clay cost calculator, and Sorzio vs Clay.

What throws an estimate off?

Five things account for most of the gap between an estimate and the real bill.

  • Output length varies more than input. Your prompt is fixed, but how much the model writes back is not. If outputs range from one line to a paragraph, estimate against the longer end so you are not surprised.
  • Only succeeded rows are charged. In both managed and BYOK mode, failed and skipped rows cost nothing on the Sorzio side. So estimate against rows you expect to succeed, not your total row count. A list with 20% junk inputs costs less than its size suggests.
  • Retries. A row that fails once and succeeds on retry still bills once, for the succeeded result. Retries do not multiply your bill on the Sorzio side, but heavy provider-side retry traffic under BYOK can show up on your provider invoice.
  • Prompt caching and batch discounts. Most providers now offer cached-input pricing (often around 10% of the base input rate for repeated context) and batch APIs at roughly half price. If your prompt reuses a large fixed system block across every row, the effective input rate can be far below list, so a naive estimate overstates the cost.
  • Model choice. Rates span a wide range, from cents per million tokens on budget models to tens of dollars per million on frontier reasoning models. Re-estimate whenever you switch models; the same job can differ by 50x depending on the model.

A quick estimation checklist

Before a large run, settle five numbers: average input tokens per row, average output tokens per row, the model's input rate, its output rate, and the count of rows you expect to succeed. Multiply through the per-row formula, scale by the row count, then apply the managed adjustment if you are not on BYOK. Cross-check against the cost preview in the sidebar or the AI cost calculator. For configuring the prompt and run itself, see the AI prompts help guide, and to start, the Sorzio home page lists the plans.

Common questions

How do I calculate the cost of an AI API call?

Multiply input tokens by the input rate and output tokens by the output rate, then divide by one million. Providers price input and output separately per million tokens, and output usually costs several times more than input.

How many tokens is a word?

On average one token is about 0.75 words, or roughly four English characters. A 300-word prompt is around 400 tokens. These rough conversions are accurate enough for estimating.

Why is my actual bill different from my estimate?

Usually because output length varied, fewer rows succeeded than expected, or prompt caching and batch discounts lowered the effective rate. Only succeeded rows are charged, so junk inputs cost nothing and can make the real bill lower than a naive estimate.

Does Sorzio charge for failed rows?

No. In both managed and BYOK mode, only succeeded rows are charged. Failed and skipped rows cost nothing on the Sorzio side.

How do I estimate cost for a managed run versus BYOK?

Estimate the raw cost first. That is the BYOK figure. For managed, multiply the raw cost by 1.65 and add $0.0035 per succeeded row. The AI cost calculator shows both side by side.

PREVIEW BEFORE YOU RUN

Try it on ten rows first

See the enriched columns, the verdicts, and the exact cost before you run the whole list.

Start free · $20 credit

Run this on your list

$20 free credit. Works in Google Sheets, Claude, and ChatGPT. Pay only for rows that succeed.

Start free
Hugo Dupont
Founder at Sorzio
SHARE
Keep reading · Bring your own key
Read the full guide: Bring your own API key (BYOK) for AI enrichment
  • Claude in Google Sheets
  • Claude API pricing for lead enrichment per 1,000 rows
Key terms
BYOK (Bring Your Own Key)API key
Run this in Sorzio · Sheets, Claude, ChatGPT & Cursor
0% BYOK Pricing 300+ AI Models Sorzio vs Clay BYOK Cost Calculator

More guides.

All guides →
GLOSSARY
GLOSSARY · 2 MIN READ

BYOK (bring your own key)

BYOK means using your own AI provider API key in a tool, so model calls bill to your provider account at raw cost with no platform markup added.

Read guide →
GLOSSARY
GLOSSARY · 3 MIN READ

API key

An API key is a secret credential that authenticates and bills requests to a service. In BYOK tools, your provider key runs AI at raw cost on your account.

Read guide →
GUIDE
GUIDE · 6 MIN READ

Claude in Google Sheets: bulk prompts, BYOK pricing, and MCP sync

Run Anthropic Claude across thousands of Google Sheets rows with Sorzio using managed credits or 0% markup OpenRouter BYOK, plus remote Claude MCP sync.

Read guide →

READY TO RUN THIS WORKFLOW?

You bring the list. Sorzio does the rest.

Start with $20 of free credit across Google Sheets, Claude, and ChatGPT. Pay only for rows that succeed.

Start free · $20 creditSee pricing