Qwen-MT-Plus
Copy success!
Try AIAdd to Compare
Overview
Qwen-MT-Plus is a flagship multilingual large language model specializing in translation. Being part of the Qwen model series, it supports translation between 92 languages and significantly outperforms traditional translation models in contextual understanding, terminology intervention, format preservation, and domain-specific tasks, and thereby delivers more natural and accurate translations.
Input
Text
Output
Text
Features
Prefix Completion
Enable Partial Mode when calling the Qwen API to make the model continue strictly from your provided prefix text.View docsFunction Calling
Use function calling to connect large language models with external tools and systems.View docsCache
Context Cache stores shared prefixes for long-context requests to reduce repeated computation, improve latency, and lower cost.View docsStructured Outputs
Structured Outputs help ensure the model returns a JSON string in the expected format.View docsPricing
- Input$2.46Per 1M tokens
- Output$7.37Per 1M tokens
Rate Limits & Context
- Max Input2K
- Max Output2K
- Context4K
- TPMTokens Per Minute100K
- RPMRequests Per Minute60
API Reference
Call APICopy success!
1234567891011121314151617181920212223242526
import os
from openai import OpenAI
client = OpenAI(
# If the environment variable is not set, replace it with your Model Studio API key: api_key="sk-xxx",
api_key=os.getenv("DASHSCOPE_API_KEY"),
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
)
messages = [
{
"role": "user",
"content": "No me reí al ver este video."
}
]
translation_options = {
"source_lang": "auto",
"target_lang": "English"
}
completion = client.chat.completions.create(
model="qwen-mt-plus",
messages=messages,
extra_body={
"translation_options": translation_options
}
)
print(completion.choices[0].message.content)