Skip to content

gpt4free

LLM Frameworks

A community‑driven aggregator that provides Python/JS clients, a web GUI, and an OpenAI‑compatible API for working with multiple LLM and media‑generation providers.

Python Latest v7.5.7 · 5h ago Security brief →

Features

  • Multi‑provider support for LLMs and media generation models
  • Python client library (sync & async) and browser JavaScript client
  • FastAPI‑based OpenAI‑compatible REST API (Interference API)
  • Optional local web GUI for interactive usage

Recent releases

View all 71 releases →
No immediate action
v7.5.7 Mixed

Model upgrade + providers + downloads

No immediate action
v7.5.6 Bug fix

Guard against None accesses

v7.5.1 Bug fix

Fixed get_models function and updated Qwen provider models with thinking mode support.

Full changelog

What's Changed

  • Fix get_models ,Update Qwen provider models and thinking mode by @3mora2 in https://github.com/xtekky/gpt4free/pull/3429
  • fix(OpenaiChat): use gizmo_interaction conversation_mode for custom GPTs by @vyguera in https://github.com/xtekky/gpt4free/pull/3428

New Contributors

  • @vyguera made their first contribution in https://github.com/xtekky/gpt4free/pull/3428

Full Changelog: https://github.com/xtekky/gpt4free/compare/v7.5.0...v7.5.1

Download Options

Python Package:

  • PyPI: pip install g4f==v7.5.1

Executables:

  • Windows x64: g4f-windows-v7.5.1-x64.zip
  • Linux x64: g4f-linux-v7.5.1-x64
  • Linux ARM64: g4f-linux-v7.5.1-arm64
  • macOS x64: g4f-macos-v7.5.1-x64
  • macOS ARM64: g4f-macos-v7.5.1-arm64

System Packages:

  • WinGet: winget install gpt4free

Docker:

  • docker pull hlohaus789/g4f:v7.5.1
  • docker pull hlohaus789/g4f:v7.5.1-slim

💻 Having trouble with the .exe from this release?
👉 Check out the Windows launcher for GPT4Free instead:
🔗 https://github.com/gpt4free/g4f.exe 🚀

v7.5.0 New feature
Notable features
  • Added thinking_mode and feature_config handling
Full changelog

What's Changed

  • Add thinking_mode and feature_config handling by @3mora2 in https://github.com/xtekky/gpt4free/pull/3420

Full Changelog: https://github.com/xtekky/gpt4free/compare/v7.4.7...v7.5.0

Download Options

Python Package:

  • PyPI: pip install g4f==v7.5.0

Executables:

  • Windows x64: g4f-windows-v7.5.0-x64.zip
  • Linux x64: g4f-linux-v7.5.0-x64
  • Linux ARM64: g4f-linux-v7.5.0-arm64
  • macOS x64: g4f-macos-v7.5.0-x64
  • macOS ARM64: g4f-macos-v7.5.0-arm64

System Packages:

  • WinGet: winget install gpt4free

Docker:

  • docker pull hlohaus789/g4f:v7.5.0
  • docker pull hlohaus789/g4f:v7.5.0-slim

💻 Having trouble with the .exe from this release?
👉 Check out the Windows launcher for GPT4Free instead:
🔗 https://github.com/gpt4free/g4f.exe 🚀

v7.4.4 Bug fix

Fixed finish_reason to return "tool_calls" when tool calls are present.

Full changelog

What's Changed

  • Fix finish_reason to return "tool_calls" when tool calls are present by @Copilot in https://github.com/xtekky/gpt4free/pull/3419

Full Changelog: https://github.com/xtekky/gpt4free/compare/v7.4.3...v7.4.4

Download Options

Python Package:

  • PyPI: pip install g4f==v7.4.4

Executables:

  • Windows x64: g4f-windows-v7.4.4-x64.zip
  • Linux x64: g4f-linux-v7.4.4-x64
  • Linux ARM64: g4f-linux-v7.4.4-arm64
  • macOS x64: g4f-macos-v7.4.4-x64
  • macOS ARM64: g4f-macos-v7.4.4-arm64

System Packages:

  • WinGet: winget install gpt4free

Docker:

  • docker pull hlohaus789/g4f:v7.4.4
  • docker pull hlohaus789/g4f:v7.4.4-slim

💻 Having trouble with the .exe from this release?
👉 Check out the Windows launcher for GPT4Free instead:
🔗 https://github.com/gpt4free/g4f.exe 🚀

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
66,280
Forks
13,586
Languages
Python HTML Shell

Install & Platforms

Install via
docker pip
Platforms
linux macos windows arm64

Community & Support

Beta — feedback welcome: [email protected]