DeepSeek v4 Pro
deepseek-v4-proOpen MoE flagship with million-token context for coding and long agent runs. It supports tool calling and cached-input billing. Call it through the chat completions endpoint with a messages array. Use it for repository-scale coding, multi-step agents, and long-document analysis that need the strongest DeepSeek quality.
Reference route pricing
Route source: TokenUs
- Input / Output
- Input: $0.044Output: $0.087
- Cache read / write
- Cache read: $0.000348Cache write: Price not supplied
- Context / Max output
- 1000K / —
- Live routes
- 3
Rates / 1M tokens
Image output: Price not supplied
Auto provider is not confirmed. Select a route before relying on these rates.
On this page
Overview
Open MoE flagship with million-token context for coding and long agent runs. It supports tool calling and cached-input billing. Call it through the chat completions endpoint with a messages array. Use it for repository-scale coding, multi-step agents, and long-document analysis that need the strongest DeepSeek quality.
Playground
Sample response
Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.044 / 1M tokens Output $0.087 Cache read $0.000348 Cache write — | — | — | Community | |
Live | Input $0.621 / 1M tokens Output $1.862 Cache read $0.021 Cache write — | 1489ms | — | Verified | |
Live | Input $0.652 / 1M tokens Output $1.955 Cache read $0.021 Cache write — | 0ms | — | Verified |
- Input
- $0.044
- Output
- $0.087
- Cache read
- $0.000348
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/chat/completions- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
messages | array | [{"role":"user","content":"Hello!"}] | No | messages |
No required parameters returned.
Request example
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'Response example
No response example is configured for this endpoint. Run a request in Playground to see a live response.
Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.Examples
Request example
POST /v1/chat/completionscurl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'