'integer', 'completion_tokens' => 'integer', 'total_tokens' => 'integer', 'cost_usd' => 'decimal:6', 'cost_krw' => 'decimal:2', ]; public function scopeForTenant($query, int $tenantId) { return $query->where('tenant_id', $tenantId); } }