DeepSeek-V3.1

Models

Model details

Model
deepseek.v3-v1:0
Provider
amazon-bedrock
API
bedrock-converse-stream
Base URL
https://bedrock-runtime.us-east-1.amazonaws.com
Input
text
Reasoning
Yes
Context window
163,840
Max tokens
81,920
Show configuration
{
  "providers": {
    "amazon-bedrock": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "deepseek.v3-v1:0",
          "name": "DeepSeek-V3.1",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 163840,
          "maxTokens": 81920,
          "cost": {
            "input": 0.58,
            "output": 1.68,
            "cacheRead": 0,
            "cacheWrite": 0
          },
          "compat": {
            "supportsStrictMode": true
          }
        }
      ],
      "api": "bedrock-converse-stream",
      "baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com"
    }
  }
}

Pricing

USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.

Pricing rates for DeepSeek-V3.1
Request inputInputOutputCache readCache write
All requests$0.58$1.68$0$0

Session cost calculator

Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.

Session shape
Rounded median shapes from recent Pi agent sessions.
Warm-request cache reuse
Effective token reuse combines partial hits and occasional complete misses.
Estimated session$0.00
Uncached input
—
Cache reads
—
Uncached prefixes
—
Cache writes
—
Output
—
Without caching
—

The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.

Compatibility flags

Effective values after applying Pi's API defaults and model overrides.

Effective compatibility flags for DeepSeek-V3.1
FeatureValue
supportsStrictModeYes