Models / DeepSeek

DeepSeek V4

$0.3/Mtok in

Open-weight frontier-adjacent reasoning at commodity prices.

Playground

Try it in the browser

Playground$0.3 in / $0.9 out per 1M tokens
≈ $0.0009

Facts

At a glance

Availability

Live

Pricing

$0.3 / M input · $0.9 / M output

Endpoint

Chat Completions

/v1/chat/completions

Context window

128k tokens

API

Call it from code

import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.companyfabric.com/v1",
  apiKey: process.env.COMPANYFABRIC_API_KEY,
})

const res = await client.chat.completions.create({
  model: "deepseek/deepseek-v4",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

Prompt library

Example runs

Solve and explain: a train leaves at…

This exact run cost $0.001

FAQ

Frequently asked questions

How much does DeepSeek V4 cost?

$0.3 / M input · $0.9 / M output. The exact cost of each call is shown before you run it and metered to your prepaid balance — no subscription required.

Why use DeepSeek V4 on CompanyFabric instead of going direct?

One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.

Is DeepSeek V4 available through the OpenAI SDK?

Yes — point any OpenAI SDK at api.companyfabric.com/v1 and set model to "deepseek/deepseek-v4".

Explore

Related model APIs

One key. Every model. Exact prices.

Run DeepSeek V4 with free starter credits. Free starter credits included — no subscription required.