DeepSeek API Gateway

OpenAI-compatible access to DeepSeek models. Drop-in replacement — change the URL, keep your code.

PayPal Checkout — Live

What is this?

A managed API endpoint that forwards your requests to DeepSeek models using standard OpenAI format. If your code works with the OpenAI Python SDK, it works here.

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://modelrelayapis.cc/v1",
    api_key="sk-gateway-YOUR-KEY",
)

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

Same openai package. No new SDK.

Supported Models

  • deepseek-v4-flash — Fast and cost-effective
  • deepseek-v4-pro — Higher capability for complex tasks

What You Get

  • OpenAI-compatible API — Zero code changes beyond base_url and key.
  • Streaming — SSE streaming works out of the box.
  • Budget-based billing — Pay for API budget. Billed by real token pricing (cache-hit, cache-miss, output).
  • Per-key rate limiting — Predictable performance per user.
  • Usage dashboard — Check your balance anytime with your key.

Plans

Trial

$1.0
$0.70 API budget

Starter

$3.0
$2.30 API budget

Standard

$6.0
$4.80 API budget

Pro

$6.0
$3.80 budget + pro model

Get Started

Choose a plan, pay with PayPal, get your API key instantly. Check usage anytime.

View Plans & Buy

FAQ

Can I use the standard OpenAI Python SDK?

Yes. Set base_url to our endpoint and pass your gateway key.

How is billing calculated?

Billed by actual DeepSeek token pricing: input cache-hit $0.014/M, input cache-miss $0.14/M, output $0.28/M (flash). Pro costs more. Your budget decreases with each request.

What happens when my budget runs out?

You will receive HTTP 402 and your key becomes exhausted. Buy a new package to continue.

Is there a rate limit?

Yes. Each key has a per-minute limit (30 or 60 RPM depending on plan). Exceeding returns HTTP 429.

Independent third-party API gateway. Not affiliated with DeepSeek.

DeepSeek API 网关

OpenAI 兼容格式的 DeepSeek API 接入。换 URL 即可,无需改代码。

PayPal 支付 — 正式运营中

这是什么?

一个托管 API 端点,把你的请求以 OpenAI 格式转发到 DeepSeek 模型。如果你的代码已经使用 OpenAI Python SDK,直接换 base_url 和 key 就能用。

快速开始

from openai import OpenAI

client = OpenAI(
    base_url="https://modelrelayapis.cc/v1",
    api_key="sk-gateway-YOUR-KEY",
)

response = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "你好"}],
)
print(response.choices[0].message.content)

就是你正在用的 openai 包,无需额外安装。

支持模型

  • deepseek-v4-flash — 快速、高性价比
  • deepseek-v4-pro — 更强能力,适合复杂任务

你获得什么

  • OpenAI 兼容 API — 只改 base_url 和 key,零代码改动。
  • 流式输出 — SSE 流式传输开箱即用。
  • 预算制计费 — 购买 API 预算额度,按真实 token 价格(缓存命中/未命中/输出)扣费。
  • 独立限流 — 每个 key 有独立 RPM 限制,互不影响。
  • 用量面板 — 随时用 key 查询余额和消耗明细。

套餐

试用

$1.0
$0.70 API 预算

入门

$3.0
$2.30 API 预算

标准

$6.0
$4.80 API 预算

专业

$6.0
$3.80 预算 + pro 模型

开始使用

选择套餐,PayPal 付款,即刻获取 API Key。随时查看用量。

查看套餐并购买

常见问题

能用标准的 OpenAI Python SDK 吗?

可以。把 base_url 设为我们的端点,传入你的 gateway key 即可。

怎么计费?

按 DeepSeek 官方 token 价格计费:输入缓存命中 $0.014/M,输入缓存未命中 $0.14/M,输出 $0.28/M(flash 模型)。Pro 更贵。每次请求从预算中扣除。

预算用完了怎么办?

会收到 HTTP 402,key 状态变为"已耗尽"。购买新套餐即可继续使用。

有限流吗?

有。每个 key 有每分钟请求上限(30 或 60 RPM,视套餐而定)。超限返回 HTTP 429。

独立第三方 API 网关,非 DeepSeek 官方服务。