qwen

Qwen: 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...

Context
131k tokens
Input / 1M tokens
$0.04
Output / 1M tokens
$0.10
Benchmark

Pricing

Input tokens$0.04 per 1M tokens
Output tokens$0.10 per 1M tokens

Technical details

Model IDqwen/qwen-2.5-7b-instruct
Context window131k tokens
Input modalitiestext
Output modalitiestext
TokenizerQwen
Max output tokens32,768

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'qwen/qwen-2.5-7b-instruct',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Qwen: Qwen2.5 7B Instruct?

Get an API key and start making requests in minutes.

Get an API key