Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
D

DeepSeek-V3

Entrada:$0.216/M
Saída:$0.88/M
Lançado:Oct 1, 2025

O modelo DeepSeek-V3 mais popular e com melhor custo-benefício. Versão completa de 671B. Este modelo suporta um comprimento máximo de contexto de 64,000 tokens.

Uso comercial

Playground para DeepSeek-V3

Explore o Playground do DeepSeek-V3 — um ambiente interativo para testar modelos e executar consultas em tempo real. Experimente prompts, ajuste parâmetros e itere instantaneamente para acelerar o desenvolvimento e validar casos de uso.

Technical Specifications of deepseek-v3

SpecificationDetails
Model IDdeepseek-v3
ProviderDeepSeek
Model typeLarge language model
Context length64,000 tokens
Version671B full-blood version
PositioningMost popular and cost-effective DeepSeek-V3 model

What is deepseek-v3?

deepseek-v3 is the most popular and cost-effective DeepSeek-V3 model available through CometAPI. It is the 671B full-blood version and is designed for users who want strong general-purpose language capabilities while maintaining efficient usage costs.

With a maximum context length of 64,000 tokens, deepseek-v3 is well suited for extended conversations, long-document analysis, code understanding, content generation, and complex multi-step reasoning workflows. It offers a practical balance between performance, scale, and affordability for developers building production AI applications.

Main features of deepseek-v3

  • Cost-effective performance: Designed to deliver strong model capability at an efficient price point for a wide range of applications.
  • Popular deployment choice: Positioned as the most popular DeepSeek-V3 option for teams seeking a reliable default model.
  • 671B full-blood version: Provides the full-scale DeepSeek-V3 experience for demanding language and reasoning tasks.
  • Long context support: Handles up to 64,000 tokens, making it suitable for large prompts, long conversations, and document-heavy workflows.
  • General-purpose versatility: Can be used for chatbots, summarization, writing assistance, coding tasks, analysis, and enterprise integrations.
  • Production-friendly access: Available through CometAPI with a standardized API experience that simplifies integration.

How to access and integrate deepseek-v3

Step 1: Sign Up for API Key

First, sign up for a CometAPI account and generate your API key from the dashboard. After you have your API credentials, store the key securely and use it to authenticate every request you send to the API.

Step 2: Send Requests to deepseek-v3 API

Once you have your API key, you can call the CometAPI chat completions endpoint and specify deepseek-v3 as the model.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_COMETAPI_KEY" \
  -d '{
    "model": "deepseek-v3",
    "messages": [
      {
        "role": "user",
        "content": "Explain the benefits of long-context language models."
      }
    ]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_COMETAPI_KEY",
    base_url="https://api.cometapi.com/v1"
)

response = client.chat.completions.create(
    model="deepseek-v3",
    messages=[
        {"role": "user", "content": "Explain the benefits of long-context language models."}
    ]
)

print(response.choices[0].message.content)

Step 3: Retrieve and Verify Results

After receiving the response, parse the returned output from the first choice in the completion object. You can then validate the content based on your application logic, store structured results if needed, and present the final output to end users or downstream systems.

Preços para DeepSeek-V3

Explore preços competitivos para DeepSeek-V3, projetado para atender diversos orçamentos e necessidades de uso. Nossos planos flexíveis garantem que você pague apenas pelo que usar, facilitando o dimensionamento conforme suas necessidades crescem. Descubra como DeepSeek-V3 pode aprimorar seus projetos mantendo os custos gerenciáveis.

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
deepseek-v3
Entrada:$0.216/M
Saída:$0.88/M
Entrada:$0.27/M
Saída:$1.1/M
-20%
deepseek-v3-1-250821
Entrada:$0.44/M
Saída:$1.32/M
Entrada:$0.55/M
Saída:$1.65/M
-20%
deepseek-v3-250324
Entrada:$0.216/M
Saída:$0.88/M
Entrada:$0.27/M
Saída:$1.1/M
-20%
deepseek-v3.1
Entrada:$0.44/M
Saída:$1.32/M
Entrada:$0.55/M
Saída:$1.65/M
-20%
deepseek-v3.2
Entrada:$0.216/M
Saída:$0.3456/M
Entrada:$0.27/M
Saída:$0.432/M
-20%
deepseek-v3.2-exp
Entrada:$0.216/M
Saída:$0.3456/M
Entrada:$0.27/M
Saída:$0.432/M
-20%

Código de exemplo e API para DeepSeek-V3

Acesse código de exemplo abrangente e recursos de API para DeepSeek-V3 para otimizar seu processo de integração. Nossa documentação detalhada fornece orientação passo a passo, ajudando você a aproveitar todo o potencial do DeepSeek-V3 em seus projetos.

curl https://api.cometapi.com/v1/chat/completions \
     --header "Authorization: Bearer $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "deepseek-v3",
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"}
    ]
}'

cURL Code Example

curl https://api.cometapi.com/v1/chat/completions \
     --header "Authorization: Bearer $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "deepseek-v3",
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"}
    ]
}'

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

completion = client.chat.completions.create(
    model="deepseek-v3",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)

print(completion.choices[0].message.content)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const completion = await openai.chat.completions.create({
  model: "deepseek-v3",
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "Hello!" },
  ],
});

console.log(completion.choices[0].message.content);

Versões do DeepSeek-V3

O motivo pelo qual DeepSeek-V3 possui múltiplas versões instantâneas pode incluir fatores como variações na saída após atualizações que exigem versões antigas para consistência, fornecendo aos desenvolvedores um período de transição para adaptação e migração, e diferentes versões correspondentes a endpoints globais ou regionais para otimizar a experiência do usuário. Para diferenças detalhadas entre versões, consulte a documentação oficial.

Version
deepseek-v3
deepseek-v3-1-250821
deepseek-v3-250324
deepseek-v3.1
deepseek-v3.2
deepseek-v3.2-exp