← All models
Tencent · Language model
Hy-MT2-1.8B
tencent/hy-mt2-1.8b- Language
Hy-MT2-1.8B is a compact 1.8B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with workflows for structured, delimiter-based, contextual, glossary-based, and style-guided...
Specifications
- Context window
- 8,192 tokens
- Max output
- 4,096 tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_completion_tokens
- max_tokens
- stop
- temperature
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"tencent/hy-mt2-1.8b","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'