← All guides

Model guide · Updated October 18, 2026 for the 1017 release

DeepSeek V4.1 Flash 1017: API, Pricing, and Setup for Hermes & OpenClaw

On October 17 DeepSeek replaced V4.1 Flash with a stronger 1017 snapshot at the same price. Here is what changed, which routes actually serve it, how to set reasoning effort, and how to connect it to Hermes Agent or OpenClaw.

What changed on October 17?

DeepSeek released DeepSeek-V4.1-Flash-1017 on October 17, 2026. Its official announcement describes stronger benchmark performance, faster task completion, and shorter outputs than the September build, which it calls a Pareto improvement in performance and cost. DeepSeek says it trained the update with reinforcement learning on self-feedback to improve end-to-end project work, and showed 3D scenes, web games, and a game engine as examples. The open weights are on Hugging Face under the MIT license.

Selected rows from DeepSeek's published comparison. These are the vendor's own numbers, not an independent evaluation; The HLE row is the full benchmark without tools (DeepSeek also reports 44.0 versus 39.1 on the text-only subset), and Terminal-Bench 4.0 ran in the Claude Code framework.

BenchmarkV4.1 Flash 1017V4.1 Flash (Sep)GPT-5.6-SolClaude Opus 5
HLE (no tools)42.636.844.556.3
Terminal-Bench 4.042.331.239.951.8
DeepSWE v1.177.074.273.074.0
NL2Repo-Bench68.265.456.875.3
Automation-Bench v1.0.660.554.845.850.3
Agents' Last Exam35.431.826.728.6
Apex Bench v1.172.164.654.365.8

The release drew a lot of attention on X, mostly for side-by-side demos. One widely shared test built the same cinematic 3D electric-motor explainer with 1017 for $1.25 and with Opus 5.5 for $16.36; another rendered a rocket launch scene for $0.78 in 3 minutes, against $6.10 in 5 minutes for GPT 6.1 Sol. These are single prompts chosen by the people posting them, and some replies called the release "benchmaxed". Treat them as a sign that the price-to-quality ratio is worth testing, not as proof that 1017 matches frontier models on your work.

Which routes serve 1017?

RouteModel idGets 1017?
DeepSeek API (your key)deepseek-flashYes, automatically. No code change.
DeepSeek API, legacy namesdeepseek-v4-flash, deepseek-v4-flash-vision-expYes. The old models are retired; requests are served by 1017 at the Flash price.
OpenRouterdeepseek/deepseek-v4.1-flash-1017Yes, but only under this new id.
OpenRouterdeepseek/deepseek-v4.1-flashListed as a separate model; select the 1017 id to be sure you get the new snapshot.

Sources: DeepSeek's model-name notes and OpenRouter's 1017 listing, both checked October 18. A display name such as "DeepSeek V4.1 Flash" does not tell you which snapshot a provider serves, so check the model id.

Background: the September V4.1 Flash release

DeepSeek first announced V4.1 Flash on September 10, 2026. Its official announcement describes a new Causal-Encoder-Decoder architecture: a 552B-parameter mixture-of-experts model, with 8B parameters active for input and 16B for output. It combines text and visual understanding. This is a new architecture, unlike the earlier V4 Flash 0731 post-training refresh.

The same announcement reports a smaller KV cache, requiring one quarter of the previous generation's HBM and one eighth of its SSD storage. These are DeepSeek's infrastructure claims, not memory requirements for your agent server. The release links to model weights and the technical report.

Checked October 18, 2026: the official API quick start says deepseek-flash is served by V4.1-Flash-1017. We checked the announcements, the documentation, the open-weight model card, and the Hermes source; the setup below is based on documented provider support, not our own benchmark.

Direct API model names

Direct DeepSeek API nameWhat to expect
deepseek-flashRecommended name. Served by V4.1-Flash-1017 since October 17.
deepseek-v4-flashLegacy name; still accepted and served by 1017 at the Flash price.
deepseek-v4-flash-vision-expLegacy vision name; still accepted and served by 1017.
deepseek-v4-proListed as DeepSeek-V4-Pro-0813 with its own Pro pricing and no vision, as of October 18. The September plan to route it to Flash is no longer in the documentation.

