Qwen/Qwen2-7B-Instruct
QwenPricing
- Input Tokens: $0.080 /M tokens
- Output Tokens: $0.080 /M tokens
Input Modalities
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-7B-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-7B-Instruct cost?
How do I call Qwen/Qwen2-7B-Instruct via API?
Who created Qwen/Qwen2-7B-Instruct?
More models from Qwen
See all Qwen models →480p: 0.04225; 720p: price per second $0.0845; 1080p: price per second $0.169.
Wan 3.0 (Tongyi Wanxiang 3.0) is an integrated video generation and editing model launched by Alibaba’s Tongyi Lab. It is suitable for scenarios such as advertising, e-commerce, short films, character animation, video editing, and document-to-video. Its advantages include native support for videos up to 30 seconds long and the unified handling of reference content such as text, images, audio, video, documents, spreadsheets, presentations, and web pages, delivering more realistic visuals and audio, stable character consistency, and capabilities for referencing, editing, replication, and driving. Compared with Wan 2.7, which split text-to-video, image-to-video, reference generation, and editing across multiple models, Wan 3.0 integrates these capabilities into a single model, making the creative workflow more unified and flexible.
480p: 0.06338; 720p: price per second $0.1268; 1080p: price per second $0.2535.
Wan3.0 Video Prime is Alibaba Cloud’s preview high-speed edition of its All-in-One video model, positioned for faster-turnaround ads, ecommerce, short films, and editing. Aligned with Wan3.0 Video’s capabilities, it supports text-to-video, image-to-video, reference-based generation, document/webpage-to-video, up to 30 seconds at 30fps, 1080P output, adaptive aspect ratios, and native audio. It unifies modes that Wan 2.7 handled through separate task-specific models.
Qwen3.8-2.4T-A95B is Alibaba’s most powerful Qwen model to date. It is a 2.4‑trillion‑parameter sparse Mixture-of-Experts (MoE) model with approximately 95 billion active parameters. It is built for autonomous, long‑duration tasks: multi‑day code runs, reproducing research papers, and self‑improvement.
Image input: $0.00286 per image;Image generation: $0.02535 per image.
Qwen Image 3.0(qwen-image-3.0) is an image generation and editing model developed by Alibaba Cloud’s Qwen team. It supports text-to-image generation, reference-based creation, and image editing. It is well suited for social media, e-commerce, creative design, and everyday content production, offering a strong balance of image quality and speed. Compared with the Pro version, it is better suited for frequent and large-scale daily creation.
Image input: $0.00286 per image; 1K image generation: $0.03572 per image; 2K image generation: $0.07143 per image.
Qwen Image 3.0 Pro (qwen-image-3.0-pro) is Alibaba Cloud Qwen’s flagship image generation and editing model. It is designed for advertising, brand visuals, UI, presentations, product imagery, and professional design. Its strengths include complex layouts, accurate Chinese and English text rendering, realistic materials, and reference-based editing. Compared with the standard version, it delivers stronger detail, composition, and commercial-grade visual quality.
Qwen 3.8 Max(qwen3.8-max) is Alibaba Cloud’s flagship native vision-language model, built on a 2.4-trillion-parameter Mixture-of-Experts (MoE) architecture and supporting context windows of up to 1 million tokens. It is well suited for complex multimodal understanding, advanced reasoning, software development, agentic workflows, and long-context processing. At a similar price to Qwen3.7-Max, Qwen3.8-Max delivers significant improvements in reasoning, coding, and agent capabilities, with overall performance comparable to today’s leading models.
AIHubMix© 2023 - 2026 AIHubMix, LLC