Connect GPT-4o, Claude, Llama, Gemini and dozens of other models through a single OpenAI-compatible endpoint — pay in TMT, no foreign cards required.
Get started free How it worksWorks with any OpenAI SDK — Python, Node.js, curl. Just change base_url, nothing else.
GPT-4o, Claude Sonnet, Llama 4, Gemini Flash, DeepSeek and more — through a single API key.
Top up via USDT TRC-20. Balance converts to Manat automatically at the current rate.
If one provider goes down, requests are automatically rerouted to a backup with no changes on your side.
Use /v1/embeddings for vector search and RAG pipelines with nomic-embed, mxbai and others.
Track spending, token usage and transaction history in the client portal in real time.
# pip install openai
from openai import OpenAI
client = OpenAI(
api_key="gw_your_key",
base_url="https://aig.alexvamp.ru/v1",
)
response = client.chat.completions.create(
model="llama-4-maverick",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Client Portal
Balance is deducted per API request based on token usage. Top up via USDT (TRC-20) on the Deposit tab.
Send USDT on the TRC-20 network to this address. Your TMT balance will be credited automatically within 1-2 minutes after confirmation.
You can also top up your balance via mobile transfer, cash, or any other convenient method. Contact the administration to arrange the details.
All models available for use via the API. Prices are per 1 million tokens and update automatically.
Everything you need to integrate AI Gateway into your application.
# Replace YOUR_API_KEY with your key from the API Keys tab
curl -X POST /v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'
# Streaming
curl -X POST /v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
# pip install openai
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="/v1",
)
# Regular request
response = client.chat.completions.create(
model="llama-3.1-70b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Streaming
stream = client.chat.completions.create(
model="llama-3.1-70b",
messages=[{"role": "user", "content": "Explain quantum physics"}],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
// npm install openai
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_API_KEY",
baseURL: "/v1",
});
// Regular request
const response = await client.chat.completions.create({
model: "llama-3.1-70b",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);
// Streaming
const stream = await client.chat.completions.create({
model: "llama-3.1-70b",
messages: [{ role: "user", content: "Explain quantum physics" }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
For embedding models (e.g. nomic-embed-text, mxbai-embed-large) use POST /v1/embeddings. Billed by input tokens only (no output tokens).
# Single string
curl -X POST /v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "nomic-embed-text", "input": "Text to embed"}'
# Batch
curl -X POST /v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "nomic-embed-text", "input": ["First text", "Second text"]}'
result = client.embeddings.create(
model="nomic-embed-text",
input=["First text", "Second text"],
)
for item in result.data:
print(f"[{item.index}] len={len(item.embedding)}")
const batch = await client.embeddings.create({
model: "nomic-embed-text",
input: ["First text", "Second text"],
});
batch.data.forEach(item =>
console.log(`[${item.index}] len=${item.embedding.length}`)
);
See the Models tab for the full list with prices. Or fetch via API:
curl /v1/models \
-H "Authorization: Bearer YOUR_API_KEY"
Pass your API key in the Authorization header:
Authorization: Bearer gw_your_api_key_here
API keys start with gw_. Never share your key — it grants full access to your balance.
402 Payment Required.| Code | Meaning | Fix |
|---|---|---|
401 | Invalid or revoked API key | Check key on API Keys tab |
402 | Insufficient balance | Top up via Deposit tab |
404 | Model not found | Check model name via GET /v1/models |
503 | All providers unavailable | Retry in a few minutes |