Changelog

What's new in Vedika API

Latest: v1.2.2 | October 17, 2025

v1.2.2 ⚡

October 17, 2025

Latest

🚀 37% Performance Improvement

Vedika API now delivers instant responses for common questions and 37% faster processing for astrological queries. Enhanced security and intelligent input validation ensure reliability and cost efficiency.

Performance Improvements

  • 37% Faster Response Times: Average processing reduced from 47.7s to 29.9s
  • Instant Greetings: Simple greetings now return in ~6 seconds (previously required full processing)
  • Smart Query Routing: Automatically detects question types and optimizes processing path
  • Cost Optimization: Significant savings on simple queries without compromising analysis quality

Security Enhancements

  • Enhanced Input Validation: Improved filtering to ensure high-quality astrological questions
  • Respectful Interaction: Automatic detection and polite handling of inappropriate content
  • Intelligent Disclosure: Consistent responses about platform capabilities

Reliability Improvements

  • Optimized Processing Pipeline: Queries processed through most efficient path
  • Reduced Latency: Faster initial response times across all query types
  • Better Resource Utilization: More efficient processing for high request volumes

Live in Production

All performance and security enhancements are now active. Users experiencing 37% faster responses with enhanced reliability and cost savings across all endpoints.

v1.2.1 🔒

October 15, 2025

🛡️ Revenue Protection & Streaming Enhancements

All streaming endpoints now include token-based billing. Added feature flag to deprecate test keys in production. Complete billing parity across streaming and non-streaming endpoints.

Streaming Endpoints Enhanced

  • Token Billing for Streaming: /api/v1/astrology/query/stream now deducts wallet after streaming completes
  • Billing Events: New SSE events billing_completed and billing_error notify clients of payment status
  • /api/vedika Routes: Registered /api/vedika/chat and /api/vedika/chat/stream endpoints (frontend-ready)
  • Full Transparency: Streaming responses include same cost breakdown as non-streaming (tokens, wallet balance, processing costs)

Revenue Protection

  • Test Key Deprecation: New DISABLE_TEST_KEYS environment variable to block vk_test_* keys in production
  • Industry Standard Model: Like industry leaders, enforce pay-as-you-go with live keys only (vk_live_*)
  • Clear Migration Path: 403 error with upgrade instructions directs users to dashboard to generate live keys
  • Zero Revenue Loss: Prevents billing abuse from unlimited test key usage

Technical Improvements

  • Atomic Wallet Deduction: Streaming endpoints use same Firestore transaction-based billing as non-streaming
  • Feature Flag Safety: DISABLE_TEST_KEYS defaults to false (development-friendly), set true in production
  • Backward Compatible: No breaking changes - existing live keys continue working seamlessly
  • Production Parity: All three streaming endpoints now have identical billing behavior

Ready to Deploy

All streaming endpoints updated with token billing. Test key deprecation available via environment variable. TypeScript compilation clean, zero breaking changes, production-ready.

v1.2.0 💰

October 15, 2025

🎉 Token-Based Billing System

Vedika now uses industry-standard token-based pricing. Pay only for what you use with full transparency on costs, tokens, and wallet balance in every API response.

Transparent Pricing

  • $11.94 per 1M tokens (AI processing only)
  • $233.94 per 1M tokens (with astronomical data)
  • Simple queries: ~$0.19 (500 tokens) = ~2,000 queries per 1M tokens
  • Medium queries: ~$0.35 (800 tokens) = ~1,250 queries per 1M tokens
  • Complex queries: ~$0.65 (1500 tokens) = ~666 queries per 1M tokens

Response Metadata

  • Token Usage: Input, output, cached, and total tokens per request
  • Cost Breakdown: Astronomical data costs + AI processing costs + total with markup
  • Wallet Balance: Before, deducted amount, and after balance in USD
  • Cache Savings: See how much you saved with intelligent caching (up to 90% off)

Performance Metrics

  • Response Time: 28-36 seconds (28.7s processing + 8s network)
  • Streaming Support: SSE streaming available at /api/vedika/chat/stream
  • Atomic Transactions: Firestore-based wallet deduction with ACID guarantees

