Using DeepSeek V4.1 Flash 1017 on Fireworks AI
Implementation guide · DeepSeek V4.1 · DeepSeek
Fireworks AI exposes DeepSeek V4.1 Flash 1017 through model ID accounts/fireworks/models/deepseek-v4p1-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
- 2Use the Fireworks AI SDK or REST API to call
accounts/fireworks/models/deepseek-v4p1-flash-1017— see the documentation for request format. - 3
Code Examples
pip install openaiFIREWORKS_API_KEYaccounts/fireworks/models/deepseek-v4p1-flash-1017Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="accounts/fireworks/models/deepseek-v4p1-flash-1017",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Fireworks AI
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.30 |
| Output tokens | $1.20 |
Capabilities
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.