Skip to content
Tell us about your project

AI and automation · · 9 min read

What a custom AI project costs: the cost drivers and how to compare quotes

Most figures online for the cost of bringing AI into a company are the publisher's own rate cards or ranges with no source. This guide does not add another range: it breaks the price into its line items, shows how to work out monthly usage from the model providers' public prices, and lists what to get in writing so two quotes can actually be compared.

Why there is no single number

Asking what AI costs is like asking what software costs. It depends on what it does, how many systems it talks to, how often it runs each month and what happens when it gets something wrong. The question that does have an answer is narrower: what does the process you want to improve cost today, and what line items does the proposed solution have?

Three families of solution are priced in different ways. A subscription tool is paid per user per month, at a published price. An automation without a language model is paid mostly up front and is cheap to keep running. A custom build that uses a model has a build cost plus a running cost that grows with usage. Our post on AI agents versus chatbots covers the difference between the last two.

One reading note: when a website quotes a price range without saying where it comes from, it is usually the publisher's own rate card or a third-party figure with no source. You will not find Weblineo prices here, or anyone else's; you will find how the price is put together, so you can check the one you are given.

Build cost and running cost: keep them apart

Building is paid once. It covers understanding the process, designing the solution, writing the code, connecting it to the company's systems, testing it on real cases, putting it live and training the team. This is the part a quote usually shows.

Running is paid every month, and it is the part quotes tend to leave out. It covers model usage, billed in tokens, hosting, monitoring and maintenance. A quote that only gives the build figure omits exactly the cost that moves the most.

The healthy setup is for the model provider accounts (Anthropic, OpenAI, Google or another) to be in the company's name and on its card. Real usage then shows up in the provider console with no mark-up in between, and you can set a spending cap. Our post on choosing an AI agency lists the money and ownership questions worth asking before you sign.

How token usage is calculated

A token is a chunk of text: sometimes a word, sometimes part of one. Providers charge per million tokens and bill separately for what the model reads (input: instructions, documents, conversation history) and what it writes (output). Output usually costs several times more than input.

The formula: monthly requests times input tokens per request times the input price, plus monthly requests times output tokens per request times the output price. A hypothetical example, with a volume made up for the arithmetic: 3,000 requests a month, 4,000 input tokens and 500 output tokens each. That is 12 million input tokens and 1.5 million output tokens. With Claude Sonnet 5.5 at 2 USD and 10 USD per million, that comes to 24 USD of input and 15 USD of output: 39 USD a month. If each request also carries 20,000 tokens of documents, input rises to 72 million tokens and the total to 159 USD a month, for the same number of requests.

Prices move, and not only downwards. At the same volume, Gemini 3.8 Flash comes to about 14.63 USD a month at the price Google lists through 31 December 2026, and 29.25 USD at the price it lists from 1 January 2027. Comparing models on price per token alone is misleading too: Anthropic documents that Claude 4.7 and later models use a newer tokenizer that produces approximately 30% more tokens for the same text. Measure usage on the specific model with real text rather than extrapolating.

What drives usage up: long documents in every request, as in a search tool over your own documents (see our RAG guide); agents that chain steps and tools, since every step sends context back to the model and tool definitions count as input too (covered in the AI agents guide); and conversation histories that grow without limit. What brings it down: the smallest model that handles the task well, caching repeated instructions, batch processing when the answer is not urgent (Anthropic documents a 50% discount) and a spending cap on the account.

Indicative prices per million tokens in USD, checked on 4 Dec 2026 on each provider's official pricing page. Providers change prices often: check them before running your own numbers.

  • Anthropic, Claude Sonnet 5.5: 2 USD input, 10 USD output; cache reads at 0.10 USD (platform.claude.com, Pricing page).
  • OpenAI, gpt-6.2-sol: 2 USD input, 10 USD output, 0.10 USD cached input, standard tier with short context (developers.openai.com, Pricing page).
  • Google, Gemini 3.8 Flash: 0.75 USD input and 3.75 USD output through 31 Dec 2026; 1.50 USD and 7.50 USD from 1 Jan 2027 (aistudio.google.com, Gemini API Pricing page).
  • The Gemini API has a free tier, but the same page states that free tier data is used to improve Google's products and paid tier data is not. For company data, that matters more than the price.

What moves the build budget most

In custom projects the language model is rarely the expensive line. The expense is everything around it, and these are the items worth seeing broken down in any quote.

