Zaki-1052 / GPTPortal

A feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, & OpenAI Assistant APIs via a lightweight Node.js web app; supports customizable multimodality for voice, images, & files.
http://localhost:3000/portal
MIT License
303 stars 55 forks source link
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

ChatBot Portal for Multi-Modal LLM APIs

Welcome 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.

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.

Table of Contents

Features

// TODO: Rewrite Documentation

IMPORTANT: To view the old documentation (which is still applicable to v2), please see the Old Documentation Here.

Model Pricing Table

Model Input Cost per Million Tokens Output Cost per Million Tokens
gpt-4 $30.00 $60.00
gpt-4-turbo $10.00 $30.00
gpt-4o $5.00 $15.00
gpt-4o-mini $0.15 $0.60
gpt-3.5-turbo-0125 $0.50 $1.50
claude-3-5-sonnet-20240620 $3.00 $15.00
claude-3-sonnet-20240229 $3.00 $15.00
claude-3-opus-20240229 $15.00 $75.00
claude-3-haiku-20240307 $0.25 $1.25
claude-2.1 $8.00 $24.00
claude-2.0 $8.00 $24.00
claude-instant-1.2 $0.80 $2.40
open-mistral-7b $0.25 $0.25
open-mixtral-8x7b $0.70 $0.70
open-mixtral-8x22b $2.00 $6.00
mistral-small-2402 $1.00 $3.00
codestral-2405 $1.00 $3.00
mistral-medium-2312 $2.70 $8.10
mistral-large-2402 $4.00 $12.00
open-mistral-nemo $0.30 $0.30
open-codestral-mamba $0.25 $0.25

Free Models

The following models have no cost for input or output tokens: