API Free WeekHundreds of APIs are free to call this week.Browse free APIs

DeepSeek V3.1

deepseek/deepseek-chat-v3.1

DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates. It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. Learn more in our docs

Input price
$0.15USD / 1M tokens
Output price
$0.75USD / 1M tokens
Context window
N/A
Max output
7.2K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

7.2K max output
Input$0.15/MOutput$0.75/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Model card

Specifications

Pricing

Input
$0.15 / 1M tokens
Output
$0.75 / 1M tokens

Context & modalities

Max output
7,168 tokens
Input
Text
Output
Text

Capabilities

Chat
Supported
Vision
Not supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
DeepSeek
Model ID
deepseek/deepseek-chat-v3.1
Execution
sync
Base URL
https://api.sandbase.ai
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
deepseek/deepseek-chat-v3.1
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "deepseek/deepseek-chat-v3.1",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
DeepSeek V3.1This model
DeepSeek
—$0.15$0.75Aug 21, 2025
DeepSeek1M$0.30$1.20Sep 10, 2026
DeepSeek1M$0.30$1.20Aug 21, 2026
DeepSeek1M$1.32$3.96Aug 12, 2026
DeepSeek1M$0.30$1.20Jul 31, 2026
DeepSeek1M$1.32$3.96Apr 24, 2026

Questions

FAQ

How do I call DeepSeek V3.1 through SandBase?

Create a SandBase API key, then send requests with the model ID "deepseek/deepseek-chat-v3.1" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does DeepSeek V3.1 cost?

$0.15 per 1M input tokens and $0.75 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

Which features does DeepSeek V3.1 support?

DeepSeek V3.1 supports reasoning, function calling, structured output. See Specifications above for the full list.

Do I need a separate DeepSeek account?

No. One SandBase API key and balance gives you access to DeepSeek V3.1 and the other models in the catalog; you do not need to sign up with DeepSeek separately.