tokenexchage-mcp
v1.0.3Use the best model for every task — automatically.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
freemodel_key_health
Check API key health: subscription status, platform health, and recommended model. Use FIRST before task routing.
freemodel_status
Get FreeModel session summary: active model, platform, subscription, healthy count.
freemodel_models
List all AI models available to you across platforms. Returns platform and model names.
freemodel_recommend
Recommend the best AI model for a given task. Analyzes your task and recommends 2-3 models with reasons.
| Parameter | Type | Description |
|---|---|---|
task * | string | Task description e.g. "写一个Python爬虫" |
freemodel_route
Auto-route a task: classify task type, pick the best model via scoring engine, execute it. One-step smart routing — no need to manually choose platform/model.
| Parameter | Type | Description |
|---|---|---|
task * | string | The task to execute |
max_tokens | number | Max output tokens |
preset | string | Scoring preset (default balanced) |
system | string | System prompt (optional) |
task_type | string | Force task type: coding/reasoning/writing/creative/chat/multimodal/longform/embedding. Auto-detected if omitted. |
temperature | number | Temperature (default 0.7) |
freemodel_run
Execute a task using a specific AI model from a specific platform. Uses your stored API keys.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model e.g. "step-3.7-flash" |
platform * | string | Platform ID: "stepfun","baidu","zhipu","aliyun","silicon","openrouter" etc. |
task * | string | The task to execute |
max_tokens | number | Max output tokens. Default varies by platform. Set 4000+ for reasoning models to prevent empty output. |
reasoning_effort | string | Reasoning depth for step-3.7-flash. low=faster, high=deeper. |
system | string | System prompt (optional) |
temperature | number | Temperature (default 0.7) |