WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

Cannot deploy my database and OPENAI is using tokens when pressing on deploy although deployment fails

Open mohamedaliabid10 opened this issue 9 months ago • 2 comments

Describe the bug When attempting to deploy a SQL Server database with approximately 400 tables to WrenAI, the process fails. is it due to OpenAI rate limits ?

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser FireFox

Wren AI Information

mohamedaliabid10 avatar Mar 26 '25 13:03 mohamedaliabid10

@mohamedaliabid10 from the error messages in ai service log: Request too large for gpt-4o-mini in organization org-xxxxxx on tokens per min (TPM): Limit 200000, Requested 565735. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.

This means you reach TPM limit based on your current openai api usage tiers.

fyi: https://platform.openai.com/docs/guides/rate-limits

cyyeh avatar Mar 26 '25 22:03 cyyeh

@cyyeh thanks for answering, you said the error highlights request too large for gpt 4o mini although when i installed wrenai i choosed got 4o … and is there any approach i can take solve this issue besides reducing the input ?

mohamedaliabid10 avatar Mar 27 '25 11:03 mohamedaliabid10