DeepSeek
DeepSeek Text

devdoclang/deepseek-v4-flash

Model ID: devdoclang/deepseek-v4-flash
Family
DeepSeek
Context
262,000
Per request
0.000692 USD
Requests
5.3K
Success
98.3%
Tokens
297.34M
Uptime
24h agoNow
7 days agoNow

Pricing

Per request
0.000692 USD
Supported endpoints
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/devdoclang/deepseek-v4-flash:generateContent
https://api.xah.io/api/chat
Method POST · application/json
Auth Bearer token (API key)
Rate limit 40 req/min
Tested load 🟢 High peak 46/s · sustained 6.4/s
Latency p95 10,689 ms
API kinds Text

Notes

> Leave a 5★ rating if you enjoy the service—it helps us keep prices low. If you hit an AWS Gateway error, just retry a few times. Due to limited supply, prices are temporarily higher. Thanks for your understanding!

Share

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "devdoclang/deepseek-v4-flash",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "devdoclang/deepseek-v4-flash",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "devdoclang/deepseek-v4-flash",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "devdoclang/deepseek-v4-flash",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}

Try it

Send a prompt with your API key — uses real credits, streams back instantly.

Reviews & comments
5.0 / 1 reviews
Loading reviews...
Contact Support
We are always ready to help you