Cheaper Inference
Cheaper Inference
deepseek-v3.1 is available for text generation from DeepSeek. Its reported context window is 128,000 tokens, with up to 128,000 output tokens. Reported inputs: text. The served catalog lists streaming.
/v1/chat/completions
Ready when you are
Marketplace pricing, capped at list, optimized further.
/v1/completions
/v1/messages
/v1/responses
deepseek-v3.1/v1/chat/completions/v1/responses/v1/messagesPOST /v1/chat/completions
curl https://api.cheaperinference.com/v1/chat/completions \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v3.1", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 64 }'POST /v1/responses
curl https://api.cheaperinference.com/v1/responses \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": [ { "role": "user", "content": "Reply with the single word OK." } ], "model": "deepseek-v3.1", "store": false, "max_output_tokens": 256 }'POST /v1/messages
curl https://api.cheaperinference.com/v1/messages \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v3.1", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 64 }'Capability source · checked
$0.316875 estimated at displayed rates
1,000,000 ÷ 1,000,000 × $0.1625 + 250,000 ÷ 1,000,000 × $0.6175
The same billed quantities at the listed reference rates: $0.4875.
Uses uncached input at the displayed standard rates, with no extra modalities or tools. Billed output includes any charged reasoning tokens. Actual token counts, price tiers, and marketplace prices can change the total.
Price quote effective .
| Model | Current pricing | Context limit | Image input listed |
|---|---|---|---|
| deepseek-v3.1 (this model)DeepSeek | $0.1625 input / $0.6175 output per 1M tokens | 128,000 tokens | No |
| deepseek-v3.2DeepSeek | $0.402448 input / $1.200852 output per 1M tokens | 160,000 tokens | No |
| deepseek-v3.2-thinkingDeepSeek | $0.182 input / $0.273 output per 1M tokens | 128,000 tokens | No |
| deepseek-v4-flash |
/v1/chat/completionsreasoning.excludemax_tokensreasoningresponse_formatstoptemperaturetool_choicetools/v1/messagesmax_tokensthinkingoutput_config.formatstop_sequences/v1/responsesmax_output_tokensreasoningtext.formattemperatureCompare recorded quotes and the hours with the highest observed discounts.
This model’s recorded quotes averaged 35.0% below recorded reference prices across the selected range. Its strongest observed window was Any observed hour in UTC.
Average quoted discount
35.0%
Highest discount time
Any observed hour
Hourly coverage
24/24
Signal quality
Growing
Hover a bar for recorded unit discounts and observation counts.
Source buckets are UTC; labels are converted to UTC.
Last 24 hours
Unavailable
Activity could not be loaded
Last 7 days
Unavailable
Activity could not be loaded
Last 30 days
Unavailable
Activity could not be loaded
| $0.1275 input / $0.51 output per 1M tokens |
| 1,000,000 tokens |
| No |
temperaturetool_choicetoolstool_choicetools