Цены моделей
curl --request GET \
--url https://api.tungo.kz/v1/usage-ratesimport requests
url = "https://api.tungo.kz/v1/usage-rates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tungo.kz/v1/usage-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"model": "tungo-1",
"title": "Tungo 1",
"effective_from": "2026-10-05T09:30:00.000Z",
"input_per_mtok_tiyn": 123,
"output_per_mtok_tiyn": 123,
"cache_write_per_mtok_tiyn": 123,
"cache_write_1h_per_mtok_tiyn": 123,
"cache_read_per_mtok_tiyn": 123
}
]
}{
"type": "error",
"error": {
"type": "payment_required_error",
"message": "Баланс доп. использования закончился — пополнить его или включить автопополнение могут владелец и админ workspace.",
"code": "balance_exhausted",
"permission": "proposals.approve",
"resets_at": "2026-11-01T19:00:00.000Z",
"retry_after_seconds": 42,
"next_request_at": "2026-11-12T09:30:42.000Z",
"allowed_methods": [
"email_otp"
],
"role": "<string>",
"permissions": [
"<string>"
],
"fields": [
{
"path": "bin",
"code": "invalid_format",
"message": "БИН/ИИН — 12 цифр"
}
]
},
"request_id": "req_4f9c2a7e1b3d4c5a8e6f7a9b0c1d2e3f"
}{
"type": "error",
"error": {
"type": "payment_required_error",
"message": "Баланс доп. использования закончился — пополнить его или включить автопополнение могут владелец и админ workspace.",
"code": "balance_exhausted",
"permission": "proposals.approve",
"resets_at": "2026-11-01T19:00:00.000Z",
"retry_after_seconds": 42,
"next_request_at": "2026-11-12T09:30:42.000Z",
"allowed_methods": [
"email_otp"
],
"role": "<string>",
"permissions": [
"<string>"
],
"fields": [
{
"path": "bin",
"code": "invalid_format",
"message": "БИН/ИИН — 12 цифр"
}
]
},
"request_id": "req_4f9c2a7e1b3d4c5a8e6f7a9b0c1d2e3f"
}Тарифы и расход
Цены моделей
Действующие цены, по которым считается расход платформы: за 1 млн токенов, в тиынах. Открыты всем, вход не нужен. Если ключ всё же прислан, он проверяется как обычно: неверный — 401, частота — 429 rate_limited.
Открыто всем, вход не нужен.
GET
/
v1
/
usage-rates
Цены моделей
curl --request GET \
--url https://api.tungo.kz/v1/usage-ratesimport requests
url = "https://api.tungo.kz/v1/usage-rates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tungo.kz/v1/usage-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"model": "tungo-1",
"title": "Tungo 1",
"effective_from": "2026-10-05T09:30:00.000Z",
"input_per_mtok_tiyn": 123,
"output_per_mtok_tiyn": 123,
"cache_write_per_mtok_tiyn": 123,
"cache_write_1h_per_mtok_tiyn": 123,
"cache_read_per_mtok_tiyn": 123
}
]
}{
"type": "error",
"error": {
"type": "payment_required_error",
"message": "Баланс доп. использования закончился — пополнить его или включить автопополнение могут владелец и админ workspace.",
"code": "balance_exhausted",
"permission": "proposals.approve",
"resets_at": "2026-11-01T19:00:00.000Z",
"retry_after_seconds": 42,
"next_request_at": "2026-11-12T09:30:42.000Z",
"allowed_methods": [
"email_otp"
],
"role": "<string>",
"permissions": [
"<string>"
],
"fields": [
{
"path": "bin",
"code": "invalid_format",
"message": "БИН/ИИН — 12 цифр"
}
]
},
"request_id": "req_4f9c2a7e1b3d4c5a8e6f7a9b0c1d2e3f"
}{
"type": "error",
"error": {
"type": "payment_required_error",
"message": "Баланс доп. использования закончился — пополнить его или включить автопополнение могут владелец и админ workspace.",
"code": "balance_exhausted",
"permission": "proposals.approve",
"resets_at": "2026-11-01T19:00:00.000Z",
"retry_after_seconds": 42,
"next_request_at": "2026-11-12T09:30:42.000Z",
"allowed_methods": [
"email_otp"
],
"role": "<string>",
"permissions": [
"<string>"
],
"fields": [
{
"path": "bin",
"code": "invalid_format",
"message": "БИН/ИИН — 12 цифр"
}
]
},
"request_id": "req_4f9c2a7e1b3d4c5a8e6f7a9b0c1d2e3f"
}