DeepSeek V4 Flash
deepseek-4-flash
Fast, low-cost DeepSeek model for chat, coding and high-volume workloads.
- Context window
- 1M tokens
- Max output
- 384K tokens
- Input
- $0.112
- Output
- $0.224
Prices per 1M tokens
ProductsGenerative AI API
Build with DeepSeek, GLM, Kimi and other leading models through an OpenAI-compatible Chat Completions API.
From $0.112 per 1M input tokens
Features
The Generative AI API gives you access to leading large language models such as DeepSeek, GLM and Kimi for chat, reasoning, coding and agent workflows. Use any OpenAI-compatible SDK by pointing it at the Vionex endpoint.
Use the official OpenAI SDKs or any compatible client. Just change the base URL and API key.
Set stream: true to receive tokens as server-sent events while they are generated.
Every model uses the same base URL, SDK and API key. Switch models by changing a single parameter.
Work with up to 1M tokens of context in a single request.
Input tokens served from the model's context cache are billed at a lower cached-input rate.
Requests are only charged when they succeed, so failed calls never reduce your balance.
Models
Pick the balance of capability, speed and cost that fits each workload.
deepseek-4-flash
Fast, low-cost DeepSeek model for chat, coding and high-volume workloads.
Prices per 1M tokens
glm-5.3
Flagship GLM model for complex reasoning, coding and agent workflows.
Prices per 1M tokens
glm-5.3-flash
Lightweight, low-cost GLM model for everyday chat, extraction and high-volume tasks.
Prices per 1M tokens
kimi-k3
Flagship Kimi reasoning model for coding, agent workflows and long documents.
Prices per 1M tokens
Quickstart
Install the official OpenAI SDK for your language, then point it at Vionex.
https://api.vionexlimited.com/v1
Authorization: Bearer YOUR_API_KEY
Set the base URL to /v1 on the Vionex API and pass a model ID from the list above as model.
curl "https://api.vionexlimited.com/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-4-flash",
"messages": [
{"role": "user", "content": "Explain graduated pricing in one sentence."}
]
}'
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.vionexlimited.com/v1",
)
completion = client.chat.completions.create(
model="deepseek-4-flash",
messages=[{"role": "user", "content": "Explain graduated pricing in one sentence."}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_API_KEY",
baseURL: "https://api.vionexlimited.com/v1",
});
const completion = await client.chat.completions.create({
model: "deepseek-4-flash",
messages: [{ role: "user", content: "Explain graduated pricing in one sentence." }],
});
console.log(completion.choices[0].message.content);
Add stream: true to receive the response incrementally as server-sent events.
curl -N "https://api.vionexlimited.com/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-4-flash",
"stream": true,
"messages": [{"role": "user", "content": "Write a short poem about the ocean."}]
}'
# Uses the client created in the previous example
stream = client.chat.completions.create(
model="deepseek-4-flash",
messages=[{"role": "user", "content": "Write a short poem about the ocean."}],
stream=True,
)
for chunk in stream:
if chunk.choices:
print(chunk.choices[0].delta.content or "", end="", flush=True)
// Uses the client created in the previous example
const stream = await client.chat.completions.create({
model: "deepseek-4-flash",
messages: [{ role: "user", content: "Write a short poem about the ocean." }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/chat/completions | Chat completions, with optional streaming |
| GET | /v1/models | List the available models |
Pricing
Per-model prices in US dollars.
| Model | Inputper 1M tokens | Cached inputper 1M tokens | Outputper 1M tokens |
|---|---|---|---|
| DeepSeek | |||
DeepSeek V4 Flash
deepseek-4-flash
|
|
|
|
| GLM | |||
GLM-5.3
glm-5.3
|
|
|
|
GLM-5.3-Flash
glm-5.3-flash
|
|
|
|
| Kimi | |||
Kimi K3
kimi-k3
|
|
|
|
Create an account in minutes and pay only for what you use.