I want to write a blog on https://github.com/raj77in/zapgpt. Multiple provders - openai, openrouter and github but can support more. you still missed standout features like listing models, show pricing for models, show context lengths where api supports it. common base prompt and then additional prompt. attach file to add more details
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Most AI chat interfaces lock you into a single provider. ZapGPT breaks that mold by supporting OpenAI, OpenRouter, GitHub, and any future provider you want to integrate. But its true strength lies in advanced features that empower developers and businesses to make smarter, cost-effective decisions.
Here’s what makes ZapGPT unique:
1. Model Listing with Pricing & Context Lengths
ZapGPT dynamically fetches and displays critical details from supported providers:
Feature
Details
Model Listing
See all available models (e.g., GPT-4, Llama-3, Mixtral) from each provider.
Pricing
Compare cost per 1K tokens (input/output) across models.
Context Lengths
View max context length (e.g., 32k tokens for GPT-4 Turbo).
Example Use Case:
Choose Llama-3-8b via OpenRouter for $0.00015/1K tokens instead of GPT-3.5 if budget is tight.
Opt for GPT-4 Turbo when you need long-context analysis (e.g., code reviews or legal docs).
2. Unified Prompting System
ZapGPT lets you define:
Base Prompt: A universal instruction for all models (e.g., "You are a helpful assistant").
Additional Prompt: Model-specific refinements (e.g., "Use technical jargon for GPT-4" vs. "Keep it casual for Llama-3").
Why It Matters:
Fine-tune responses without rewriting the entire prompt.
Test how different models interpret the same base instruction.
3. File Attachments for Enhanced Context
Upload files (text, code, PDFs) to inject real-time context into your prompts.
Example: Analyze a CSV file by attaching it, then ask a model to summarize trends.
Supported Providers: Works with any provider that accepts input tokens (most do!).
Use Case: Ideal for businesses balancing quality and budget.
Supported Providers (And Beyond)
OpenAI: GPT-3.5, GPT-4, GPT-4 Turbo.
OpenRouter: Open-source models like Llama-3, Mixtral, and Databricks’ Dolly.
GitHub: GitHub Copilot for code generation.
Extensible: Add new providers with minimal code (e.g., Anthropic, Mistral).
Getting Started
1. Clone the Repo
bash
git clone https://github.com/raj77in/zapgpt.git
cd zapgpt
2. Install & Configure
bash
npm install
# Add API keys in `.env` (OpenAI, OpenRouter, GitHub)
npm start
3. Use the Interface
View models, pricing, and context lengths in the sidebar.
Upload files via the paperclip icon.
Customize base/additional prompts in the settings panel.
Who Is ZapGPT For?
Developers: Test multiple models without switching tools.
Businesses: Optimize AI costs with pricing comparisons.
Researchers: Benchmark model performance side-by-side.
Future Roadmap
Provider Integrations: Add Anthropic, Mistral, and local LLMs (e.g., Ollama).
Advanced Analytics: Track spending trends and model accuracy.
Plugin System: Extend functionality with custom tools (e.g., web search, databases).
Contribute or Suggest Features
ZapGPT is open-source and thrives on community input!
⭐ Star the repo to support the project.
🛠️ Contribute: Add new providers or features via pull requests.
📣 Feedback: Suggest improvements in the Issues section.
Final Thoughts
ZapGPT isn’t just another AI chat app – it’s a smart hub for developers and teams who demand flexibility, cost control, and deep customization. Whether you’re building a prototype or managing enterprise AI workflows, ZapGPT gives you the tools to succeed.