For developers

One API for the models you already use.

Pay for balance in RUB, receive a personal key and connect it to your code or AI tool.

Models

Models

Availability comes from the catalog. New providers can be added without changing the connection flow.

Connection

OpenAI-compatible format

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"}]}'

Python · openai SDK

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.

Base URL
https://cifrasales.ru/v1
API key
cifra_xxx

USD

How balance works

Purchase

Choose a USD balance amount and pay the catalog price in RUB.

Usage

The gateway deducts request costs and shows your spending history.

Top-up

A repeat purchase tops up the same key, so your setup remains unchanged.

/d/demo

Personal dashboard

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/

For resellers

The partner API lets your system create and top up customer keys.

Partner documentation