Introduction
What aihubspot is, how it works, and why you'd use it.
What is aihubspot?
aihubspot is a unified AI gateway for Bangladesh — access GPT-4o, Claude 3.5, Gemini, Llama and more through a single OpenAI-compatible API endpoint, billed in BDT.
Think of it like OpenRouter, but built locally: pay via bKash, no international card needed, pricing in Taka.
OpenAI-compatible endpoint
aihubspot speaks the OpenAI API protocol exactly. This means:
- Use the OpenAI SDK directly — Python, JavaScript, or any language
- Zero migration cost — change two lines in existing code
- Same request/response format —
messages,model,stream,max_tokensall work identically
from openai import OpenAI
client = OpenAI(
api_key="YOUR_AH_KEY",
base_url="https://api.aihubspot.app/v1", # ← only change needed
)How it works
- You send a standard chat completion request to
https://api.aihubspot.app/v1 - aihubspot routes it to the selected model (OpenAI, Anthropic, Google, Meta, and more)
- The response comes back in the standard OpenAI format
Why use aihubspot?
- One API key instead of managing separate keys per provider
- BDT billing — pay in Taka via bKash, no FX fees
- OpenAI-compatible — works with any tool, framework, or SDK built for the OpenAI API
- Access frontier models — GPT-4o, Claude 3.5 Sonnet, Gemini, Llama 3 and more