Source: DeepSeek's model-name migration notes. These rules describe DeepSeek's own endpoint. An OpenRouter model, an OpenCode plan, and a direct DeepSeek key are different routes; a familiar display name alone does not identify the backend version.

DeepSeek V4.1 Flash pricing

The 1017 update did not change the price. Official direct-API USD rates per one million tokens, checked October 18:

Token categoryOff-peakPeak
Input, cache hit$0.003$0.006
Input, cache miss$0.15$0.30
Output$0.60$1.20

Peak hours are Monday–Friday, 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays; all other hours are off-peak. The official pricing page lists a 1M context window and up to 384K output tokens, with thinking and non-thinking modes, tool calls, JSON output, Responses API, Anthropic compatibility, and vision.

For example, 1M uncached input tokens plus 100K output tokens costs $0.21 off-peak or $0.42 at peak. This is a token-budget example, not a per-task estimate: an agent may make many calls and repeatedly send context. Schedule flexible batch work off-peak, and monitor actual usage before choosing a monthly budget. Hosting and third-party provider charges are separate.

Because 1017 writes shorter outputs, the same task can cost less than it did on the September build at an identical per-token price. DeepSeek also bills its server-side Search and Fetch tools at $0.75 per 1,000 calls; those calls are free until October 31, 2026 at 16:00 UTC.

Reasoning effort

Thinking is on by default. On the direct API, set reasoning_effort to low, high (the default), or max, as described in the thinking mode guide. Lower effort is cheaper and faster for routine chat and tool calls; save max for hard coding or research tasks. The parameter is the same as on the September build; what changed in 1017 is that DeepSeek reports shorter outputs overall.

Use it on OpenClaw Launch

The dashboard uses the same model selector for Hermes Agent and OpenClaw. For a direct DeepSeek connection:

  1. Create your own key in the DeepSeek API platform. See the API key guide if you are starting from scratch.
  2. Open API Keys in OpenClaw Launch and save the key in the DeepSeek section.
  3. Open your bot's model selector and choose the DeepSeek provider using your own key. Select deepseek-flash if it appears in the live catalog. If the catalog still lists deepseek-v4-flash, that legacy name is also served by 1017 on the direct API.
  4. Start a fresh conversation so you can assess the new model without an old conversation's accumulated context. Check the selected provider as well as the model name: the dashboard's OpenRouter entry named DeepSeek V4.1 Flash uses deepseek/deepseek-v4.1-flash, not the 1017 id, so use your own DeepSeek key if you specifically want 1017.

Vision also depends on the client and model catalog forwarding images correctly. An old text-only Flash entry may not expose image input simply because the upstream model now supports it. For an explicit image request, use DeepSeek's vision API examples. This model understands images; it is not an image-generation endpoint.

Self-hosted Hermes Agent

Use the native DeepSeek provider and your own key. The provider and model are separate fields in Hermes; do not paste an OpenClaw-style provider prefix into model.default.

# ~/.hermes/.env
DEEPSEEK_API_KEY=YOUR_OWN_DEEPSEEK_KEY

# Merge into ~/.hermes/config.yaml
model:
  provider: deepseek
  default: deepseek-flash
  context_length: 1000000
  supports_vision: true

agent:
  reasoning_effort: "high"   # low | high | xhigh (sent as max) | none (thinking off)

Because the API name did not change, an existing Hermes bot on deepseek-flash is already on 1017; start a new session to try it. Hermes's DeepSeek provider always sends the thinking toggle and translates agent.reasoning_effort into DeepSeek's parameter, so do not add a raw reasoning_effort under model. Use hermes model to configure the provider interactively if you prefer. Keep your existing tools, gateway settings, and other configuration. See the upstream Hermes repository and our Hermes DeepSeek guide for the surrounding setup.

Self-hosted OpenClaw

OpenClaw uses a provider/model identifier. The following explicit OpenAI-compatible provider entry avoids relying on an older built-in model catalog. Save your own DEEPSEEK_API_KEY in ~/.openclaw/.env so the gateway can read it, then merge this into your existing ~/.openclaw/openclaw.json:

