DeepInfra MCP by usefulapi

v1.41.1
io.usefulapi/deepinfra Checked 2 days ago Published 1 day ago

Run 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.

ParameterTypeDescription
checklistbooleanInclude 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.

ParameterTypeDescription
from *stringPeriod start (required). Format 'YYYY.MM', or 'current', or 'current(-N)' for N months back, or a unix timestamp in seconds.
tostringPeriod 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.

ParameterTypeDescription
from *stringPeriod start (required). Format 'YYYY.MM', or 'current', or 'current(-N)' for N months back, or a unix timestamp in seconds.
tostringPeriod 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.

ParameterTypeDescription
from *integerRange start as a unix timestamp in seconds (required).
tointegerRange 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.

ParameterTypeDescription
invoice_typestringFilter by invoice type.
limitintegerMax number of invoices to return.
starting_afterstringCursor — return invoices after this invoice id (pagination).

deepinfra_list_deployments List deployments

List the account's dedicated deployments. DeepInfra REST: GET /deploy/list.

ParameterTypeDescription
statusstringComma-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}.

ParameterTypeDescription
deploy_id *stringThe 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.

ParameterTypeDescription
deploy_id *stringThe deployment id (required).
from *stringRange start (required) — a unix timestamp or a relative expression like 'now-5h' (units: s, m, h, d, w).
tostringRange 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.

ParameterTypeDescription
base_modelstringFilter by base model.
sourcestringFilter 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}.

ParameterTypeDescription
model_name *stringThe model name (required). May contain a slash, e.g. 'meta-llama/Meta-Llama-3-8B' — the slash is preserved in the path.
versionstringA 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.

ParameterTypeDescription
model *stringThe 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.

ParameterTypeDescription
deploy_id *stringThe deployment id to query logs for (required).
fromstringWindow start — fractional-seconds unix timestamp, inclusive.
limitintegerMax log lines to return (default 100, range 1..1000).
tostringWindow 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.

ParameterTypeDescription
deploy_id *stringThe 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.

ParameterTypeDescription
deploy_id *stringThe deployment id to stop (required).