TokenLX
QWEN

alibaba/deepseek-v3

128K  context$0.3/M tokens input$1.18/M tokens output33.8B  tokens servedText

Open-weight DeepSeek V3 — MoE architecture delivering frontier-adjacent quality at a fraction of the cost.

Key strengths

  • Very cost-efficient
  • Strong coding + math
  • Good tool / function use
  • Open weights available

Use cases

  • Cost-sensitive backends
  • Code generation
  • Math problem solving
  • Self-hosted alternatives
open-weightcheapcoding

Alibaba's alibaba/deepseek-v3 is a frontier text generation model in the Qwen family. It excels at complex reasoning, agentic workflows, code generation, and long-form writing tasks, with native support for streaming, tool calling, JSON mode, and multi-turn conversations.

The model handles long-context inputs gracefully and is particularly effective for software engineering, multi-step research, and end-to-end project execution. Its tokenizer and pricing are optimized for high-throughput production workloads, with a competitive cost profile relative to other models in its tier.

alibaba/deepseek-v3 is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.

Performance

Compare different providers across TokenLX · All locations.

Throughput
59
tok/s
Latency
93
ms
E2E Latency
157
ms
Tool Call Errors
0.07
%
Output Errors
0.40
%
Time to First Token
71
ms

Effective Pricing

Actual cost per million tokens across providers over the past 7 days.

Input
$0.3
per 1M tokens
7d agotoday
Output
$1.18
per 1M tokens
7d agotoday
Reasoning
$1.18
per 1M tokens
7d agotoday

Recent activity

Total usage per day on TokenLX (last 30 days).

Prompt
10.10B
Completion
23.73B
Reasoning
2.85B
30d ago15d agotoday

Sample code & API

TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokenlx.ai/v1",
    api_key="sk-tokenlx-...",
)

# Non-streaming
response = client.chat.completions.create(
    model="deepseek-v3",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)
print(response.choices[0].message.content)

# Streaming
stream = client.chat.completions.create(
    model="deepseek-v3",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="", flush=True)

Replace sk-aihubrouter-… with your key from the dashboard.