Skip to content
Bitmesh
Get your key
All models

Qwen2.5 7B Instruct Turbo

Chat model from Qwen, good for chat, Small & Fast, Function Calling.

Price

Input
0.60credits per 1M tokens
Output
0.60credits per 1M tokens
Context
32.8Ktokens

Details

Provider
Qwen
Type
Chat
Good for
Chat, Small & Fast, Function Calling
Reads
Text
Returns
Text
Context
32.8K
Parameters
7B
Supports
Instruct

Prices are in credits, drawn from one prepaid balance. See how credits work

Call it

use BitmeshAI\BitmeshClient;

// Optional third argument: timeout in seconds (default 30)
$client = new BitmeshClient('YOUR_CONSUMER_KEY', 'YOUR_CONSUMER_SECRET');

$response = $client->chat([
    '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,
]);

$text = $response['choices'][0]['message']['content'] ?? null;

The SDK signs the request with your key and secret. Installing it is covered in the documentation.