Access
How to connect a model to a work app or a phone
Searches like “how do I use a model on my phone” and “how do I add a model to my work app” mix three different things: a vendor’s official app, a third-party chat client, and software that can point at a custom API. TodAPI sits in the third group — an OpenAI-compatible gateway. It is not an official DeepSeek or Zhipu application, and this page does not certify any particular mobile client.
中文说明见 如何给工作应用或手机接入模型。
Three paths (do not mix them up)
- Official vendor apps and official APIs. DeepSeek’s public API docs describe an OpenAI-compatible official base URL at
https://api.deepseek.comand official IDs such asdeepseek-flash(see DeepSeek API docs). Zhipu’s docs describe official OpenAI-compatible endpoints such ashttps://open.bigmodel.cn/api/paas/v4/(see Zhipu API introduction). Those official products use official keys. This page does not tell you to paste a TodAPI key into an official app unless that app’s own current documentation says it accepts a custom endpoint. - Third-party clients that document a custom OpenAI-compatible provider. Example: Chatbox’s official provider guide explains adding a provider, choosing “OpenAI API compatible,” and filling in an API key and API host (Chatbox: Model Configuration). Follow that client’s current official docs for whether the host should include
/v1— conventions differ, and a wrong path is a common failure. This is a documentation fact, not a TodAPI certification of a Chatbox version, platform (desktop, Android, or iOS), or result. - Your own work software. If the product’s official documentation allows a custom OpenAI-compatible base URL, key, and model name, you can point it at TodAPI. If it only offers a built-in vendor login, TodAPI cannot “install a model” into that app.
Values to fill when the client does support a custom endpoint
| Field | What to use on TodAPI |
|---|---|
| Base URL / API host (OpenAI-compatible) | https://todapi.work/v1, unless the client’s official docs say it will append /v1 itself — then use the host form those docs describe and test with a cheap request. |
| API key | A key you created at /keys, stored only in that client or in an environment variable. One key per person or integration; do not share a single secret. |
| Model | The exact ID from the model plaza for the key’s group. Do not assume official aliases work here. |
Before a real workload, the integration guide shows a GET https://todapi.work/v1/models check with your bearer token. A successful list means the host, key, and group already match.
Claude Code is documented separately: Claude Code setup. That path uses the Anthropic-compatible root https://todapi.work (do not add /v1 yourself) and an Anthropic-group key. This page does not claim that DeepSeek- or GLM-group keys work in Claude Code on TodAPI.
How to start a billed call
- Create an account.
- Top up on the signed-in top-up page (the guide also mentions a redeem page; use the screen you see after login). You must top up before the first API call; signing up does not include free usage. This page does not publish a new minimum amount.
- Open API keys, create a key, and assign it to the group that includes the model you will call. Do not put the key in frontend code, screenshots, or a public repo. Do not share one secret among many people; create a separate key for each person or integration so you can revoke one key without rotating everyone else’s.
- Copy the exact model ID from the model plaza. Official aliases such as
deepseek-flashare not claimed to work on TodAPI until that is verified against a signed-in model list. - Call
https://todapi.work/v1with the OpenAI-compatible Chat Completions interface, as in the integration guide.
TodAPI bills a prepaid USD balance per token, with no subscription. Confirmed payment methods are WeChat Pay / Alipay for Asia-Pacific users, bank cards worldwide, and Web3 USDT. Available payment methods do not change the service region: this service is not offered to users in mainland China.
Public catalog prices (USD per 1M tokens)
The table is injected from the same anonymous public catalog as the model plaza. It is a display price, not your invoice, and it is not a claim that these are the lowest prices on the internet. If a refresh fails or an ID leaves the catalog, the table will not invent a $0 figure.
| Model ID | Public group | Group rate | Discounted input / 1M | Discounted output / 1M | Discounted cache read / 1M | Discounted cache write / 1M | Time windows |
|---|---|---|---|---|---|---|---|
deepseek-v4.1-flash | DeepSeek | 0.168x | $0.0252 | $0.1008 | $0.00252 | — | Asia/Shanghai; weekdays only; 09:00–12:00 × 2 (effective 0.336x); 14:00–18:00 × 2 (effective 0.336x) |
deepseek-v4.1-flash-1017 | DeepSeek | 0.168x | $0.0252 | $0.1008 | $0.00252 | — | Asia/Shanghai; weekdays only; 09:00–12:00 × 2 (effective 0.336x); 14:00–18:00 × 2 (effective 0.336x) |
glm-5.3 | GLM | 0.18x | $0.216 | $0.738 | $0.054 | — | No time-of-day multiplier in this snapshot |
glm-5.3-flash | GLM | 0.18x | $0.0252 | $0.0756 | $0.00594 | — | No time-of-day multiplier in this snapshot |
Worked examples below use a public plaza snapshot taken 2026-11-24 16:42 Asia/Singapore (UTC+8) for illustration only. Plug the current as-of row in the table above into the same formula before you budget. DeepSeek Flash in that snapshot: group rate 0.168, off-peak input $0.0252 / output $0.1008 per 1M tokens; weekday peak in Asia/Shanghai uses an effective rate of 0.336 (about $0.0504 / $0.2016). glm-5.3-flash after the 0.18 group rate: input $0.0252 / output $0.0756. Cache hits, a different key group, or a later catalog change will not match these numbers.
Formula (no cache): USD = calls × (input_tokens / 1,000,000 × input_price + output_tokens / 1,000,000 × output_price). Always include output tokens; an input-only comparison is incomplete.
Connection tests should use a short prompt so you can see the formula at work. Example assumption: 20 setup requests, 300 input tokens and 150 output tokens each, off-peak DeepSeek Flash snapshot prices: per call 300 / 1,000,000 × 0.0252 + 150 / 1,000,000 × 0.1008 = $0.00002268, or about $0.0004536 for 20 calls. That is not a plan price.
When you need the current token rates for the IDs you just copied, open the DeepSeek API pricing page or the GLM API pricing page. Setup steps stay in the integration guide; start by creating an account.
All use cases
Pick a different task guide.
DeepSeek API prices
Public rates for the Flash IDs you may paste into a client.
GLM API prices
Public rates for glm-5.3 and glm-5.3-flash.
Then run it in a script
The model still does not replace your runtime.
Integration guide
Base URL, key, and a models-list check.
Create an account
You must top up before the first call.