DeepSeek V4.1 Flash 1017

deepseek/deepseek-v4.1-flash-1017

A chat model with a 1M-token context window, at $0.07875 per million input tokens and $0.315 per million output tokens.

Details

Maker
deepseek
Kind
Chat
Context window
1,048,576 tokens
Max output
262,144 tokens
Input
$0.07875 per million tokens
Cached input
$0.001575 per million tokens, 98% off
Cache write
Same as input
Output
$0.315 per million tokens
Capabilities
Reasoning, tool use, vision
Takes
Text, image
Returns
Text
Zero data retention
Not on every provider
No training on requests
Not on every provider
Released
2026-10-17

Description

DeepSeek V4.1 Flash 1017 served by Baseten for multimodal reasoning, tool calling, and structured output, with automatic prefix caching.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash-1017",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.