Skip to main content
Alibaba logo

Qwen2.5-7B-Instruct

ReadyLanguageby Alibaba

Overview

About this model

qwen2.5-7b-instruct

Specifications

Model details

Provider
Alibaba
Modality
Language
Pricing
$0.20 in · $0.20 out / 1M

API

Call it in code

Use the OpenAI-compatible endpoint below with your EcoHash API key and this model ID.

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ecohash.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="qwen2.5-7b-instruct",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True,
)
curl
curl https://api.ecohash.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d {
    "model": "qwen2.5-7b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }

Compare

Qwen2.5-7B-Instruct vs other language models

Same API, same billing. Rates come live from the EcoHash billing system.

Qwen2.5-7B-Instruct compared with other EcoHash language models
ModelContextPriceModalities
Qwen2.5-7B-Instruct (this page)—$0.20 per 1M input tokens and $0.20 per 1M output tokens—
Llama-3.1-8B-Instruct131.1K tokens$0.10 per 1M input tokens and $0.10 per 1M output tokenstext → text
DeepSeek-V4-Flash—$0.16 per 1M input tokens and $0.33 per 1M output tokens—
DeepSeek-V4-Pro—$1.46 per 1M input tokens and $2.93 per 1M output tokens—

FAQ

Common questions

How much does the Qwen2.5-7B-Instruct API cost?
Qwen2.5-7B-Instruct is $0.20 per 1M input tokens and $0.20 per 1M output tokens on EcoHash. That figure comes live from the EcoHash billing system, so the price shown on this page is the price you are billed — there is no separate list price to reconcile.
Qwen2.5-7B-Instruct vs Llama-3.1-8B-Instruct: which should I use?
Both are language models on the same OpenAI-compatible EcoHash API, so moving between them is a change of model id and nothing else. Qwen2.5-7B-Instruct has $0.20 per 1M input tokens and $0.20 per 1M output tokens. Llama-3.1-8B-Instruct has a 131.1K-token context window at $0.10 per 1M input tokens and $0.10 per 1M output tokens. Both prices come live from the EcoHash billing system; the comparison table on this page carries the current figures.
Can I use Qwen2.5-7B-Instruct commercially through EcoHash?
EcoHash hosts Qwen2.5-7B-Instruct under the model publisher's own licence and does not change its terms, so whether your use is permitted is decided by that licence — read it on the model publisher's own licence. The EcoHash Terms of Service additionally require you to comply with each model's licence and acceptable-use policy. Your EcoHash bill for API usage is separate from, and does not grant, any right under the model's licence.

Start building

Grab an API key and call this model in minutes.