IP Protection

  • Vedika Branding: All customer-facing docs use Vedika model names
  • Clean API Interface: All processing abstracted behind unified Vedika API
  • Competitive Advantage: Position as "LLM company for astrology"

Production Ready

Token-based billing fully operational. Backend tested with real queries, frontend updated with Vedika branding, full cost transparency in every API response.

v1.1.1 ⚡

October 14, 2025

🚀 Major Performance Upgrade

Vedika API is now 65% faster and 99.6% more cost-efficient. Enhanced processing delivers lightning-fast astrological insights with dramatically reduced operational costs.

Speed Improvements

  • 65% Faster Response Times: Average processing time reduced from ~7s to ~2.4s
  • Enhanced Processing Engine: Optimized AI workflows for faster astrological analysis
  • Improved User Experience: Near-instant responses for most query types

Cost Efficiency

  • 99.6% Cost Reduction: Optimized data processing reduces operational costs
  • Smart Resource Management: Efficient use of computational resources
  • Same Quality, Lower Cost: Maintain 97.2% accuracy while dramatically reducing overhead

Technical Enhancements

  • Optimized AI Processing: Enhanced algorithms for faster computation
  • Intelligent Data Handling: Smart filtering of essential astrological data
  • Automated CI/CD: Streamlined deployment pipeline via GitHub Actions

Live Now

All performance improvements deployed and active. Users experiencing faster responses and enhanced reliability across all endpoints.

v1.1.0 🧠

October 10, 2025

🎉 Major Release: AI Enhancement Suite

Vedika now learns from every query, predicts optimal configurations, and continuously monitors performance. Expected +40-50% improvement in efficiency, accuracy, and cost optimization over time.

🌍 22 Languages Support

  • 11 Indian Languages: Hindi, Bengali, Telugu, Tamil, Gujarati, Kannada, Malayalam, Marathi, Punjabi, Odia, Assamese
  • 11 International Languages: English, Spanish, French, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese, Arabic
  • Context-Aware Translation: AI-powered translation preserves Sanskrit astrological terms across all languages
  • Spiritual Accuracy: No generic machine translation - maintains cultural and spiritual context
  • India Market Focus: Only astrology API with comprehensive Indian language coverage

⭐ Western Astrology Support

  • Tropical Zodiac Birth Charts: Complete Western (season-based) astrology system
  • 10 Planets Supported: Sun through Pluto (includes Uranus, Neptune not in Vedic)
  • 13 House Systems: Placidus, Koch, Equal, Whole Sign, and 9 more professional systems
  • Secondary Progressions: Long-term predictive technique (1 day = 1 year)
  • Solar Returns: Annual birthday chart for yearly forecasts
  • Synastry Analysis: Relationship compatibility with inter-chart aspects
  • Current Transits: Compare natal positions with current planetary transits
  • Independent Swiss Ephemeris: No dependency on external APIs (±0.01° precision)
  • Competitive Advantage: Only API offering both Vedic AND Western astrology

🔌 Real-Time WebSocket Features (Phase 4)

  • Real-Time Transit Alerts: Subscribe to planetary transit notifications affecting your natal chart
  • Streaming AI Predictions: Real-time streaming for astrological readings (powered by Vedika 2.1 Neural Engine)
  • Live Credit Monitoring: Real-time credit balance updates as you use the API
  • API Usage Tracking: Monitor your API calls in real-time with instant updates
  • API Key Activity: Live monitoring of all your API keys' usage and statistics
  • Socket.IO Integration: WebSocket server at ws://your-domain/ws with authentication
  • Transit Alert Intelligence: Only notifies for transits within 2° orb (actively affecting you now)
  • Severity Ratings: 1-10 scale based on planet type, orb tightness, and aspect nature
  • Auto-Updates: Transit calculations refresh every 6 hours automatically
  • Multi-Framework Support: Examples for React, Vue.js, Next.js, and Python clients
  • Complete Documentation: 1,700+ lines of WebSocket API docs with examples
  • Comprehensive Testing: 19 integration tests covering all WebSocket features

