# API billing logic

**URL:** <https://community.perplexity.ai/t/api-billing-logic/131>\
**Category:** Bug Reports\
**Created:** [May 15, 2025, 12:27am UTC](https://community.perplexity.ai/t/api-billing-logic/131 "2025-05-15T00:27:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [May 15, 2025, 12:27am UTC](https://community.perplexity.ai/t/api-billing-logic/131/1 "2025-05-15T00:27:51Z")

</div>

If i am using api to get response and if the api returns 5xx or other then success, will I be charged ?
