{"id":27774,"library":"g4fu","title":"g4fu","description":"Fork of the gpt4free repository providing a collection of powerful language models for educational purposes only. Current version 10.3.2.4, with rapid releases and occasional yanked versions.","status":"active","version":"10.3.2.4","language":"python","source_language":"en","source_url":"https://github.com/XInTheDark/gpt4free-u","tags":["gpt4free","language-models","fork","educational"],"install":[{"cmd":"pip install g4fu","lang":"bash","label":"PyPi"}],"dependencies":[],"imports":[{"wrong":"from g4fu import Client","symbol":"Client","correct":"from g4f import Client"}],"quickstart":{"code":"from g4fu import Client\n\nclient = Client(api_key=os.environ.get('G4FU_API_KEY', ''))\nresponse = client.chat.completions.create(\n    model='gpt-4',\n    messages=[{'role': 'user', 'content': 'Hello!'}]\n)\nprint(response.choices[0].message.content)","lang":"python","description":"Initialize a Client with an API key and send a chat completion request."},"warnings":[{"fix":"Use g4fu==10.3.2.4 in your requirements.","message":"The package is a fork and may have breaking changes from the original gpt4free. Always pin your version.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to 10.3.2.4 or later.","message":"Version 10.3.2.2 was yanked due to module loading issues. Avoid using that version.","severity":"breaking","affected_versions":"10.3.2.2"},{"fix":"Do not rely on it in production.","message":"The package is intended for educational purposes only and may be removed or changed without notice.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'10.3.2.4':20 'collect':9 'current':18 'educ':15,33 'fork':2,32 'g4fu':1 'gpt4free':5,28 'languag':12,30 'language-model':29 'model':13,31 'occasion':25 'power':11 'provid':7 'purpos':16 'rapid':22 'releas':23 'repositori':6 'version':19,27 'yank':26","created_at":"2026-05-09T05:52:00.807993+00:00","updated_at":"2026-05-09T05:52:00.807993+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpeqpef25h/venv/lib/python3.12/site-packages/g4f/__init__.py\", line 6, in <module>\n    from .models import Model\n  File \"/tmp/tmpeqpef25h/venv/lib/python3.12/site-packages/g4f/models.py\", line 5, in <module>\n    "},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/XInTheDark/gpt4free-u","docs":null,"changelog":null,"pypi":"https://pypi.org/project/g4fu/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}