DeepSeek V4.1 Flash API
DeepSeek V4.1 Flash โมเดลภาษารุ่นเร็วจาก DeepSeek context 1M token รับข้อความและภาพ เหมาะกับงาน agent, เขียนโค้ด และวิเคราะห์เอกสารยาว รองรับ function calling และ JSON output
- Input → Output
- ราคา Input / Output
- ฿8.28 / ฿33.12ต่อ 1M token
- Context
- 1M
- Output สูงสุด
- 384K
พารามิเตอร์ที่รับ
ค่าที่ส่งได้เมื่อเรียกโมเดลนี้ผ่าน API
| พารามิเตอร์ | ค่าที่รับ |
|---|---|
| messages | ข้อความ และภาพ (image_url) · สูงสุด 1M token |
| stream | true เพื่อรับคำตอบแบบ streaming (SSE) |
| max_tokens | จำกัด output รวม reasoning สูงสุด 384K token |
| thinking | { "type": "disabled" } เพื่อปิดโหมดคิด (ค่าเริ่มต้นเปิด) |
| tools | function calling แบบ OpenAI |
| response_format | json_object หรือ json_schema |
| temperature | ปรับความหลากหลายของคำตอบ |
ราคา
| รายการ | ราคาต่อ 1M token |
|---|---|
| Input | ฿8.28 |
| Input จาก cache | ฿0.14 |
| Output | ฿33.12 |
คิดตามจำนวน token ที่ใช้จริง token ที่ใช้คิด (reasoning) นับเป็นขาออก ระบบสะสมยอดทีละ request แล้วหักเครดิตเป็นจำนวนเต็มเมื่อยอดสะสมถึง 1 เครดิต เศษที่เหลือยกไปรวมรอบถัดไป request ที่ล้มเหลวไม่คิดเงิน
ใช้เครดิต Fuzion ก้อนเดียวกันได้ทั้งเว็บ, API และ MCP ไม่ต้องเติมแยก · 1 เครดิต = 1 บาท
เรียกใช้ผ่าน API
ใช้รูปแบบเดียวกับ OpenAI Chat Completions ชี้ base URL มาที่ Fuzion แล้วใช้ API key ของคุณ ก็ใช้ OpenAI SDK เดิมได้ทันที
curl -X POST https://fuzionhub.co/api/v1/chat/completions \
-H "Authorization: Bearer $FUZION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "byteplus/deepseek-v4-1-flash",
"messages": [
{
"role": "user",
"content": "Explain what an API is in two sentences."
}
]
}'from openai import OpenAI
client = OpenAI(base_url="https://fuzionhub.co/api/v1", api_key="<FUZION_API_KEY>")
stream = client.chat.completions.create(
model="byteplus/deepseek-v4-1-flash",
messages=[{"role": "user", "content": "Explain what an API is in two sentences."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")คำถามที่พบบ่อย
DeepSeek V4.1 Flash คืออะไร
DeepSeek V4.1 Flash โมเดลภาษารุ่นเร็วจาก DeepSeek context 1M token รับข้อความและภาพ เหมาะกับงาน agent, เขียนโค้ด และวิเคราะห์เอกสารยาว รองรับ function calling และ JSON output
DeepSeek V4.1 Flash ราคาเท่าไหร่
Input ฿8.28 และ output ฿33.12 ต่อ 1 ล้าน token คิดตาม token ที่ใช้จริง โดย 1 เครดิต Fuzion = 1 บาท และใช้เครดิตก้อนเดียวกับวิดีโอ ภาพ และเสียง
DeepSeek V4.1 Flash รับ prompt ยาวได้เท่าไหร่
context สูงสุด 1M token และตอบได้ยาวสูงสุด 384K token ต่อครั้ง (รวม reasoning)
DeepSeek V4.1 Flash รับ input อะไรบ้าง
รับข้อความและภาพ (ส่งภาพเป็น image_url)
ใช้ DeepSeek V4.1 Flash ผ่าน API ได้อย่างไร
สร้าง API key ในบัญชี Fuzion แล้วเรียก POST /api/v1/chat/completions ด้วย model "byteplus/deepseek-v4-1-flash" รูปแบบเดียวกับ OpenAI จึงใช้ OpenAI SDK ได้โดยเปลี่ยน base URL รองรับ streaming, function calling และ JSON output
ระบบหักเครดิตอย่างไร
แต่ละ request มีราคาเป็นเศษสตางค์ ระบบจึงสะสมยอดไว้ แล้วหักเครดิตเป็นจำนวนเต็มเมื่อยอดสะสมถึง 1 เครดิต เศษที่เหลือยกไปรอบถัดไป request ที่ล้มเหลวไม่คิดเงิน