{
  "models": {
    "mode": "merge",
    "providers": {
      "deepseek-direct": {
        "baseUrl": "https://api.deepseek.com/v1",
        "apiKey": "${DEEPSEEK_API_KEY}",
        "api": "openai-completions",
        "models": [{
          "id": "deepseek-flash",
          "name": "DeepSeek V4.1 Flash 1017",
          "reasoning": false,
          "input": ["text", "image"],
          "contextWindow": 1000000,
          "maxTokens": 384000
        }]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "deepseek-direct/deepseek-flash" },
      "models": {
        "deepseek-direct/deepseek-flash": {
          "params": {
            "extra_body": { "thinking": { "type": "disabled" } }
          }
        }
      }
    }
  }
}

On OpenRouter instead, set the primary model to openrouter/deepseek/deepseek-v4.1-flash-1017; the older deepseek/deepseek-v4.1-flash id is a separate listing. For the direct API, this starter deliberately disables thinking: current OpenClaw DeepSeek adapters can still match only older model names when handling reasoning across tool calls. The model itself supports thinking. Verify your client version before enabling it, and preserve existing channels, model entries, and credentials. Check your configuration against the upstream provider documentation; the API's maximum context and output limits do not mean you should allocate the maximum to every agent call.

Check the direct API first

This small text request helps distinguish a provider/key issue from an agent configuration issue. Run it with your own account; it consumes API tokens. Thinking is disabled to keep this connectivity check short.

curl https://api.deepseek.com/chat/completions \
  -H "Authorization: Bearer ${DEEPSEEK_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-flash",
    "messages": [{"role": "user", "content": "Reply with OK."}],
    "thinking": {"type": "disabled"},
    "max_tokens": 32,
    "stream": false
  }'

A successful API response proves the key and endpoint work; it does not prove your bot can execute tools or process attachments. If a model is missing, check the provider and catalog. If authentication fails, check the DeepSeek key. If billing fails, check the balance on the account that owns that key.

Frequently asked questions

What is DeepSeek V4.1 Flash 1017?

DeepSeek-V4.1-Flash-1017 is the October 17, 2026 update to V4.1 Flash. DeepSeek reports stronger benchmark scores, faster task completion, and shorter outputs than the September release, at the same API price. The weights are published on Hugging Face and ModelScope under the MIT license.

Do I need to change anything to get 1017?

Not on the direct DeepSeek API. deepseek-flash, and the legacy deepseek-v4-flash and deepseek-v4-flash-vision-exp names, are now all served by V4.1-Flash-1017. On OpenRouter, 1017 is a separate model, deepseek/deepseek-v4.1-flash-1017, so you have to select that id explicitly. Other providers roll out on their own schedules.

Does DeepSeek V4.1 Flash 1017 work with Hermes Agent?

Yes. Use provider deepseek with the bare model name deepseek-flash and your own DeepSeek API key. Hermes maps agent.reasoning_effort onto DeepSeek's reasoning_effort parameter and always sends the thinking toggle explicitly.

Is 1017 really as good as GPT 6.1 Sol or Claude Opus at a tenth of the price?

DeepSeek's own table puts 1017 ahead of GPT-5.6-Sol on several agent benchmarks and behind Claude Opus 5 on most of them. The widely shared single-prompt demos comparing 1017 with GPT 6.1 Sol and Opus 5.5 are anecdotes, not controlled tests. The price gap is real; whether the quality holds up for your tasks is something to measure on your own workload.

What happened to deepseek-v4-pro?

As of October 18, 2026, DeepSeek's pricing page lists deepseek-v4-pro as DeepSeek-V4-Pro-0813, with its own Pro pricing and no vision support. The September plan to serve V4 Pro requests with V4.1 Flash is not reflected in the current documentation, so check the pricing page before relying on either behavior.

Can I run the model on my bot server?

Running an agent that calls the DeepSeek API is different from hosting the model weights. V4.1 Flash has 552 billion total parameters. A small Hermes or OpenClaw server is for the agent runtime; it is not an inference server for the full model.

Choose how to run your agent

Self-hosting gives you control over the runtime, updates, and troubleshooting. Managed hosting handles the agent server while you choose the model and provider. Compare Hermes hosting and OpenClaw hosting, or read the earlier OpenClaw V4 Flash guide for historical context.

Set up a Hermes or OpenClaw agent