Antibiotic contaminated waters treatment is an important step for pollutant reduction and the promotion of water environment quality. Uncertainty in wastewater treatment technology, fluctuations in effluent water quality and operation costs cause an emerging issue to develop materials effective for removal of antibiotics. The environment-friendly clay such as vermiculite, could be potentially promising candidates for removing 6-APA (6- Aminopenicillanic) from pharmaceutical effluent. Antibiotic removal was achieved by using eco-friendly, time-saving, powerful and easy-applying synthesis method via tetraethoxysilane (Si). Expert systems are widely powerful tools for minimizing the complexities and complications in wastewater treatment. Response surface methodology (RSM) and adaptive neuro-fuzzy inference system (ANFIS) models were used to develop systematically predicting interactions of synthesis conditions on 6-APA adsorption capacity and optimize the best amount of compound. The effect of process variables investigated by RSM through central composite design (CCD) matrix and the results compared with ANFIS model.