Home / Qwen 2.5 7B Instruct
qwen/qwen2.5-7b-instruct

Qwen 2.5 7B Instruct

qwen/qwen2.5-7b-instruct
Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we are releasing a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 offers the following improvements over Qwen2: - Significantly more knowledge and greatly improved capabilities in coding and mathematics, thanks to our specialized expert models in these domains. - Significant improvements in following instructions, generating long texts (over 8K tokens), understanding structured data (e.g., tables), and generating structured outputs, particularly JSON. It is more resilient to diverse system prompts, enhancing role-play implementation and condition-setting for chatbots. - Long-context support of up to 128K tokens and the ability to generate up to 8K tokens. - Multilingual support for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
Price
Input$0.07 per million tokens
Output$0.07 per million tokens

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.jiekou.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="qwen/qwen2.5-7b-instruct",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=32000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
bf16

Supported Features

Context length
32000
Maximum output
32000
Function call
Support
Structured output
Support
serverless
Support
Input Capabilities
text
Output Capabilities
text
Contact Us