API 状态:所有系统运行正常

一个 key 调用 GPT、Claude、Gemini、图片和视频模型。

原生 + OpenAI 兼容路由同一平台搞定;模型挂了自动切换,错误信息能让 agent 自己修,还能省下 30–70% API 成本。

问 TokenLab Agent
对话由 TokenLab 提供
看实时演示
·
原生 + 兼容
·
数百个模型
·
便宜 30–70%

实时演示

告别盲猜, 直接上手调试。

忘掉冗长的 API 文档。我们在控制台为你准备了文本对话、图像生成与视频任务的实时沙盒。端点配置、参数传递和 JSON 返回结果一目了然,所见即所得。

请求
POST /v1/chat/completions
{
"model": "gpt-5.5",
"messages": [
{
"role": "user",
"content": "Summarize this release note"
}
]
}
响应

模型能做什么

拒绝“盲盒式” 选模型。

模型不该只是一串冰冷的名字。我们提供图像和视频示例预览,让你在敲下代码前,就能直观比较风格、厂商与成本。

Colorful abstract 3D artwork with glass shapes
flux-2-proBFL

Editorial product render with layered translucent UI forms

sora-2-proOpenAI

Animated scene with camera motion and character action

Modern workspace with desks and large windows
imagen-4-ultraGoogle

Photoreal workspace hero for a developer tool

kling-v3.0-proKuaishou

Macro flower motion with shallow depth of field

Night city skyline with illuminated buildings
grok-imagine-imagexAI

High-contrast night city concept frame

Abstract matrix-like code visualization
wan-2-7-image-proAlibaba

Sharp technical poster with code texture

veo-3Google

Cinematic trailer cut with atmospheric motion

runway-gen-4Runway

Live-action street interview shot with natural motion

定价

零门槛起步, 见效后再付费。

注册即享免费测试额度。先用少量真实 API 请求验证稳定性和适配度;准备好扩大规模后,再按需充值。

01

内置试用额度

注册后即可获得免费 API 额度。先跑几个真实请求,再决定是否充值。

02

真正按量付费

没有订阅,也没有套餐门槛。只按实际消耗的 token 计费,并可在控制面板实时追踪。

03

价格完全透明

每个模型的 token 单价都公开,没有隐藏加价。做路由决策前可以清楚比较成本。

FAQ

常见问题

TokenLab 是什么?

一个 AI 网关:一个 key 调通 GPT、Claude、Gemini 等 200+ 模型,比官方便宜 30–70%。

怎么计费?

按 token 付费,没有别的。大多数模型比直接调官方便宜 30–70%,调用前就能看到确切价格。

可以使用 OpenAI 兼容 SDK 吗?

可以。现有 OpenAI 兼容 SDK 基本不用重写,只要把 Base URL 改到 TokenLab 的,并使用 TokenLab API Key 即可。Claude、Gemini 的提示缓存、思考模式等原生能力,建议使用对应的原生路由,这样能力更完整,也更少遇到格式限制。

有免费试用吗?

新账号自带额度。接上 API,跑几个真实请求,看看合不合适。