Modelos de textoDeepSeek
DeepSeek V4 Pro
Referência da API do DeepSeek V4 Pro para geração de texto: janela de contexto, campos de solicitação, preço por token e exemplos compatíveis com OpenAI.
POST
/v1/chat/completionsdeepseek-v4-pro is a currently public China-region text model for high-quality complex-task generation.
Actual parameters must follow the schema.fields returned by GET /v1/models.
Quick Facts
| Item | Value |
|---|---|
| Model ID | deepseek-v4-pro |
| Type | Text |
| Region | CN |
| Best For | high-quality complex-task generation |
Recommended Request Shape
Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.
{"model":"deepseek-v4-pro","input":"Write a launch announcement","stream":false}Field Reference
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be deepseek-v4-pro |
input | string | Yes | User input content |
stream | boolean | Schema-dependent | Whether to stream |
max_output_tokens | integer | Schema-dependent | Maximum output tokens |
Current Public Price
| Charge | Credits / 1M tokens |
|---|---|
| Input | 25.84 |
| Output | 77.6 |
| Cache read/write | 0 / 0 |
Parameters and pricing
- Do not send
reasoning,temperature, or other fields unless the model schema declares them. - Use
/v1/quoteas the final pricing authority.
Smallest Example
{"model":"deepseek-v4-pro","input":"Write a launch announcement"}
