One AI API · OpenAI-compatible

DeepSeek models. One API key.

A unified OpenAI-compatible gateway for leading Chinese LLMs. Connect your existing OpenAI SDK, Cursor, Cline or LangChain — one key, prepaid billing, real-time spend.

2
models
128K
context window
1
API key
$0.5
free trial

Your existing OpenAI code just changes base_url and key:

import openai

client = openai.OpenAI(
    api_key="sk-your-key",
    base_url="https://api.tokiq.dev/v1",
)

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

Model Market

Every model is served through the same OpenAI /v1 endpoint, so switching models is a one-line change.

Chat · General purpose

deepseek-chat

Fast, general-purpose chat model for everyday apps, agents and tool calling. Streaming and JSON mode.

Input$0.27 / 1M input
Output$0.42 / 1M output
Try it
Reasoning · Long thinking

deepseek-reasoner

Extended-reasoning model for math, code and complex analysis. Long thinking chains with full streaming.

Input$0.55 / 1M input
Output$2.19 / 1M output
Try it

Built for shipping AI features

Everything you need to offer or use DeepSeek models through a standard interface.

Drop-in OpenAI SDK

openai, Cursor, Cline, LangChain and every client with a custom base_url work unchanged.

deepseek-chat + reasoner

Both chat and long-reasoning models, with 128K context and streaming.

Per-key budgets

Every account gets its own virtual key with a hard spend cap. Top up any time.

Prepaid, no subscription

Pay $5 / $20 / $50 packs. $1 of balance is $1 of model spend. Never expires.

HTTPS + Cloudflare edge

TLS everywhere, Cloudflare DDoS protection, and SSE streaming with long timeouts.

Self-serve keys

Keys are created automatically at signup. Rotate or revoke them from your dashboard.

Three steps to your first call

  1. 1

    Sign up

    Create an account — a virtual API key with $0.50 trial balance is minted for you instantly.

  2. 2

    Copy your key

    Find your sk-… key in the dashboard. Top up balance when you need more.

  3. 3

    Call the API

    Point your OpenAI client at https://api.tokiq.dev/v1 and use deepseek-chat or deepseek-reasoner.

Start building with DeepSeek today

Sign up in under a minute, get a funded key, and make your first call without touching any SDK.

Frequently asked questions

Which models are available?

deepseek-chat (general chat) and deepseek-reasoner (long reasoning / R1). Both are served through the same OpenAI /v1 endpoint.

Is it really OpenAI-compatible?

Yes. The gateway exposes /v1/chat/completions and /v1/models exactly like OpenAI, so the official openai Python/Node SDKs work with only api_key and base_url changed.

How does billing work?

Prepaid. You buy a $5, $20 or $50 pack and the balance is added to your key budget. Spend is tracked in real time; $1 of balance equals $1 of model spend.

Can I use it in Cursor, Cline or LangChain?

Yes — any tool that accepts a custom OpenAI base URL. Set base_url to https://api.tokiq.dev/v1 and paste your key.

What happens when my balance runs out?

Requests return a 429 budget-exceeded error until you top up. Your key stays valid; just add a pack and keep going.

Tokiq