Open Closed

What is the link to go to in order to increase the credits for AI agent in ABP Studio? #10715


User avatar
0
dzungle created

Hi, I faced this error when using AI Agent in ABP Studio: Your AI provider account has insufficient credits. Please add credits to your account and try again. (This request requires more credits, or fewer max_tokens. You requested up to 49152 tokens, but can only afford 21371. To increase, visit https://your AI provider dashboard/workspaces/abpio-org-fc5b37976fa2101582613a07dce2dbd3/keys/7789e02e771ccb6e496e8923f1dfa1b2434b4903cc9e16f3e522826fbf29a938 and adjust the key's total limit)

What is the link to go to in order to increase the credits?

Regards

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

8 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • The message you got is coming from your selected AI provider, not from ABP Studio credits. So the place to “increase credits” is the billing/credits page of the AI provider account whose API key you configured in ABP Studio.
    • The URL shown in the error (…/workspaces/.../keys/...) is a provider-dashboard deep link and is specific to your provider and workspace; ABP Studio can’t generate a universal “add credits” link.

    What you should do

    1. In ABP Studio, open AI Assistant / AI Agent settings and check which provider and API key you are using.
    2. Go to that provider’s dashboard and add funds / upgrade plan / raise the key’s spending limit for that key/workspace (the error indicates the key has a total limit set).
    3. As an immediate workaround, lower the request size:
      • Reduce max_tokens (your request tried up to 49152)
      • Reduce context / attachments / selected files for the agent run

    If this is about ABP Studio’s built-in AI credits/subscription or account-side provisioning, that’s a licensing/billing topic—please contact ABP: https://abp.io/contact

    Links (validated):

    • https://abp.io/docs/10.4/studio/overview
    • https://abp.io/contact

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    dzungle created

    How to open AI Assistant / AI Agent settings in ABP Studio ?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In ABP Studio, open the left sidebar and click the AI icon. This opens the AI Assistant panel. From there you can use the AI Assistant / Agent UI (and it also shows the credits info in that panel).

    If you meant the place where you change the AI provider / API key / limits, that configuration is not documented in the verified ABP Studio docs I can access right now.

    Links (validated):

    • https://abp.io/docs/10.4/studio/overview
    • https://abp.io/studio/ai-agent

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    dzungle created

    No AI icon on the left sidebar. Cannot find any button/icon to open the AI Assistant panel. See image below:

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In ABP Studio, the AI Assistant panel is only available when the AI Assistant feature is enabled and the UI shows the AI icon in the left sidebar. According to the ABP Studio docs, you open it by clicking the AI icon on the left sidebar. If you don’t see that icon (like in your screenshot), it typically means AI Assistant is not available/enabled in your current ABP Studio build or configuration.

    • For ABP AI Agent, the UI in your screenshot already shows an “abp AI Agent” area on the Home screen, but it also says “Open a solution to get started.” So:

      1. Click Open solution (or open an .abpsln from Recent Solutions).
      2. After the solution is loaded/analyzed, the Agent UI becomes available from within the solution context (the Home tile alone is not the chat panel).

    If you still can’t find any entry point after opening a solution, this is not covered in the verified docs beyond “AI icon in the left sidebar”, so the most reliable route is to contact ABP support with your ABP Studio version (Help -> About) and that screenshot: https://abp.io/contact

    Sources (validated):

    • https://abp.io/docs/10.4/studio/overview
    • https://abp.io/studio/ai-agent
    • https://abp.io/contact

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    dzungle created

    No where to open the AI Assistant pane to config the API key for AI provider.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    The URL in the error message isn't meant for you to open — it points to an internal account that you don't have access to. So there's no link to click directly from that error.

    The correct place to top up is the AI Credits section on your organization page:

    1. Go to https://abp.io/my-organizations/
    2. Select your TCOM organization
    3. Scroll to the AI Credits section (or use the #ai-credits anchor)
    4. Under Top up AI credits, enter the amount in USD (minimum $10, in multiples of 10) and click Buy AI credits

    AI credits are purchased per organization and shared across all developers in it. The balance updates automatically after payment, and ABP Studio will pick it up on the next request — you don't need to configure any API key yourself.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alper created
    Support Team Director

    [dzungle] said: No where to open the AI Assistant pane to config the API key for AI provider.

    sorry but we don't suppot "bring your own AI API Key" in this model

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.