# PromptHub Full Technical & Architectural Specification > Stop switching between AI tools. PromptHub brings multiple AI models into one powerful workspace to create, improve, analyze, test, compare, organize, and execute prompts. ## 1. Executive Summary & Brand Positioning - **Official Name**: PromptHub - **Canonical Website**: https://prompthub.cloud - **Parent Vision**: Aether Labs - **Official Headline**: ONE WORKSPACE. EVERY AI. - **Supporting Tagline**: Create. Improve. Compare. Execute. - **Core Philosophy**: "PromptHub is an AI Prompt Engineering & Multi-Model Workspace built around reusable prompts, not one-off AI chats." PromptHub provides developers, prompt engineers, and machine learning teams with a unified studio for prompt authoring, multi-model benchmarking, automated quality scoring, dynamic variable management, and production code delivery. By decoupling model experimentation from individual subscriptions, PromptHub delivers pay-as-you-go access to 490+ frontier and open-weights LLMs alongside zero-trust Bring Your Own Key (BYOK) privacy. --- ## 2. Core Modules & Technical Capabilities ### 2.1 Prompt Studio IDE & Workspace - **Multi-Model Prompt Authoring**: Rich Monaco/text-based IDE designed specifically for prompt engineers with syntax highlighting, line numbers, parameter controls (Temperature, Top-P, Frequency/Presence Penalty, Max Tokens). - **Dynamic Variable Detection Engine**: Automatically detects `{{variable}}` patterns within system instructions and user templates, instantly rendering dynamic input drawers for batch testing and prompt parametrization. - **Version Control & Checkpointing**: Granular snapshot management tracking every prompt iteration, diff inspection, and one-click rollback capabilities. - **11-Format Production Code Export**: 1. Python (Native OpenAI / Anthropic / Google SDK) 2. TypeScript / Node.js 3. LangChain Python 4. LangChain TypeScript 5. LlamaIndex 6. cURL HTTP Request 7. JSON Payload 8. YAML Configuration 9. Markdown Blueprint 10. Hugging Face Inference 11. PromptHub Universal JSON Schema ### 2.2 Multi-Model Live Arena Benchmarking - **Side-by-Side Shootouts**: Executes a single prompt simultaneously across 2 to 4 selected models (e.g., GPT-4o vs Claude 3.5 Sonnet vs Gemini 1.5 Pro vs DeepSeek R1). - **Real-Time Telemetry Comparison**: - Time-to-First-Token (TTFT) and total latency (milliseconds). - Accurate token consumption (input tokens, output tokens, cached tokens). - Real-time monetary cost calculated in INR and USD. - Qualitative side-by-side output evaluation. ### 2.3 Automated 4-Dimension Prompt Quality & Security Analyzer - **Clarity (0-100)**: Evaluates semantic precision, unambiguous task directives, and structural hierarchy. - **Specificity (0-100)**: Checks for concrete constraints, output schemas (JSON/Markdown), and few-shot examples. - **Robustness (0-100)**: Simulates adversarial inputs, edge-case resilience, and instruction following adherence. - **Safety & Injection Defense (0-100)**: Proactively red-teams the prompt against indirect prompt injection, jailbreaks, system instruction leaks, and delimiter collisions. - **Actionable AI Improvement**: Generates targeted, token-efficient rewrite suggestions with 1-click apply. ### 2.4 Prompt Marketplace & Community Ecosystem - **Curated & Community Prompts**: Browse thousands of production-tested prompts categorized across Software Engineering, System Architecture, Content & Copywriting, Data Analysis, Marketing, and Academic Research. - **Fork & Customize**: 1-click fork into user's private studio library with complete variable binding. - **Creator Monetization**: Verified creators can publish premium prompts and earn revenue via transparent INR wallet payouts. ### 2.5 Multi-Tenant Team Workspaces - **Collaborative Workspaces**: Organization-level prompt repositories and shared prompt vaults. - **Role-Based Access Control (RBAC)**: Owner, Admin, Editor, and Viewer permissions. - **Dedicated Team Communication**: Real-time team chat, prompt snippet sharing, and workspace audit logs. --- ## 3. Supported Model Catalog (490+ Models) PromptHub connects to all major LLM foundation providers: 1. **OpenAI**: GPT-4o, GPT-4o-mini, o1, o1-mini, o3-mini, GPT-4 Turbo. 2. **Anthropic**: Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus. 3. **Google DeepMind**: Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini 2.0 Flash, Gemma 2. 4. **DeepSeek**: DeepSeek R1 (Reasoning), DeepSeek V3 (MoE 671B). 5. **Meta AI**: Llama 3.3 70B Instruct, Llama 3.1 405B Instruct, Llama 3.1 8B. 6. **Mistral AI**: Mistral Large 2, Codestral, Pixtral, Mistral Small. 7. **xAI**: Grok 2, Grok 2 Vision. 8. **Qwen / Alibaba**: Qwen 2.5 72B Instruct, Qwen 2.5 Coder. 9. **Cohere**: Command R+, Command R. 10. **Specialized & Audio**: Sarvam AI (Indic languages), Deepgram (Nova-2 Speech-to-Text), AssemblyAI. --- ## 4. Privacy, Security & BYOK Architecture - **Client-Side Encrypted BYOK**: - Bring Your Own Key (BYOK) allows users to input their personal API keys for OpenAI, Anthropic, Google, DeepSeek, Groq, Mistral, xAI, OpenRouter, Together AI, Cohere, Sarvam, Deepgram, and AssemblyAI. - Keys are encrypted in-memory and in client session storage using standard AES-GCM encryption. - **Zero Server-Side Storage**: PromptHub servers never persist, transmit to third parties, or log user API keys. Requests using BYOK are dispatched directly from the client or through a stateless reverse proxy without key retention. - **No Training on Prompts**: User prompts and execution inputs/outputs are never used for model training or fine-tuning without explicit opt-in. - **Enterprise Isolation**: Supabase PostgreSQL Row Level Security (RLS) ensures absolute data partition between user accounts and multi-tenant teams. --- ## 5. Billing, Pricing & Economics - **Zero Subscription Lock-In**: No monthly recurring fees required. Users only pay for what they compute. - **Fixed Credit Exchange Rate**: $$\text{1 INR} = \text{2 Credits} \quad (\text{₹0.50 per credit})$$ - **High-Efficiency Free Tier**: Instant access to free OpenRouter models (`qwen/qwen3.8-27b:free`, `google/gemma-4-31b-it:free`, `nvidia/nemotron-3-super-120b-a12b:free`, `cohere/north-mini-code:free`). - **Payment Rails**: Razorpay integration supporting UPI, Net Banking, Credit/Debit Cards, and Wallets. --- ## 6. Machine-Readable Entity Index & Endpoints | Resource | URL | Purpose | |---|---|---| | Homepage | https://prompthub.cloud/ | Main landing & workspace entry | | Models Directory | https://prompthub.cloud/models | 490+ model specs & token rates | | Pricing | https://prompthub.cloud/pricing | Plans, credits & INR converter | | Marketplace | https://prompthub.cloud/marketplace | Verified prompt store & creator catalog | | Community | https://prompthub.cloud/community | Public community prompts | | Leaderboard | https://prompthub.cloud/community/leaderboard | Community prompt & creator rankings | | AI News | https://prompthub.cloud/news | Daily model & AI industry tracker | | About | https://prompthub.cloud/about | About PromptHub & Aether Labs | | Support | https://prompthub.cloud/support | Help center & support requests | | System Status | https://prompthub.cloud/status | Live operational status | | Legal | https://prompthub.cloud/legal | Legal overview & compliance | | Terms of Service | https://prompthub.cloud/terms | Terms of Service | | Privacy Policy | https://prompthub.cloud/privacy | Privacy Policy | | Cookie Policy | https://prompthub.cloud/cookies | Cookie Policy | | Compact Context | https://prompthub.cloud/llms.txt | AI agent quick context | | Full Context | https://prompthub.cloud/llms-full.txt | Complete architectural spec | | XML Sitemap | https://prompthub.cloud/sitemap.xml | Search engine crawling index | --- ## 7. Organization & Contact - **Entity**: PromptHub - **Parent Vision**: Aether Labs - **Official Website**: https://prompthub.cloud - **Support & Security Contact**: support@prompthub.cloud