Skip to content

Company

DeepInfra

DeepInfra is an AI inference cloud that serves hundreds of open-source and open-weight models through a pay-per-token API. Its main API is OpenAI-compatible, so existing OpenAI SDK code usually only needs a new base URL, API key and model name. The catalog covers text generation from families such as DeepSeek, Qwen, GLM, Kimi, Nemotron, Llama and Mistral, plus embeddings, rerankers, OCR and vision, speech recognition, text-to-speech, and image and video generation. It also resells some proprietary models, such as Claude and Gemini, under those providers' own data terms.

What it offers

Serverless inference bills per million input, cached-input and output tokens, with prices set per model. DeepInfra often runs time-limited discounts on individual models, shown on its pricing page as a percentage off. Requests can use three service tiers: Standard at the base price, Priority at 1.5 times the base price for faster time to first token at peak load, and Flex at 0.8 times the base price for non-urgent work that tolerates slower responses and occasional unavailability. A Batch API, compatible with OpenAI's batch workflow, runs chat, completion and embedding jobs within 24 hours at 20% below real-time prices. Prompt cache retention can be set to five minutes or one hour.

Beyond shared endpoints, DeepInfra deploys custom or private models on dedicated GPUs billed for uptime, supports LoRA adapters, and rents GPU instances by the hour (for example NVIDIA DGX B300 capacity). Its docs also cover sandboxes and hosted agents.

Limits and data handling

Public models have a default limit of 200 concurrent requests per model per account rather than a per-minute cap; dedicated endpoints are limited only by the GPUs you deploy. DeepInfra's data privacy page says inference inputs and outputs are held in memory rather than stored on disk, request content is not logged, and customer data is not used for training, with exceptions for Google and Anthropic models and short-term storage for bulk jobs and image outputs.

Who it's for

Developers and startups that want the lowest per-token price on popular open models, and teams running high-volume batch or background workloads.

Alternatives

Together AI and Fireworks AI for open-model serving with dedicated and fine-tuning options; Groq for speed-focused hosting; OpenRouter to route between hosts.

Official site: https://deepinfra.com (docs at https://docs.deepinfra.com).

Website