DeepSeek V3.1 is available from 3 provider(s). Cheapest: NanoGPT at $0.200 per 1M input tokens and $0.700 per 1M output tokens. Context window: up to 163 840 tokens. Developer: DeepSeek.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| NanoGPT deepseek-ai/DeepSeek-V3.1 | $0.200 | $0.700 | 128K | Go to provider ↗ Set up |
| DeepInfra deepseek-ai/DeepSeek-V3.1 | $0.250 +25 % | $0.950 | 164K | Go to provider ↗ Set up |
| UplinkSwitch deepseek-v3.1 | $1.08 +440 % | $4.00 | — | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $0.425 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it
Price history is recorded daily – the chart appears after the first price change.
from openai import OpenAI
import os
client = OpenAI(base_url="https://nano-gpt.com/api/v1", api_key=os.environ["NANOGPT_API_KEY"])
r = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V3.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at NanoGPT ($0.200 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.