There are many challenges associated with in situ collection of near infrared (NIR) spectra in a fermentation broth, particularly for highly aerated and agitated fermentations with filamentous organisms. In this study, antibiotic fermentation by the filamentous bacterium Streptomyces coelicolor was used as a model process. Partial least squares (PLS) regression models were calibrated for glucose and ammonium based on NIR spectra collected in situ. To ensure that the models were calibrated based on analyte-specific information, semisynthetic samples were used for model calibration in addition to data from standard batches. Thereby, part of the inherent correlation between the analytes could be eliminated. The set of semisynthetic samples were generated from fermentation broth from five separate fermentations to which different amounts of glucose, ammonium, and biomass were added. This method has previously been used off line but never before in situ. The use of semisynthetic samples along with validation on an independent batch provided a critical and realistic evaluation of analyte-specific models based on in situ NIR spectroscopy. The prediction of glucose was highly satisfactory resulting in a RMSEP of 1.1 g/L. The prediction of ammonium based on NIR spectra collected in situ was not satisfactory. A comparison with models calibrated based on NIR spectra collected off line suggested that this is caused by signal attenuation in the optical fibers in the region above 2,000 nm; a region which contains important absorption bands for ammonium. For improved predictions of ammonium in situ, it is suggested to focus efforts on enhancing the signal in that particular region.