by qwenReleased Nov 11, 2024
qwen/qwen-2.5-coder-32b-instructQwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). Qwen2.5-Coder brings the following improvements upon CodeQwen1.5: - Significantly improvements in code generation, code reasoning...
| Billed for | You pay |
|---|---|
| Input tokens | $0.79 / 1M |
| Output tokens | $1.20 / 1M |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "qwen/qwen-2.5-coder-32b-instruct", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.79 per million input tokens and $1.20 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0022.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id qwen/qwen-2.5-coder-32b-instruct. The token's AI credit pays for each call.
Up to 32,768 tokens of context, and up to 29,491 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| Cloudflare | 98.8% |