Skip to content
Features
Replit AI
Collaboration
CDE
Deployments
Teams
Pricing
Guides
Blog
Careers
Log in
Start building
Features
Replit AI
Collaboration
CDE
Deployments
Teams
Pricing
Guides
Blog
Careers
Log in
Start building
GH
GhostBullets2
@GhostBullets2
Public Apps
GPT-4 Chat UI
2 years ago
Build your own GPT-4 frontend with this open source Next.js template! Simply add your OpenAI API key and you're good to go! Replace gpt-4 with gpt-3.5-turbo if you don't have early access to GPT-4. You can do this in pages/api/chat.js. Can't wait to see what you build with this! To get started, fork this Repl and add the environment variable OPENAI_API_KEY as a Secret.