Qwen/Qwen2-57B-A14B-Instruct
QwenPricing
- Input Tokens: $0.24 /M tokens
- Output Tokens: $0.24 /M tokens
Input Modalities
Output Modalities
- Text
Try this model
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="Qwen/Qwen2-57B-A14B-Instruct",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)Frequently asked questions
How much does Qwen/Qwen2-57B-A14B-Instruct cost?
How do I call Qwen/Qwen2-57B-A14B-Instruct via API?
Who created Qwen/Qwen2-57B-A14B-Instruct?
Compare Qwen/Qwen2-57B-A14B-Instruct
More models from Qwen
See all Qwen models →- Input: $ 1.471 /M
- Output: $ 4.412 /M
- Web Search: $0.00059/request
Qwen4-Max is Tongyi Qianwen's next-generation flagship multimodal model, integrating text generation, image and video understanding, and deep reasoning capabilities. It is suitable for programming development, office work, frontend design, and complex agent tasks. The model supports internet search, tool invocation, and structured outputs, is compatible with OpenAI and Anthropic APIs, and helps developers build intelligent applications with multimodal understanding and task-execution capabilities.
- Input: $ 0.353 /M
- Output: $ 1.059 /M
- Web Search: $0.00055/request
Coding Qwen4 Max Preview offers lower-cost access to Alibaba Cloud’s Qwen4-Max-Preview through the official Token Plan for coding, frontend design, and agentic tasks. Try it out and share your feedback. This preview service may be unstable and is recommended for testing and evaluation.
Qwen-Image-2.1-Pro is a unified text-to-image generation and image-editing model in the Tongyi Qianwen (Qwen) series. Its visual generation component contains only 7 billion parameters (a 32-layer single-stream DiT), achieving a good balance between generation quality, inference efficiency, and versatility. This release includes four key improvements: - Compact and efficient: adopts a lightweight architecture that combines hybrid-granularity attention and prefix KV cache reuse to deliver high-quality image generation with low computational cost. - Native transparency support, unified generation and editing: can generate regular or transparent (RGBA) images from text, edit transparent layers, and extract subjects from photos—all handled by a single model. - Versatile editing: supports up to 10 reference images, allows specifying local edit regions via circular or freehand annotations or separate masks, and preserves identity features of people and products. - Photorealistic textures and refined aesthetics: improved typography, portrait lighting, and detail rendering for more visually appealing results.
Qwen-Image-2.1-Turbo is currently the best-balanced and most cost-effective open-source image generation model in the Qwen-Image series, offering four core advantages: a lightweight model with strong performance and excellent value; native transparency support with integrated generation and editing; flexible editing—supporting multiple reference images, local control, high-fidelity restoration, and comprehensive editing capabilities; and realistic textures, elegant typography, and refined portrait quality.
- Input: $ 0.1126 /M
- Output: $ 0.38 /M
- Web Search: $0.00055/request
Qwen3.8 Omni Flash is Alibaba Cloud Qwen's next-generation native multimodal model, supporting 1M-length sequences and able to directly accept text, images, audio, and video as input. It is based on the Qwen3.8-Flash-Next architecture. The model is designed for agent capabilities in real productivity scenarios: while offering agentic abilities such as programming, text knowledge work, and GUI operation, it also achieves significant results in audio/video-centered agentic applications—such as video editing, music video creation, film production and narration, audio/video-to-text-and-image summarization, and audio/video dialogue—that require integrated processing of text, images, audio, and video. It supports 2-channel and 4-channel spatial audio parsing, is compatible with DashScope and OpenAI protocols, and it is recommended to install the accompanying Qwen-MM-Plugins to facilitate agent frameworks' access to native multimodal capabilities.
Alibaba Cloud has launched the decision model decision-model-preview. This structured decision model is designed for high-frequency business judgments; it can concurrently perform classification, binary decisions, and scoring based on text or business state, and returns probability distributions and confidence levels. It is suitable for scenarios such as ticket routing, content moderation, agent routing, and result verification. Free for a limited time.