NeuralBridgeDocumentation

Riva Translate 4B v2

unofficialtranslation
DeveloperNvidia
Identifiernvidia/riva-translate-4b-v2-10238

Riva Translate 4B v2 specifications

Context window8K
Max output tokens4096
Release date
InputText
OutputText

Riva Translate 4B v2 pricing in rubles

You pay for what you use, per token and per unit. The final request cost is returned in the API response.

TypePrice
Input tokens4,81per 1M tokens
Output tokens19,36per 1M tokens

Prices are in rubles and may change with exchange rates.

Riva Translate 4B v2 API: connection and code examples

The service exposes a single OpenAI-compatible API. Set our base_url and the key from your dashboard.

cURL

curl https://api.neuralbridge.ru/v1/translate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nvidia/riva-translate-4b-v2-10238", "text": "Добрый день", "source_lang": "ru", "target_lang": "en"}'

API endpoints

POST /v1/translateprimaryTranslate
Übersetzung von Text zwischen Sprachen durch ein Machine-Translation-Modell.

Supported request parameters

ParameterDefaultAllowed valuesDescription
source_langSprache des Ausgangstextes.
target_langZielsprache für die Übersetzung.
Language:РусскийEnglishУкраїнськаБеларускаяҚазақшаOʻzbekchaКыргызчаТоҷикӣՀայերենAzərbaycancaTürkmençeRomânăDeutschFrançaisEspañolItalianoPortuguêsPolskiNederlandsTürkçeΕλληνικά