In this video, I show you how to build a multi AI model LLM chat app using Bolt.new. Let starts by creating a new Bolt.new project.
Before you go here you actually need to purchase a cheap subscription to https://openrouter.ai/. This site allows you to connect to different LLM's and provides you an API Key to use in Bolt.
We then need to go to https://www.perplexity.ai/ and ask it to create the code to use openrouter's api in a web app using the various flagship models like chatgpt, grok etc. The query from here what used to feed the prompt into bolt.
Bolt.new then generated the mockup of the app and I then copied the api key app from open router once it asked. Once you get the chat interface you can then change the model and ask the same question or see the different answers. Pretty cool right?!
If you are interested in learning more about how to build AI-powered applications, I recommend watching this video. If you want to learn more about AI coding I recommend you take my beginner friendly course.
I'm not a coder, but managed to some how pull this app off and you can too!
Comments