Skip to content

Strategy and teams

How much does it cost to implement AI in an SME?

In short

Implementing AI in an SME costs the sum of four budget lines: the work of the people who design, integrate and test the system; model usage, which is billed by volume; the infrastructure it runs on; and maintenance once it is in production. In a well-scoped use case, people's time is what weighs most: model usage can stay at a few tens of dollars a month.

Implementing artificial intelligence (AI) in an SME costs the sum of four budget lines: the work of the people who design, integrate and test the system; usage of the AI model, which is billed by volume; the infrastructure it runs on; and maintenance once it is in production. There is no list price, because each line depends on the process being automated, the systems it has to connect to and how much it is used. What you can do is estimate each line separately before signing anything.

More and more companies are asking the question. According to Spain’s National Statistics Institute (INE), 33.6% of Spanish companies with 10 or more employees used artificial intelligence in the first quarter of 2026, and among companies with fewer than 10 employees the figure was 21.4%.

What does the cost of implementing AI in an SME depend on?

The cost depends above all on scope: how many processes the system touches, how many systems it integrates with and what happens when it gets something wrong. An assistant that drafts documents a person always reviews costs far less than a system that acts on its own inside the ERP.

These are the factors that move the budget most:

  • Integrations. Reading from and writing to the ERP, the CRM or the document management system usually takes more work than the AI itself. Each system has its own way of exposing data and its own permissions.
  • State of the data. Scanned documents with no text layer, information spread across spreadsheets or duplicated records mean the data has to be prepared before the system performs well.
  • Volume. The model is paid for by usage: processing a hundred documents a month does not cost the same as a hundred thousand.
  • Quality requirements. If a mistake has consequences (a payment, a reply to a customer), you need testing with real cases, human review and a log of every action, and all of that is work.
  • Where it is deployed. Using the model as a cloud service requires no upfront investment in hardware; running it on your own servers does.

What are the budget lines of an AI project?

An AI project has four budget lines: people, model, infrastructure and maintenance. The first two vary a lot from one project to another, and maintenance is the one most often forgotten when budgeting.

Budget line What it includes When you pay What it depends on
People Process analysis, development, integrations, testing and team training Mostly at the start, then with each improvement Scope, number of integrations and state of the data
Model usage Input and output tokens sent to the model provider Monthly, according to usage Volume, document length and the model chosen
Infrastructure Servers or cloud services where the application runs, databases, storage Monthly, or as a capital investment for your own servers Where it is deployed and the security requirements
Maintenance Monitoring quality, fixing errors, adapting the system to changes in data, processes or model Monthly, for as long as the system is in use How much the data and connected systems change

The people line also covers your own team’s time. Someone who knows the process has to explain how the work is done today, prepare real examples and review the results of the first versions. If that time is not set aside, the project drags on, and that costs money too.

How much does it cost to use an AI model through an API?

Using a model through an API (the interface an application uses to send text to the model and get the answer back) is billed by tokens, and in a well-scoped use case it is usually the smallest line. A token is the unit into which the model splits text; providers charge separately for input and output tokens.

As a reference, Anthropic’s pricing page lists, as of October 2026, these rates per million tokens: $0.10 input and $0.50 output for Claude Haiku 5.5 (for prompts up to 100,000 tokens), $2 and $10 for Claude Sonnet 5.5, and $4 and $20 for Claude Opus 5.5. The same page states that batch processing, for tasks that do not need an immediate answer, carries a 50% discount.

A hypothetical example: an SME that processes 2,000 documents a month, with about 4,000 input tokens and 500 output tokens per document. That is 8 million input tokens and 1 million output tokens a month.

Model Input (8M tokens) Output (1M tokens) Monthly total Total with batch (−50%)
Claude Haiku 5.5 $0.80 $0.50 $1.30 $0.65
Claude Sonnet 5.5 $16 $10 $26 $13
Claude Opus 5.5 $32 $20 $52 $26

The example shows two things. First, the model you choose multiplies the cost: there is a factor of 40 between the cheapest and the most expensive model in the table. Second, even the most expensive model stays under $60 a month at this volume. Most of the budget goes on integrating, testing and maintaining the system, so the decision that matters most is the scope of the project.

The figures change if documents are longer, if the system makes several calls per document (like an AI agent that checks several systems before answering) or if each question carries many document excerpts, as in a system that answers from your company’s documents. The prudent approach is to measure actual usage in a trial with real data and extrapolate from there.

What costs appear after go-live?

Once in production, the system needs maintenance, quality reviews and, from time to time, a change of model. These are recurring costs and should be budgeted from the start, because an AI system without maintenance degrades.

The problem has been documented for years. A paper by Google engineers presented at NeurIPS 2015, Hidden Technical Debt in Machine Learning Systems, warns that it is common to incur massive ongoing maintenance costs in real-world machine learning systems. Among the causes it lists data dependencies, configuration issues and changes in the external world.

In an SME’s AI project, those costs translate into tasks like these:

  • Migrating to a new model. Providers retire older models. Anthropic, for example, states in its model deprecation policy that it gives at least 60 days’ notice and that, after the retirement date, requests to the retired model fail. Changing models means running the tests again.
  • Monitoring quality. Periodically reviewing a sample of results and the cases the system could not handle.
  • Adapting to change. A new form, a field that changes in the ERP or a supplier that redesigns its invoices can break an integration.
  • Supporting users. Answering questions, collecting faults and adjusting the system’s instructions.

What public funding is there in Spain for implementing AI in an SME?

