Using DeepSeek V4.1 Flash 1017 on Together AI

Implementation guide · DeepSeek V4.1 · DeepSeek

ServerlessProvisioned
Open Source

Together AI exposes DeepSeek V4.1 Flash 1017 through model ID deepseek-ai/DeepSeek-V4.1-Flash-1017. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-19. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Together AI and generate an API key.
  2. 2
    Use the Together AI SDK or REST API to call deepseek-ai/DeepSeek-V4.1-Flash-1017 — see the documentation for request format.
  3. 3
    You'll be billed $0.30/1M input, $1.20/1M output tokens. See full pricing.

Code Examples

Install
pip install together
API key
TOGETHER_API_KEY
Model ID
deepseek-ai/DeepSeek-V4.1-Flash-1017

Together uses "organization/model-name" format, e.g. "meta-llama/Llama-4-Scout-17B-16E-Instruct" or "Qwen/QwQ-32B". See the Together model catalog for the exact ID.

from together import Together

client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-V4.1-Flash-1017",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Together AI

TypePrice (per 1M)
Input tokens$0.30
Output tokens$1.20

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt Caching

About DeepSeek V4.1 Flash 1017

DeepSeek V4.1 Flash 1017 is the October 17, 2026 update to DeepSeek V4.1 Flash, released under the MIT license with weights on Hugging Face and ModelScope. DeepSeek describes it as a minor update trained with reinforcement learning from self-feedback for end-to-end project development, with shorter task runtime and output length. It supports 1M-token context, up to 384K output tokens, vision input, thinking and non-thinking modes, tool calls and JSON output. The DeepSeek API serves it as deepseek-flash, and the legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp also route to it.

Model Specs

Released2026-10-17
Parameters552B
Context1M
ArchitectureMixture of Experts

Provider

Together AI

San Francisco, California, United States