全部模型
Alibaba Qwen

Text Embedding V4

在 Playground 中试用

真正的 Alibaba Qwen 模型

相同的权重,相同的 API,相同的回答。我们只改变你的付费方式:一把密钥对接所有厂商,一张账单,无需另开账户。本页的每一个数字都来自 Alibaba Qwen 官方页面——你可以自行核对。

厂商官方页面

价格

$0.07

每 100 万 token

上下文

32,768

支持格式

预估费用

1000 个 token 大约相当于 750 个英文单词。

预估总额$0.14

服务方式

标准版

如果服务商不可用,请求会自动重试。

相似的模型

用途相同、价格相近的模型。

我们不会给 token 的价格加价,与厂商收取的价格相同。

在你的代码中使用它

创建 API 密钥
模型:qwen/text-embedding-v4
main.py
OpenAI 规范 v1.0
from openai import OpenAI

# Works with the official openai package (pip install openai)
client = OpenAI(
    base_url="https://api.flintbeam.com/v1",
    api_key="sk-live-your-api-key"
)

response = client.chat.completions.create(
    model="qwen/text-embedding-v4",
    messages=[
        {"role": "system", "content": "You are an experienced software engineer."},
        {"role": "user", "content": "Describe the architecture of a distributed cache."}
    ],
    temperature=0.7,
    max_tokens=1500
)

print(response.choices[0].message.content)