All articles

The cost of keeping a free Discord bot alive

odyssey is a Discord bot that gives people free access to language models: you mention it or reply to it, and it answers. It began in 2023 as a bot called ChatGPT, after the model behind it; odyssey is the second bot that took over when the first one was suspended, and the story below covers both.

An acquaintance started it; I joined as the second developer because I knew Python better, and today the bot is entirely mine. Nobody pays me for it. I keep it going because a live service with real users is where you run into problems no tutorial covers, and because it makes you balance what you would like to offer against what you can afford to keep running.

Why Discord and not, say, Telegram: on Discord a bot lives inside servers, communities where people already talk in channels, and that is where its audience was. Telegram is mostly a messenger for one-to-one chats, with groups that rarely grow, and nothing like Discord's channels.

Free is not free

In the first months the bot went down all the time. Every request costs money and a free bot has no income, so the first trade-offs were about cost: in July 2023 the chat history was turned off just to make the API key last longer.

Then it grew, and growth brought the second trade-off, between load and fairness. The API behind the bot started answering with time limits of hours, so in December 2023 every user got a cooldown between requests: 60 seconds, later 120, 240, then back to 180. Each change was a guess at how to keep the bot usable for everyone without letting it fall over.

The third problem was depending on other people's services. The API the bot used was run by a third party who restarted their server often and, in January 2024, stopped serving free users overnight.

In autumn 2023 the bot got a premium tier with extra commands, but it never became a real product. Users on Discord cost nothing to serve, and I could not find anything worth putting behind a paywall that people could not set up in a bot of their own. So I settled on a simple rule: you owe me nothing, and I owe you nothing. The bot is free, and it runs as well as a free service can.

Servers with the bot Each dot is a count announced in the bot's channel. Dotted: no announcements in between.
  1. Chat history turned off to save on the API key
  2. Architecture rewritten; a months-old error fixed
  3. 60-second cooldown: more than 100,000 people have used the bot
  4. The third-party API stops serving free users
  5. Back on a new code base; a month later the cooldown is gone
  6. Discord disables the bot
Servers with the bot
Jun 20, 2023 4,000 servers
Aug 13, 2023 5,000 servers
Sep 23, 2023 6,000 servers
Oct 26, 2023 7,000 servers
Dec 2, 2023 8,000 servers
Jan 19, 2024 9,000 servers
Apr 5, 2024 10,000 servers
Jul 10, 2025 14,000 servers
Jul 29, 2025 15,000 servers

Rewriting it

The first code base did not survive the growth. In September 2023 I rewrote the architecture, which fixed an error users had been hitting for months and made answers faster. In March 2025 the bot came back on a new code base, and over the next weeks the cooldown went from 180 seconds to 90, then 30, and in April it was removed completely.

From then on it was features. The bot:

Today it is built from:

When a model fails, the next one in line answers. For two years Mistral gave almost unlimited free access to its models; now that costs money, so the line is three small models, from 14B down to 3B, the ones the free tier still allows. Moderation, throttling and a blacklist keep a free service usable. The history command shows only metadata, never the prompts, and a regular user sees only their own.

The suspension

By July 2025 the original bot was on 15,000 servers and had served more than a million requests. On a normal day in the summer of 2025 it answered 1,000 to 3,000 requests from about 150 to 200 servers. In August Discord disabled the application for "a violation of the Developer Policy", and the appeals were rejected. The reason was in plain sight: the bot carried the name of someone else's product, a trademark it had no right to. Calling it ChatGPT helped it grow, and it is also what I would never do again.

Requests per day around the suspension From the bot's database.
  1. Discord disables the bot; odyssey becomes the main one
  2. The appeals are rejected
