# LangSmith continues making OpenAI API calls after OpenAI billing threshold is reached

**URL:** <https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303>\
**Category:** Observability & Evals\
**Tags:** intro-to-langsmith, python-help\
**Created:** [August 6, 2026, 3:53pm UTC](https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303 "2026-08-06T15:53:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bitcot\_Kaushal](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@Bitcot\_Kaushal](https://forum.langchain.com/u/Bitcot_Kaushal)\
**Post date:** [August 6, 2026, 3:53pm UTC](https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303/1 "2026-08-06T15:53:27Z")

</div>

Hi everyone,

I’m seeing an issue where LangSmith appears to continue sending requests to the OpenAI API even after the usage threshold configured for my OpenAI API key has been reached.

**Issue:**

- I configured a spending threshold/limit for my OpenAI API key.
- Once the threshold is reached, I expect API requests to stop or return an error.
- Instead, LangSmith continues making requests, and my OpenAI account balance goes into the negative.

---

<div class="post-metadata">

**Author:** ![dariel.datoon](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/dariel.datoon/32/3152_2.png) [@dariel.datoon](https://forum.langchain.com/u/dariel.datoon)\
**Post date:** [August 7, 2026, 3:58am UTC](https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303/2 "2026-08-07T03:58:55Z")

</div>

Hi, @Bitcot_Kaushal! I think this is more of an OpenAI issue. Seems like they have this documented.

> **[Spend limits | OpenAI API](https://developers.openai.com/api/docs/guides/spend-limits)**
>
> Control API spend with organization and project monthly spend limits.

Does the same thing happen even if you run outside of LangSmith?

---

<div class="post-metadata">

**Author:** ![Bitcot\_Kaushal](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@Bitcot\_Kaushal](https://forum.langchain.com/u/Bitcot_Kaushal)\
**Post date:** [August 7, 2026, 4:55am UTC](https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303/3 "2026-08-07T04:55:18Z")

</div>

Hi @dariel.datoon ,

I have enabled the hard reset limit from OpenAI. But it got breached only when the requests are coming from LangSmith. If I test the same with some other platform, it throws a 429 error (request limit reached).

---

<div class="post-metadata">

**Author:** ![dariel.datoon](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/dariel.datoon/32/3152_2.png) [@dariel.datoon](https://forum.langchain.com/u/dariel.datoon)\
**Post date:** [August 7, 2026, 9:53pm UTC](https://forum.langchain.com/t/langsmith-continues-making-openai-api-calls-after-openai-billing-threshold-is-reached/4303/4 "2026-08-07T21:53:29Z")

</div>

Are you doing any sort of batch calls? Any code samples you can provide?

According to OpenAI’s docs, even with hard limits, “Enforcement is not instantaneous. The API Platform can process a small amount of extra usage while the limit state propagates, so recorded spend can slightly exceed the configured amount.”
