Skip to content

DeepSeek V4.1 Flash

DeepSeek V4.1 Flash API, hosted in the EU

DeepSeek V4.1 Flash is DeepSeek's model for coding, reasoning and image understanding, with a 1M-token context. GreenPT serves it from European data centres behind an OpenAI-compatible API, billed per token in euros.

Call deepseek-v4.1-flash-1017, the 17 October 2026 snapshot. The original deepseek-v4.1-flash id is still served at its own price, so existing integrations keep working.

The short answer

What is the DeepSeek V4.1 Flash API?

The DeepSeek V4.1 Flash API on GreenPT runs DeepSeek's 1M-token model in EU data centres behind an OpenAI-compatible endpoint. Call deepseek-v4.1-flash-1017, the 17 October 2026 snapshot, from any OpenAI SDK and pay per million tokens in euros, with repeated prompt prefixes billed at the cached-input rate.

Model ID
deepseek-v4.1-flash-1017
EU base URL
https://api.greenpt.ai/v1
Context window
1M tokens
Input
Text and images
Output
Tool calls, and JSON with response_format json_object
Python, with the official OpenAI SDK
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.greenpt.ai/v1", api_key=os.environ["GREENPT_API_KEY"])
reply = client.chat.completions.create(
    model="deepseek-v4.1-flash-1017",
    messages=[{"role": "user", "content": "Hello from Europe"}],
)
print(reply.choices[0].message.content)
print(reply.to_dict()["impact"])  # energy (Wms) and emissions (ugCO2e) for this request

Prices

What DeepSeek V4.1 Flash costs

Rates per million tokens, read from the GreenPT price list when this page was built. Cached input is billed at the cache rate automatically.

GreenPT API prices per model
ModelContextPrice (EUR, excl. VAT)
DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-10171M
  • Input €0.36
  • Cache €0.04
  • Output €1.45
per 1M tokens
DeepSeek V4.1 Flashdeepseek-v4.1-flash1M
  • Input €0.22
  • Cache €0.011
  • Output €1.10
per 1M tokens

See all models and rates

Use cases

What teams use DeepSeek V4.1 Flash for

  • High-volume pipelines

    Classification, extraction and routing at a low price per token, with reasoning_effort none for a direct answer.

  • Coding assistants

    Code generation, review and explanation, with room for a large codebase in the 1M-token context.

  • Long system prompts and RAG

    Prompt caching bills a repeated prefix at the cached-input rate with no flag to set, which cuts the cost of long instructions and retrieved context.

  • Screens and documents

    Ask about a screenshot or a scanned page next to your written instructions.

  • Structured output

    Tool calls and JSON mode for pipelines that parse every answer.

Why GreenPT

Why run DeepSeek V4.1 Flash on GreenPT

GreenPT is a Dutch company, GreenPT BV in Utrecht. EU inference is the default endpoint, not a region you opt into, and account, billing and usage data stay in the EU whichever endpoint you call.

  • EU endpoint by default; the US endpoint only when you call it by name.

  • Your prompts and outputs are never used for training.

  • One API key for chat, embeddings, rerank, OCR and speech.

  • Prepaid credits in euros that do not expire.

  • The energy and CO2 of every request in the response body.

DeepSeek V4.1 Flash on GreenPT, in short

Where is DeepSeek V4.1 Flash hosted?

GreenPT serves DeepSeek V4.1 Flash from EU infrastructure when you call api.greenpt.ai. Account, billing and usage data stay in the EU, and GreenPT never trains on your prompts or outputs.

Which DeepSeek V4.1 Flash model id should I use?

Use deepseek-v4.1-flash-1017, the 17 October 2026 snapshot, for new work. The original deepseek-v4.1-flash id is still served as a separate catalogue entry at its own price, so existing integrations keep working until you change the id.

How much does DeepSeek V4.1 Flash cost?

Both ids are billed per million tokens in euros, each with its own rates for input, cached input and output. The price table on this page lists them side by side, read from the GreenPT price list. The cached-input rate applies automatically.

Is DeepSeek V4.1 Flash available on the US endpoint?

The EU endpoint, api.greenpt.ai, always serves DeepSeek V4.1 Flash as deepseek-v4.1-flash-1017. The US endpoint, api.us.greenpt.ai, serves a smaller set of models that changes over time: GET /v1/models on that base URL lists it, and a model it does not serve answers 403 with the locations that offer it.

Do I need a subscription to use DeepSeek V4.1 Flash?

No. Create a free API-only account, buy prepaid credits and pay per token. Credits do not expire, and chat subscriptions are separate and optional.

Start building

Run DeepSeek V4.1 Flash in the EU today.

A free API-only account, credits in euros and the base URL you already know how to use.

  • EU hosted
  • OpenAI-compatible
  • 100% renewable