API de DeepSeek en Novita AI

Crea tu próxima idea.Con DeepSeek

Razona, programa, crea y comprende documentos. Encuentra el modelo DeepSeek adecuado para tu tarea. Empieza a crear con una sola API.

  • Compatible con OpenAI
  • Paga por token
  • Elección flexible de modelo
Versiones de los modelos DeepSeek
9
Ventana de contexto máx.
1M
Casos de uso principales
4
Serverless. Sin GPUs que gestionar.
Paga por uso

Built for your next task

What will you build with DeepSeek?

Start with your task. Find your model.

The DeepSeek collection

A model for every kind of task.

Explore all models

All models · 9 versions · Showing 6

  • DeepSeek V4.1 FlashEveryday choice

    DeepSeek V4.1 Flash

    deepseek/deepseek-v4.1-flash

    Text and image input with chat, reasoning, and tool calling. A versatile starting point for everyday tasks.

    • General chat
    • Image understanding
    • Tool calling
    Context
    1M
    Max output
    384K
    Input
    $0.3
    Output
    $1.2
  • DeepSeek V4.1 Flash 10171017 version

    DeepSeek V4.1 Flash 1017

    deepseek/deepseek-v4.1-flash-1017

    The 1017 version of V4.1 Flash, with text and image input for chat and multimodal understanding.

    • Text & images
    • Tool calling
    • 1017 version
    Context
    1M
    Max output
    384K
    Input
    $0.3
    Output
    $1.2
    Details & playground: DeepSeek V4.1 Flash 1017
  • DeepSeek V4 Pro 08130813 version

    DeepSeek V4 Pro 0813

    deepseek/deepseek-v4-pro-0813

    The 0813 version of V4 Pro, with reasoning, structured output, and tool calling. Compare it with other Pro versions.

    • Complex reasoning
    • Tool calling
    • 0813 version
    Context
    1M
    Max output
    384K
    Input
    $1.32
    Output
    $3.96
    Details & playground: DeepSeek V4 Pro 0813
  • DeepSeek V4 Flash 0731Coding & agents

    DeepSeek V4 Flash 0731

    deepseek/deepseek-v4-flash-0731

    The 0731 revision of V4 Flash, suited to coding, reasoning, and agent workflows with tool calling.

    • Code generation
    • Agent workflows
    • Long context
    Context
    1M
    Max output
    384K
    Input
    $0.44
    Output
    $1.32
    Details & playground: DeepSeek V4 Flash 0731
  • DeepSeek V4 ProComplex tasks

    DeepSeek V4 Pro

    deepseek/deepseek-v4-pro

    Built for complex coding, mathematical reasoning, and multi-step agents, with long context and structured output.

    • Agentic coding
    • Complex reasoning
    • Tool calling
    Context
    1M
    Max output
    384K
    Input
    $1.6
    Output
    $3.2
  • DeepSeek OCR 2Document specialist

    DeepSeek OCR 2

    deepseek/deepseek-ocr-2

    Extract text and reading order from images and complex documents for search, organization, and knowledge bases.

    • Document recognition
    • Layout understanding
    • Image to text
    Context
    8K
    Max output
    8K
    Input
    $0.03
    Output
    $0.03

USD / 1M tokens · Live pricing from the Novita model catalog.

Not sure where to start? Try Flash for everyday tasks, R1 or Pro for complex reasoning, and OCR 2 for scanned documents.

Less setup. More building.

Your first API call. Start right here.

Use the OpenAI SDK you already know. Connect to the DeepSeek model you need.

  1. 01
    Create a Novita account

    Open the console and create your API key.

  2. 02
    Choose your model

    Copy the model ID and set your API endpoint.

  3. 03
    Make a request. Start building.

    Check your balance and model pricing, then send a request.

Copy code
# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["NOVITA_API_KEY"],
    base_url="https://api.novita.ai/openai",
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Explain how an API works."}],
    max_tokens=2048,
)
print(response.choices[0].message.content)

OpenAI-compatible API · Set your key via an environment variable

Buenas preguntas. Respuestas claras.

Bueno saberlo antes de empezar a crear.

Explorar la documentación
¿Qué modelo de DeepSeek debería elegir?

Empieza con tu tarea: prueba V4.1 Flash para el chat cotidiano, compara R1 y V4 Pro para razonamiento complejo, matemáticas y programación, o elige OCR 2 para reconocimiento de documentos. Luego evalúa la longitud de contexto, el precio y los resultados con tu propia carga de trabajo.

¿Esta página incluye todas las versiones de DeepSeek?

Esta página muestra todos los modelos DeepSeek disponibles actualmente en el catálogo de Novita, incluidos los que se ejecutan con despliegue bajo demanda. Las versiones retiradas no aparecen.

¿Puedo usar el SDK de OpenAI?

Sí. Configura base_url como https://api.novita.ai/openai, usa tu clave de API de Novita y especifica el ID del modelo desde su página de detalles. La compatibilidad con llamadas a herramientas, salida estructurada y otras funciones varía según el modelo.

¿Cómo funcionan los precios? ¿Necesito implementar un modelo?

Los modelos Serverless se facturan por uso de tokens, de entrada y de salida, sin despliegues que gestionar. El precio de lectura de caché varía según el modelo. Los modelos marcados como despliegue bajo demanda se ejecutan en un despliegue dedicado; consulta sus páginas de modelo para ver las opciones.

¿Puedo crear un asistente de conocimiento con DeepSeek?

Sí. Usa un modelo de embeddings para indexar y recuperar el texto relevante, y luego pasa el contexto recuperado a DeepSeek para generar una respuesta. Los documentos escaneados pueden pasar primero por OCR. Evalúa la calidad de las respuestas con tus propios datos de negocio.

Tu próxima idea empieza aquí

El modelo adecuado. Tu próxima gran idea.

Desde tu primera llamada a la API hasta tu próxima aplicación de IA.

Crea con DeepSeek