NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →

DeepSeek V4.1 Flash

💬 Chat & Text DeepSeek deepseek/deepseek-v4.1-flash ⧉ Input 3.57 · Output 39.69 credits per 1M tokens
💬

Sign in to try DeepSeek V4.1 Flash

Sign in with your Google account and top up credits to get started.

Sign in with Google

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

curl https://adverraai.com/hub/api/v1/chat/completions \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": false
  }'

Fully compatible with OpenAI Chat Completions: stream, temperature, max_tokens, tools, image messages, etc. The response includes usage.credits showing the credits used.

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — deepseek/deepseek-v4.1-flash
messages * array – – Conversation messages, each with role (system / user / assistant) and content
max_tokens integer – – Maximum tokens in the answer
temperature number 0 – 2 1 Randomness of the answer; lower is steadier
top_p number 0 – 1 1 Nucleus sampling threshold
stream boolean true, false false Stream the answer back in chunks (SSE)
stop string | array – – Sequences where generation stops
tools array – – Tools (functions) the model may call
tool_choice string | object – – Controls how tools are chosen
response_format object – – Forces an answer format such as JSON

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — DeepSeek V4.1 Flash (`deepseek/deepseek-v4.1-flash`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/chat/completions`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี"
        }
    ]
}
```

## Parameters
- `model` (string, required) — ID of the model to call — deepseek/deepseek-v4.1-flash
- `messages` (array, required) — Conversation messages, each with role (system / user / assistant) and content
- `max_tokens` (integer, optional) — Maximum tokens in the answer
- `temperature` (number, optional) — Randomness of the answer; lower is steadier · allowed: 0 – 2 · default: 1
- `top_p` (number, optional) — Nucleus sampling threshold · allowed: 0 – 1 · default: 1
- `stream` (boolean, optional) — Stream the answer back in chunks (SSE) · allowed: true, false · default: false
- `stop` (string | array, optional) — Sequences where generation stops
- `tools` (array, optional) — Tools (functions) the model may call
- `tool_choice` (string | object, optional) — Controls how tools are chosen
- `response_format` (object, optional) — Forces an answer format such as JSON


## Result
OpenAI-compatible chat completion response. Set `"stream": true` for server-sent events.

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at https://adverraai.com/hub/topup.php) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

DeepSeek V4.1 Flash is a Chat & Text model by DeepSeek

Input📝 Text🖼️ Image
PriceInput 3.57 · Output 39.69 credits per 1M tokens

โมเดลคุ้มค่า เร็ว ราคาถูก รองรับบริบท 1 ล้านโทเคน เก่งเขียนโค้ดและงาน Agent · Fast, low-cost model with a 1M-token context, strong at coding and agentic tasks.

Preparing details in English…