{"repo":"NightOwlDev19/duckduckgo-ai-openai-api","free":true,"listed":false,"github":"https://github.com/NightOwlDev19/duckduckgo-ai-openai-api","clone":"git clone https://github.com/NightOwlDev19/duckduckgo-ai-openai-api.git","description":"Duckduckgo AI Chat to OpenAI API that can be used for free with gpt-4o-mini, llama-3.3, claude-3-haiku, o3-mini , mixtral-8x7b.","language":"Python","stars":55,"topics":["ai","claude","claude-3-haiku","gpt","gpt-4","http","llama","llama3","mixtral","mixtral-8x7b"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"🚀 DuckDuckGo AI OpenAI API Documentation The DuckDuckGo AI OpenAI API is an innovative and free solution that transforms DuckDuckGo AI Chat capabilities into an OpenAI compatible API interface. Designed to empower both developers and hobbyists, this API provides a unified platform for accessing multiple state-of-the-art large language models, including o3-mini , gpt-4o-mini , claude-3-haiku , mixtral-8x7b , and llama3.3 . This project utilizes the open-source repository duckduckgo search and acknowledges its contributors for enabling this integration. --- 🌟 Features - 💬 Chat Completions Endpoint (Streaming/non-streaming) : Processes chat requests using DuckDuckGo search and returns responses. Supports both streaming and non-streaming modes. - 🔑 API Key Management : Create, list, and delete API keys to secure access to the chat endpoint. - 🗄️ Flexible Database Support : Uses PostgreSQL or SQLite to store API keys. If API key validation is bypassed, no database is required. --- Models - gpt-4o-mini - llama-3.3-70b - claude-3-haiku - o3-min - mixtral-8x7b - Defaults to gpt-4o-mini --- 📂 Project Structure --- 🛠️ Installation 1. Clone the repository : 2. Create a virtual environment (optional but recommended): 3. Install the required dependencies : --- ⚙️ Configuration 📄 Copy the example.env file to .env in the project root using the following command and configure the environment variables: Then, open the .env file and update the necessary configurations: 🔔 Note: If DATA","default_branch":null,"files":null,"tree":[],"storefront":"/r/NightOwlDev19","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NightOwlDev19/duckduckgo-ai-openai-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}