Qwen: Qwen2.5 32B Instruct

qwen/qwen2.5-32b-instruct

Qwen2.5 32B Instruct is the instruction-tuned variant of the latest Qwen large language model series. It provides enhanced instruction-following capabilities, improved proficiency in coding and mathematical reasoning, and robust handling of structured data and outputs such as JSON. It supports long-context processing up to 128K tokens and multilingual tasks across 29+ languages. The model has 32.5 billion parameters, 64 layers, and utilizes an advanced transformer architecture with RoPE, SwiGLU, RMSNorm, and Attention QKV bias. For details, please refer to the [Qwen2.5 Blog](https://qwenlm.github.io/blog/qwen2.5/).

Pricing

Price per input token: $0.00000079

Price per output token: $0.00000079

Usage Example

NOTE: BrainLink is compatible with the OpenAI API, which allows you to use the OpenAI SDK even with non-OpenAI models

import OpenAI from "openai";
const userAccessToken = await BrainLink.getUserToken();
const openai = new OpenAI({
    baseURL: "https://www.brainlink.dev/api/v1",
    apiKey: userAccessToken,
});
const completion = await openai.chat.completions.create({
    model: "qwen/qwen2.5-32b-instruct",
    messages: [
      { role: "user", content: "Hi! How are you today?" }
    ],
});