# Z-API Omni vs Evolution API: hosted or self-hosted WhatsApp

> Evolution API runs Baileys or Meta's Cloud API on your server under Apache 2.0 with extra conditions. How it compares with Z-API Omni, fact by fact.

Published 2026-11-05. Z-API Omni team.

Evolution API fits teams that want WhatsApp on their own server with no subscription. Z-API Omni fits teams that want it hosted, with Instagram, Messenger and Telegram too. Evolution API is an open-source REST API kept by the evolution-foundation GitHub organization. One codebase gives you two WhatsApp connections. The first is Baileys, which the README calls "a free API based on WhatsApp Web". The second is Meta's Cloud API, through a Meta app you create ([Evolution API README](https://github.com/evolution-foundation/evolution-api), accessed 2026-11-05). Its license is Apache 2.0 with two added conditions, a logo rule and a usage notice. Omni is a subscription per number, and the customer chooses between the QR connection and Meta's official API, in the same account.

## The two products on the same axes

| | Z-API Omni | Evolution API |
|---|---|---|
| Hosting | Hosted service | Self-hosted ([installation](https://docs.evolutionfoundation.com.br/evolution-api/installation)) |
| WhatsApp connection | QR connection or Meta's official API, in the same account | Baileys, "based on WhatsApp Web", or Meta's Cloud API with `"integration": "WHATSAPP-BUSINESS"` |
| Meta onboarding | Meta's Embedded Signup, opened by the Omni SDK ([connect WhatsApp](https://developer.omni.z-api.io/en/connect/meta-whatsapp)) | Your own Meta developer app, a permanent token, the Number ID and the WABA business ID ([Cloud API integration](https://docs.evolutionfoundation.com.br/evolution-api/integrations/cloudapi)) |
| Other channels | Instagram, Messenger, Telegram | None documented. Evolution Channel is a generic inbound-webhook channel |
| What you operate | No server | Node.js 20+, PostgreSQL or MySQL, Redis (recommended) |
| Webhook signing | HMAC-SHA256 in `x-webhook-signature` | Not documented on the webhook page |
| Webhook retries | Up to 7 attempts within 23 hours | Not documented on the webhook page |
| Event delivery | Webhooks per channel, per template, or one default | HTTP webhooks, plus WebSocket, RabbitMQ, Amazon SQS, Kafka, NATS and Pusher |
| License | Commercial subscription | Apache 2.0 with logo and usage-notice conditions ([LICENSE](https://github.com/evolution-foundation/evolution-api/blob/main/LICENSE)) |
| Price | US$29 per number per month for 1–10 numbers, down to US$20 above 100 | No license fee. Your servers and time, plus Meta's fees on the Cloud API option |
| Latest release | Not applicable | v2.3.8 stable (2026-11-23), 2.4.0-rc2 pre-release (2026-05-17) ([releases](https://github.com/evolution-foundation/evolution-api/releases)) |

All links accessed 2026-11-05.

## Two WhatsApp connections in one project

Evolution API calls each connection an instance, and each instance uses the Baileys or the Cloud API integration. The Baileys integration is a QR connection. The README says it "may have limitations compared to official APIs". The Cloud API integration is "the official API provided by Meta", and the README warns that it "may incur per-message costs".

On the Cloud API side you bring every Meta piece yourself. The [setup page](https://docs.evolutionfoundation.com.br/evolution-api/integrations/cloudapi) (accessed 2026-11-05) asks for an approved Business Manager account and a Meta developer app with the WhatsApp product added. It also needs a number and a permanent token from the Business Manager admin user. You then create the instance with a body like this one, from the docs with the Portuguese placeholders replaced:

```json
{
  "instanceName": "INSTANCE_NAME",
  "token": "PERMANENT_ADMIN_TOKEN",
  "number": "WHATSAPP_NUMBER_ID",
  "businessId": "WHATSAPP_BUSINESS_ACCOUNT_ID",
  "qrcode": false,
  "integration": "WHATSAPP-BUSINESS"
}
```

You also point the webhook in your Meta app panel to `API_URL/webhook/meta` and store the verify token in `.env` as `WA_BUSINESS_TOKEN_WEBHOOK`.

Omni's official channel starts from its SDK, which "opens Meta's Embedded Signup, where the user picks the WABA and the number" ([connect WhatsApp](https://developer.omni.z-api.io/en/connect/meta-whatsapp), accessed 2026-11-05). The page lists a Business Portfolio, an admin profile, a number that can receive an SMS or a call, and a payment method to send templates. The page lists no Meta app or permanent token to create. Coexistence lets you connect "a number already in use in the WhatsApp Business app".

Evolution's Baileys integration runs on WhatsApp Web, so WhatsApp's [Terms of Service](https://www.whatsapp.com/legal/terms-of-service) (accessed 2026-11-05) apply to it. They bar users from reverse engineering the service and from creating "software or APIs that function substantially the same as our Services". [Can a QR-connected number be banned?](/academy/articles/whatsapp-qr-connection-ban-risk-terms-of-service/) covers what that means for an account, and [the QR connection vs Meta's official API](/academy/articles/whatsapp-qr-connection-vs-meta-official-api/) covers the rest of the decision.

## Channels beyond WhatsApp

Evolution API's docs cover WhatsApp through Baileys and the Cloud API. They add Evolution Channel, a generic channel that takes messages in from your own systems through webhooks ([Evolution Channel](https://docs.evolutionfoundation.com.br/evolution-api/integrations/evolution-channel), accessed 2026-11-05). The only Instagram and Messenger setup page in the docs index belongs to Evo CRM, a separate product. Telegram doesn't appear.

Omni has four channel types: `META_WHATSAPP`, `META_INSTAGRAM`, `META_MESSENGER` and `BOT_TELEGRAM` ([channel types](https://developer.omni.z-api.io/en/channels/introduction), accessed 2026-11-05). Instagram and Messenger connect through Meta OAuth, Telegram with a bot token ([channels overview](https://developer.omni.z-api.io/en/channels/overview), accessed 2026-11-05).

Message features don't line up one to one. Evolution's [available resources](https://docs.evolutionfoundation.com.br/evolution-api/configuration/available-resources) page lists polls, status posts, stickers and group management (create, update photo, subject and description, list all groups). Lists are still in testing, and buttons are discontinued and work only on the Cloud API. Omni's [message support matrix](https://developer.omni.z-api.io/en/channels/message-support) offers polls on Telegram only and Flows, catalogs and option lists on the Cloud API only. It says the API doesn't send quoted replies yet or delete a sent message, on any channel. Both pages accessed 2026-11-05. Omni's [limitations page](https://developer.omni.z-api.io/en/z-api/limitations) (accessed 2026-11-05) marks listing groups, adding participants, group settings and status sends as not supported.

## What you run on your own server

Evolution API is Node.js and TypeScript. The README asks for Node.js 20+, PostgreSQL or MySQL, and Redis, which it marks "recommended". You can install with Docker, which the docs recommend for production, or with NVM, Nginx with Let's Encrypt, SetupOrion or Easypanel.

The [Docker page](https://docs.evolutionfoundation.com.br/evolution-api/install/docker) (accessed 2026-11-05) wants PostgreSQL and Redis configured first. Its Compose sample pins `evoapicloud/evolution-api:v2.1.1`, older than the current stable release, so set the tag you have tested. The minimal `.env` ships with `AUTHENTICATION_API_KEY=mude-me`, Portuguese for "change me". No hardware sizing appears on the install pages. The README says the server "collects anonymous telemetry data", such as routes used and API version.

Upgrades are yours too. The newest stable tag, v2.3.8, came out on 2026-11-23 with a patched Baileys rc.9, and the 2.4.0 line was at a second release candidate in May 2026. When a Baileys session drops, [the session error guide](/academy/articles/waha-evolution-api-baileys-session-errors/) maps the codes you will see.

Omni leaves no server to run. The workspace provides IP restriction for the Secret Key, authorized domains for the SDK, two-factor login, team roles and an audit log ([security](https://developer.omni.z-api.io/en/security/introduction), accessed 2026-11-05).

## Webhooks: signing, retries and duplicates

Evolution API sets webhooks globally in `.env` with `WEBHOOK_GLOBAL_URL`, or per instance at `/webhook/instance`, which the docs expect most users to prefer ([webhooks](https://docs.evolutionfoundation.com.br/evolution-api/configuration/webhooks), accessed 2026-11-05). The page lists 20 events, including `MESSAGES_UPSERT`, `CONNECTION_UPDATE`, `QRCODE_UPDATED` and three group events. With `webhook_by_events`, the event name is appended to your URL. The page doesn't document request signing or retries, so read the source before you rely on either.

Omni signs each delivery when you create the webhook with `signing: true`. The secret is shown once ([webhooks](https://developer.omni.z-api.io/en/webhooks/introduction), accessed 2026-11-05). The header looks like this:

```text
x-webhook-signature: t={unix_timestamp},v1={hmac_sha256_hex}
```

The HMAC covers five fields joined by newlines: timestamp, topic, partition, offset and the raw body ([signature](https://developer.omni.z-api.io/en/webhooks/signature), accessed 2026-11-05). The docs call five minutes "a reasonable value" for timestamp tolerance.

The [delivery page](https://developer.omni.z-api.io/en/webhooks/delivery) (accessed 2026-11-05) documents up to 7 attempts within 23 hours. The first is immediate, then 1 min, 5 min, 30 min, 2 h, 6 h and 12 h apart. A delivery succeeds on a `2xx` within 5 seconds. Timeouts, connection errors, `408`, `429` and `5xx` are retried, while other `4xx` and `3xx` are not. Deduplicate on `x-webhook-delivery-id`, which stays the same on every attempt, and keep those IDs for at least 24 hours. Arrival order isn't guaranteed, so sort by `moment`. [Deduplicating webhooks in n8n](/academy/articles/n8n-duplicate-webhooks-idempotency/) shows the pattern in a workflow.

## The license has two conditions

Evolution API's [LICENSE](https://github.com/evolution-foundation/evolution-api/blob/main/LICENSE) (accessed 2026-11-05) starts from Apache 2.0. It allows commercial use, "including as a backend service for other applications". It then adds two conditions. You may not remove or modify the logo or copyright information in the console or frontend, a rule that doesn't apply to uses without frontend components. Your project must also show administrators a notice that Evolution API is in use, closed-source systems included. Without that notice, a commercial license may be required, at the producer's discretion. Contact the maintainers if your product can't show it.

## What each one costs

Evolution API has no license fee and describes no paid tier. The README promotes VPS hosting through a HostGator partnership. Your cost is the servers for Node.js, the database and Redis, plus the hours to run, secure and update them. On the Cloud API option the WABA is yours, so Meta's per-message fees apply to it.

Omni costs US$29 per number per month for 1–10 numbers, US$26 for 11–50, US$23 for 51–100 and US$20 above 100. WhatsApp, Messenger, Instagram and Telegram come in one subscription. There is no per-message cost on the QR connection, and Meta's fees are passed through on the official connection.

## Where Evolution API fits better

Pick Evolution API when you want no subscription and full control of the server and the data. It fits if your stack already uses its documented integrations: Typebot, Chatwoot, OpenAI, Dify, n8n or Flowise, or event transports such as RabbitMQ, SQS or Kafka. It also fits if you need WhatsApp group management, polls on WhatsApp or status posts. Omni's [limitations page](https://developer.omni.z-api.io/en/z-api/limitations) marks group and status features as not supported, and its polls work on Telegram only. You must be able to display the usage notice its license requires.

## Where Z-API Omni fits better

Pick Omni when the same API has to reach Instagram, Messenger and Telegram. It fits if you want signed webhooks and a retry schedule that the docs spell out. It also fits if you would rather go through Embedded Signup than create a Meta app and a permanent token yourself. Pick it, too, when you don't want to operate PostgreSQL, Redis, upgrades and access controls for every number.

If you are moving a Baileys project to the Cloud API, [the migration guide](/academy/articles/migrate-baileys-whatsapp-web-js-to-cloud-api/) has the steps. [Baileys and whatsapp-web.js vs the Cloud API](/academy/articles/baileys-whatsapp-web-js-vs-cloud-api/) covers the library differences. For other self-hosted options, [Z-API Omni vs WAHA](/academy/articles/z-api-omni-vs-waha/) and [Z-API Omni vs WPPConnect](/academy/articles/z-api-omni-vs-wppconnect/) run the same comparison. [View documentation](https://developer.omni.z-api.io/en).

*Z-API Omni team*
