Text model API
Qwen3.8 Flash API
Qwen3.8 Flash is a multimodal reasoning model from Alibaba’s Qwen team, designed for coding assistance, agentic workflows, visual understanding, document and codebase analysis, desktop interaction, chart analysis, and long-video understanding. It combines a large context window with relatively low inference pricing, making it suitable for both interactive applications and high-volume AI workflows. With a 1-million-token context window and support for up to 131,072 output tokens, Qwen3.8 Flash can process large codebases, lengthy documents, visual content, and extended video context. It accept
- Model id
qwen38-flash- Takes
- Text (required)
- Makes
- Text
- Endpoint
POST /api/v1/chat/completions- Made by
- Alibaba (Qwen)
- Mode
- Synchronous
Call Qwen3.8 Flash
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model qwen38-flash
POST /api/v1/chat/completions
curl https://payload.rentprompts.com/api/v1/chat/completions \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen38-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about APIs."
}
],
"max_tokens": 256
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1,000 input + 500 output tokens0.185 Joules
- 10,000 input + 2,000 output tokens1.4 Joules
Send requests to POST /api/v1/chat/completions. Qwen3.8 Flash answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.