Qwen
qwen-flash
Qwen3 series Flash model that effectively blends thinking and non-thinking modes, switchable mid-conversation. Excels at complex reasoning tasks with significantly improved instruction following and text comprehension. Supports 1M context length with tiered pricing based on context length.
Tokely price / 1M tokens
USD · Published rate · Updated 2026-10-06
Context window
UnconfirmedNo verified context specificationFirst request
Availablecurl https://tokely.me/v1/chat/completions \
-H "Authorization: Bearer $TOKELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-flash",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 256
}'Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://tokely.me/v1.
Compare nearby prices
| Model | Input | Output | Context |
|---|---|---|---|
| qwen-flashQwen · this model | $1.1 | $8.8 | Unconfirmed |
| deepseek-v4-proDeepSeek | $2.475 | $7.425 | 1,048,576 |
| o3-miniOpenAI | $2.022075 | $8.0883 | 200,000 |
| o3-mini-2025-01-31OpenAI | $2.022075 | $8.0883 | 200,000 |
| o4-miniOpenAI | $2.022075 | $8.0883 | 200,000 |
Capabilities & limits
- Provider
- Qwen
- API model ID
qwen-flash- Category
- Text
- Endpoints
POST /v1/chat/completions- Tokely max output
- 4,096 tokens / request, including reasoning tokens
- Default output
- 256 tokens. Set an explicit limit for longer responses.
- Request limits
- 256 KB JSON body · 128 messages · 32 function tools
- Rate limit
- 60 requests / minute / account, across its keys
- Supported input
- Text messages and function tool results
API reference
Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.
- model
- Required string:
qwen-flash - messages
- An array of system, developer, user, assistant and tool messages.
- max_tokens
- Optional integer, 1–4,096. Defaults to 256.
- stream
- Set true for Server-Sent Events (SSE).
The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.
- 400 / 415
- Invalid request, parameter, endpoint for this model, or content type.
- 401 / 403
- Invalid, revoked or restricted API key.
- 402
- Insufficient account balance or API key budget.
- 429
- Request limit reached. Retry after the indicated delay.
- 502 / 503 / 504
- Upstream failure, temporary service unavailability or request timeout.
Frequently asked questions
How much does qwen-flash cost?
$1.1 per million input tokens, $8.8 per million output tokens and $0 per million cached input tokens. Usage is charged to your Tokely balance.
Do I need a separate Qwen account?
Use your Tokely API key and balance. A separate provider key is not required.
How do I switch to this model?
Set model to qwen-flash and use /v1/chat/completions. Keep your Tokely base URL and API key.