API deepseek-v4-flash — harga per token dan contoh kode
Harga per 1M token
Tarif cache berlaku bila upstream melaporkan token cache.
Hemat 90%Tentang model ini
deepseek-v4-flash dilayani lewat OpenAI Chat Completions, OpenAI Responses, Anthropic Messages. Kamu membayar $0,015 per 1M token input dan $0,06 per 1M token output. Itu 90% di bawah harga resmi $0,15 dan $0,60. Cache read seharga $0,0018 per 1M token bila penyedia model melaporkan token cache. Model ini termasuk paket budget mulai $1,99.
Spesifikasi
- Jendela konteks
- —
- Input dan output
- Teks
- Endpoint
- /v1/chat/completions, /v1/responses, /v1/messages
- Paket terkecil
- $1,99
Latensi dan error rate per model ada di halaman status. status.cent-ai.dev
Biaya satu request
Buka kalkulator lengkapBiaya per request
Perkiraan
deepseek-v4-flashPerkiraan pada versi harga 4. Tagihanmu dihitung dari usage yang dilaporkan penyedia model untuk tiap request.
Hemat $0,0198Kode
curl https://api.cent-ai.dev/v1/chat/completions \
-H "Authorization: Bearer $CENT_AI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Hello"}]}'Isi CENT_AI_KEY dengan key dari dashboard. SDK OpenAI memakai https://api.cent-ai.dev/v1; SDK Anthropic memakai https://api.cent-ai.dev.
Riwayat harga
Versi 4, berlaku sejak 12 Nov 2026.
Berlaku
per 1M token
Inputlama $0,015 baru $0,015Cache readlama $0,0015 baru $0,0018Cache writelama $0,015 baru $0,015Outputlama $0,06 baru $0,06Berlaku
per 1M token
Inputlama $0,012 baru $0,015Cache readlama $0,0012 baru $0,0015Cache writelama $0,012 baru $0,015Outputlama $0,048 baru $0,06Berlaku
per 1M token
Inputlama $0,012 baru $0,012Cache readlama $0,00024 baru $0,0012Cache writelama $0,012 baru $0,012Outputlama $0,048 baru $0,048
Bandingkan dengan
- deepseek-v4.1-flashInput$0,015
- gpt-6-lunaInput$0,01978
- qwen3.8-flashInput$0,015
- glm-5.3-flashInput$0,015
Pertanyaan
Berapa harga deepseek-v4-flash di Cent AI?
$0,015 per 1M token input dan $0,06 per 1M token output. Cache read $0,0018 dan cache write $0,015 per 1M token. Tiap request dibulatkan ke atas sekali.
Apakah ada biaya minimum?
Request yang berhasil minimal $0,00002. Request yang berhenti lebih awal, karena klien pergi atau output terpotong, hanya membayar tokennya.
Bagaimana cara bayar?
Isi saldo USD prabayar dengan QRIS atau USDT/USDC, atau beli paket budget sekali. Tidak ada perpanjangan otomatis.
Bagaimana bila penyedia model tidak melaporkan usage?
Request ditagih dari perkiraan dan ditandai estimated di halaman Requests. Perkiraan tidak pernah berisi token cache.
Endpoint mana yang dipanggil?
/v1/chat/completions, /v1/responses, /v1/messages. Base URL OpenAI adalah https://api.cent-ai.dev/v1.
Coba deepseek-v4-flash dengan satu key
Satu saldo prabayar untuk semua model. Bayar dengan QRIS atau USDT/USDC.