Does Vercel AI Gateway stop billing when stream is cancelled mid-way?

If a user cancels/aborts a streaming request halfway through, does Vercel AI Gateway only charge for tokens actually generated up to that point or does it still charge the full estimated completion?

Also does the abort signal actually propagate to the upstream provider (OpenAI/Anthropic), or does the provider keep generating in the background while we just stop reading?