OpenAI API compatible

# One key to every AI model. Paid in roubles.

aictrlx is a gateway to AI models: it picks the model for each request, falls back when one fails and shows what every call cost. It works with the OpenAI and Anthropic SDKs as they are.

 [Create a free account](https://aictrlx.ru/register) 

main.pyaictrlx\_live\_••••3f9a

client = OpenAI(
    base\_url="https://aictrlx.ru/v1",
    api\_key="AICTRLX\_API\_KEY",
)
client.chat.completions.create(model="auto", ...)

The path of one request

## From sign-up to a line in your cost report

### A key and one line of code

Sign-up is free, one key opens every model. aictrlx works with the OpenAI SDK as is: set the base address and the key — the rest of your code stays the same.

terminalcurl

$ curl https://aictrlx.ru/v1/chat/completions \\
    -H "Authorization: Bearer $AICTRLX\_API\_KEY" \\
    -d '{"model": "auto", "messages": \[...\]}'

### Say what matters — the gateway picks the model

Each request is scored on task fit, quality, latency, cost and the models' health. You only set the priority.

model="coding"For code and agents

Coding skill, context size and tool support first.

1.  01Coding
2.  02Context size
3.  03Tools

### A provider is silent — the request moves on. And every call has a price

If a model does not answer before the first token, the request is retried on another one that fits. Your dashboard shows the router's decision, tokens, cost and latency of every call.

the main model did not answer

the fallback answered

- **tokens**: 1 240 / 380

- **cost**: ₽0.08

- **latency**: 640 ms

example

Connecting tools

## Claude Code, Cursor and others — with the same key

Step-by-step setup for the tools and libraries you already use.

-   [Claude Code](https://aictrlx.ru/docs/claude-code)
-   [Cursor](https://aictrlx.ru/docs/cursor)
-   [Continue](https://aictrlx.ru/docs/continue)
-   [LangChain](https://aictrlx.ru/docs/langchain)
-   [Vercel AI SDK](https://aictrlx.ru/docs/vercel-ai-sdk)
-   [LiteLLM](https://aictrlx.ru/docs/litellm)
-   [Documentation](https://aictrlx.ru/docs)

## API plans

### API plans

Access to the gateway, routing and analytics

[All plans and terms →](https://aictrlx.ru/pricing)

Requests to the API and your agent's answers use the tokens of the chosen model. Beyond what your subscription includes, they are paid from your balance at the prices in the model catalog. [Models and prices →](https://aictrlx.ru/models)

And if you need a ready assistant

## Your own AI agent in Telegram — without writing code

We host an OpenClaw agent for you and connect it to your bot. It thinks with the same models, from the same balance.

[About the cloud agent →](https://aictrlx.ru/#cloud)

## Your first request — today

Sign-up is free. One key for every model, one balance in roubles.

 [Create a free account](https://aictrlx.ru/register)  [Models and prices](https://aictrlx.ru/models)
