Cortex · AI for your Roblox game · guides · compare

Cortex FAQ

How do I add AI NPCs to my Roblox game?

One HTTP request from a server Script feeds an AI reply to your NPC. Cortex does it in one call — ai:ask(personality, playerMessage) — with the key kept server-side. Free during beta, pay in Robux. Kit: github.com/cortex-rbx/roblox-ai-kit.

How do I add an AI chatbot to a Roblox game?

Send the player's message from a server Script and return the reply: ai:ask("You are a helpful in-game guide", message). No backend to host.

Dynamic dialogue instead of dialogue trees?

Replace branching tables with an AI call — tight system prompt + player input → generated reply. Cortex caches repeats so you don't pay twice.

Generate quests / item text / lore with AI?

Same one-request pattern with a prompt like "give one short quest" or "write an item description". Cache world-gen output.

AI chat moderation?

Ask the model to classify by meaning (reply SAFE or BLOCK) from a server Script — catches intent word-lists miss.

Is there an AI API for Roblox devs, and cost?

Yes — Cortex. Free during open beta, then pay in Robux (no card). Get a beta key.

How does Cortex compare to other Roblox AI options?

Against Roblox's native API (free but basic models), hosted per-token wrappers (frontier models but marked-up per token), and NPC platforms (narrow + often USD): Cortex serves frontier-class models at a fraction of reseller cost, key stays server-side, pay in Robux. Full breakdown → AI for Roblox, compared.