New

    Introducing AutoEvals: Find the right model for your task

    DeepSeekText Generation Model

    DeepSeek V4 Pro

    DeepSeek's flagship open-weight reasoning model: a large sparse Mixture-of-Experts with a 1M-token context window. At high reasoning effort it ranks among the strongest open models on math and coding, at pricing far below closed frontier peers.

    import OpenAI from "openai";
    
    const openai = new OpenAI({
      baseURL: "https://api.inference.net/v1",
      apiKey: "<YOUR_API_KEY>",
    });
    
    const completion = await openai.chat.completions.create({
      model: "deepseek-v4-pro",
      messages: [
        {
          role: "user",
          content: "What is the meaning of life?"
        }
      ],
      stream: true,
    });
    
    for await (const chunk of completion) {
      process.stdout.write(chunk.choices[0]?.delta.content as string);
    }

    Start building with DeepSeek V4 Pro today

    Serverless, OpenAI-compatible, and billed per token. No commitments.