deepseek-v4-pro API

streamingreasoning

deepseek-v4-pro is DeepSeek's flagship reasoning model with a 1M-token context window. On CaMeL Hub you call it through the OpenAI-compatible API at https://api.camel-hub.com/v1 for $3 per 1M input tokens and $6 per 1M output tokens — one API key, no separate DeepSeek account required.

Pricing

per 1M input tokensper 1M output tokens
CaMeL Hub$3.00$6.00
Provider list price$0.435$0.87

Prices are the public default-group rate in USD per 1M tokens; input and output are billed separately. · Provider list price · verified 2026-07-11

Specifications

Provider
DeepSeek
Context window
1000000 tokens
Max output
384000 tokens
Capabilities
streaming, reasoning
Endpoints
openai
DeepSeek's V4 generation splits into two tiers, and deepseek-v4-pro is the deep-reasoning one: it is built for problems where answer quality matters more than raw latency. Thinking mode is a first-class feature — the model works through intermediate reasoning before committing to an answer, which pays off on multi-step math, subtle debugging, and analysis tasks that punish shortcut answers. The context budget is the other headline. DeepSeek documents a 1M-token context length and up to 384K output tokens for this model, so entire repositories, book-length documents, or multi-file evidence bundles fit into a single request — and the model can produce genuinely long deliverables such as full reports or exhaustive reviews instead of being cut off after a few thousand tokens. Long input, very long output, and deliberate reasoning together are v4-pro's signature combination. On CaMeL Hub, deepseek-v4-pro is billed per token: $3 per 1M input tokens and $6 per 1M output tokens. As with any reasoning-tier model, it spends tokens thinking before the final answer appears, so budget for both latency and output tokens — enabling streaming (stream: true) keeps the wait usable. It runs behind the same OpenAI-compatible endpoint as every other model on the platform: point an existing OpenAI SDK at https://api.camel-hub.com/v1, set the model string to deepseek-v4-pro, and no other integration work is needed.

What it is good for

Quickstart

OpenAI-compatible: set base_url to https://api.camel-hub.com/v1 and use your CaMeL Hub API key. No SDK changes needed.

cURL

curl https://api.camel-hub.com/v1/chat/completions \
  -H "Authorization: Bearer $CAMEL_HUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    api_key="$CAMEL_HUB_KEY",
    base_url="https://api.camel-hub.com/v1",  # <-- the only change vs. the OpenAI default
)

resp = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.CAMEL_HUB_KEY,
  baseURL: "https://api.camel-hub.com/v1", // <-- the only change vs. the OpenAI default
});

const resp = await client.chat.completions.create({
  model: "deepseek-v4-pro",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);

Get an API key Browse integration guides

Frequently asked questions

How is deepseek-v4-pro billed on CaMeL Hub?

Input and output tokens are metered separately: $3 per 1M input tokens and $6 per 1M output tokens. Everything the model returns — including reasoning it emits before the final answer — counts as output. The usage field in each response reports the exact token counts you were charged for.

Does deepseek-v4-pro support streaming and reasoning?

Yes to both. Pass stream: true for token-by-token streaming — recommended, because a reasoning model can think for a while before the final answer starts. Deep reasoning (thinking mode) is the model's core capability and works through the standard chat completions API; no special endpoint is needed.

What are the context window and output limits?

DeepSeek's documentation lists a 1M-token context length and a maximum of 384K output tokens for deepseek-v4-pro. In practice that means book-length inputs and report-length outputs are possible in a single call.

How do I start using deepseek-v4-pro?

Create an account at https://api.camel-hub.com/console, generate an API key, then point any OpenAI-compatible SDK at base_url https://api.camel-hub.com/v1 with model "deepseek-v4-pro". Existing OpenAI client code needs no other changes. Top-ups support Alipay, WeChat Pay, and international cards.

When should I pick deepseek-v4-pro over deepseek-v4-flash?

Pick v4-pro when reasoning depth is the bottleneck: competition-grade math, subtle code defects, high-stakes analysis. deepseek-v4-flash is the speed-oriented tier for everyday, high-volume tasks. Both are served through the same CaMeL Hub endpoint, so switching is a one-line model-name change.

More from DeepSeek

DeepSeek

deepseek-v3

Compare with other models