DeepSeek V4.1 Flash (1017 snapshot), hosted by Mistral and served over the direct Mistral API - a 1M-token context window, image input and function calling, with very cheap cached input.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 557 | $0.37 |
| Output Tokens | 2,230 | $1.49 |
| Cached Tokens | 13.006 | $0.01 |
* 1,500 credits โ $1 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/mistral/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "deepseek-v4-1-flash-1017",
"messages": [
{
"role": "user",
"content": "๋ค์ ๋ณด๊ณ ์๋ฅผ ๋ค์ฏ ์ค๋ก ์์ฝํด ์ค."
}
],
"max_tokens": 4096
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Chat messages in OpenAI format (system/user/assistant roles). |
max_tokens | integer | No | - | Maximum completion tokens. |
temperature | number | No | - | Sampling temperature. |
tools | array | No | - | Function definitions the model may call (OpenAI tools format). |
response_format | object | No | - | json_object or json_schema for structured output. |
stream | boolean | No | false | Stream the response as server-sent events. |
OpenAI-compatible chat completion over the direct Mistral route
curl -X POST "https://api.core.today/llm/mistral/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "deepseek-v4-1-flash-1017",
"messages": [
{
"role": "user",
"content": "๋ค์ ๋ณด๊ณ ์๋ฅผ ๋ค์ฏ ์ค๋ก ์์ฝํด ์ค."
}
],
"max_tokens": 4096
}'POST /llm/mistral/v1/chat/completions