Skip to content

mk-knight23/AI-VIBE-CHAT-V4

Repository files navigation

πŸ“Š AI-VIBE-CHAT-V4

AI Vibe Project
AI API Providers Showcase - 30+ Providers, Benchmarks, and Interactive Tools.

Next.js 15 React 19 Tailwind CSS License: MIT


A comprehensive, production-ready Next.js 15 application showcasing 30 AI API providers with advanced features including interactive charts, pricing calculator, benchmarks dashboard, and API playground.


πŸ—ΊοΈ Quick Navigation


πŸ› οΈ Engineered With

Next.js React Tailwind CSS TypeScript Recharts


✨ Features

Core Features

  • Modern Design: Dark-mode compatible UI built with Tailwind CSS with gradient accents
  • Responsive Layout: Works seamlessly on desktop, tablet, and mobile devices
  • Search & Filter: Real-time search with category filtering and advanced sidebar filters
  • Category System: Visual categorization (Cloud Giant, Specialized, Local/Open-Source, Router/Gateway, Emerging/Niche)
  • Featured Providers: Highlighted section for popular providers with hover animations
  • Quick Compare: Select up to 3 providers for instant comparison on home page

Advanced Tools

  • Compare Tool: Side-by-side comparison of up to 4 providers with detailed metrics
  • Pricing Calculator: Interactive cost estimator with sliders, presets, and real-time calculations
  • Benchmarks Dashboard: Performance metrics with interactive Recharts visualizations (bar, radar, scatter)
  • API Playground: Mocked API testing interface with multiple modes (chat, code, summarize)
  • Market Overview: Interactive dashboard with market insights, trends, and recommendations
  • Providers Page: Advanced filtering by category, features, and sorting options

Data Visualizations

  • Pie Charts: Provider category distribution
  • Line Charts: Price trend analysis
  • Bar Charts: Response latency comparisons
  • Radar Charts: Multi-dimensional capability analysis
  • Scatter Plots: Price vs performance analysis
  • Progress Bars: Individual metric visualizations

State Management

  • Zustand Stores: Efficient client-side state management
  • Theme Store: Dark/light mode with localStorage persistence
  • Compare Store: Provider selection management
  • Calculator Store: Pricing calculator state

Provider Details

  • Dynamic Routes: Individual detail pages for each provider
  • Similar Providers: Recommendations based on category
  • Code Examples: Sample API calls in Python
  • Comprehensive Info: Use cases, pricing, models, setup steps, and more
  • SEO Optimized: Metadata and semantic HTML for better search engine visibility
  • Static Generation: Fast page loads with Next.js App Router

πŸ› οΈ Technologies Used

  • Next.js 15: React framework with App Router
  • TypeScript: Type-safe development
  • Tailwind CSS: Utility-first CSS framework
  • Zustand: Lightweight state management
  • Recharts: Beautiful, composable charts
  • Lucide React: Modern icon library
  • Framer Motion: Smooth animations (ready to integrate)
  • Fuse.js: Fuzzy search (ready to integrate)

πŸš€ Getting Started

Prerequisites

  • Node.js 18+ installed
  • npm, yarn, or pnpm package manager

Installation

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Build for Production

npm run build
npm start

🌐 Deployment

Quick Deploy to Vercel

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel --prod

Or use the deployment script:

./deploy.sh

Deploy via GitHub

  1. Push to GitHub:
git remote add origin https://github.com/YOUR_USERNAME/ai-api-providers.git
git push -u origin main
  1. Import on Vercel

See DEPLOYMENT.md for detailed instructions.


πŸ§ͺ Testing

Run the test checklist:

npm run build  # Verify build succeeds

See TESTING.md for comprehensive testing guide.


πŸ“‚ Project Structure

