Qwen2.5 7B Instruct

Qwen2.5 7B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and mathematics, thanks to our specialized expert models in these domains. - Significant improvements in instruction following, generating long texts (over 8K tokens), understanding structured data (e.g, tables), and generating structured outputs especially JSON. More resilient to the diversity of system prompts, enhancing role-play implementation and condition-setting for chatbots. - Long-context Support up to 128K tokens and can 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. Usage of this model is subject to [Tongyi Qianwen LICENSE AGREEMENT](https://huggingface.co/Qwen/Qwen1.5-110B-Chat/blob/main/LICENSE).

ChatQwen33k tokens$0.109 / $0.218 · 1M

qwen/qwen-2.5-7b-instruct

Context
33k tokens
Completion cap
32,768
Tools
Yes
JSON
Yes
Released
2024-10-16

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen-2.5-7b-instruct",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Qwen2.5 7B Instruct?
Qwen2.5 7B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and mathematics, thanks to our specialized expert models in these domains. - Significant improvements in instruction following, generating long texts (over 8K tokens), understanding structured data (e.g, tables), and generating structured outputs especially JSON. More resilient to the diversity of system prompts, enhancing role-play implementation and condition-setting for chatbots. - Long-context Support up to 128K tokens and can 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. Usage of this model is subject to [Tongyi Qianwen LICENSE AGREEMENT](https://huggingface.co/Qwen/Qwen1.5-110B-Chat/blob/main/LICENSE). Qwen2.5 7B Instruct runs on the Geek Hub API (OpenAI-compatible). Model id: qwen/qwen-2.5-7b-instruct.
Is Qwen2.5 7B Instruct free?
No. Input is $0.109 per 1M tokens and output is $0.218 per 1M tokens on Geek Hub (markup included).
What is the context length of Qwen2.5 7B Instruct?
Qwen2.5 7B Instruct has a 33k tokens context window. It supports up to 32,768 completion tokens.
Does Qwen2.5 7B Instruct support tool calling and structured outputs?
Qwen2.5 7B Instruct accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was Qwen2.5 7B Instruct released?
Qwen2.5 7B Instruct was released on 2024-10-16.

More models from Qwen