Skip to content

Releases: xtekky/gpt4free

Release v7.3.0

06 Mar 16:18
b4a6daf

Choose a tag to compare

What's Changed

  • fix: replace 34 bare except clauses with except Exception by @haosenwang1018 in #3367
  • Security: Fix path traversal, weak RSA key, broken access control, and SSRF vulnerabilities by @Copilot in #3379

New Contributors

Full Changelog: v7.2.5...v7.3.0

Security Notes

  1. Bind API to Localhost Only:

    • The API can now be restricted to localhost by binding it to 127.0.0.1. This prevents external clients from accessing the API directly.
    • Example command:
      g4f api --bind "127.0.0.1:8080"
  2. Set API Access Password:

    • You can now set a password to secure API access by using an environment variable.
    • Example command:
      export G4F_API_KEY="your strong password"

These security measures ensure that the API is both restricted to local traffic and safeguarded with password protection.

Download Options

Python Package:

  • PyPI: pip install g4f==v7.3.0

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.5

24 Feb 21:13
0ca5a67

Choose a tag to compare

Full Changelog: v7.2.4...v7.2.5

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.5

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.4

24 Feb 15:12

Choose a tag to compare

Full Changelog: v7.2.3...v7.2.4

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.4

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.3

24 Feb 14:39

Choose a tag to compare

Full Changelog: v7.2.2...v7.2.3

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.3

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.2

23 Feb 11:02

Choose a tag to compare

Full Changelog: v7.2.1...v7.2.2

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.2

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.1

23 Feb 10:19

Choose a tag to compare

Full Changelog: v7.2.0...v7.2.1

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.1

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.2.0

23 Feb 06:13

Choose a tag to compare

Full Changelog: v7.1.9...v7.2.0

g4f v7.2.0

Download Options

Python Package:

  • PyPI: pip install g4f==v7.2.0

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.1.9

23 Feb 05:56

Choose a tag to compare

Full Changelog: v7.1.8...v7.1.9

g4f v7.1.9

Download Options

Python Package:

  • PyPI: pip install g4f==v7.1.9

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.1.8

23 Feb 02:08

Choose a tag to compare

Full Changelog: v7.1.7...v7.1.8

g4f v7.1.8

Download Options

Python Package:

  • PyPI: pip install g4f==v7.1.8

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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

Release v7.1.7

22 Feb 22:39
8ed027f

Choose a tag to compare

Full Changelog: v7.1.6...v7.1.7

g4f v7.1.7

Download Options

Python Package:

  • PyPI: pip install g4f==v7.1.7

Executables:

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

System Packages:

  • WinGet: winget install gpt4free

Docker:

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

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