On security and compliance: if the system handles personal data, the GDPR applies, supervised by the data protection authority of each EU country (in Spain, the AEPD). Regulation (EU) 2024/1689 on artificial intelligence, amended by Regulation (EU) 2026/1744, sets different obligations depending on the type of use; in Spain the supervisory authority is AESIA. Which obligations apply depends on the specific case and should be checked against the official text on EUR-Lex, with legal advice, before building rather than after. Legal references checked on 4 Dec 2026 against the Official Journal of the EU (EUR-Lex).

  • Integrations: how many systems need connecting (ERP, CRM, email, warehouse) and whether they have an API. A system without an API usually adds more cost than the model itself.
  • Data: where it lives, what state it is in and who cleans it up. It is one of the most underestimated lines.
  • Testing and evaluation: a bank of real cases with their correct answers, run before going live and after every change. The method is in our guide to implementing AI in a company.
  • Human oversight and permissions: approvals wherever a mistake costs money, per-operation permissions and a log of what the system does.
  • Security and compliance: which data leaves the company, to which provider and on what terms; documentation according to the use.
  • Hosting: calling a provider's API, or running an open model on your own infrastructure, which brings hardware, operations and updates in-house.

The cost that comes later: maintenance

Models get retired. On its model deprecations page, Anthropic says it gives at least 60 days' notice before retiring a publicly released model, that requests to a retired model fail, and that applications should be tested on the replacement well before the date. Claude Sonnet 4.5, for example, was deprecated on 30 September 2026 and retired from the Claude API on 30 November 2026. Every migration means switching the model, rerunning the test bank and fixing what breaks: that is work, and it should be planned for.

Connected systems change as well. An ERP update, a new CRM field or an API version change can break an integration that used to work. On top of that, the test bank needs new cases, instructions need tuning, indexed documents need keeping current, and usage and quality need checking every month.

That is why maintenance should be quoted separately and in writing: what it covers, how often it is reviewed and what happens when a provider retires the model the solution depends on.

What does not need AI (and pays no tokens)

The most direct way to cut the cost of an AI project is to take AI out of the places that do not need it. A large share of what gets requested as an AI project is done better and cheaper with ordinary software, which also avoids the mistakes a language model makes.

  • Processes with fixed rules and tidy data: pushing orders into the ERP, stock alerts, sign-ups, reminders. That is a plain automation.
  • Reports from structured data: a database query or a dashboard.
  • Extracting fields from uniform, well-scanned documents: OCR, no language model. Our post on automating invoices with AI shows where the line is.
  • Sales management an off-the-shelf CRM already covers: our guide on custom versus off-the-shelf CRM helps you decide.
  • Badly designed processes: fix them first, then decide whether a model is needed.

How to get quotes you can compare

Two quotes are only comparable if they answer the same brief and break out the same items. Start by giving every provider the same material: a description of the process as it runs today, the real monthly volume, the systems involved, real anonymised examples and what happens when the system gets it wrong.

Then ask for the items below in writing, each as a separate line. If you would like Weblineo to help you scope it, our AI solutions page explains how we work: alongside Shopify for ecommerce, we build agents, automations, document search and custom software for companies in any sector. For businesses in Spain counting on a public grant, check first in the national grants database (BDNS, infosubvenciones.es), which publishes the open calls.

Red flags: no monthly usage estimate, model accounts in the provider's name, no test bank or acceptance criteria, or AI proposed where a rule would do.

  • Scope: what the solution does and what is out.
  • Integrations: which systems, how, and who grants access.
  • Data preparation: who does it and the expected effort.
  • Testing: case bank, acceptance criteria and who signs it off.
  • Team training and documentation.
  • Monthly usage estimate for your volume and the intended model, with the calculation shown.
  • Hosting and monitoring: where it runs and who watches it.
  • Maintenance: what it covers, including migration when the model is retired.
  • Ownership: code in your repository and provider accounts in your name.
  • Exit: what you take with you, and how, if you change supplier.

Frequently asked questions

Is it more expensive to build the system or to keep it running?

It depends on volume. With few requests a month, development outweighs usage by far; with high volume, or long documents in every request, the monthly cost can become the main line over the years. That is why both are calculated separately and set against what the process costs today.

Can I know the monthly usage cost before starting?

It can be estimated quite closely: you need the real volume of the process, a few real examples to count tokens on the intended model, and its published price. The estimate is confirmed in the pilot by measuring actual usage, and in production a spending cap is set on the provider account.

Is an open model on my own servers cheaper?

There are no tokens to pay for, but there is hardware, hosting, operations, security and updates, all on you. It tends to pay off when data cannot leave the company or when volume is very high and steady. For a first project, a provider API on business terms is usually simpler to maintain.

What should an AI quote include so I can compare it?

Scope, integrations, data preparation, testing with acceptance criteria, training, a monthly usage estimate for your volume and the intended model, hosting, maintenance, ownership of code and accounts, and exit terms. Each as a separate line; without the usage estimate, half the cost is missing.

Tell us what your company needs

Tell us about your project in a few minutes. If it’s a fit, you book a 30-minute call with a developer and we send you a fixed-price proposal.

Tell us about your projectWe reply within 24 hours