DeepSeek V3.2
DeepSeek V3.2 by DeepSeek, through an OpenAI-compatible chat completions API.
deepseek-v3.2Dapatkan kunci APIHarga USD per juta token
| Token | Per 1 juta token |
|---|---|
| Input | $0.257 |
| Input cache | $0.257 |
| Penulisan cache (5 menit) | $0.257 |
| Penulisan cache (1 jam) | $0.257 |
| Output | $0.3855 |
Token reasoning ditagih sebagai output. Usage pada setiap jawaban membawa cost_usd, jumlah yang diambil dari saldo Anda; request tanpa jawaban berharga $0.00.
Permintaan
curl https://api.revana.si/v1/chat/completions \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v3.2","messages":[{"role":"user","content":"Write a haiku about routing."}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
model="deepseek-v3.2",
messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)SDK OpenAI mana pun bisa dipakai: setel base URL ke https://api.revana.si/v1. Streaming, tool, dan lainnya ada di dokumentasi chat completions.
Detail
deepseek-v3.2POST /v1/chat/completions1 rute
Satu rute saat ini. Request yang tidak mendapat jawaban tidak ditagih.
About the DeepSeek V3.2 API
How much does the DeepSeek V3.2 API cost?
DeepSeek V3.2 costs $0.257 per million input tokens, $0.257 per million cached input tokens and $0.3855 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.
How do I call DeepSeek V3.2 from code?
Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "deepseek-v3.2". POST /v1/chat/completions takes the OpenAI request body, streamed or not.
Apa yang terjadi jika request gagal?
Request yang tidak mendapat jawaban tidak dikenai biaya.
Is DeepSeek V3.2 on Revana the same model?
Ya. Revana meneruskan request Anda ke model DeepSeek tanpa perubahan dan mengembalikan jawabannya dalam format OpenAI, dengan usage yang dilaporkannya dan biaya request.
Lainnya dari DeepSeek
- DeepSeek R1 $0.56 masuk / $2.24 keluar per 1M token
- DeepSeek V4 Flash $0.4286 masuk / $1.2857 keluar per 1M token
- DeepSeek V4 Pro $0.396 masuk / $1.188 keluar per 1M token
- DeepSeek V4.1 Flash $0.09 masuk / $0.36 keluar per 1M token
Juga tersedia sebagai markdown untuk agen. Semua model bahasa dan harga: llms.json.