curl
curl https://cifrasales.ru/v1/chat/completions \
-H "Authorization: Bearer cifra_xxx" \
-H "Content-Type: application/json" \
-d '{"model":"MODEL_NAME","messages":[{"role":"user","content":"Hello"}]}'For developers
Pay for balance in RUB, receive a personal key and connect it to your code or AI tool.
Models
Availability comes from the catalog. New providers can be added without changing the connection flow.
Connection
curl https://cifrasales.ru/v1/chat/completions \
-H "Authorization: Bearer cifra_xxx" \
-H "Content-Type: application/json" \
-d '{"model":"MODEL_NAME","messages":[{"role":"user","content":"Hello"}]}'from openai import OpenAI
client = OpenAI(
api_key="cifra_xxx",
base_url="https://cifrasales.ru/v1",
)
response = client.chat.completions.create(
model="MODEL_NAME",
messages=[{"role": "user", "content": "Hello"}],
)Cursor and Cline
Choose an OpenAI Compatible provider, enter the Base URL and paste your key. Copy the model name from your personal dashboard.
https://cifrasales.ru/v1cifra_xxxUSD
Choose a USD balance amount and pay the catalog price in RUB.
The gateway deducts request costs and shows your spending history.
A repeat purchase tops up the same key, so your setup remains unchanged.
/d/demo
Your private page shows the key, remaining balance, model-level spending analytics and a chat for quick API testing.
Open dashboard demo/api/v1/partner/
The partner API lets your system create and top up customer keys.
Partner documentation