# DeepSeek 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.

**ID**: `deepseek/deepseek-chat-v3.1`  
**Creator**: DeepSeek  
**Category**: text  
**Context**: 164K tokens  
**Pricing**: $0.22 / $0.78 per 1M · billed by your provider (BYOK)  
**Released**: 2025-08-21  
**Web page**: https://anyrouter.dev/model/deepseek/deepseek-chat-v3.1

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, reasoning, streaming, function-calling

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepseek/deepseek-chat-v3.1",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| fluence-byok | $0.22/M (list) | $0.78/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Source

- Upstream docs: https://openrouter.ai/deepseek/deepseek-chat-v3.1
