{"id":15064246,"url":"https://github.com/h4xc0d3/freegpt","last_synced_at":"2025-04-10T11:51:03.905Z","repository":{"id":256300035,"uuid":"854854366","full_name":"H4xC0d3/FreeGPT","owner":"H4xC0d3","description":"Free API for GPT models gpt-4 and gpt-3.5-turbo.","archived":false,"fork":false,"pushed_at":"2024-09-11T18:27:44.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T10:38:53.544Z","etag":null,"topics":["chatbot","chatgpt","chatgpt-api","free-gpt4","freegpt","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt3","gpt4","openai"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H4xC0d3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T22:13:23.000Z","updated_at":"2025-01-09T17:52:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ee06b8e-c385-4ffb-8435-9f652ee9af14","html_url":"https://github.com/H4xC0d3/FreeGPT","commit_stats":null,"previous_names":["h4xc0d3/freegpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H4xC0d3%2FFreeGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H4xC0d3%2FFreeGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H4xC0d3%2FFreeGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H4xC0d3%2FFreeGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H4xC0d3","download_url":"https://codeload.github.com/H4xC0d3/FreeGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248215192,"owners_count":21066619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","chatgpt","chatgpt-api","free-gpt4","freegpt","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt3","gpt4","openai"],"created_at":"2024-09-25T00:14:09.480Z","updated_at":"2025-04-10T11:51:03.899Z","avatar_url":"https://github.com/H4xC0d3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🆓 Free OpenAI Key\n\nApi Base URL: `http://gpt.catway.org/v1`\n\nApi Key: `sk-r4khWXD9FY4NkC7GO4jWfTSuB3G3cdS0yyBXKnO9F7Pjm4YC`\n\n## Installation\n\nTo use this API, you need the OpenAI Python package:\n\n```bash\npip install openai\n```\n\n## Example Usage\n\nHere’s a basic example of how to use the API with Python:\n\n```python\nfrom openai import OpenAI\n\nclient = OpenAI(\n    base_url=\"http://gpt.catway.org/v1\",\n    api_key=\"sk-r4khWXD9FY4NkC7GO4jWfTSuB3G3cdS0yyBXKnO9F7Pjm4YC\"\n)\n\nchat_completion = client.chat.completions.create(\n    messages=[{\"role\": \"user\", \"content\": \"Are you gpt-3?\"}],\n    model=\"gpt-3.5-turbo\" # or use \"gpt-4-all\"\n)\n\nprint(chat_completion.choices[0].message.content)\n```\n\n## Features\n\n- ✅ Supports GPT models: `gpt-4-all` and `gpt-3.5-turbo`\n- ✅ Simple and easy-to-use API client\n- ❌ **No** support for streaming responses\n- ❌ **No** support for function calling\n\n### Supported Models\n- `gpt-4-all`\n- `gpt-3.5-turbo`\n\n## Usage\n\nYou can use the API to interact with GPT models by sending messages and receiving responses as shown in the example above.\n\n## Support\n\nIf you find this project helpful, please give it a ⭐ on GitHub to show your support!\n\nFor updates and more content, join my Telegram channel: [https://t.me/H4xCh](https://t.me/H4xCh)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=H4xC0d3/FreeGPT\u0026type=Date)](https://star-history.com/#H4xC0d3/FreeGPT\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4xc0d3%2Ffreegpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh4xc0d3%2Ffreegpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4xc0d3%2Ffreegpt/lists"}