WhatsApp bot: what it costs and how to build it

WhatsApp is where many Danish customers prefer to write. A bot needs Meta’s WhatsApp Business Platform, which charges per message. Here are Meta’s own rates for Denmark, a worked example and the mistakes we have made with WhatsApp ourselves.

Last checked:

At a glanceA salon chain with 500 conversations a month

Total

  1. Service messages beyond the free…€ 7.10 *
  2. Reminders (utility)€ 4.26 *
  3. Campaign (marketing)€ 19.60 *

* With conditions, see the table. Figures from the table on this page. Details and sources are in the table.

Three ways into WhatsApp – only one is for a bot

  1. The WhatsApp Business app on a phone is free and fine for a small shop that answers by hand. It is not made for a bot.
  2. The WhatsApp Business Platform (Cloud API) is Meta’s official route, used directly or through a provider such as a chatbot tool. Every message from you to the customer is charged at Meta’s rates.
  3. Unofficial engines such as WAHA attach to an ordinary WhatsApp account as an extra device. They are free, but they are not Meta’s API, and the account can be banned.

We use both 2 and 3, for different jobs. Our own WhatsApp messaging tool is built on n8n, the Cloud API and MySQL and sends text, images, reactions and templates through Meta’s Graph API. Among other things it runs appointment confirmations for a salon booking site. The unofficial engine is used only to read our own chats, never to send. To build the bot yourselves, see the WhatsApp chatbot recipe for n8n with a signature check and a duplicate filter.

Meta’s price for Denmark

Meta has charged per message since 1 July 2025, and only messages from the business to the customer cost money. Denmark sits in the “Rest of Western Europe” region together with Sweden, Norway, Finland and others.

WhatsApp Business Platform, price per message to Danish numbers

CategoryWhat it isEURUSDapprox. kr.
Marketingoffers, newsletters, cart reminders0.0490.05920.37
Utilityorder confirmation, appointment reminder0.01420.01710.11
Authenticationone-time codes0.01420.01710.11
Servicereplies within 24 hours of the customer’s message0.01420.01710.11
Meta rate card effective 1.10.2026, checked 19.11.2026. Kroner at 7.47 kr. per euro and 6.80 kr. per dollar, excl. VAT.

Four rules decide the bill:

  • 1,000 free service messages per business number per month. Unused ones do not roll over.
  • From 1 October 2026 service messages are charged again, and so are utility messages inside the customer’s 24-hour window. Without a payment method on file Meta stopped delivering service messages.
  • Ads that open WhatsApp give a free window of up to 7 days.
  • Currency is chosen once, when the account is created. Pick euro from the start if you want to compare with kroner without a dollar rate.

Third-party sites show other figures for the region. We do not use them, because they did not match Meta’s own file.

A salon chain with 500 conversations a month

Customers start 500 conversations and the bot replies 3 times on average: 1,500 service messages. The first 1,000 are free, so 500 cost €0.0142 each. Add 300 appointment reminders as utility templates and one campaign to 400 customers who opted in to messages.

ItemCountPrice per messageTotal
Service messages beyond the free 1,000500€0.0142€7.10 ≈ 53 kr.
Reminders (utility)300€0.0142€4.26 ≈ 32 kr.
Campaign (marketing)400€0.049€19.60 ≈ 146 kr.
Meta total per month€30.96 ≈ 231 kr.
Meta’s EUR rates 1.10.2026, 7.47 kr. per euro, excl. VAT and excl. the chatbot tool’s own subscription.

That is Meta’s part; the chatbot tool comes on top. In cbot.dk, our own product, WhatsApp is included from the Pro plan at €79 a month.

Code: save media the moment it arrives

Our most expensive WhatsApp mistake was about photos. Media that customers send expires: the link in the webhook works only for minutes, and a photo from eight days earlier returned error 400. We fetched photos only when someone opened the chat and lost 40 of 42. The fix is to copy the file to your own storage immediately. This is how it looks in a small FastAPI service that also checks Meta’s signature:

WhatsApp webhook that stores media on receipt (FastAPI + httpx)

import hashlib
import hmac
import os
import pathlib

import httpx
from fastapi import FastAPI, HTTPException, Request
from fastapi.responses import PlainTextResponse

GRAPH = f"https://graph.facebook.com/{os.environ['GRAPH_VERSION']}"  # current version from Meta's changelog
TOKEN = os.environ["WA_TOKEN"]
MEDIA_DIR = pathlib.Path(os.environ.get("MEDIA_DIR", "media"))
app = FastAPI()


@app.get("/webhook")
def verify(request: Request):
    q = request.query_params
    if q.get("hub.mode") == "subscribe" and q.get("hub.verify_token") == os.environ["WA_VERIFY"]:
        return PlainTextResponse(q.get("hub.challenge", ""))
    raise HTTPException(403)


@app.post("/webhook")
async def receive(request: Request):
    body = await request.body()
    sig = "sha256=" + hmac.new(os.environ["WA_APP_SECRET"].encode(), body, hashlib.sha256).hexdigest()
    if not hmac.compare_digest(sig, request.headers.get("x-hub-signature-256", "")):
        raise HTTPException(401)
    data = await request.json()
    async with httpx.AsyncClient(timeout=20, headers={"Authorization": f"Bearer {TOKEN}"}) as http:
        for entry in data.get("entry", []):
            for change in entry.get("changes", []):
                for msg in change.get("value", {}).get("messages", []):
                    media = msg.get(msg.get("type", ""), {})
                    if isinstance(media, dict) and media.get("id"):
                        meta = (await http.get(f"{GRAPH}/{media['id']}")).json()  # short-lived URL
                        blob = await http.get(meta["url"])
                        MEDIA_DIR.mkdir(exist_ok=True)
                        (MEDIA_DIR / f"{msg['id']}.bin").write_bytes(blob.content)
    return {"ok": True}  # answer fast; heavy work belongs in a queue

If you are tempted by an unofficial engine

WAHA is tempting: free, multi-session, multiple engines. Our internal WhatsApp hub runs on FastAPI, PostgreSQL and MinIO with WAHA in Docker, and our notes say WAHA is fully free from version 2026.6.1. whatsmeow is our plan B. A session restored itself from the database after about 11 days without a new QR scan. But two warnings:

  • The phone lies about errors. After several attempts to link a device the phone showed “Check your connection”. The real cause was 429 rate-overlimit, visible only in the engine’s API response.
  • Bulk sending is a different risk from reading. That is why our hub deliberately has no send function. If customers should get messages from you, use the Cloud API and get their consent before sending templates they did not ask for.

Sources

Last reviewed: 2026-12-03

Questions about WhatsApp bots

Is the WhatsApp Business API free?

No, but close to it for small businesses. The first 1,000 service messages per number per month are free; after that a service message to a Danish number costs €0.0142.

What changed on 1 October 2026?

Meta started charging again for service messages beyond the free 1,000 and for utility messages inside the 24-hour window.

Do we need a provider, or can we go straight to Meta?

You can use the Cloud API directly from Meta. A provider or chatbot tool gives you an inbox, templates and support, but adds its own subscription on top of Meta’s per-message price.

Is WAHA allowed?

It is not Meta’s official API, and Meta can ban the account. We use it only to read our own chats, not to send to customers.

Fixed price, no commitment

Get a fixed price for your chatbot

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?