All models

qwen-long

Alibaba · Chat

Available
Context window
10M
Input / 1M
$0.072
Cache / 1M
$0.072
Output / 1M
$0.287

Call this model

request.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokener.ai/v1",
    api_key="sk-tk-••••••••••••",
)

response = client.chat.completions.create(
    model="qwen-long",
    messages=[{"role": "user", "content": "Explain retrieval augmented generation."}],
)