Can DeepSeek V4.1 Flash call Sume's hosted MCP tools?
DeepSeek V4.1 Flash supports tool calls. Your code maps each call to Sume MCP tools_list, tools_schema and a gated paid call. The model never holds your key.

Yes, through your own client code. The vendor's docs list tool calls as supported for DeepSeek V4.1 Flash, but they do not speak to Sume. You write the loop: read tools_list from Sume's hosted MCP, give the model the tool names and schemas as its function list, execute the call it picks against Sume with your credentials, and return the result. The key stays in your process and never goes into a prompt.
Who fills which field
Paid tools need the same care here as anywhere. Add dry_run, idempotency_key and max_spend_usd in your code, not in the model's arguments.
| Field | Filled by | Why |
|---|---|---|
| Tool name | Model | Chosen from tools_list |
| Content arguments | Model | Validated against tools_schema |
idempotency_key | Your code | Derived from the job, not the model |
max_spend_usd | Your code | A model must not set its own ceiling |
def finalize_args(model_args: dict, job_id: str, cap_usd: float) -> dict:
args = {k: v for k, v in model_args.items()
if k not in ("idempotency_key", "max_spend_usd")}
args["idempotency_key"] = f"{job_id}-v1"
args["max_spend_usd"] = cap_usd
return args
print(finalize_args({"text": "hello", "max_spend_usd": 999}, "job-7", 0.5))
Start read-only
Under a read-only OAuth scope the paid tools are not in the list at all, which is a cheap way to run a first trial of a new model with no spend path.
Check the docs before you ship
Sume's limits and field names change faster than blog posts do. Read the linked docs pages for the current request fields before you ship, and send a dry_run or a low spend cap on your first real call.
Sources
Related posts
More in Integrations
- Which account pays: fal's Active MCP account vs a Sume key
fal's MCP sends credits to the Active MCP account you choose. On Sume the API key or OAuth session selects the workspace, and no tool takes a workspace id.
- Ghost audio card with a Sume track: mp3, wav or ogg from desktop
Ghost's audio card takes .mp3, .wav and .ogg uploaded from the desktop editor, up to 1 GB by plan. Download the Sume artifact, then upload the file.
- GITHUB_STEP_SUMMARY for Sume jobs: an audit table in the run page
Write the Sume job id, status and artifact URL to GITHUB_STEP_SUMMARY: 1 MiB per step, 20 step summaries shown per job. Public URLs only, no prompts or keys.
- workflow_dispatch music brief: 25 inputs, 65,535 chars vs Sume's 5,000
GitHub dispatch takes 25 inputs and 65,535 characters; Sume's music prompt stops at 5,000 and rejects duration. Guard the length, then call the router.
Written by Sume