DeepSeek V4.1 Flash Cyber API
DeepSeek V4.1 Flash tuned for cybersecurity work, with native image understanding.
deepseek-v4.1-flash-cyberGet API keyPricing USD per million tokens
| Tokens | Per 1M tokens |
|---|---|
| Input | $0.40 |
| Cached input | $0.0094 |
| Cache write (5 min) | $0.40 |
| Cache write (1 hour) | $0.40 |
| Output | $1.3334 |
Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.
Request
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)Any OpenAI SDK works: set the base URL to https://api.revana.si/v1. Streaming, tools and the rest are in the chat completions docs.
Details
deepseek-v4.1-flash-cyberPOST /v1/chat/completions1 route
One route today. A request that gets no answer is not charged.
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.
What happens if a request fails?
A request that gets no answer costs nothing.
Is DeepSeek V4.1 Flash Cyber on Revana the same model?
Yes. Revana passes your request to DeepSeek's model unchanged and returns its answer in the OpenAI format, with the usage it reported and what the request cost.
More from 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
Also as markdown for agents. Every language model and price: llms.json.