So, you've heard about OpenAI's latest game-changer, GPT-4o, and you're itching to get your hands on it? Well, guess what? You can totally get a taste of its text-based awesomeness right now using LibreChat—and I'm here to walk you through it.

What You'll Need. Before we get into the nitty-gritty, make sure you've got these software installed on your computer:

  • Git: Download Git
  • Docker: Download Docker
    Just follow their guided setup, and then run docker --version in your terminal to double-check you did it right.

Setting up and configuring GPT-4o in Librechat

  1. First, you need to grab the LibreChat code. Open up your terminal and run this command:
git clone
  1. Now that you've got the code, navigate into the LibreChat directory by typing:
cd LibreChat
  1. Next, you need to create a configuration file. Use this command to copy the example file:
cp .env.example .env

Note for Windows users: You might need to use the copy command instead of cp.

  1. Time to get things running! Use Docker Compose to start LibreChat by executing:
docker compose up -d
  1. With everything up and running, you can now access LibreChat. Open your web browser and go to:

Setting up and Using GPT-4o Model in LibreChat

Now that you’ve got LibreChat running, here’s a quick guide to get you started on using it.

  1. Open your web browser and go to http://localhost:3080/. You will be prompted to log in with your credentials. Since you've just installed it, sign up and then log in.
  2. Once logged into LibreChat, click on the OpenAI dropdown button in the top toolbar.
  1. From the drop-down menu, hover over OpenAI and click on the gear icon next to "Set API Key" text.
  1. Get OpenAI API Key from, paste it into the empty key box, and hit the "Submit" button.
  1. Then, click on the model selector drop-down menu and select gpt-4o from the list of available OpenAI models.
  1. In the chat window, type in any question or request you have. For example, you could ask, "What’s the weather like today?" or request, "Tell me a joke." Hit Enter, and watch GPT-4o work its magic!

LibreChat has several features worth exploring:

  • Conversation History: Check out past conversations to revisit any interesting discussions or data.
  • Preferences: Customize your chat experience in the settings—theme, language, etc.
  • Help Section: If you’re stuck or have questions about using LibreChat, the help section is, well, helpful!

There you have it! GPT-4o via LibreChat running directly on your computer.