Providers and models
DeepSeek
The direct API, balance checks, pro and flash.
The direct DeepSeek API is cheap and has a balance endpoint, so Relief can tell you how much credit is left.
Get a key
Create one at platform.deepseek.com/api_keys, then run frontier setup and pick DeepSeek, or put it in ~/.frontier/.env:
DEEPSEEK_API_KEY=your-key-hereModels
The built in preset was checked against DeepSeek's live GET /models on 2026-11-17. It lists deepseek-v4-pro as a premium model and deepseek-flash as an economy model. The older names deepseek-chat, deepseek-reasoner and deepseek-v4-flash are retired, so they are not declared. If DeepSeek renames models again, declare the new ids yourself. See Any OpenAI compatible API.
The preset carries no prices, on purpose. An unknown price is shown as unknown in /cost, never guessed. You can add your own, in dollars per million tokens, with the pricing field.
DeepSeek is a reasoning model family: it sends its working out before the answer. The cockpit collapses that into one line by default. See Themes and plain mode.
Balance
/providers
/costBoth show your account credit, per currency, because the provider's host is api.deepseek.com. Relief calls GET /user/balance with the key it already uses for chat. A zero balance says that requests will fail with HTTP 402. The lookup waits at most 8 seconds, never retries, and a failure is one line, never an error. No other provider is asked for a balance, because the others publish none.
A gateway that fronts DeepSeek under another hostname can opt in with "balanceKind": "deepseek" in its provider entry.
Data policy
DeepSeek is listed as a standard data policy provider in region cn. If your code must not go to that region, use privacy.blockedProviders. See Secrets and redaction.