For developers who do not want to deal with foreign cards and currency. An OpenAI-compatible address, a Toman wallet and a clear price for every model.
Any library or tool that supports OpenAI works with this address:
https://gateway.banafsh.com/v1curl https://gateway.banafsh.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5-5",
"messages": [{ "role": "user", "content": "Hello" }]
}'Put your own key in place of YOUR_API_KEY. Never post a key in public.
You top up the wallet in Toman and each request is charged at that model's price. There is no monthly plan to buy.
An estimate for one short question and its answer, at today's rate. The exact price depends on length.
The address above. Set it as the base URL in your OpenAI library.
You top up your wallet and the cost of each request is taken from it.
Every model listed with a price on the models page. Each model has its own id.
It depends on the model and the length of the text. Each model's page shows its price per million input and output tokens.
On the keys page after you sign in. A key is shown in full only once.