Solutions
AI agents for business
The infrastructure an AI agent runs on: 22 chat models behind one API key and one prepaid balance, compatible with the OpenAI and Anthropic SDKs, with automatic provider fallback. You write the agent — we answer for access to the models and for the request getting through.
22
chat models
What an agent needs from its infrastructure
An agent is a loop of model → tool → model, and most of what breaks in production breaks at the model-access layer: a quota runs out, a provider errors, a step turns out to need a cheaper or a stronger model. Here is the part of that our API covers.
A different model per step
Routing and classification belong on a cheap model, planning and reasoning on a strong one. Every model sits behind the same key, and switching is one `model` field in the request.
OpenAI and Anthropic protocols
We answer in the OpenAI Chat Completions and Anthropic Messages formats. LangChain, LlamaIndex, the Vercel AI SDK and code written straight against the OpenAI SDK keep working — only the base URL and the key change.
Provider fallback
Every model is wired to several providers. If the primary is down or returns an error, the request goes to a reserve automatically — your agent does not stall on someone else's outage.
One balance for the company
A single prepaid balance covers every model and every environment: no separate contract and quota per vendor. Spend per key and per model is visible in the dashboard.
Access and payment from Russia
Top up by SBP, bank card or crypto. No VPN, no foreign card and no overseas account — the models are called through our API.
Media models on the same key
When the agent needs an image, a video or music, it is the same key and the same balance. No separate integration per generation type.
The models agents are built on
Price per million input tokens, cheapest first. The table is read from the live catalog, so it cannot drift from what your key can actually call.
| Model | Vendor | Price |
|---|---|---|
| DeepSeek V4 Flash | DeepSeek | 0.168 coins/ 1M tokens |
| GPT 5.6 Luna | OpenAI | 0.18 coins/ 1M tokens |
| Claude Sonnet 5 | Anthropic | 0.3 coins/ 1M tokens |
| Qwen3.7 Plus | Qwen | 0.343 coins/ 1M tokens |
| MiniMax M3 | MiniMax | 0.36 coins/ 1M tokens |
| DeepSeek V4 Pro | DeepSeek | 0.522 coins/ 1M tokens |
| GPT 5.6 Terra | OpenAI | 0.8 coins/ 1M tokens |
| Gemini 3.5 Flash | 0.9 coins/ 1M tokens | |
| Gemini 3.6 Flash | 0.9 coins/ 1M tokens | |
| Gemini 3.7 Flash | 0.9 coins/ 1M tokens | |
| GLM 5.2 | Zhipu | 0.979 coins/ 1M tokens |
| Kimi K2.7 Code | Moonshot | 1.11 coins/ 1M tokens |
| Claude Fable 5 | Anthropic | 1.5 coins/ 1M tokens |
| GPT 5.5 | OpenAI | 1.5 coins/ 1M tokens |
| Gemini 3.5 Flash (High) | 1.62 coins/ 1M tokens | |
| GLM 5.3 | Zhipu | 1.68 coins/ 1M tokens |
| Grok 4.5 | xAI | 2.1 coins/ 1M tokens |
| Grok 4.6 | xAI | 2.1 coins/ 1M tokens |
| Claude Opus 5 | Anthropic | 3 coins/ 1M tokens |
| GPT 5.6 Sol | OpenAI | 3 coins/ 1M tokens |
| Kimi K3 | Moonshot | 3.15 coins/ 1M tokens |
| GPT 6 Astra | OpenAI | 8 coins/ 1M tokens |
What gets built on this
Four shapes companies usually start with — a sense of the scope of the work rather than an exhaustive list.
First-line support
The agent reads the ticket, looks the answer up in your knowledge base and replies, handing the contested cases to a human. Classification on a cheap model, the customer-facing reply on a strong one.
Document processing
Contracts, invoices and applications: the agent extracts the fields, checks them against your system of record and returns structured JSON. Long-context models read the document whole.
Content and marketing
Text, images and video in one pipeline: the agent drafts the script on a chat model and produces the cover or the clip on a media model — same key, same balance.
Analytics and reporting
The agent turns a question into a query against your data, interprets the result and writes the report in plain language. Long chains of reasoning are cheaper on the smaller models.
How to connect an agent
Integration means changing a base URL and a key in code you have already written. No SDK of ours is required: we speak the OpenAI and Anthropic formats, so the agent framework, the tools and the prompts stay as they are.
1
Get a key
Sign up, top up the balance and create an API key in the dashboard. One key covers every model — chat and media alike.
2
Point the base URL at us
Give the OpenAI or Anthropic client our address and your key. The rest of the agent — tools, memory, call chains — is untouched.
3
Route models per step
Name the model each step needs in the `model` field. Spend per model and per key shows up in the dashboard statistics.
OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.apihubs.ru/api/v1",
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "..."}],
tools=tools,
)curl
curl https://api.apihubs.ru/api/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "..."}]
}'Frequently asked questions
What does it take to integrate an AI agent into a business?
Three things: a model for the agent to think on, access to your data and tools, and infrastructure that does not fall over under load. API Hubs covers the first and the third — 22 chat models behind one key, the OpenAI and Anthropic protocols, automatic failover to a reserve provider. The agent's logic and the access to your systems stay on your side.
How do you integrate an AI agent into enterprise processes?
Technically, by changing the base URL and the key in the OpenAI or Anthropic client: an agent built on LangChain, LlamaIndex, the Vercel AI SDK or the raw SDK starts running through us with no change to its logic. Organisationally, by starting with one process that has a measurable outcome — first-line support, inbound document processing — and expanding once that one shows a result.
Which models suit an AI agent?
Small fast models for routing, classification and field extraction; the larger ones for planning, reasoning and code. The catalog holds 22 chat models and switching between them is a single field in the request, so choosing the model for a step is an experiment rather than a migration.
Can I work and pay from Russia?
Yes. Top up by SBP, bank card or crypto — no VPN, no foreign card and no overseas account. The models are called through our API, so you do not have to arrange access to the foreign providers yourself.
What does an AI agent for business cost?
On the infrastructure side the cost is tokens: you pay for the volume of requests and responses at the price of the model you used, with no subscription. The gap between the smallest and the largest model is tens of times, which is why routing and classification are where the money is saved.
Ready / set / build
Ready to connect your first model?
Create an API key and send your first request.