Model · DeepSeek
deepseek-v4.1-flash
deepseek-v4.1-flash is served by DeepSeek and available on BoostRail through the same OpenAI-compatible endpoint as every other model in the catalog. One key, per-token billing in USD, and no separate account with the provider.
USD per 1M tokens
- Where a model's route supports prompt caching, cached input bills at the cache-read price published for that model — at or below the provider's own cache-read price, DeepSeek V4 Pro, DeepSeek V4.1 Flash and Kimi K3 excepted — and cache writes carry no surcharge. The console shows the live price applied to each request, which prevails over any page.
Call it
Already using the OpenAI SDK? Change base_url and api_key, then set the model id. Nothing else in your code changes.
curl https://api.boostrail.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"hello"}]}'from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.boostrail.com/v1")
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: "YOUR_API_KEY", baseURL: "https://api.boostrail.com/v1" });
const completion = await client.chat.completions.create({
model: "deepseek-v4.1-flash",
messages: [{ role: "user", content: "hello" }],
});
console.log(completion.choices[0].message.content);// ~/.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.boostrail.com",
"ANTHROPIC_API_KEY": "YOUR_API_KEY",
"ANTHROPIC_MODEL": "deepseek-v4.1-flash",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
"CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1"
}
}
// Verify: run claude, then /status —
// the base URL should show api.boostrail.com.Use it in a coding agent
The model id goes wherever your tool takes a model name. Full per-tool configuration — Claude Code, Codex CLI, Cline, OpenCode, Continue, Aider — is on the coding tools page. Coding →
If this is not the right fit
Switching model is a one-string change against the same key and endpoint.
FAQ
Do I need an account with the provider?
No. A BoostRail account covers every model in the catalog with one key and one bill. If you would rather run on your own provider account and contract price, BYOK does that while keeping the same integration.
Is there a rate limit or usage window?
There is no subscription time window and no per-tier throttle standing between your client and the model. Capacity protections exist for abuse, not to ration normal usage.
How current is the price on this page?
Prices are rebuilt from the production catalog whenever they change; the date at the bottom of the page is the last rebuild. The price applied to each request is always the one shown in the console.