Plain-English definition
API credits are how developers prepay (or receive a grant) for calling an AI API with a key. Your app sends requests; the provider measures tokens, images, or seconds; the wallet goes down. That wallet lives on the API platform — OpenAI Platform, Anthropic Console, Google AI Studio / Cloud billing — not inside ChatGPT Plus or Claude Pro chat.
If you are typing in a hosted assistant, you are probably on a consumer plan. If you are shipping software, you need API credits or pay-as-you-go on the developer console. The two invoices do not refill each other.