AI API

Add AI to your own app, pay only for what you use.

Use the Bonosmart AI API from your website, LMS or software. One key, one prepaid wallet in taka, and a simple OpenAI-style request. No dollar card needed.

Three steps

Start in a few minutes

01

Add balance

Open AI API in your Bonosmart account and add money online. Our team can also add balance for you after a bKash or Nagad payment.

  • Prepaid in ৳
  • No monthly fee
02

Create a key

Make an API key for each app. The key is shown once, and you can remove it at any time.

  • One key per app
  • Remove any time
03

Send requests

Call one endpoint with the model you want. Each answer shows the cost and your remaining balance.

  • Pay per request
  • See every call
Example

One request, one answer

The request and the answer follow the common chat completions format, so most AI libraries work by changing only the address and the key.

curl https://app.bonosmart.com/api/ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_BONOSMART_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "google/gemini-2.5-flash", "messages": [ {"role": "user", "content": "Write 3 MCQs on photosynthesis in Bangla"} ] }'
Good to know

Simple, safe and fair

Pay in taka from a prepaid wallet
Keys stay private and can be removed
Popular models, one address
Every call and its cost is listed
FAQ

API questions

Which models can I use?–

Popular models such as Gemini 2.5 Flash, GPT-4o mini and DeepSeek V3. The list is shown in your account and may grow over time.

How much does a request cost?+

You pay the cost of the model plus a small service fee, charged in taka from your wallet after each request. Your balance is returned with every answer.

What happens when my balance ends?+

Requests stop with a clear message until you add balance. Nothing is billed after use.

Can I stream answers?+

Not yet. Each request returns the full answer.

Ready to add AI to your product?

Create an account, add balance and make your first request today.