@extends('layouts.app')
@section('title', 'HastAI Admin - AI Usage Dashboard')
@section('page_title', 'AI Usage Dashboard')
@section('styles')
@endsection
@section('content')
Credit Analytics Section
{{ number_format($totalCreditsInWallets) }}
Total User Wallet Balance
{{ number_format($totalUsedCredits) }}
Total Credits Spent
{{ number_format($totalTransactionsCount) }}
Transactions Logged
{{ $avgCreditCost }}
Avg. Credit / Report
Credits Transaction Flow (Last 12 Months)
Transaction Types
@if(empty($transactionTypeData))
No data available
@else
@endif
Recent Credit Transactions
@include('dashboard.partials.transactions_table')
AI Token Usage Section
{{ number_format($totalTokens) }}
Total Tokens Used
{{ number_format($totalInputTokens) }}
Input Tokens
{{ number_format($totalOutputTokens) }}
Output Tokens
{{ number_format($avgTokensPerGen) }}
Avg Tokens / Gen
{{ number_format($totalActiveProfiles) }}
Profiles With Token Activity
{{ number_format($avgTokensPerProfile) }}
Avg Tokens / Profile
AI Token Usage Trend (Last 12 Months)
Top 5 Palm Profiles by Token Usage
@include('dashboard.partials.token_usage_table')
@include('dashboard.partials.profile_tokens_table')
@endsection
@section('scripts')
@endsection