| 일시 | 테넌트 | 사용자 | 유형 | Provider / Model | 사용량 | API 원가 | 과금 기준 | 차감 Credit | 상세 |
|---|---|---|---|---|---|---|---|---|---|
| {{ $log->created_at?->format('Y.m.d H:i') }} |
{{ $log->tenant?->name ?? $log->tenant_id }}
{{ $log->tenant_id }}
|
{{ $log->user?->name ?? '-' }}
{{ $log->user?->email ?? '' }}
|
{{ $formatTypeLabel($log) }} | {{ $log->provider }}/{{ $log->model }} | {{ $formatUsageSummary($log) }} | {{ $formatUsd($providerUsd) }} |
{{ $markup !== null ? rtrim(rtrim(number_format((float) $markup, 2, '.', ''), '0'), '.') . 'x' : '-' }}
{{ $usdPerCredit !== null ? $formatUsd($usdPerCredit) . ' / Credit' : '-' }}
|
{{ number_format((int) ($log->credits_used ?? 0)) }} Credit
월 {{ number_format((int) ($log->monthly_credits_used ?? 0)) }}
· 충전 {{ number_format((int) ($log->purchased_credits_used ?? 0)) }}
|
|
|
@if ($isImageLog)
생성 정보
{{ number_format((int) data_get($quoteUsage, 'image_count', data_get($log->usage_data, 'image_count', 1))) }}장
{{ $quoteWidth && $quoteHeight ? $quoteWidth . ' × ' . $quoteHeight : '-' }}
@if ($quoteOutputMp !== null)
{{ $formatMp($quoteOutputMp) }}
@elseif (data_get($log->usage_data, 'output_width') && data_get($log->usage_data, 'output_height'))
{{ $formatMp(((int) data_get($log->usage_data, 'output_width') * (int) data_get($log->usage_data, 'output_height')) / 1_048_576) }}
@else
-
@endif
가격 계산
@if ($imageQuote)
First MP
{{ $quoteFirstMpUsd !== null ? $formatUsd($quoteFirstMpUsd) : '-' }}
Additional MP
{{ $quoteAdditionalMp !== null ? $formatMp($quoteAdditionalMp) : '-' }}
· {{ $quoteAdditionalMpUsd !== null ? $formatUsdFixed3($quoteAdditionalMpUsd) : '-' }}
Reference Image
{{ $quoteReferenceMp !== null ? $formatMp($quoteReferenceMp) : '-' }}
· {{ $quoteReferenceMpUsd !== null ? $formatUsdFixed3($quoteReferenceMpUsd) : '-' }}
API 원가
{{ $formatUsd($quoteProviderUsd ?? $providerUsd) }}
계산 스냅샷이 없는 과거 로그입니다.
{{ $formatUsd($quoteProviderUsd ?? $providerUsd) }}
@endif
Credit 차감
{{ number_format((int) ($log->credits_used ?? 0)) }} Credit
월 {{ number_format((int) ($log->monthly_credits_used ?? 0)) }}
· 충전 {{ number_format((int) ($log->purchased_credits_used ?? 0)) }}
과금 기준
{{ $markup !== null ? rtrim(rtrim(number_format((float) $markup, 2, '.', ''), '0'), '.') . 'x' : '-' }}
{{ $usdPerCredit !== null ? $formatUsd($usdPerCredit) . ' / Credit' : '-' }}
과금 원가 {{ $formatUsd($billableUsd) }}
연결된 Credit 거래
@if ($creditTransaction)
#{{ $creditTransaction->id }} · {{ $creditTransaction->type }}
{{ number_format((int) $creditTransaction->amount) }} Credit
{{ $creditTransaction->reason ?? '-' }}
참조: {{ $creditTransaction->reference_type }}#{{ $creditTransaction->reference_id }}
연결된 거래가 없습니다.
@endif
사용량
{{ $formatUsageSummary($log) }}
@if (data_get($log->usage_data, 'reasoning_tokens') !== null)
Reasoning {{ number_format((int) data_get($log->usage_data, 'reasoning_tokens')) }}
@endif
토큰 상세
Input {{ number_format((int) data_get($log->usage_data, 'input_tokens', $log->input_tokens ?? 0)) }}
Cached {{ number_format((int) data_get($log->usage_data, 'cached_input_tokens', 0)) }}
Output {{ number_format((int) data_get($log->usage_data, 'output_tokens', $log->output_tokens ?? 0)) }}
Credit 차감
{{ number_format((int) ($log->credits_used ?? 0)) }} Credit
월 {{ number_format((int) ($log->monthly_credits_used ?? 0)) }}
· 충전 {{ number_format((int) ($log->purchased_credits_used ?? 0)) }}
과금 기준
{{ $markup !== null ? rtrim(rtrim(number_format((float) $markup, 2, '.', ''), '0'), '.') . 'x' : '-' }}
{{ $usdPerCredit !== null ? $formatUsd($usdPerCredit) . ' / Credit' : '-' }}
과금 원가 {{ $formatUsd($billableUsd) }}
연결된 Credit 거래
@if ($creditTransaction)
#{{ $creditTransaction->id }} · {{ $creditTransaction->type }}
{{ number_format((int) $creditTransaction->amount) }} Credit
{{ $creditTransaction->reason ?? '-' }}
참조: {{ $creditTransaction->reference_type }}#{{ $creditTransaction->reference_id }}
연결된 거래가 없습니다.
@endif
|
|||||||||