Artificial Intelligence has become more accessible than ever thanks to Together.ai, which provides free access to powerful models like Llama 3.3 70B Instruct Turbo.
In this publication, Iβll walk you through how I built a standalone chatbot application that runs on Windows as a packaged .exe β no Python installation required!
This project demonstrates how to:
β
Connect to Together.ai API and use cutting-edge models.
β
Stream chatbot responses in real-time with a typing effect.
β
Build a command-line chatbot interface with personality and style.
β
Package the chatbot into a portable executable for easy sharing.
As AI developers, one of the challenges we face is accessibility. Running large models locally requires expensive GPUs, while API access often comes with strict paywalls.
Together.ai bridges this gap by offering free access to the Llama 3.3 70B Instruct Turbo model β one of the most powerful open-source LLMs currently available.
This project started as an experiment to see if I could:
The result is an AI chatbot you can run on any Windows machine.
The Llama 3.3 70B Instruct Turbo model is:
This makes it an excellent choice for chatbots, assistants, and research projects.
Clone the repository:
git clone https://github.com/affan4321/AI-Chatbot-using-together.ai-API-with-llama3.3-70b-instruct-turbo-free.git
cd AI-Chatbot-using-together.ai-API-with-llama3.3-70b-instruct-turbo-free
Install dependencies:
pip install -r requirements.txt
Set your Together.ai API key in a .env file:
TOGETHER_API_KEY=your_api_key_here
Run the chatbot:
python chatbot.py
At the core of the project is chatbot.py, which:
Handles Unicode/emoji gracefully, ensuring compatibility across Windows versions.
To package the chatbot into a .exe (Windows standalone app), run:
python build_executable.py
This uses PyInstaller to generate a distributable file inside the dist/ folder.
Now you can share your chatbot with any Windows user β no Python installation required! π
Some directions I plan to explore:
This project shows how any developer can leverage state-of-the-art AI models for free and package them into a form that non-technical users can run instantly.
By combining Together.aiβs Llama 3.3 70B Instruct Turbo with Python, streaming APIs, and PyInstaller, I created a portable AI chatbot that works out of the box.
π‘ This is just the beginning. With the right tools, we can bring advanced AI closer to everyone β not just developers with powerful GPUs.
π GitHub Repo: AI Chatbot using Together.ai API with Llama 3.3 70B