Using BDRouter

BDRouter speaks the OpenRouter / OpenAI API. If your code already talks to OpenRouter, only two things change: the base URL and your key.

1. Get your key

Sign up, verify your email, then create a key on your dashboard. It looks like sk-bdr-… and is shown once — store it safely.

2. Point your client at the endpoint

Base URL:

https://bdrouter.taufiq.cc/v1

3. Call any model

Python (OpenAI SDK):

from openai import OpenAI client = OpenAI( base_url="https://bdrouter.taufiq.cc/v1", api_key="sk-bdr-...", # your BDRouter key ) resp = client.chat.completions.create( model="openai/gpt-4o-mini", messages=[{"role": "user", "content": "Hello!"}], ) print(resp.choices[0].message.content)

curl:

curl https://bdrouter.taufiq.cc/v1/chat/completions \ -H "Authorization: Bearer sk-bdr-..." \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-4o-mini", "messages":[{"role":"user","content":"Hello!"}]}'

Models & pricing

Every OpenRouter model works, at OpenRouter's per-token prices. Browse them at openrouter.ai/models.

Topping up

Your balance is USD credit funded in BDT. When you run low, use the Request top-up button on your dashboard — it opens a short form with payment instructions. Credit is applied to your key after payment.