Requests per day around the suspension
Jul 27, 2025 1,599 requests
Jul 28, 2025 2,305 requests
Jul 29, 2025 1,872 requests
Jul 30, 2025 1,240 requests
Jul 31, 2025 1,006 requests
Aug 1, 2025 2,006 requests
Aug 2, 2025 1,686 requests
Aug 3, 2025 1,703 requests
Aug 4, 2025 1,369 requests
Aug 5, 2025 1,746 requests
Aug 6, 2025 1,838 requests
Aug 7, 2025 1,734 requests
Aug 8, 2025 1,988 requests
Aug 9, 2025 1,768 requests
Aug 10, 2025 1,434 requests
Aug 11, 2025 844 requests
Aug 12, 2025 252 requests
Aug 13, 2025 118 requests
Aug 14, 2025 101 requests
Aug 15, 2025 182 requests
Aug 16, 2025 165 requests
Aug 17, 2025 129 requests
Aug 18, 2025 214 requests
Aug 19, 2025 102 requests
Aug 20, 2025 197 requests
Aug 21, 2025 85 requests
Aug 22, 2025 187 requests
Aug 23, 2025 74 requests
Aug 24, 2025 146 requests
Aug 25, 2025 140 requests
Aug 26, 2025 122 requests
Aug 27, 2025 220 requests
Aug 28, 2025 137 requests
Aug 29, 2025 155 requests
Aug 30, 2025 206 requests
Aug 31, 2025 112 requests
Sep 1, 2025 226 requests
Sep 2, 2025 135 requests
Sep 3, 2025 142 requests
Sep 4, 2025 116 requests
Sep 5, 2025 150 requests
Sep 6, 2025 197 requests
Sep 7, 2025 211 requests
Sep 8, 2025 127 requests
Sep 9, 2025 88 requests
Sep 10, 2025 125 requests
Sep 11, 2025 68 requests
Sep 12, 2025 109 requests
Sep 13, 2025 148 requests
Sep 14, 2025 213 requests

A bot on Discord lives inside the servers that invited it, and they cannot be moved to another application. odyssey, which already existed as a second bot, became the main one and had to be invited again, server by server. Today it is on about 90 servers. How much people use it has always changed from period to period; in September 2025, right after the suspension, 87% of all requests came from three users. Everything that had been built lived inside someone else's platform, and it disappeared on their decision.

The September attack on the data centre

The bot runs on a VPS in Kyiv, with a Ukrainian provider. I am Ukrainian, and when I pay for hosting I would rather the money stays with a local business.

On 23 September 2026 Russia struck data centres in Kyiv, and its defence ministry said openly that they were the targets (news, in Ukrainian). The strike took my server down too. For days it was unreachable, and nobody could say for how long. All I could do was wait and ask for updates. In the end, my data survived.

Coming back was not the end of it. The server's own boot log tells the rest: before the strike it had run for 70 days without a single reboot. It came back on the evening of 27 September, and over the next 12 days it booted 15 times, six of them on 7 October alone. Every time, the bot went down with it. From 8 October it finally settled down.

Server boots per day, autumn 2026
  1. Strike on data centres in Kyiv; the server goes dark
  2. The server boots again, four days later
  3. The last boot of the unstable stretch
Server boots per day, autumn 2026
Sep 16, 2026 0 boots
Sep 17, 2026 0 boots
Sep 18, 2026 0 boots
Sep 19, 2026 0 boots
Sep 20, 2026 0 boots
Sep 21, 2026 0 boots
Sep 22, 2026 0 boots
Sep 23, 2026 0 boots
Sep 24, 2026 0 boots
Sep 25, 2026 0 boots
Sep 26, 2026 0 boots
Sep 27, 2026 1 boots
Sep 28, 2026 0 boots
Sep 29, 2026 0 boots
Sep 30, 2026 2 boots
Oct 1, 2026 1 boots
Oct 2, 2026 1 boots
Oct 3, 2026 0 boots
Oct 4, 2026 0 boots
Oct 5, 2026 1 boots
Oct 6, 2026 0 boots
Oct 7, 2026 6 boots
Oct 8, 2026 3 boots
Oct 9, 2026 0 boots
Oct 10, 2026 0 boots
Oct 11, 2026 0 boots
Oct 12, 2026 0 boots
Oct 13, 2026 0 boots
Oct 14, 2026 0 boots

I could have moved the bot to a server abroad. I did not: the server was back within days, nothing was lost, and a strike is a risk to plan for rather than a reason to leave. The bot's server is still in Kyiv.

Why keep it running

Switching it off would be easier. Instead, in three years it has met most of what real services meet:

The bot is still running. None of this needed a big product to happen. A pet project with real users is the cheapest place to meet these problems, and I would rather meet them here than for the first time on a client's server.