← Models
cloudflare-ai-gateway

DeepSeek V4.1 Flash 1017

workers-ai/@cf/deepseek-ai/deepseek-v4.1-flash-1017
ReasoningVision

Model details

Model
workers-ai/@cf/deepseek-ai/deepseek-v4.1-flash-1017
Provider
cloudflare-ai-gateway
API
openai-completions
Base URL
https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat
Input
text, image
Reasoning
Yes
Context window
1,048,576
Max tokens
1,048,576

Pricing

USD per million tokens.

Input
$0.3
Output
$1.2
Cache read
$0.006
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.05
Uncached input
$0.02
Cache reads
$0.0039
Cache writes
$0.0000
Output
$0.02
Without caching
$0.24

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStore
No
supportsReasoningEffort
No
maxTokensField
max_tokens
supportsLongCacheRetention
No
sendSessionAffinityHeaders
Yes
requiresReasoningContentOnAssistantMessages
Yes
thinkingFormat
deepseek