reroute

Qwen: Qwen2.5 7B Instruct

qwen/qwen-2.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...

Modalities
In / Out Price
$0.10 / $0.20 per 1M
Context
33K
Released
Oct 16, 2024
Knowledge Cutoff
Jun 2024

API

Reroute speaks the OpenAI Chat Completions format. Point any OpenAI SDK at https://reroute.wtf/api/v1 and use qwen/qwen-2.5-7b-instruct as the model.

You need an API key
Keys start with sk-rr-v1- and are shown once.
Create API key
curl https://reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{
  "model": "qwen/qwen-2.5-7b-instruct",
  "messages": [
    { "role": "user", "content": "What is the meaning of life?" }
  ]
}'

Streaming

Set stream: true to receive server-sent events. The final chunk carries usage and cost.

curl -N https://reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{ "model": "qwen/qwen-2.5-7b-instruct", "stream": true,
        "messages": [{ "role": "user", "content": "Count to five" }] }'