Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Americans pronounce costs as KAHSTS (/kɑsts/). In "costs", the "t" is squeezed between other consonants and drops out — the surrounding consonants flow together without it — most natural in flowing, casual speech; in careful or formal speech, the T may be lightly present. This is called the Silent T in Clusters, the kind of sound shift that makes everyday speech feel effortless. It comes out as KAHSTS. You'll hear it in sentences like "The main problem is that it costs too much" or "He applied for financial aid to help cover tuition costs" — more examples below.
Record yourself saying "costs" and play it back. The mic stays on your device — nothing's uploaded.
1 syllable, 5 sounds. Explore each sound's mouth shape and how it's made.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Relax your lips and drop your jaw significantly. The tongue tip lightly touches behind the bottom front teeth and the back part of the tongue presses down a little to create more dark space in the back of the mouth.

Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

The T is skipped entirely. Your tongue doesn't make contact at the T position.

Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Click any sentence to see the full breakdown — every link, every reduction, every flap-T.
The textbook way isn't wrong — it's just not how anyone actually says it.
In "costs", the "t" is squeezed between other consonants and drops out — the surrounding consonants flow together without it — most natural in flowing, casual speech; in careful or formal speech, the T may be lightly present. /t/ is dropped entirely — the surrounding consonants flow together without the T.