mrkeyoor.com_
Fri 23 Oct 18:49 UTC
LLM Toolsevaluationupdated 19 Oct 2026

gpt4free review

GPT4Free, also called g4f, puts hosted AI providers and local model backends behind Python clients, a web interface and an OpenAI-compatible API. It helps developers try different text and media services through common interfaces, although each provider keeps its own login requirements and behavior.

+33stars / 7d
Verdict

Our GPT4Free install succeeded in 40 seconds and its build passed, while tests were skipped because no target was found, so the run supports a setup trial rather than a provider-reliability claim. Use it for deliberate adapter experiments with prompts you can afford to discard. For an application that must keep answering, qualify the specific provider route before depending on the shared interface.

We ran it

Lab card: what happened when we ran gpt4freeScreenshot of gpt4free (t.me/g4f_channel)
Install✓ · 40s127 packages · 495 MB
Build✓ · 2s
Testsn/ano test script
Known vulns0(pip-audit)
Repo516 files~105,598 lines of source · 20.8 MB · 4 CI workflows

Answers from our run

Does gpt4free build from source?

Dependencies installed in 40 seconds (127 packages), and the build succeeded in 2 seconds. We cloned commit 74661d1 into a clean Debian container with 3 CPUs and no project-specific setup.

Does gpt4free have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Does gpt4free have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use gpt4free?

Services that require a listed model to behave consistently across providers: the README explicitly makes availability and behavior provider-dependent.

What are the alternatives to gpt4free?

LiteLLM, Ollama. Our GPT4Free install succeeded in 40 seconds and its build passed, while tests were skipped because no target was found, so the run supports a setup trial rather than a provider-reliability claim.

SetupN/ANot assessed: the measured package setup did not reproduce a supported, configured provider workflow.
DocsN/AThe README was read for adapter requirements, but provider-specific documentation accuracy was not assessed.
CommunityN/ARecent repository and issue activity were checked; support response quality and resolution times were not assessed.
MaturityN/AOur run did not exercise provider responses or establish operational reliability, so production maturity was not assessed.

Discussed on

  1. hnGpt4free repo given takedown notice by OpenAI279 points

Who it’s for

Developers comparing provider adapters with disposable prompts and room for interrupted experiments.
Builders who want a Python client and local web interface around several model services.
MCP users who deliberately want web search, page scraping or image generation exposed to an assistant.

Who it’s NOT for

Services that require a listed model to behave consistently across providers: the README explicitly makes availability and behavior provider-dependent.
Teams prohibited from handling browser sessions: some adapters need cookies or HAR files and Chrome or Chromium.
Operators expecting a safe public endpoint from the quick start: the README tells production users to supply HTTPS, authentication and firewall rules.
Release owners requiring a reproduced test target before adoption: our harness found none, and skipped tests. That does not establish that the repository contains no test code.

Setup reality

Our sandbox installed commit 74661d1 in 40 seconds, recording 127 dependencies and 495 MB on disk. The build succeeded in 2 seconds. Tests were skipped because no tests script or target was found. Pip-audit reported 0 known vulnerabilities.

Requirements depend on the chosen adapter: API keys or tokens, browser cookies or HAR files, Chrome or Chromium, or a local model runtime. The README recommends Python 3.10 or newer and offers Docker routes. Running a local interface does not mean every request stays local.

The recorded configuration was 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The image label does not verify actual interpreter or OS versions. The scan found a compose file and 4 CI workflow files, but no Dockerfile or tests directory. These are scan results, not proof that other launch paths or checks are absent.

A working package leaves provider behavior unverified

GPT4Free installed in 40 seconds and built successfully in our sandbox. That is enough to distinguish it from a checkout that stops at setup. It doesn't establish whether a chosen provider will answer your next request. The README explicitly says model availability and behavior depend on provider capabilities, a boundary that should shape the adoption decision.

The appeal is practical. A Python client, async client, optional web GUI and OpenAI-compatible API give you several ways to use the adapter collection. Text and media requests can go through hosted providers or local inference backends. If you're comparing services, a shared interface saves some integration work. You still need to know which service receives a prompt and which credentials authorize it.

