Adding live messaging to a product sounds like one feature. Engineers see it differently. Chat is really five or six systems running in parallel, each one with its own cost and its own way of failing. Before a founder can budget for it, they need to understand what they are actually buying.
A one-to-one chat feature with no history and no media sharing costs $8,000–$10,000 with an experienced global engineering team. A full messaging system (group chats, file and image sharing, searchable message history, read receipts) runs $14,000–$18,000. A Western agency charges $30,000–$60,000 for identical scope. The gap is not quality. It is overhead: US salaries, office leases, and billing models that have not changed since 2018.
What technical components make up a real-time chat system?
Chat looks simple from the outside. A text box, a send button, a list of messages. Under the surface, a production chat system has five distinct parts, and each one adds cost.
The first part is the connection layer, the plumbing that keeps a live line open between your user's phone and your server. Without it, messages would only arrive when the user refreshed the page. This layer runs continuously for every active user, which means it consumes server resources around the clock.
The second part is the message store, a database optimized for fetching long conversation threads quickly, not the same kind of database you would use for user profiles or product listings. Chat history has unusual access patterns: users almost always read the most recent 20–50 messages, rarely scroll far back, but the database must store everything indefinitely.
Third is the notification system. When a user is not in the app, a new message needs to reach them as a push notification. That requires integrating with Apple's and Google's notification services, handling failures gracefully when a device is offline, and queuing messages so nothing is lost.
Fourth is the presence system, the small indicator that shows whether a contact is online or was last seen an hour ago. Trivial to display, surprisingly expensive to maintain at scale because the server must track thousands of connection states simultaneously.
Fifth is the media pipeline, which only applies if users can send photos, files, or voice messages. Uploaded files need to be stored, resized if they are images, scanned for malware, and served back quickly from a location geographically close to the user.
None of these five parts is complicated in isolation. Building all five to work together reliably, under load, across slow mobile connections, with no message loss, is where the cost actually comes from.
How do live connections and message queues handle live messaging?
Live messaging works by keeping an open channel between a user's device and the server. When a message is sent, it travels through that channel instantly, rather than waiting for the app to ask the server "anything new?" every few seconds.
For the founder, the business outcome is straightforward: messages arrive in under a second, the app feels alive, and users stay engaged. Slack's own research found that response times under one second are perceived as instantaneous by users, and products with sub-second messaging see 40% higher daily active usage than those with noticeable lag.
The engineering cost behind that one second is a message queue, a holding system that accepts incoming messages and guarantees delivery even when the recipient's phone temporarily loses signal. Without a queue, a message sent while someone is briefly offline simply vanishes. With a queue, it waits and delivers the moment the connection is restored.
For a product expecting fewer than 5,000 concurrent users, a well-built queue adds roughly $2,000–$3,000 to the development cost. It also adds $50–$150 per month to your server bill, because the queue must stay running at all times. At 50,000 concurrent users, that monthly cost climbs to $400–$800, which is still manageable, but it has to be planned for.
Should I use a chat SDK or build messaging from scratch?
This is the decision that most dramatically affects both timeline and long-term cost, and it is worth spending real time on before writing a line of code.
A chat SDK is a ready-made messaging system from a third-party provider. You pay a monthly fee, integrate the SDK into your app, and get working chat in days rather than months. Sendbird, Stream, and Twilio are the most widely used options. Sendbird charges roughly $0.03–$0.05 per monthly active user, which works out to $300–$500 per month at 10,000 users. Stream's pricing is structured similarly.
Building from scratch means your team designs and writes every component described in the previous section. No monthly SDK fee. Full control over every behavior. But the upfront cost is higher: $12,000–$18,000 in engineering time depending on feature scope, versus $2,000–$4,000 to integrate an SDK.
The math turns in favor of building your own system once you cross roughly 20,000–25,000 monthly active users. Below that threshold, the SDK fee is trivial and the time saved is enormous. Above it, paying $0.04 per user per month adds up faster than the cost of owning the infrastructure.
| Approach | Upfront cost | Monthly cost at 10K users | Best for |
|---|---|---|---|
| Chat SDK (e.g. Sendbird, Stream) | $2,000–$4,000 | $300–$500 | MVPs, products under 20K users, fast launch |
| Custom-built chat | $12,000–$18,000 | $50–$150 | Products expecting rapid growth, unique feature needs |
| Western agency (custom) | $40,000–$60,000 | $50–$150 | Same outcome as above, at 3–4x the price |
One nuance worth noting: SDK providers charge by monthly active users, not registered users. A product with 50,000 registered accounts but 8,000 people who actually use chat each month pays for 8,000. For products with low chat engagement relative to total sign-ups, SDKs stay economical much longer than the raw user count suggests.
What does adding media sharing and message history cost?
Text-only chat is relatively inexpensive. Each of these additions carries a specific price tag, and a specific reason why.
Media sharing (photos, documents, voice notes) adds $3,000–$5,000 to the build because files need their own storage, their own delivery infrastructure, and their own handling for failed uploads. The ongoing hosting cost depends on usage: a product where users frequently share high-resolution photos can see storage costs of $200–$400 per month at 10,000 active users, while a business tool with mostly document attachments stays under $50.
Searchable message history adds $2,000–$4,000 in engineering time. The challenge is not storing messages; that part is cheap. The challenge is making search fast when a user has thousands of messages across dozens of conversations. This requires indexing the message database differently from how it is set up for simple chronological display, and the two setups conflict in ways that require careful architecture work upfront.
Read receipts and delivery indicators (the double checkmarks familiar from consumer messaging apps) add $1,500–$2,500. They require tracking message state (sent, delivered, read) across every message, for every user, in real time. At scale, that state tracking becomes one of the heavier operations the server performs.
End-to-end encryption, where only the sender and recipient can read messages (not even the server), adds $4,000–$8,000. For consumer apps handling sensitive conversations, it is worth it. For internal business tools, it is usually unnecessary. The decision should be driven by your users' expectations and your regulatory environment, not the feature checklist.
How much will chat infrastructure cost at scale?
For most early-stage products, chat infrastructure is negligible: $50–$200 per month for a product with a few thousand users. The costs that sneak up on founders are the ones triggered by growth, not by the initial build.
The live connection layer is the main culprit. Each connected user requires the server to maintain an open channel. At 1,000 concurrent users, this is a rounding error. At 50,000 concurrent users, it requires horizontal scaling: running multiple servers in parallel and routing connections intelligently between them. That architecture shift, if not planned from the start, can cost $15,000–$25,000 to retrofit later.
Building for horizontal scaling from day one costs roughly $3,000–$5,000 more upfront. It is almost always worth it for products with genuine growth ambitions, because the alternative is an emergency rebuild when the app starts getting traction.
| Scale | Monthly infrastructure cost | What is running |
|---|---|---|
| Under 1,000 concurrent users | $50–$150 | Single server, basic message queue |
| 1,000–10,000 concurrent users | $200–$600 | Scaled server, dedicated queue, basic media storage |
| 10,000–50,000 concurrent users | $800–$2,500 | Multiple servers, managed queue, CDN for media |
| 50,000+ concurrent users | $3,000+ | Distributed infrastructure, geographic routing |
A useful benchmark: WhatsApp handled 1 million concurrent users per server in 2012 by making deliberate architectural choices early. Most products never reach that scale. But the principle holds: decisions made in the first sprint determine what your infrastructure bill looks like at 100,000 users, not decisions made later.
For a product at the idea stage, the practical budget is this: expect $8,000–$10,000 for basic one-to-one chat, $14,000–$18,000 for a full-featured messaging system, and $50–$200 per month in infrastructure until you start seeing real traction. Plan the horizontal scaling from day one; the $4,000 spent now is far cheaper than the $20,000 retrofit later.
Timespade builds chat and real-time features as part of full product builds across mobile and web. If you are scoping a product that needs messaging, book a discovery call and get a scoped estimate within 24 hours.
