Back to Models

Qwen2.5 7B Instruct Turbo

qwen/qwen2.5-7b-instruct-turbo
Qwen Chat

Description

Qwen2.5 7B Instruct Turbo by Qwen. This model supports chat capabilities. Main use: Chat, Small & Fast, Function Calling. Variant: Instruct.

Specifications

Context Length:
32768
Variant:
Instruct
Parameters:
7B
Input Modalities:
Text
Output Modalities:
Text
Main Use:
Chat, Small & Fast, Function Calling

Pricing

Input Cost:
0.60 Credits / 1M tokens
Output Cost:
0.60 Credits / 1M tokens

Usage Example

const { Client } = require('ai-proxy-sdk');

const client = new Client({
  consumerKey: process.env.BITMESH_CONSUMER_KEY,
  consumerSecret: process.env.BITMESH_CONSUMER_SECRET,
  baseUrl: process.env.BITMESH_API_BASE_URL || 'https://api.bitmesh.ai'
});

const response = await client.chat.completions.create({
  model: 'qwen/qwen2.5-7b-instruct-turbo',
  messages: [
    { role: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'What are some fun things to do with AI?' }
  ],
  max_tokens: 1000
});