About this project

GPT4Free (g4f) aggregates multiple language model and media generation providers. It offers a unified interface with multi-provider support for text generation (e.g., models like gpt-4o-mini, gpt-4.1, deepseek-v3) and media generation (image, audio, video via providers like Pollinations). Features include a local web GUI, OpenAI-compatible REST API (Interference API), Python/JavaScript clients, and a Model Context Protocol (MCP) server for web search and image generation. It supports Docker, Windows executable, and Python installation. Configuration options include environment variables, CLI flags, or config files. Requirements: Python 3.10+ and, for some providers, Chrome/Chromium.