AI for Robloxwithout the chaos
One OpenAI-compatible API for NPCs, moderators, and agents inside your game. Billed per token, paid in Robux.
- Endpoint
- ai.tomdacat.com/v1
- Payment
- Robux, or USD if you prefer
- Models
- 76 on a single key
Trusted by builders in production
From Roblox games to Discord bots, creators ship with TomdacatAI every day. Want your project listed? →
One endpoint, and the reply you already know how to read
API docsPoint the OpenAI SDK at ai.tomdacat.com/v1, pass your key, and nothing else in your code has to move. Change the model below and the call and the charge both follow.
local HttpService = game:GetService("HttpService")
local API_KEY = "tc-your-api-key" -- keep this server-side only
local SYSTEM = "You are a village shopkeeper. Stay in character, keep replies under 40 words."
local function ask(playerMessage)
local res = HttpService:RequestAsync({
Url = "https://ai.tomdacat.com/v1/chat/completions",
Method = "POST",
Headers = {
["Authorization"] = "Bearer " .. API_KEY,
["Content-Type"] = "application/json",
},
Body = HttpService:JSONEncode({
model = "gpt-5-nano",
messages = {
{ role = "system", content = SYSTEM },
{ role = "user", content = playerMessage },
},
}),
})
if not res.Success then return nil end
local body = HttpService:JSONDecode(res.Body)
return body.choices[1].message.content
end
print(ask("Can you repair my sword?"))Same envelope your OpenAI client already parses, plus what the call cost. Token counts here are an example; the charge is computed from this model's published rate.
Sign in with Discord
Grab your key from the dashboard. Every new account starts with lite credits, no card required.
Swap the base URL
Point the OpenAI SDK at ai.tomdacat.com/v1. No new SDK, no migration. That is the whole change.
Call it from Roblox
Enable HTTP Requests in Studio, then RequestAsync straight from a Server Script. There is no proxy to host.
Watch the credits
Every input and output token is tracked and converted to credits in real time in the usage dashboard.
Every model on the same key
Full catalogueLite credits come with the account. Pro credits are topped up when you want the flagships. Both bill per token, so an idle week costs nothing.
Runs on lite credits
in / out per 1MEzra
ezra
1 / 1
OpenAI GPT-OSS 20B
gpt-oss-20b
5 / 5
Nemotron Lightning 3.5 30B
nemotron-lightning-3-5-30b
5 / 30
DiffusionGemma 4 26B
diffusiongemma-4-26b
5 / 5
Nemotron 3 nano omni reasoning
nemotron-3-nano-omni-reasoning
5 / 5
Qwen3Guard 8B
qwen3guard-8b
5 / 5
Requires pro credits
in / out per 1MGPT-5 Chat Latest
gpt-5-chat-latest
600 / 600
OpenAI GPT-5.5
gpt-5-5
500 / 3000
Claude Opus 4.6
claude-opus-4-6
500 / 2500
Claude Opus 4.7
claude-opus-4-7
500 / 2500
Claude Opus 5
claude-opus-5
500 / 2500
Claude Opus 5.5
claude-opus-5-5
400 / 2000
Twelve of 76. Swapping between any of them is one string in the model field, and nothing else about the request changes.
You top up with Robux. So price it in Robux.
Full pricingDrag the slider to your game's traffic. Every input and output token is counted and converted at the live rate, so the bill follows how chatty your NPCs are rather than a monthly seat.
- Tokens / day
- 5.1M
- Credits / day
- 92
- Credits / month
- 2,760
Illustrative maths, not a quote: 700 input + 180 output tokens per message at OpenAI GPT-5 Nano rates (10/50 credits per million in/out), converted at the live rate of 378 Robux = 100 credits. Change the model in the playground above and this recalculates.
Primarily Robux
Top up with Robux through a confirmed in-experience purchase. Or connect your own provider balance and pay in USD instead.
Per token, not per seat
A quiet week costs less. There is no monthly seat to keep paying for while your game is between updates.
Lite credits on every account
Most models run on the free lite tier, so your first NPC costs nothing at all.
What people put in their games
Same key, same endpoint, a different system prompt each time.
Talking NPCs
A shopkeeper who remembers what the player bought, or a quest-giver who improvises. Send the player a line, stream tokens back into a dialogue GUI.
Dialogue docsChat moderation
Send each message and get structured JSON back with a verdict and a reason, so you can act on it before the room ever sees the text.
Structured outputQuest generators
Generate objectives, rewards and flavour text at runtime so the map does not run dry after a week.
Browse modelsDiscord bots, hosted for you
Run bots from the dashboard, or upload your own code and let AI write it for you. No VPS, no uptime babysitting, same credits.
Bot hostingInside Roblox Studio
The Studio plugin puts the same models next to your scripts, and Tomdacat Code handles the longer agent jobs.
Studio pluginWhat the community is building with
The models most requested across the platform over the last 24 hours, refreshed every minute.
Adding AI to Roblox, answered
Still stuck? The docs cover Luau examples, streaming, and rate limits in full.
Read the docsPoint Roblox's HttpService at TomdacatAI's OpenAI-compatible endpoint, send the player's message, and read the model's reply back. There is no proxy server to host. One key covers NPC dialogue, chatbots, moderators and quest generators, and the docs carry a copy-paste Luau example you can drop straight into a Server Script.
Start shipping AI features today
Sign in with Discord, grab your API key, and make your first call right after. Every new account starts with lite credits, so there is no card to enter.