As of October 2026, there is no specific national grant open in Spain that an SME can apply to directly to fund an AI project. There is one closed programme and two announced ones.

  • Kit Consulting (closed). This programme run by Red.es, Spain’s public digital transformation agency, included an artificial intelligence advisory service capped at 6,000 euros per service with a minimum of 100 hours of work, within vouchers of 12,000, 18,000 or 24,000 euros depending on company size. According to Red.es, the application period closed on 31 March 2025.
  • Business AI voucher (announced). The IA360 Plan, presented by the Spanish Government on 21 September 2026, provides for a voucher for SMEs and self-employed workers with a budget of 600 million euros. According to the plan, it will fund AI services from European technology companies that add development, integration, data processing or process redesign, and it will not fund mere licence subscriptions. The planned timeline is a pilot in the first half of 2027 and a general call before the end of 2027. The rules, with amounts and requirements, have not been published.
  • AI as a service with ERDF funds (announced). In March 2026 the Government announced 40 million euros from the European Regional Development Fund (ERDF, FEDER in Spanish) to help startups and SMEs use AI adapted to their business. SMEs do not apply directly: the funds are managed by business associations, technology centres and innovation support centres.

Spain’s regional governments and chambers of commerce also run their own digitalisation grants. Check the ones in your region before closing the budget, because some require you to apply before you sign a contract.

How do you contract an AI project?

There are three common ways to contract an AI project: a fixed-scope project, a subscription with a dedicated team, or a bank of days. Each one splits the risk differently between the company and the supplier.

Model How it works Fits when What to watch
Fixed-scope project Fixed price for a defined scope The process and the data are clear from the start What happens with changes and who maintains the system afterwards
Subscription with a dedicated team Recurring fee for an assigned engineer or team There are several processes to tackle or the system needs to evolve What is delivered in each period and how it is measured
Bank of days You buy a number of days and use them as needed Scope is uncertain or the work comes in peaks How usage is recorded and what happens to unused days

In all three cases, ask for a quote that separates the four budget lines and says who pays for model usage: whether the supplier invoices it or it goes to your company’s own account with the model provider.

How do you build a realistic budget before you start?

A realistic budget comes from a small trial with real data. These steps reduce uncertainty before you commit most of the spend:

  1. Pick a specific process with a known volume and a measurable result: invoices processed, queries answered, case files prepared.
  2. Measure how it is done today: how many hours it takes, how many errors there are and what they cost.
  3. Build a first version on real data and measure token usage, quality and the cases it cannot handle.
  4. Extrapolate the monthly model and infrastructure cost from real volume, with a margin for the exchange rate.
  5. Set maintenance aside as a fixed line for as long as the system is in use.

At Referent this is how we work: a small team runs the assessment alongside the people who live with the problem, builds a first version on real data and stays until the system works in production, as described in our method. With companies, we work on a subscription with a dedicated engineer or on a bank of days, and the people who run the assessment are the ones who build and maintain the system. If that way of working interests you, we explain it in what a forward deployed engineer is and in our services.

Frequently asked questions

Can Kit Consulting still pay for an AI project?

Not for new applicants. Kit Consulting, a Red.es programme that funded digital advisory services for Spanish SMEs, included an artificial intelligence advisory service capped at 6,000 euros with a minimum of 100 hours, but the application period closed on 31 March 2025, so the voucher can no longer be requested.

What currency are AI model APIs billed in?

The large providers usually publish their prices in US dollars per million tokens, with separate rates for input tokens (what you send to the model) and output tokens (what it generates). The bill in euros depends on the exchange rate, so budget with a margin and check actual usage every month in the provider's console.

Does an SME need to buy servers to implement AI?

In most cases, no. The usual approach is to use the model as a cloud service, pay for usage, and deploy the application around it in the company's or the supplier's cloud. Your own servers make sense when data cannot leave the organisation, or when volume is so high and steady that the investment pays off.

What is a token and how does it affect the price?

A token is the unit into which the model splits text: a word can be one token or several. The model's price is the number of input and output tokens multiplied by the rate for each. That is why a long document costs more than a short question, and why it pays to send the model only the text it needs.

Sources

Consulted while writing this article.

  1. Nota de Prensa: Encuesta sobre el uso de TIC y del comercio electrónico en las empresas. Año 2025 - Primer trimestre 2026. Instituto Nacional de Estadística (INE).
  2. Pricing. Anthropic.
  3. Model deprecations. Anthropic.
  4. Hidden Technical Debt in Machine Learning Systems. NeurIPS 2015 (Sculley et al.).
  5. Hasta el 31 de marzo puedes solicitar los bonos de asesoramiento digital especializado para pymes del programa Kit Consulting. Red.es.
  6. Plan IA360. La Moncloa (Government of Spain).
  7. Pedro Sánchez announces the IA360 Plan and calls for a national agreement on the responsible, humane and safe deployment of artificial intelligence. La Moncloa (Government of Spain).
  8. El Gobierno destinará 40 millones de euros del Fondo Europeo de Desarrollo Regional (FEDER) para impulsar en startups y pymes el uso de inteligencia artificial adaptada a su actividad. España Digital (Government of Spain).

Not sure where to start with AI?

Tell us which processes worry you. We review them with our engineering team and suggest a concrete first step.

Talk to us

Let's talk about your project

Tell us which process you want to improve. We review it with our engineering team and write back to set up a first conversation.

All fields are required.

Controller
REFERENT SOFTWARE SL
Purpose
To answer your enquiry
Legal basis
Your consent
Recipients
We do not share your data with third parties unless required by law
Rights
Access, rectification, erasure, objection, restriction and portability, as explained in the privacy policy