X API v2 is pay-per-use: $0.005 per post read, $0.010 per user read and $0.015 per post created, billed against prepaid credits and capped at 3 million post reads a month. There are no subscription tiers; higher volume needs an Enterprise plan.
On InsightSocial: a Twitter/X profile lookup costs 10 credits (about $0.01 on Pro), your first 10 calls up to 100 credits each are free, and failed calls cost nothing. Pro's 10,000 monthly credits cover about 1,000 such lookups.