@extends('layouts.app') @section('content')

#{{ $team->id }} {{ $team->name }}

İşletmenin AI çağrı bazında token ve maliyet (USD) dökümü.

{{ number_format($totals['call_count'], 0, ',', '.') }} ÇAĞRI
{{-- Özet kartları --}}

TOPLAM ÇAĞRI

{{ number_format($totals['call_count'], 0, ',', '.') }}

TOPLAM TOKEN

{{ number_format($totals['total_tokens'], 0, ',', '.') }}

TOPLAM MALİYET (USD)

${{ number_format($totals['total_cost'], 4, ',', '.') }}

{{-- Özellik kırılımı --}} @if ($featureBreakdown->isNotEmpty())

ÖZELLİK KIRILIMI

@foreach ($featureBreakdown as $breakdown) @endforeach
Özellik Çağrı Token Maliyet (USD)
{{ $featureLabels[$breakdown->feature] ?? $breakdown->feature }} {{ number_format($breakdown->call_count, 0, ',', '.') }} {{ number_format($breakdown->total_tokens, 0, ',', '.') }} ${{ number_format($breakdown->total_cost, 4, ',', '.') }}
@endif {{-- Özellik filtreleri --}} @if ($featureBreakdown->count() > 1 || $selectedFeature)
TÜMÜ @foreach ($featureBreakdown as $breakdown) @php $isActive = $selectedFeature === $breakdown->feature; $label = $featureLabels[$breakdown->feature] ?? $breakdown->feature; @endphp {{ mb_strtoupper($label) }} @endforeach
@endif {{-- Çağrı dökümü --}}
@forelse ($usages as $usage) @empty @endforelse
Tarih Özellik Model Prompt Tamamlama Toplam Token Maliyet (USD) Kullanıcı
{{ $usage->created_at->format('d.m.Y H:i') }} {{ $featureLabels[$usage->feature] ?? $usage->feature }} {{ $usage->model ?? '-' }} {{ number_format($usage->prompt_tokens, 0, ',', '.') }} {{ number_format($usage->completion_tokens, 0, ',', '.') }} {{ number_format($usage->total_tokens, 0, ',', '.') }} ${{ number_format((float) $usage->cost, 6, ',', '.') }} {{ $usage->user?->name ?? '-' }}
Bu işletme için AI tüketim kaydı bulunmuyor.
@if ($usages->hasPages())
{{ $usages->links() }}
@endif
@endsection