DeepSeek V4.1 Flash Cyber API
DeepSeek V4.1 Flash tuned for cybersecurity work, with native image understanding.
deepseek-v4.1-flash-cyberAPIキーを取得料金 100万トークンあたりのUSD
| トークン | 100万トークンあたり |
|---|---|
| 入力 | $0.40 |
| キャッシュされた入力 | $0.0094 |
| キャッシュの書き込み(5分) | $0.40 |
| キャッシュの書き込み(1時間) | $0.40 |
| 出力 | $1.3334 |
推論トークンは出力として課金されます。各回答の usage には、残高から引かれた金額である cost_usd が含まれ、回答のないリクエストは$0.00です。
リクエスト
curl https://api.revana.si/v1/chat/completions \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash-cyber","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-v4.1-flash-cyber",
messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)どのOpenAI SDKでも動作します。ベースURLを https://api.revana.si/v1 に設定してください。ストリーミング、ツールなどの詳細は、Chat Completionsのドキュメントをご覧ください。
詳細
deepseek-v4.1-flash-cyberPOST /v1/chat/completions1つのルート
現在、ルートは1つです。回答が得られなかったリクエストは課金されません。
About the DeepSeek V4.1 Flash Cyber API
How much does the DeepSeek V4.1 Flash Cyber API cost?
DeepSeek V4.1 Flash Cyber costs $0.40 per million input tokens, $0.0094 per million cached input tokens and $1.3334 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 V4.1 Flash Cyber from code?
Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "deepseek-v4.1-flash-cyber". POST /v1/chat/completions takes the OpenAI request body, streamed or not.
リクエストが失敗するとどうなりますか?
回答が得られなかったリクエストは、課金されません。
Is DeepSeek V4.1 Flash Cyber on Revana the same model?
はい。RevanaはリクエストをDeepSeekのモデルにそのまま渡し、その回答を、報告された利用量とリクエストの費用とともに、OpenAI形式で返します。
DeepSeekのその他のモデル
- DeepSeek R1 $0.8064 in / $3.2256 out per 1M tokens
- DeepSeek V3.2 $0.3701 in / $0.5552 out per 1M tokens
- DeepSeek V4 Flash $0.6172 in / $1.8515 out per 1M tokens
- DeepSeek V4 Pro $0.6336 in / $1.9008 out per 1M tokens
- DeepSeek V4.1 Flash $0.144 in / $0.576 out per 1M tokens