{"id":14133017,"url":"https://github.com/Zaki-1052/GPTPortal","last_synced_at":"2025-08-04T13:33:03.205Z","repository":{"id":206594493,"uuid":"716902273","full_name":"Zaki-1052/GPTPortal","owner":"Zaki-1052","description":"A feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, \u0026 OpenAI Assistant APIs via a lightweight Node.js web app; supports customizable multimodality for voice, images, \u0026 files.","archived":false,"fork":false,"pushed_at":"2025-07-15T01:09:43.000Z","size":76637,"stargazers_count":388,"open_issues_count":2,"forks_count":72,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-15T04:45:28.006Z","etag":null,"topics":["ai","api","assistants-api","chatbot","chatgpt","claude-api","gemini-api","generative-ai","gpt","gpt-4","gpt-4-api","javascript","mistral-api","node-js","openai","self-hosted","tts-api","whisper-ai"],"latest_commit_sha":null,"homepage":"http://localhost:3000/portal","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zaki-1052.png","metadata":{"files":{"readme":null,"changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-11-10T05:38:04.000Z","updated_at":"2025-07-15T01:09:46.000Z","dependencies_parsed_at":"2024-02-09T21:28:47.516Z","dependency_job_id":"f0e279e5-e132-4a73-8590-f34c1a23d26f","html_url":"https://github.com/Zaki-1052/GPTPortal","commit_stats":null,"previous_names":["zaki-1052/gptportal"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Zaki-1052/GPTPortal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaki-1052%2FGPTPortal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaki-1052%2FGPTPortal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaki-1052%2FGPTPortal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaki-1052%2FGPTPortal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaki-1052","download_url":"https://codeload.github.com/Zaki-1052/GPTPortal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaki-1052%2FGPTPortal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268701795,"owners_count":24293003,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","api","assistants-api","chatbot","chatgpt","claude-api","gemini-api","generative-ai","gpt","gpt-4","gpt-4-api","javascript","mistral-api","node-js","openai","self-hosted","tts-api","whisper-ai"],"created_at":"2024-08-16T05:01:14.487Z","updated_at":"2025-08-04T13:33:03.145Z","avatar_url":"https://github.com/Zaki-1052.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Open Source"],"sub_categories":["Self-Hosted"],"readme":"# ChatBot Portal for Multi-Modal LLM APIs\n\nWelcome to my **Chat-Bot Portal**, a full-featured *Node.js*-based web application that allows users to interact with a **chatbot** powered by *OpenAI*'s **GPT-4 API**, including the latest *Vision*, *Hearing*, and *Speaking* capabilities with *image-generation*, *file uploads*, and superior *Model Performance* from *advanced* and *editable* **Custom Instructions** in the **System Prompt**.\n\n*GPTPortal* now supports the **Anthropic Claude** and **Mistral AI** models, plus **Google Gemini** via *free* API. It *also* includes a *native* **Code Environment** via **Assistants Mode** to reuse *files* and *instructions* from OpenAI's *Beta API*! **Explore** *all* the additional features added, like *customizable* **Chat History**, **Prompt Templates**, *easy* **Setup**, and *many* more **API Providers**.\n\n## Table of Contents\n\n- [Features](#features)\n- [Examples](#examples)\n- [Structure](#structure)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Assistants](#assistants-use)\n- [Author Notes](#author-notes)\n- [Further Explanations](#further-explanations)\n- [Basic Guide](#guide-basic-setup--use)\n- [Google Gemini](#8-optional-google-gemini-setup)\n- [Mistral AI](#9-optional-mistral-ai-setup)\n- [Anthropic Claude](#10-optional-anthropic-claude-setup)\n- [Meta LLaMA AI](#11-optional-meta-llama-setup)\n- [OpenRouter AI](#12-optional-open-router-setup)\n- [Relevant Links](#relevant-links)\n- [Author Links](#author-links--custom-gpts)\n- [Research Papers](#research-papers)\n- [FAQ](#faq)\n- [Glossary](#glossary)\n- [Updates](#updates)\n- [Tokens](#token-costs-explained)\n- [TODOs](#todos)\n- [Quick-Start](#quick-start-guide)\n- [Docker](#docker)\n- [Contributions](#contributions)\n- [License](#license)\n\n## Features\n\n- Interactive **chat interface** with support for *text messages*.\n- **Voice Conversations** via *Whisper* transcriptions and *spoken responses*.\n- **Image Upload** functionality for *visual context* in discussions.\n- *Server-side* integration with **SEVEN** *AI* **API** *providers* and **counting**.\n- **Basic authentication** for *secure access*.\n- Customizable *System-Defined Instructions* and *Model Parameters*.\n- Simple and intuitive **UI** with *copy-to-clipboard* features.\n- **Markdown** *rendering* for chat messages in *Marked* styles.\n- **Export** as *HTML* **button** for *conversation history*.\n- Integrated **shutdown** *functionality* at \"**Bye!**\"\n- **Image Generation** with *DALL·E 3* at \"**Generate:**\".\n- **File Uploads** via manual *concatenation* for **large texts**.\n- **Assistants API Mode** for *reusable* files and *custom instructions*.\n  - Includes **Automatic Python Execution** in stateful *Jupyter Environment*.\n  - **Retrieval Augmented Generation** of *uploaded files*.\n- *New* **Anthropic Claude**, **Google Gemini**, \u0026 **Mistral** Models.\n- **Keyboard Shortcuts** to control various *ChatGPT-like functions*.\n- **Editable Custom Instructions** via a *frontend UI*.\n- **Prompt Templates** for the *System* via **Sidebar**.\n- **Conversation History** with *optimized* **context windows**.\n- *Automatic* **Token-Cost** *Calculations* and **Summaries**.\n- **Model Selector** of various *LLM APIs*. Includes:\n  - **GPT-4**: *EVERY* GPT Model Release\n    - Includes 4o, Turbo, old v4, 3.5, etc.\n  - **Gemini**: *ALL* Google Gemini Models\n    - Includes *Gemini-Pro* and *Flash*\n  - **Claude Opus-Instant**:\n    - *Seven* New *Anthropic* High *Performance* Models\n      - A Description can be found under [**Anthropic AI Setup**](#10-optional-anthropic-claude-setup).\n  - **Mistral**: *Tiny-Medium*\n    - **Six** *New* **Mistral AI** Models\n      - *Intelligence* **Varies** by *Size*\n      - A Description can be found under [**Mistral AI Setup**](#9-optional-mistral-ai-setup).\n  - **LLaMA-3**: *FREE* Llama Models via *Qroq*\n  - **Open Router**: *ANY* Other Models you can imagine!\n\n// TODO: Rewrite Documentation\n\n**IMPORTANT**: To view the old documentation (which is still applicable to v2), please see the [**Old Documentation Here**](public/uploads/oldDocs.md).\n\n### Model Pricing Table\n\n| Model                 | Input Cost per Million Tokens | Output Cost per Million Tokens |\n|-----------------------|-------------------------------|--------------------------------|\n| gpt-4                 | $30.00                        | $60.00                         |\n| gpt-4-turbo           | $10.00                        | $30.00                         |\n| gpt-4o                | $5.00                         | $15.00                         |\n| gpt-4o-mini           | $0.15                         | $0.60                          |\n| gpt-3.5-turbo-0125    | $0.50                         | $1.50                          |\n| claude-3-5-sonnet-20240620 | $3.00                      | $15.00                         |\n| claude-3-sonnet-20240229 | $3.00                      | $15.00                         |\n| claude-3-opus-20240229 | $15.00                        | $75.00                         |\n| claude-3-haiku-20240307 | $0.25                         | $1.25                          |\n| claude-2.1            | $8.00                         | $24.00                         |\n| claude-2.0            | $8.00                         | $24.00                         |\n| claude-instant-1.2    | $0.80                         | $2.40                          |\n| open-mistral-7b       | $0.25                         | $0.25                          |\n| open-mixtral-8x7b     | $0.70                         | $0.70                          |\n| open-mixtral-8x22b    | $2.00                         | $6.00                          |\n| mistral-small-2402    | $1.00                         | $3.00                          |\n| codestral-2405        | $1.00                         | $3.00                          |\n| mistral-medium-2312   | $2.70                         | $8.10                          |\n| mistral-large-2402    | $4.00                         | $12.00                         |\n| open-mistral-nemo     | $0.30                         | $0.30                          |\n| open-codestral-mamba  | $0.25                         | $0.25                          |\n\n#### Free Models\n\nThe following models have no cost for input or output tokens:\n\n- gemini-pro\n- gemini-pro-vision\n- gemini-1.5-pro\n- gemini-1.5-flash\n- llama3-70b-8192\n- llama3-8b-8192\n- gemma-7b-it\n- mixtral-8x7b-32768","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZaki-1052%2FGPTPortal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZaki-1052%2FGPTPortal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZaki-1052%2FGPTPortal/lists"}