Discuss your project

Article

Your AI bill can bankrupt you

Over the 30 days to October 26, 2026, the CorpusIQ DeepSeek AI API bill was $344.78 for 148,918 requests. Here is how routing models keeps it workable.

Graphic of a burning invoice in a dark server room with the headline Your AI bill can bankrupt you, and a panel showing CorpusIQ DeepSeek usage over the last 30 days: 21.14 billion tokens, 148,918 API requests, 344.78 dollars.

By · Published · 3 min read

Over the 30 days to October 26, 2026, the DeepSeek dashboard at CorpusIQ recorded 148,918 API requests and 21.14 billion total tokens. The bill was $344.78.

Routing each job to the right model is what keeps that number workable. If everything went through Codex or Claude, the budget would be gone.

Discuss your project

Route each job to a model
  1. Light to medium work
  2. Coding
  3. Local cron jobs
  4. Check cost per result

The routing decision

At CorpusIQ, DeepSeek handles all light to medium work. Codex handles coding. Qwen runs locally for cron jobs.

Three models, three jobs.

At nearly 149,000 requests a month, choosing the right model for each job becomes a serious operating decision.

What "right model" means

The choice is based on three things.

  1. Capability. Can the model do the task without a person fixing it
  2. Output quality. Is the result good enough to use
  3. Cost. Does the result justify the difference in price

Paying more needs to produce a result that justifies the difference. Otherwise, it is expense without value.

A frontier model on a scheduled cleanup job is waste. A small model on an architecture decision is a different kind of waste.

The trap

The trap is not only the price per token. It is the number of tokens per task.

An agent that reads the entire knowledge base for every question will cost more than an agent that reads the three documents it needs. An agent that re-sends the full conversation every turn will cost more than one that caches the prefix.

Many AI bills are a design problem, not a pricing problem.

What to measure

Do not measure the monthly bill in isolation. Measure:

  • Cost per completed task.
  • Cost per accepted output.
  • Cost per customer interaction.
  • Cost of the human review.

The monthly bill tells you what you spent. The unit cost tells you whether the system works.

Take the figures above. $344.78 divided by 148,918 requests is about $0.0023 per request, and 21.14 billion tokens over those requests is about 142,000 tokens per request. Those numbers are useful, but they are not the cost per task, because a request is not a task. A task may take one request or twenty.

Count the tasks that were accepted without a person fixing them. If some tasks need rework, the cost per accepted task is higher than the cost per task. The difference is the rework, and a cheap model with a high rework rate is expensive.

Where the tokens go

Much of the token count in an agent workflow is context, not the answer.

  • The system prompt.
  • The tool definitions.
  • The conversation history.
  • The documents.
  • The examples.

Caching helps with the stable part. Routing helps with the variable part. Prompt design helps with both. Removing context the model does not need makes a prompt cheaper and often more accurate.

The routing rule

Route by task, not by habit.

  • A scheduled cleanup goes to the cheapest model that can do it.
  • A coding task goes to the model with the best code results.
  • An architecture decision goes to the strongest model, and runs rarely.
  • A customer-facing draft goes to the model with the best voice, plus a review.

The routing rule should be written down. If it lives in someone's head, it drifts.

What I want from AI

I want AI to remove operating costs. I have no interest in replacing them with a model bill the business cannot afford.

That is the standard. If the system costs more than the work it replaces, it is not automation. It is a subscription.

The limit

Cheap models are not always the answer. A model that costs half as much and fails twice as often is not cheaper.

Optimizing cost can also reduce quality. The goal is not the cheapest system. It is the system with the best cost per accepted result.

To go deeper, see what AI implementation costs, model routing and prompt caching, or start with AI implementation.

Start with the process that costs you the most time

Tell me which process you want to improve. A name, an email, and a short description of the process are enough to start a useful conversation.

Discuss your project