FAQ
Connecting
Section titled “Connecting”What’s the difference between api.rabah.ai and hub.rabah.ai?
Section titled “What’s the difference between api.rabah.ai and hub.rabah.ai?”hub.rabah.ai is the web console for signing up, topping up, managing keys and checking usage. api.rabah.ai is for API calls; use it as the base URL in your apps. See Base URL and authentication.
Should the address end in /v1?
Section titled “Should the address end in /v1?”OpenAI-compatible apps use https://api.rabah.ai/v1; Claude clients and Gemini CLI use https://api.rabah.ai, without /v1. If unsure, see how to tell in Other apps.
Can I call Claude models through the OpenAI-format API?
Section titled “Can I call Claude models through the OpenAI-format API?”Yes. Rabah converts between API formats for you:
| Endpoint | Models it can call |
|---|---|
OpenAI-compatible /v1/chat/completions | GPT, Claude, Gemini and more |
Anthropic /v1/messages | Claude, GPT, Gemini and more |
OpenAI Responses /v1/responses | GPT, Claude and more |
Gemini native /v1beta | Gemini |
So an app that only speaks the OpenAI API can still use Claude: set model to a Claude model name.
Does one key work with every model?
Section titled “Does one key work with every model?”Yes. By default a key can use every model on every line you have access to, including ones added later. To restrict it, use the key’s “Lines & Models” setting.
Billing
Section titled “Billing”Are failed requests charged?
Section titled “Are failed requests charged?”No. Only successful requests are charged. When the platform retries on another account behind the scenes, only the attempt that succeeds is billed.
If I stop a reply halfway, do I pay less?
Section titled “If I stop a reply halfway, do I pay less?”No. After you disconnect, the platform still receives the rest of the reply and bills the full usage. If the model’s side stops partway, you pay for what was produced. See How you are charged.
Why is my balance negative?
Section titled “Why is my balance negative?”The balance is checked before a request starts, so the last request can cost more than what was left. Your next top-up covers the difference first.
I paid, but my balance did not change. What now?
Section titled “I paid, but my balance did not change. What now?”Look at the order’s status under Recharge → Orders. Completed means it has been credited; pending, paid or recharging, give it a few minutes. If it still hasn’t arrived after a while, write to support@rabah.ai with the order number. More in Top up.
My subscription quota ran out. Will topping up restore it?
Section titled “My subscription quota ran out. Will topping up restore it?”No. Your balance and your subscription quota are separate; a quota comes back at its reset time, or you can upgrade. To keep going after the quota runs out, tick “Use balance automatically after the subscription quota runs out or expires” on the key. More in Subscriptions.
Does renewing reset my subscription quota?
Section titled “Does renewing reset my subscription quota?”No. Renewing only extends the end date; what you’ve used and when it resets stay the same. Only buying again after the subscription has expired starts counting from scratch. More in Subscriptions.
Why did the same model cost more this time?
Section titled “Why did the same model cost more this time?”Possible reasons:
- You used just the model name, the default line was unavailable at the time, and the request moved to another line. The Line column in your usage records shows which line it took.
- It fell in a line’s peak hours, so the peak rate applied.
- The context was longer this time and reached a higher long-context price.
To keep the price fixed, pick the line yourself.
How long are usage records kept?
Section titled “How long are usage records kept?”90 days by default. Export a CSV from Usage regularly if you need them for longer.
Key safety
Section titled “Key safety”What if my key leaks?
Section titled “What if my key leaks?”- Disable or delete it under API Keys in the Hub right away; it stops working immediately.
- Create a new key and put it in your apps.
- Filter Usage by the old key and check for requests you didn’t make.
To limit the damage a leak can do, use separate keys for separate purposes and give them quotas; see Limiting what a key can do.
Can I let someone else use my key?
Section titled “Can I let someone else use my key?”Create a separate key for them with a quota or an expiry date, to cap what they can spend. They can check its usage themselves on the key usage page, without signing in to your account.
Can I put a key in a web page or an app?
Section titled “Can I put a key in a web page or an app?”No. Anyone can read a web page’s code or unpack an app. Send requests through your own server and keep the key there.