Qwen3.5 Flash
qwen3.5-flashUse the Qwen3.5 Flash API for chat, coding, and reasoning. Send conversation messages and include tool definitions on supported routes. Build developer assistants for code review, debugging, and implementation. Compare the available provider routes, request examples, and usage prices on OpenAny.
Auto route pricing
Route source: Alibaba
This route has conditional pricing. Review its tiers and requirements before calling.
- Published rate
- Conditional pricing
- Billing unit
- / 1M tokens
- Context / Max output
- 1000K / 64K
- Live routes
- 1
On this page
Overview
Use the Qwen3.5 Flash API for chat, coding, and reasoning. Send conversation messages and include tool definitions on supported routes. Build developer assistants for code review, debugging, and implementation. Compare the available provider routes, request examples, and usage prices on OpenAny.
Playground
Other parameters (20)
Result preview
Alibaba · 0ms
Response example. Run to see the actual response.
{
"id": "chatcmpl-003ac1f2-1798-9886-a339-9ed7570480ab",
"model": "qwen3.5-flash",
"usage": {
"total_tokens": 307,
"prompt_tokens": 11,
"completion_tokens": 296,
"prompt_tokens_details": {
"text_tokens": 11
},
"completion_tokens_details": {
"text_tokens": 296,
"reasoning_tokens": 282
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "Thinking Process:\n\n1. **Analyze the Input:**\n * Input: \"hello\"\n * Intent: Greeting.\n * Tone: Friendly, casual.\n * Context: Start of a conversation.\n\n2. **Determine the appropriate response:**\n * Acknowledge the greeting.\n * Offer assistance.\n * Keep it friendly and open-ended.\n * Maintain a helpful persona.\n\n3. **Draft potential responses:**\n * \"Hello! How can I help you?\"\n * \"Hi there! What's on your mind today?\"\n * \"Hello! Nice to meet you. Anything specific you'd like to discuss?\"\n * \"Hey! How's it going?\"\n\n4. **Select the best option:**\n * A combination of friendly greeting + offer of help is standard and effective.\n * \"Hello! How can I assist you today?\" is clear and professional yet warm.\n\n5. **Final Polish:**\n * Make it concise.\n * Add an emoji if appropriate (optional, but often adds warmth). Let's keep it text-focused but friendly.\n\n6. **Final Output Generation:** \"Hello! How can I help you today?\" or similar.cw"
},
"logprobs": null,
"finish_reason": "stop"
}
],
"created": 1784604706,
"openmodels_cost": 88,
"system_fingerprint": null
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.022 / 1M tokens Output $0.224 Cache read $0.002 Cache write $0.022 | 0ms | — | Verified |
| Tier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| ≤128K · 0–128000 token | $0.022 | $0.224 | $0.002 | $0.022 |
| 128K-256K · 128000–256000 token | $0.090 | $0.897 | $0.007 | $0.090 |
| 256K-1M · 256000–1000000 token | $0.134 | $1.345 | $0.011 | $0.134 |
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/chat/completions- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
messages | array | — | Yes | Messages in conversation order. |
model | string | — | Yes | Public model name used by OpenAny. |
enable_search | boolean | — | No | enable_search |
enable_thinking | boolean | — | No | enable_thinking |
max_completion_tokens | integer · >= 1 | — | No | Maximum number of output tokens to generate. |
max_tokens | integer · >= 1 | — | No | max_tokens |
parallel_tool_calls | boolean | — | No | parallel_tool_calls |
presence_penalty | number · -2 ~ 2 | — | No | presence_penalty |
repetition_penalty | number | — | No | repetition_penalty |
response_format | object | — | No | response_format |
route | object | — | No | OpenAny routing settings. |
route_mode | string | — | No | OpenAny route selection mode. |
search_options | object | — | No | search_options |
seed | integer · 0 ~ 2147483647 | — | No | seed |
stop | string | array | array | — | No | stop |
stream | boolean | — | No | Enable streaming responses. |
stream_options | object | — | No | stream_options |
temperature | number · >= 0 | — | No | temperature |
thinking_budget | integer | — | No | thinking_budget |
tool_choice | string | object | — | No | tool_choice |
tool_stream | boolean | — | No | tool_stream |
tools | array | — | No | tools |
top_k | integer · >= 0 | — | No | top_k |
top_p | number · <= 1 | — | No | top_p |
Request example
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"content": "hello",
"role": "user"
}
],
"model": "qwen3.5-flash"
}'Response example
Configured response example · not a live result
{
"id": "chatcmpl-003ac1f2-1798-9886-a339-9ed7570480ab",
"model": "qwen3.5-flash",
"usage": {
"total_tokens": 307,
"prompt_tokens": 11,
"completion_tokens": 296,
"prompt_tokens_details": {
"text_tokens": 11
},
"completion_tokens_details": {
"text_tokens": 296,
"reasoning_tokens": 282
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "Thinking Process:\n\n1. **Analyze the Input:**\n * Input: \"hello\"\n * Intent: Greeting.\n * Tone: Friendly, casual.\n * Context: Start of a conversation.\n\n2. **Determine the appropriate response:**\n * Acknowledge the greeting.\n * Offer assistance.\n * Keep it friendly and open-ended.\n * Maintain a helpful persona.\n\n3. **Draft potential responses:**\n * \"Hello! How can I help you?\"\n * \"Hi there! What's on your mind today?\"\n * \"Hello! Nice to meet you. Anything specific you'd like to discuss?\"\n * \"Hey! How's it going?\"\n\n4. **Select the best option:**\n * A combination of friendly greeting + offer of help is standard and effective.\n * \"Hello! How can I assist you today?\" is clear and professional yet warm.\n\n5. **Final Polish:**\n * Make it concise.\n * Add an emoji if appropriate (optional, but often adds warmth). Let's keep it text-focused but friendly.\n\n6. **Final Output Generation:** \"Hello! How can I help you today?\" or similar.cw"
},
"logprobs": null,
"finish_reason": "stop"
}
],
"created": 1784604706,
"openmodels_cost": 88,
"system_fingerprint": null
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model",
"messages"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"stop": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "array",
"items": {
"type": "integer"
}
}
]
},
"model": {
"type": "string",
"minLength": 1,
"description": "Public model name used by OpenAny."
},
"route": {
"type": "object",
"properties": {
"provider": {
"type": "string"
}
},
"description": "OpenAny routing settings."
},
"tools": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"function"
],
"properties": {
"type": {
"const": "function"
},
"function": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"strict": {
"type": "boolean"
},
"parameters": {
"type": "object"
},
"description": {
"type": "string"
}
}
}
}
}
},
"top_k": {
"type": "integer",
"minimum": 0
},
"top_p": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"stream": {
"type": "boolean",
"description": "Enable streaming responses."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"allOf": [
{
"if": {
"properties": {
"role": {
"enum": [
"user",
"system",
"developer"
]
}
}
},
"then": {
"required": [
"content"
],
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string"
},
"image_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
}
}
]
}
}
}
},
{
"if": {
"properties": {
"role": {
"const": "tool"
}
}
},
"then": {
"required": [
"tool_call_id",
"content"
]
}
}
],
"required": [
"role"
],
"properties": {
"name": {
"type": "string"
},
"role": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string"
},
"image_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
}
},
{
"type": "null"
}
]
},
"tool_calls": {
"type": "array",
"items": {
"type": "object"
}
},
"tool_call_id": {
"type": "string"
},
"reasoning_content": {
"type": "string"
}
}
},
"minItems": 1,
"description": "Messages in conversation order."
},
"max_tokens": {
"type": "integer",
"minimum": 1
},
"route_mode": {
"type": "string",
"description": "OpenAny route selection mode."
},
"temperature": {
"type": "number",
"minimum": 0,
"exclusiveMaximum": 2
},
"tool_choice": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tool_stream": {
"type": "boolean"
},
"enable_search": {
"type": "boolean"
},
"search_options": {
"type": "object",
"properties": {
"forced_search": {
"type": "boolean"
},
"search_strategy": {
"type": "string"
},
"enable_search_extension": {
"type": "boolean"
}
}
},
"stream_options": {
"type": "object",
"properties": {
"include_usage": {
"type": "boolean"
}
}
},
"enable_thinking": {
"type": "boolean"
},
"response_format": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"text",
"json_object",
"json_schema"
],
"type": "string"
},
"json_schema": {
"type": "object",
"required": [
"name",
"schema"
],
"properties": {
"name": {
"type": "string"
},
"schema": {
"type": "object"
},
"strict": {
"type": "boolean"
},
"description": {
"type": "string"
}
}
}
}
},
"thinking_budget": {
"type": "integer"
},
"presence_penalty": {
"type": "number",
"maximum": 2,
"minimum": -2
},
"repetition_penalty": {
"type": "number",
"exclusiveMinimum": 0
},
"parallel_tool_calls": {
"type": "boolean"
},
"max_completion_tokens": {
"type": "integer",
"minimum": 1,
"description": "Maximum number of output tokens to generate."
}
}
}Examples
Request example
POST /v1/chat/completionscurl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"content": "hello",
"role": "user"
}
],
"model": "qwen3.5-flash"
}'