Warning
deepctl is deprecated and no longer maintained. This repository is archived, and deepctl auth login stops working on 2026-11-06.
To keep using deepctl, create an API key in the dashboard and store it with deepctl auth set-token <key>.
Use the Deep Infra HTTP API or any OpenAI-compatible SDK instead. Create API keys in the dashboard.
Command line tool for Deep Infra cloud ML inference service.
curl https://deepinfra.com/get.sh | shYou can also download deepctl from Releases.
Create an API key in the dashboard, then store it:
deepctl auth set-token <key>deepctl auth login stops working on 2026-11-06.
You can view your Deep Infra API auth token to use it in your applications using the following command or in the dashboard.
deepctl auth tokendeepctl model listdeepctl deploy create -m openai/whisper-smallTo get information about model, it's inference arguments, response fields and ways to call endpoint, use the following command:
deepctl model info -m openai/whisper-smallOutput:
model: openai/whisper-small
type: automatic-speech-recognition
CURL invocation:
curl -X POST \
-H "Authorization: bearer $AUTH_TOKEN" \
-F audio=@my_voice.mp3 \
'https://api.deepinfra.com/v1/inference/openai/whisper-small'
deepctl invocation:
deepctl infer \
-m 'openai/whisper-small' \
-i audio=@my_voice.mp3
...
When using HTTP inference api make sure to pass your AUTH_TOKEN header.
curl -X POST \
-H "Authorization: bearer $AUTH_TOKEN" \
-F audio=@/path/to/hello_world.mp3 \
'https://api.deepinfra.com/v1/inference/openai/whisper-small'Output:
{
"text": "Hello World",
"segments": [
...
],
"language": "en"
}
deepctl deploy listOutput:
[
{
"created_at": "2023-01-26T19:33:23",
"deploy_id": "DpM4BkrjEspUwmTa",
"fail_reason": "",
"model_name": "openai/whisper-small",
"status": "running",
"task": "automatic-speech-recognition",
"updated_at": "2023-01-26T19:33:23"
}
]
Use deploy_id from the output above.
deepctl log query -f DpM4BkrjEspUwmTaUse deploy_id from the output above to delete the deployment.
deepctl deploy delete DpM4BkrjEspUwmTaYou can always use
deepctl helpto view more information on any command.
deepctl version check
deepctl version update