What happened when we ran it

Our sandbox installed commit 74661d1 on October 14, 2026 in 40 seconds, recording 127 dependencies and 495 MB on disk. The build succeeded in 2 seconds. Tests were skipped because no tests script or target was found. Calling that a passing suite would turn an evidence gap into a result we don't have.

Pip-audit reported 0 known vulnerabilities. That finding concerns known dependency advisories in the measured environment. It doesn't establish the safety of browser sessions, prompt destinations or generated files. The scan found 4 CI workflow files and a compose file, with no Dockerfile or tests directory. The current README describes Docker images, so the scan's negative Dockerfile result should not be read as a claim that containers are unsupported.

The recorded configuration had 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Actual runtime and OS versions require the raw toolchain logs. The run provides no provider response measurements, model-quality comparison or uptime evidence. Its successful build is a useful starting condition for a trial, with the provider evaluation still ahead.

Cookies and HAR files change what you must protect

Some adapters need API keys or tokens. Others use browser cookies or HAR files, which can contain session data. Chrome or Chromium is a documented requirement for browser-driven providers. Local inference backends require their own model runtime. Decide which access path you need before accepting the entire project's range of integrations as your deployment scope.

The Docker examples persist har_and_cookies and generated_media. One exposes a browser desktop for optional provider logins. These details matter more than whether the first chat window appears quickly: persistent account sessions need restricted access, and generated files need a retention decision. The README itself tells production operators to add HTTPS, authentication and firewall rules. Keep that responsibility attached to whoever owns the service.

An empty-reply report concerns one named adapter

Issue 3525 reports empty replies from the OpenaiChat adapter using the API or web interface. The issue remained open and had activity on October 18, 2026. It is a user report about a named route, not a failure reproduced by our sandbox and not a reliability score for the whole project.

For your own evaluation, choose the exact adapter and model rather than accepting an automatic selection as proof of compatibility. Check that a response contains useful content, that streaming finishes, and that an expired session produces an error your application can handle. Those are proposed acceptance checks. Our recorded build cannot answer them, and a model appearing in a list cannot answer them either.

The MCP server adds web and image actions

The README documents a Model Context Protocol server with web search, page scraping and image generation tools. It supports a local stdio connection and an HTTP mode, and includes a Claude Desktop configuration. That can be useful if an assistant needs those actions through the same project you're already evaluating.

Each tool also introduces a destination or action outside the chat client. Inspect which provider handles image requests and how scraped content reaches the assistant. A working MCP connection would establish transport, while permission to fetch a page or send content to a provider remains your configuration decision. Our lab record contains no MCP execution result, so these tools contribute to scope, not to a claim of tested integration quality.

LiteLLM and Ollama narrow the decision

LiteLLM offers a Python SDK and a shared gateway for model-provider calls. Compare it when your main problem is a common API for a team's configured providers. Ollama supports open models locally and in the cloud. Compare it when running a chosen model is the job and browser-backed adapters add no value. Neither alternative was measured in this batch.

GitHub recorded a last push on October 19, 2026, with recent issue activity and provider-related pull requests. That indicates current work, without resolving the empty-reply report or guaranteeing any outside service. I'd keep a GPT4Free trial tied to one named route and a small set of disposable prompts. Before putting user traffic behind it, require that route to produce useful answers and recover from lost authentication.

Alternatives

ProjectWhat it isPick it when
LiteLLM gh↗A Python SDK and shared gateway for calling model providers in OpenAI format.pick this instead when a common provider API and a gateway for your team are the main requirement.
Ollama gh↗A runtime for using open models locally or through cloud options.pick this instead when you want to run a selected open model rather than manage browser-backed provider adapters.

Sources

  1. GPT4Free README
  2. OpenaiChat empty replies, issue 3525
  3. LiteLLM README
  4. Ollama README
  5. GPT4Free repository metadata
  6. Recent GPT4Free issue and pull-request activity

More llm tools reviews

RAG-Anything · uzu · dsh-im · smg · dsh-context · dsh-purge · the whole board →