deepseek-v4-pro vs gemini-3.1-pro-preview: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of deepseek-v4-pro and gemini-3.1-pro-preview, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
deepseek-v4-pro: DeepSeek-V4-Pro is a high-performance open-source large model from DeepSeek with top-tier reasoning and Agent capabilities, ultra-long context support, compatibility with Ascend chips, and exceptional cost-effectiveness.
gemini-3.1-pro-preview: Gemini 3.1 is Google's most intelligent model family to date, grounded in advanced reasoning. It is designed to turn any idea into reality by mastering agentic workflows, autonomous coding, and complex multimodal tasks. gemini-3.1-pro-preview is best suited for complex tasks requiring broad world knowledge and advanced cross-modal reasoning.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | deepseek-v4-pro | gemini-3.1-pro-preview |
|---|---|---|
| Provider | DeepSeek | |
| Group | Self-Deployed-1 | Vertex-Gemini-1 |
| Input (USD / 1M tokens) | $0.396 | $0.40 |
| Output (USD / 1M tokens) | $1.188 | $2.40 |
| Cache read (USD / 1M tokens) | $0.0132 | $0.04 |
| Monthly cost example | $63.36 | $88.00 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
gemini-3.1-pro-preview has long-context tiers; the example uses first-tier prices.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
deepseek-v4-pro by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.396 | $1.188 | $0.0132 | $63.36 |
| Self-Deployed-2 | $0.66 | $1.98 | $0.022 | $105.60 |
| Self-Deployed-3 | $0.99 | $2.97 | $0.033 | $158.40 |
gemini-3.1-pro-preview by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Vertex-Gemini-1 | $0.40 | $2.40 | $0.04 | $88.00 |
| Aistudio-Gemini-2 | $0.5294 | $3.177 | $0.0529 | $116.47 |
| Vertex-Gemini-2 | $0.60 | $3.60 | $0.06 | $132.00 |
| Aistudio-Gemini-3 | $0.8824 | $5.294 | $0.0882 | $194.12 |
| Vertex-Gemini-3 | $1.80 | $10.80 | $0.18 | $396.00 |
| Aistudio-Gemini-4 | $1.912 | $11.471 | $0.1912 | $420.59 |
Same-group comparison
The two models share no group, so each monthly example uses its own groups (see the tables above).
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | deepseek-v4-pro | gemini-3.1-pro-preview |
|---|---|---|
| Provider | DeepSeek | |
| Context | — | — |
| Features | Conversation · Thinking · Tools | Conversation · Thinking · Multimodal · Image Recognition |
| API formats | Anthropic Messages · OpenAI Chat Completions | Gemini generateContent · OpenAI Chat Completions |
| Long-context tiers | No | Yes |
Which one to choose
- Lower cost: deepseek-v4-pro is cheaper — about $63.36 vs $88.00 for gemini-3.1-pro-preview in the monthly example above.
- Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose deepseek-v4-pro.
- Need Tools: deepseek-v4-pro supports it.
- Need Multimodal, Image Recognition: gemini-3.1-pro-preview supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses deepseek-v4-pro; change model to gemini-3.1-pro-preview to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, deepseek-v4-pro or gemini-3.1-pro-preview?
At build time, the lowest public prices were: deepseek-v4-pro (Self-Deployed-1 group) input $0.396, output $1.188 per 1M tokens; gemini-3.1-pro-preview (Vertex-Gemini-1 group) input $0.40, output $2.40 per 1M tokens. For 100M input + 20M output tokens a month, deepseek-v4-pro costs about $63.36 and gemini-3.1-pro-preview about $88.00.
Can I use one API key for both deepseek-v4-pro and gemini-3.1-pro-preview?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to deepseek-v4-pro or gemini-3.1-pro-preview. Usage of both models is billed from the same balance.
Which API formats do deepseek-v4-pro and gemini-3.1-pro-preview support?
deepseek-v4-pro: Anthropic Messages, OpenAI Chat Completions. gemini-3.1-pro-preview: Gemini generateContent, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
More
More deepseek-v4-pro comparisons
More gemini-3.1-pro-preview comparisons
- gemini-3.1-pro-preview vs gemini-4-carbon
- gemini-3.1-pro-preview vs gpt-5.5-pro
- gemini-3.1-pro-preview vs grok-4.3
- gemini-3.1-pro-preview vs gpt-6.2-astra
- gemini-3.1-pro-preview vs kimi-k3.1-pro
- gemini-3.1-pro-preview vs claude-opus-5-5
- gemini-3.1-pro-preview vs mimo-v2.6-pro
- gemini-3.1-pro-preview vs grok-4.7