See what your AI agent really costs

DeepSeek Flash (V4.1 Flash 1017) vs Gemini 3.8 Flash: API pricing and agent cost

ModelProviderInput $/1MOutput $/1MCached $/1MPer taskPer month
DeepSeek Flash (V4.1 Flash 1017)DeepSeek$0.3$1.2$0.006$0.0093$27.90
Gemini 3.8 FlashGoogle$0.75$3.75$0.075$0.0262$78.75

For an agent making 5 tool calls per task (3,000 input and 800 output tokens per call) and running 100 tasks a day, DeepSeek Flash (V4.1 Flash 1017) is the cheaper option at $27.90 a month, versus $78.75 for Gemini 3.8 Flash (2.8× the cost).

This compares list prices only, not quality. API model deepseek-flash, served by DeepSeek-V4.1-Flash-1017. Peak-hour price; off-peak $0.15/$0.60. Open-weights model. Server-side Search/Fetch tool calls (e.g. via Claude Code or Codex) cost $0.75 per 1K requests starting Nov 1, 2026. Through Dec 31, 2026; $1.50/$7.50 from Jan 1, 2027 (cached input $0.075 to $0.15).

Run your own numbers

Sources: DeepSeek, Google (checked 2026-10-25)

Get the TokenTab newsletter

Model price changes and agent cost tips, straight to your inbox. Unsubscribe anytime; we only use your email for this newsletter.