You use GPT-5.1 in a chatbot by calling it through the OpenAI API (or a compatible platform), sending chat-style messages, and preserving conversation history per user. You can also offload most of the work to a no-code platform like CustomGPT.ai and embed its agent as your chatbot.