DeepSeek v4.1 Flash
DeepSeek-V4.1-FlashDeepSeek V4.1 Flash served by RedQueen on our own GPUs (currently the 1017 snapshot). OpenAI-compatible chat completions with streaming; thinking is off by default and can be enabled with reasoning_effort. Long context up to 1M tokens.
Auto route pricing
Route source: Neolink
- Input / Output
- Input: $0.116Output: $0.466
- Cache read / write
- Cache read: Price not suppliedCache write: Price not supplied
- Context / Max output
- 1048.58K / 393.22K
- Live routes
- 5
Rates / 1M tokens
Image output: Price not supplied
These are separate usage rates, not a total request price.
On this page
Overview
DeepSeek V4.1 Flash served by RedQueen on our own GPUs (currently the 1017 snapshot). OpenAI-compatible chat completions with streaming; thinking is off by default and can be enabled with reasoning_effort. Long context up to 1M tokens.
Playground
Other parameters (14)
Result preview
Neolink · 19ms
Response example. Run to see the actual response.
{
"id": "chatcmpl-0bda71b2-52a7-97e6-a047-fdf6936ceb1b",
"model": "deepseek-v4.1-flash",
"usage": {
"total_tokens": 76,
"prompt_tokens": 31,
"completion_tokens": 45,
"prompt_tokens_details": {
"text_tokens": 31,
"cached_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 9,
"reasoning_tokens": 35
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "We need answer greeting. User says hello. Need maybe respond. We need final only. But system says API, desired oververbosity 5. We can just greet."
},
"finish_reason": "stop"
}
],
"created": 1789456959,
"openmodels_cost": 57
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.060 / 1M tokens Output $0.240 Cache read $0.001 Cache write — | — | — | Community | |
Live | Input $0.060 / 1M tokens Output $0.240 Cache read $0.001 Cache write — | — | — | Community | |
Live | Input $0.100 / 1M tokens Output $0.500 Cache read $0.010 Cache write $0.001 | 2433ms | — | Community | |
Live | Input $0.116 / 1M tokens Output $0.466 Cache read — Cache write — | 19ms | — | Verified | |
Live | Input $0.138 / 1M tokens Output $0.552 Cache read $0.003 Cache write — | 2999ms | — | Verified |
- Input
- $0.116
- Output
- $0.466
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
| Time window | Input | Output | Cache read |
|---|---|---|---|
Peak window 1 Mon, Tue, Wed, Thu, Fri, Sat, Sun · UTC 00:00–14:00 | $0.233 | $0.931 | $0.003 |
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. |
logprobs | boolean | — | No | logprobs |
max_tokens | integer · 1 ~ 393216 | — | No | max_tokens |
reasoning_effort | string · none | minimal | low | medium | high | xhigh | max | — | No | Reasoning effort level. |
response_format | object | — | No | response_format |
route | object | — | No | OpenAny routing settings. |
route_mode | string | — | No | OpenAny route selection mode. |
stop | string | array | — | No | stop |
stream | boolean | — | No | Enable streaming responses. |
stream_options | object | — | No | stream_options |
temperature | number · 0 ~ 2 | — | No | temperature |
thinking | object | — | No | Thinking mode for the model. |
tool_choice | string | object | — | No | tool_choice |
tools | array | — | No | tools |
top_logprobs | integer · 0 ~ 20 | — | No | top_logprobs |
top_p | number · <= 1 | — | No | top_p |
user_id | string | — | No | user_id |
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": "deepseek-v4.1-flash",
"route_mode": "balanced"
}'Response example
Configured response example · not a live result
{
"id": "chatcmpl-0bda71b2-52a7-97e6-a047-fdf6936ceb1b",
"model": "deepseek-v4.1-flash",
"usage": {
"total_tokens": 76,
"prompt_tokens": 31,
"completion_tokens": 45,
"prompt_tokens_details": {
"text_tokens": 31,
"cached_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 9,
"reasoning_tokens": 35
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "We need answer greeting. User says hello. Need maybe respond. We need final only. But system says API, desired oververbosity 5. We can just greet."
},
"finish_reason": "stop"
}
],
"created": 1789456959,
"openmodels_cost": 57
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"allOf": [
{
"if": {
"required": [
"top_logprobs"
],
"properties": {
"top_logprobs": {
"type": "integer"
}
}
},
"then": {
"required": [
"logprobs"
],
"properties": {
"logprobs": {
"const": true
}
}
}
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model",
"messages"
],
"properties": {
"stop": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 16,
"minItems": 1
}
]
},
"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_p": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"stream": {
"type": "boolean",
"description": "Enable streaming responses."
},
"user_id": {
"type": "string"
},
"logprobs": {
"type": "boolean"
},
"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."
},
"thinking": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"enabled",
"disabled"
],
"type": "string"
}
},
"description": "Thinking mode for the model."
},
"max_tokens": {
"type": "integer",
"maximum": 393216,
"minimum": 1
},
"route_mode": {
"type": "string",
"description": "OpenAny route selection mode."
},
"temperature": {
"type": "number",
"maximum": 2,
"minimum": 0
},
"tool_choice": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"top_logprobs": {
"type": "integer",
"maximum": 20,
"minimum": 0
},
"stream_options": {
"type": "object",
"properties": {
"include_usage": {
"type": "boolean"
}
}
},
"response_format": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"text",
"json_object"
],
"type": "string"
}
}
},
"reasoning_effort": {
"enum": [
"none",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
],
"type": "string",
"description": "Reasoning effort level."
}
}
}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": "deepseek-v4.1-flash",
"route_mode": "balanced"
}'