Velaxe
AI Hub — Unified LLM Gateway, Chat, Embeddings & Jobs | Velaxe

AI Hub

Track token usage and cost by provider

View last-30-day aggregates via Usage API; wire to budgets/alerts.

6 min Beginner Finance/Ops, Admin Updated Sep 19, 2025

Overview

View last-30-day aggregates via Usage API; wire to budgets/alerts.

Prerequisites

None.

Permissions required

ai.dashboard.view

Steps (2)

Estimated: 6 min
  1. 1

    Call Usage API

    Ops 3 min Back to top

    GET /UsageApi.php → {"ok":true,"range":"last 30 days","data":[{"provider":"openai","tokens":…,"cost":…},…]}

    Tips

    Validation

    Success criteria

  2. 2

    Set alerts

    Ops/Finance 3 min Back to top

    Use the response to drive spend dashboards; add alerts if cost spikes by provider.

    Tips

    Validation

    Success criteria

About this guide

AI Hub centralizes generative AI for your workspace with a single, policy-aware gateway to multiple providers. Teams get a streamlined chat experience with searchable history and feedback, a minimal Query API for quick prompts, and embeddings for retrieval workflows. Operators gain visibility with usage & cost tracking, quotas, and exportable audit logs.

Choose the best model for each task, fail over between providers, and moderate inputs/outputs with block/warn/allow policies. Keys are encrypted at rest and scoped per workspace. Long-running tasks run on a background worker and broadcast events so other apps can react in real time.

Designed for safety and speed: opinionated defaults, least-privilege access, and drop-in APIs that make it easy to bring AI to every surface of Velaxe.