Alibaba Qwen

Qwen Vl Ocr API

CN Alibaba Qwen
Try in Playground → Get API key

Qwen Vl Ocr is a multimodal vision model from Alibaba Qwen. It offers multimodal vision. Available through the MeshTok unified API.

ImageOCRFast

Pricing (official list, per 1M tokens)

Input
$0.04/M
Output
$0.07/M

Specifications

Context window32K tokens Input modalitiesImage, OCR StreamingYes APIOpenAI-compatible

How to use Qwen Vl Ocr

Drop-in OpenAI replacement. Change only the base_url and model.

# Python -pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="ali/qwen-vl-ocr",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"ali/qwen-vl-ocr","messages":[{"role":"user","content":"Hello!"}]}'

Related models

Other models you might consider.