Yunfan qwen3.8 27b
yunfan-qwen3.8-27bQwen 3.8 27B is a 27B-parameter open-weight model served by Yunfan Zaitu. It supports a 131K-token context window and vision (image) inputs through an OpenAI-compatible chat completions API, with flexible streaming support.
Selected route pricing
Route source: yunfan-ai
- Input / Output
- Input: $0.030Output: $1.000
- Cache read / write
- Cache read: $0.003Cache write: $0.038
- Context / Max output
- 131.07K / —
- Live routes
- 1
Rates / 1M tokens
Image output: Price not supplied
These are separate usage rates, not a total request price.
On this page
Overview
Qwen 3.8 27B is a 27B-parameter open-weight model served by Yunfan Zaitu. It supports a 131K-token context window and vision (image) inputs through an OpenAI-compatible chat completions API, with flexible streaming support.
Playground
Other parameters (8)
Sample response
Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.030 / 1M tokens Output $1.000 Cache read $0.003 Cache write $0.038 | 4862ms | — | Community |
- Input
- $0.030
- Output
- $1.000
- Cache read
- $0.003
- Cache write
- $0.038
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 |
|---|---|---|---|---|
model | string | — | Yes | Public model name used by OpenAny. Must be yunfan-qwen3.8-27b. |
messages | array | — | Yes | Conversation messages in order. Each item has role (system, user, assistant, or tool) and content (text). |
seed | integer | — | No | Random seed for more deterministic sampling. |
stop | object | — | No | Stop generation when one of these sequences is reached. |
top_p | number · 0 ~ 1 | — | No | Nucleus sampling threshold. |
stream | boolean | — | No | Enable streaming responses via SSE. |
max_tokens | integer · >= 1 | — | No | Maximum number of output tokens to generate. |
temperature | number · 0 ~ 2 | — | No | Sampling temperature. Higher values are more random. |
presence_penalty | number · -2 ~ 2 | — | No | Penalize new topics. |
frequency_penalty | number · -2 ~ 2 | — | No | Penalize repeated tokens. |
Request example
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "yunfan-qwen3.8-27b",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 2000,
"route": {
"provider": "yunfan-ai"
}
}'Response example
No response example is configured for this endpoint. Run a request in Playground to see a live response.
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",
"description": "Random seed for more deterministic sampling."
},
"stop": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Stop generation when one of these sequences is reached."
},
"model": {
"type": "string",
"description": "Public model name used by OpenAny. Must be yunfan-qwen3.8-27b."
},
"top_p": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Nucleus sampling threshold."
},
"stream": {
"type": "boolean",
"description": "Enable streaming responses via SSE."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"content": {
"type": "string",
"description": "Message text."
}
}
},
"description": "Conversation messages in order. Each item has role (system, user, assistant, or tool) and content (text)."
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"description": "Maximum number of output tokens to generate."
},
"temperature": {
"type": "number",
"maximum": 2,
"minimum": 0,
"description": "Sampling temperature. Higher values are more random."
},
"presence_penalty": {
"type": "number",
"maximum": 2,
"minimum": -2,
"description": "Penalize new topics."
},
"frequency_penalty": {
"type": "number",
"maximum": 2,
"minimum": -2,
"description": "Penalize repeated tokens."
}
}
}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 '{
"model": "yunfan-qwen3.8-27b",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 2000,
"route": {
"provider": "yunfan-ai"
}
}'