开发者 · APIDevelopers · API

5 分钟拿到 Key,10 分钟跑起来Key in 5 minutes. Running in 10.

兼容 OpenAI Chat Completions 协议,按 token 计费,0 起步价。OpenAI Chat Completions compatible. Per-token billing. Zero starting cost.

覆盖 GPT-4o / Claude Sonnet 4.6 / Gemini 1.5 / DeepSeek V3 / Qwen 2.5 — 一个 Key 全部能用。One key covers GPT-4o / Claude Sonnet 4.6 / Gemini 1.5 / DeepSeek V3 / Qwen 2.5.

注册 API KeyGet API Key

跳转到 New API 控制台opens New API console

接入Integrate

4 步把 Key 填进客户端4 steps to wire the key

1

注册账号Create account

邮箱注册,自动赠送 1 元试用额度。Sign up with email — ¥1 trial credit included.

2

生成 KeyGenerate key

控制台 → API Key → 新建,复制 sk-... 字串。Console → API Key → New. Copy the sk-... string.

3

填入客户端Paste into app

TongdaAI → 设置 → API Key → 粘贴 → 保存。TongdaAI → Settings → API Key → paste → save.

4

开始使用Start working

开新会话,让 Agent 干活。Open a new session and let the agent run.

SDK 示例SDK sample

OpenAI 客户端零改动Drop-in for the OpenAI SDK

把 base_url 换成我们的端点,api_key 换成新的 Key,模型名留 gpt-4o 或换成 deepseek-v3 — 其他代码完全不动。 Swap the base_url to our endpoint, swap the key. Keep gpt-4o or switch to deepseek-v3. The rest of your code is untouched.

  • 支持 OpenAI / Anthropic / Google 三套协议OpenAI / Anthropic / Google protocols supported
  • 函数调用 / 流式 / 视觉输入全支持Function calling / streaming / vision all supported
  • 支持模型 fallback 与失败自动重试Model fallback + automatic retry on failure
python javascript curl
from openai import OpenAI client = OpenAI( api_key="sk-...", base_url="https://api.tongdaai.com/v1", ) resp = client.chat.completions.create( model="gpt-4o", messages=[ {"role": "user", "content": "Hello!"}, ], ) print(resp.choices[0].message.content)
计费Pricing

用多少付多少Pay for what you use

无月费、无最低消费。按 token 实时扣费,控制台可见每一次调用。No monthly fee. No minimum. Tokens billed in real time, every call visible in console.

体验版Trial

注册即送,验证想法用Free on signup, for trying it out

¥1 额度credit
  • ~50 万 token (GPT-4o)~500k tokens (GPT-4o)
  • 全模型可用All models accessible
  • RPM 6060 RPM
注册领取Claim it

企业版Enterprise

团队管理、SSO、私有化Team management, SSO, on-prem

商务议价Custom
  • 用量上限自定义Custom quota limits
  • SSO / SCIM / 审计日志SSO / SCIM / audit log
  • SLA + 专属支持SLA + dedicated support
  • 支持私有化部署On-prem deployment available
联系销售Contact sales

常用模型价格Common model pricing

每 1M tokens · 实时同步官方价 · 2026-05-24 更新Per 1M tokens · synced with provider rate · updated 2026-05-24

USD → CNY @ 7.20
模型Model 提供方Provider 输入Input 输出Output 上下文Context
claude-opus-4-7Anthropic$15.00$75.00200K
claude-sonnet-4-6Anthropic$3.00$15.00200K
gpt-4oOpenAI$2.50$10.00128K
gpt-4o-miniOpenAI$0.15$0.60128K
gemini-1.5-proGoogle$1.25$5.002M
deepseek-v3DeepSeek¥1.00¥8.0064K
qwen2.5-72bAliyun¥4.00¥12.00128K

5 分钟后你的客户端就跑起来了Your client is running in 5 minutes