Skip to content

Selenium39/llm-api-key-checker-next

Repository files navigation

LLM API Key Checker

LLM API Key Checker

Batch validate API keys for multiple LLM providers with real-time streaming progress

Live Demo | 中文文档


✨ Features

  • 🚀 Batch Validation - Validate multiple API keys simultaneously with configurable concurrency
  • 📊 Real-time Progress - Streaming updates with live progress tracking
  • 💰 Balance Checking - Automatic balance detection for supported providers
  • 🌍 Multi-language Support - Available in 20+ languages including English, Chinese, Japanese, Spanish, and more
  • 🎨 Modern UI - Beautiful glassmorphism design with dark/light mode support
  • 🔒 Privacy First - All validations run in your browser/server, keys are never stored or logged
  • Multiple Providers - Support for 10+ LLM providers and OpenAI-compatible APIs

🎯 Supported Providers

Provider Balance Check Kind
OpenAI OpenAI
Anthropic (Claude) Anthropic
DeepSeek OpenAI
Moonshot OpenAI
Zhipu AI (GLM) OpenAI
Tongyi Qwen (DashScope) OpenAI
Groq OpenAI
Google Gemini OpenAI
NewAPI OpenAI
OpenAI-compatible (custom) Configurable OpenAI

🚀 Quick Start

Prerequisites

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

Installation

  1. Clone the repository:
git clone https://github.com/Selenium39/llm-api-key-checker-next.git
cd llm-api-key-checker-next
  1. Install dependencies:
npm install
# or
pnpm install
# or
yarn install
  1. Run the development server:
npm run dev
# or
pnpm dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser

🔧 Usage

  1. Select Provider: Choose from the dropdown list of supported LLM providers
  2. Configure Settings:
    • Base URL (customize for compatible endpoints)
    • Model name
    • Concurrency level (1-50)
    • Validation prompt
    • Low balance threshold
  3. Add API Keys: Paste your keys (separated by space, newline, comma, or semicolon)
  4. Start Validation: Click "Start" to begin batch validation
  5. View Results: Real-time results with status, balance (if supported), and error messages

📦 Tech Stack

🌐 Internationalization

The app supports the following languages:

  • 🇺🇸 English
  • 🇨🇳 简体中文 (Simplified Chinese)
  • 🇹🇼 繁體中文 (Traditional Chinese)
  • 🇯🇵 日本語 (Japanese)
  • 🇰🇷 한국어 (Korean)
  • 🇪🇸 Español (Spanish)
  • 🇫🇷 Français (French)
  • 🇩🇪 Deutsch (German)
  • 🇮🇹 Italiano (Italian)
  • 🇷🇺 Русский (Russian)
  • 🇵🇱 Polski (Polish)
  • 🇳🇱 Nederlands (Dutch)
  • 🇵🇹 Português (Portuguese)
  • 🇹🇷 Türkçe (Turkish)
  • 🇸🇦 العربية (Arabic)
  • 🇮🇳 हिन्दी (Hindi)
  • 🇮🇩 Bahasa Indonesia (Indonesian)
  • 🇲🇾 Bahasa Melayu (Malay)
  • 🇹🇭 ไทย (Thai)
  • 🇻🇳 Tiếng Việt (Vietnamese)

🔐 Privacy & Security

  • ✅ No API keys are stored in databases
  • ✅ No logging of sensitive information
  • ✅ Validation happens client-side and server-side (streaming)
  • ✅ Open-source and auditable

📝 API Routes

POST /api/check

Validates API keys with streaming responses.

Request Body:

{
  "provider": "openai",
  "baseUrl": "https://api.openai.com/v1",
  "model": "gpt-4o-mini",
  "keys": ["sk-..."],
  "concurrency": 10,
  "validationPrompt": "Hi",
  "lowThreshold": 1
}

POST /api/models

Fetches available models for a given provider and API key.

Request Body:

{
  "provider": "openai",
  "baseUrl": "https://api.openai.com/v1",
  "keys": ["sk-..."]
}

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is open source and available under the MIT License.

💖 Sponsored by

This project is proudly sponsored by ChatTempMail - a free temporary email service with AI integration.

🙏 Acknowledgments

  • Thanks to all contributors
  • Built with modern web technologies
  • Inspired by the need for efficient API key management

📧 Contact


Made with ❤️ by the open-source community

⬆ back to top

About

Batch validate API keys for multiple LLM providers with real-time streaming progress

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors