Qwen 2.5 7B Instruct
qwen/qwen-2.5-7b-instructQwen 2.5 7B Instruct (qwen/qwen-2.5-7b-instruct) is an AI model from Qwen with a 131,072-token context window and 32,768 max output tokens, priced at $0.04/1M input and $0.10/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.
Overview
Qwen 2.5 7B Instruct is a chat-based AI model developed by Qwen. It supports a context window of 131,072 tokens and can generate outputs of up to 32,768 tokens. The model includes function calling capabilities, but details about its parameter count, architecture, and licensing are unspecified. Input and output pricing are set at $0.04 and $0.10 per 1 million tokens, respectively.
Features & Capabilities
| Mode | chat |
| Context Window | 131,072 tokens |
| Max Output | 32,768 tokens |
| Function Calling | Supported |
| Vision | Not supported |
| Reasoning | Not supported |
| Web Search | Not supported |
| Url Context | Not supported |
API Usage
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="qwen/qwen-2.5-7b-instruct",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)Frequently Asked Questions
What is the context window of Qwen 2.5 7B Instruct?
Qwen 2.5 7B Instruct (qwen/qwen-2.5-7b-instruct) has a 131,072-token context window and supports up to 32,768 output tokens per request.
How much does Qwen 2.5 7B Instruct cost?
Qwen 2.5 7B Instruct is priced at $0.04 per 1M input tokens and $0.10 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.
What features does Qwen 2.5 7B Instruct support?
Qwen 2.5 7B Instruct supports function calling.
How do I use Qwen 2.5 7B Instruct via API?
Send requests to https://api.haimaker.ai/v1/chat/completions with model "qwen/qwen-2.5-7b-instruct" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.
Use Qwen 2.5 7B Instruct with the haimaker API
OpenAI-compatible endpoint. Start building in minutes.