Phase 1: Persistent Memory System

  • Self-Learning AI: Stores high-quality query patterns (≥7.0/10) in SQLite database
  • Pattern Recognition: Learns from successful processing patterns and response quality
  • Zero Performance Impact: Non-blocking storage (<1ms overhead)
  • Expected Impact: +10-15% accuracy improvement over time

Phase 2: Neural Pattern Predictor

  • AI-Powered Predictions: Recommends optimal configurations before execution
  • Smart Configuration: Predicts execution time, cost, and quality scores
  • Confidence Scoring: Improves from 47% (10 patterns) to 90%+ (500+ patterns)
  • Expected Impact: +15-25% efficiency improvement

Phase 3: Performance Monitor

  • Real-Time Tracking: Monitors execution time, quality, cost, and confidence
  • Trend Analysis: Detects improving/declining/stable patterns
  • Smart Recommendations: Generates optimization suggestions automatically
  • Expected Impact: 20-30% cost reduction through insights

Safety & Reliability

  • Feature flags for instant rollback (VEDIKA_ENABLE_*)
  • Graceful degradation - errors never crash main workflow
  • <1ms total overhead across all phases (<0.2% impact)
  • Verified: Zero downtime, 100% test success rate

Production Ready

All phases deployed, tested, and operational. 10 patterns already collected with 8.5/10 average quality. Neural predictions active with 47% confidence (will improve to 90%+ as more patterns accumulate).

v1.0.2

October 10, 2025

New Features

  • Added 35 Numerology calculations (Pythagorean + Chaldean systems)
  • Enhanced parallel processing visualization on homepage
  • Improved API branding consistency across all pages

Improvements

  • Optimized cache hit rate from 67% to 73% (17% cost savings)
  • Reduced P50 response time from 2.4s to 2.14s
  • Enhanced dashboard UI with real-time usage metrics

Bug Fixes

  • Fixed compatibility analysis edge case for Nadi Dosha detection
  • Resolved timezone conversion issues for birth chart calculations

v1.0.1

October 3, 2025

New Features

  • Added support for 60 divisional charts (D1-D60)
  • Implemented 7 Dasha systems with 5-level sub-periods
  • Added Model Context Protocol (MCP) for conversation persistence

Improvements

  • Upgraded to Vedika 2.1 Advanced AI for primary processing
  • Enhanced Yoga detection accuracy to 96.4%
  • Added comprehensive benchmarks page with ROI calculator

Security

  • Implemented SHA-256 API key hashing
  • Added PII masking in logs (GDPR compliance)
  • Enhanced rate limiting: 500 requests per 15 minutes

v1.0.0

September 15, 2025

Initial Release

Initial Launch

  • Multi-layer parallel processing system (97.2% accuracy)
  • 300+ Yoga detection with classical validation
  • 25 Dosha types with remedial suggestions
  • 36-point Ashtakoota compatibility matching
  • NASA-grade astronomical precision (±0.001°)
  • Multi-region deployment (US-Central1, Asia-South1)
  • 99.97% uptime SLA with 8-minute MTTR
  • Complete REST API with authentication

Coming Soon

  • v1.3.0 (Q4 2025)

    Enhanced Dashboard with Advanced Analytics, Bulk Processing API

  • v1.4.0 (Q1 2026)

    Enterprise Team Management with Role-Based Access Control, White-Label API Customization

  • v2.0.0 (Q2 2026)

    Advanced Machine Learning for Pattern Recognition, Predictive Insights Engine

Already Available: GraphQL API with Interactive Playground, Multi-language support (22 languages), Complete Western & Vedic Astrology, Muhurta & Panchang Calculations, Real-Time WebSocket Notifications, Token-Based Billing with Streaming, 300+ Yoga Detection, Complete Dosha Analysis, Dasha Systems, Compatibility Matching, Revenue Protection, Smart Query Routing, Webhook Support