m2m100 1.2b
unofficialtranslation
m2m100 1.2b specifications
| Context window | — |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Text |
m2m100 1.2b pricing in rubles
You pay for what you use, per token and per unit. The final request cost is returned in the API response.
| Type | Price |
|---|---|
| Input tokens | 44,46 ₽ per 1M tokens |
| Output tokens | 44,46 ₽ per 1M tokens |
Prices are in rubles and may change with exchange rates.
What m2m100 1.2b can do
- Streaming responses
m2m100 1.2b 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": "meta-llama/m2m100-1.2b-08130", "text": "Добрый день", "source_lang": "ru", "target_lang": "en"}'API endpoints
POST /v1/translateprimary | Translate Translate text between languages with a machine translation model. |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
source_lang | — | — | Language of the source text. |
target_lang | — | — | Language to translate into. |