DeepInfra MCP by usefulapi
v1.41.1Run DeepInfra inference, list models and read account rate limits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deepinfra_get_account Get account
Get the current DeepInfra account / user details (identity, email, quotas). DeepInfra REST: GET /v1/me.
| Parameter | Type | Description |
|---|---|---|
checklist | boolean | Include the onboarding checklist state in the response. |
deepinfra_get_rate_limit Get rate limit
Get the account's current rate limits (per-model / per-endpoint request and token limits). DeepInfra REST: GET /v1/me/rate_limit.
deepinfra_list_api_tokens List API tokens
List the account's API tokens (metadata only, not secret values). DeepInfra REST: GET /v1/api-tokens.
deepinfra_get_usage Get usage
Get spend / usage for a billing period. DeepInfra REST: GET /payment/usage.
| Parameter | Type | Description |
|---|---|---|
from * | string | Period start (required). Format 'YYYY.MM', or 'current', or 'current(-N)' for N months back, or a unix timestamp in seconds. |
to | string | Period end (same format as `from`); defaults to the current period. |
deepinfra_get_usage_tokens Get token usage
Get per-model token usage for a period. DeepInfra REST: GET /payment/usage/tokens.
| Parameter | Type | Description |
|---|---|---|
from * | string | Period start (required). Format 'YYYY.MM', or 'current', or 'current(-N)' for N months back, or a unix timestamp in seconds. |
to | string | Period end (same format as `from`); defaults to the current period. |
deepinfra_get_usage_rent Get GPU rental usage
Get GPU rental (dedicated hardware) usage for a time range. DeepInfra REST: GET /payment/usage/rent.
| Parameter | Type | Description |
|---|---|---|
from * | integer | Range start as a unix timestamp in seconds (required). |
to | integer | Range end as a unix timestamp in seconds; defaults to now. |
deepinfra_list_invoices List invoices
List billing invoices for the account. DeepInfra REST: GET /payment/invoices.
| Parameter | Type | Description |
|---|---|---|
invoice_type | string | Filter by invoice type. |
limit | integer | Max number of invoices to return. |
starting_after | string | Cursor — return invoices after this invoice id (pagination). |
deepinfra_list_deployments List deployments
List the account's dedicated deployments. DeepInfra REST: GET /deploy/list.
| Parameter | Type | Description |
|---|---|---|
status | string | Comma-separated statuses to filter by, e.g. 'running,initializing'. |
deepinfra_get_deployment Get deployment
Get one dedicated deployment by id (config + current status). DeepInfra REST: GET /deploy/{deploy_id}.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The deployment id (required). |
deepinfra_get_deployment_stats Get deployment stats
Get time-series stats (throughput / latency / replicas) for a dedicated deployment. DeepInfra REST: GET /deploy/{deploy_id}/stats2.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The deployment id (required). |
from * | string | Range start (required) — a unix timestamp or a relative expression like 'now-5h' (units: s, m, h, d, w). |
to | string | Range end — unix timestamp or relative expression; defaults to now. |
deepinfra_get_gpu_availability Get GPU availability
Get GPU availability for LLM deployments (which hardware can currently be provisioned). DeepInfra REST: GET /deploy/llm/gpu_availability.
| Parameter | Type | Description |
|---|---|---|
base_model | string | Filter by base model. |
source | string | Filter by source. |
deepinfra_list_models List models
List the DeepInfra model catalog (all available models). DeepInfra REST: GET /models/list.
deepinfra_get_model Get model
Get one model's catalog entry (pricing, context length, capabilities). DeepInfra REST: GET /models/{model_name}.
| Parameter | Type | Description |
|---|---|---|
model_name * | string | The model name (required). May contain a slash, e.g. 'meta-llama/Meta-Llama-3-8B' — the slash is preserved in the path. |
version | string | A specific model version (defaults to latest). |
deepinfra_get_hardware Get hardware
Get the hardware options / GPU configuration available for a given model. DeepInfra REST: GET /v2/hardware.
| Parameter | Type | Description |
|---|---|---|
model * | string | The model name to query hardware for (required). |
deepinfra_query_logs Query logs
Query inference request logs for a dedicated deployment over a time window. DeepInfra REST: GET /v1/logs/query.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The deployment id to query logs for (required). |
from | string | Window start — fractional-seconds unix timestamp, inclusive. |
limit | integer | Max log lines to return (default 100, range 1..1000). |
to | string | Window end — fractional-seconds unix timestamp, exclusive. |
deepinfra_get_live_metrics Get live metrics
Get global live inference metrics across the account (real-time throughput / activity). DeepInfra REST: GET /v1/metrics/live.
deepinfra_start_deployment Start deployment
Start (resume) a dedicated deployment. WARNING: this resumes a dedicated deployment and may incur GPU charges while it runs. DeepInfra REST: POST /deploy/{deploy_id}/start.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The deployment id to start (required). |
deepinfra_stop_deployment Stop deployment
Stop (pause) a running dedicated deployment. This halts inference and stops accruing GPU charges for it. DeepInfra REST: POST /deploy/{deploy_id}/stop.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | The deployment id to stop (required). |