Skip to content
DeepSeek
65% offprompt cache

DeepSeek V3.1

deepseek-v3.1

No description provided for this model.

Input / output per 1M

$0.087/$0.332

official $0.25 / $0.95

Network fee$0.00
ProviderDeepSeek
ModalityText

Context

128K

Max output

8K

Input / 1M

$0.087

Output / 1M

$0.332

Pricing

Input / 1M$0.087$0.25
Output / 1M$0.332$0.95
Cache read / 1M$0.087no cache discount
Network fee$0.00per request

65% below the reference list price.

Request

POST /v1/chat/completions
curl https://api.relayrouter.org/v1/chat/completions \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v3.1",
"messages": [{ "role": "user", "content": "Hello" }]
}'

Independent benchmark

Full leaderboard

Artificial Analysis has not published an Intelligence Index score for this model yet. The leaderboard covers every model it does rate, including models RelayRouter does not serve.

How much does DeepSeek V3.1 cost on RelayRouter?

DeepSeek V3.1 is billed at $0.087 per 1M input tokens and $0.332 per 1M output tokens, plus a flat network fee per request. Billing is prepaid and failed calls are not billed.

How do I call DeepSeek V3.1?

Send a POST to https://api.relayrouter.org/v1/chat/completions with model set to "deepseek-v3.1" and your RelayRouter key as a Bearer token. The API is [OI]-compatible, so existing SDKs work by changing the base URL and key.

What is DeepSeek V3.1's context window?

DeepSeek V3.1 accepts up to 128,000 input tokens per request and returns up to 8,000 output tokens. Prompts longer than the context window are rejected with HTTP 400 rather than silently truncated.