View Detailed Directory Map
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ [slug]/          # Dynamic provider detail pages
β”‚   β”œβ”€β”€ about/           # About page
β”‚   β”œβ”€β”€ benchmarks/      # Performance benchmarks page
β”‚   β”œβ”€β”€ calculator/      # Pricing calculator page
β”‚   β”œβ”€β”€ compare/         # Compare providers page
β”‚   β”œβ”€β”€ contact/         # Contact page
β”‚   β”œβ”€β”€ market-overview/ # Market insights dashboard
β”‚   β”œβ”€β”€ playground/      # API playground (mocked)
β”‚   β”œβ”€β”€ providers/       # All providers with filters
β”‚   β”œβ”€β”€ sources/         # References and citations
β”‚   β”œβ”€β”€ globals.css      # Global styles
β”‚   β”œβ”€β”€ layout.tsx       # Root layout with navigation
β”‚   └── page.tsx         # Home page with search
β”œβ”€β”€ data/
β”‚   └── providers.ts     # Provider data (28 providers)
β”œβ”€β”€ lib/
β”‚   └── stores.ts        # Zustand state management stores
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.ts
└── tsconfig.json

πŸ€– Providers Included

The application includes detailed information for 30 AI API providers:

  • Anthropic (Claude)
  • AWS Bedrock
  • Chutes AI
  • Claude Code
  • DeepSeek
  • Fireworks AI
  • Synthetic
  • GCP Vertex AI
  • Glama
  • Google Gemini
  • Groq
  • Human Relay Provider
  • LM Studio
  • MegaLLM (12 models)
  • MiniMax
  • Mistral AI
  • Ollama
  • OpenAI
  • OpenAI Compatible
  • OpenRouter
  • OVHcloud AI Endpoints
  • Requesty
  • Unbound
  • v0
  • Vercel AI Gateway
  • Agentrouter
  • Virtual Quota Fallback
  • VS Code Language Model API
  • xAI (Grok)
  • NEW: Cohere, Together AI, Replicate, Hugging Face, Perplexity AI, AI21 Labs

Data Structure

Each provider includes:

  • Name and description
  • Use cases
  • Documentation links
  • Pricing (free and paid tiers)
  • Available models
  • API key requirements
  • Base URL
  • Setup instructions
  • Additional details

πŸ“Š Data Structure (TypeScript)

To add or modify providers, edit /data/providers.ts. The data structure is:

{
  name: string;
  slug: string;
  description: string;
  useCases: string[];
  docsUrl: string;
  pricing: { free: string; paid: string };
  models: { free: string[]; paid: string[] };
  apiKeyName: string;
  baseUrl: string;
  setupSteps: string[];
  other: string;
}

πŸ”’ Security Status

Last Security Audit: February 20, 2026 Status: βœ… Fully Secured

Security Fixes Applied

Issue Status Details
Next.js Vulnerabilities βœ… Fixed Upgraded from 15.0.7 to 15.1.8+
API Key Exposure βœ… Fixed Server-side storage implemented
Client-to-API Calls βœ… Fixed Server proxy added
Missing Security Headers βœ… Fixed CSP + headers configured
Input Validation βœ… Fixed Zod schemas on all routes

React/Next.js Best Practices Applied

  • βœ… Server-side rendering (SSR)
  • βœ… Static generation for better performance
  • βœ… TypeScript strict mode
  • βœ… Environment variable validation
  • βœ… Error boundaries for graceful failures
  • βœ… Security headers (CSP, X-Frame-Options)
  • βœ… No client-side API keys
  • βœ… Proper error handling (no info leakage)

πŸ“„ License

This project is open source and available for educational purposes.

⚠️ Disclaimer

Pricing and features are subject to change. Always verify current information on official provider websites before making decisions.


AI-VIBE-CHAT-V4 - The Ultimate AI Provider Hub

🎯 Problem Solved

This repository provides a streamlined approach to modern development needs, enabling developers to build robust applications with minimal complexity and maximum efficiency.

πŸ—οΈ Architecture

πŸš€ Quick Start

# Clone the repository
git clone https://github.com/mk-knight23/AI-VIBE-CHAT-V4
cd AI-VIBE-CHAT-V4

# Install dependencies
npm install

# Start development server
npm run dev

About

AI API Provider showcase and benchmarking dashboard with interactive pricing calculators and performance metrics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors