# DeepInfra

CreateWithAI Hub page: https://createwithaihub.com/inference/deepinfra
Latest version of this file: https://createwithaihub.com/inference/deepinfra.md

- Type: Tool · Category: Endpoints & Inference
- Publisher: DeepInfra
- Pricing: Paid
- Runs on: API (cloud)

Inference cloud serving hundreds of open models through an OpenAI-compatible API, plus private GPU deployments and GPU rental.

DeepInfra runs hundreds of open-source models for text, vision, embeddings, reranking, image and video generation and speech behind an OpenAI-compatible API, and also lists Anthropic Claude and Google Gemini models. Language and embedding models are priced per token, image models per image, speech models per audio minute and most others by execution time. You can also deploy your own fine-tuned models on dedicated A100 to B300 GPUs with autoscaling, or rent GPUs with SSH access.

Useful for: Switching an OpenAI SDK app to open models such as Llama, Qwen or DeepSeek, or generating embeddings for a RAG pipeline at per-token rates.

## Key features

- OpenAI-compatible base URL https://api.deepinfra.com/v1/openai
- Text, vision/OCR, embeddings, reranking, image, video and speech models
- Anthropic Claude and Google Gemini models alongside Llama, Qwen, DeepSeek, Mistral and Gemma
- Per-token, per-image, per-audio-minute or execution-time pricing by model
- Standard, Priority (1.5x) and Flex (0.8x) service tiers
- Private deployments on A100, H100, H200, B200 and B300 GPUs billed per GPU-hour in minute granularity

## Connection

- Model families: Llama, Qwen, DeepSeek, Mistral, Gemma, Claude, Gemini, FLUX
- Modality: Text, Image, Audio, Video, Embeddings
- API compatibility: OpenAI-compatible
- Pricing structure: Per token, Per request / unit, Per GPU-second
- Kind: Inference provider

## Before you start

- DeepInfra account with a card or prepaid balance
- API key

## Limitations

- A card or prepayment is required before using the service; there is no free tier
- Models, including Claude, are served through the OpenAI-compatible endpoint; no Anthropic-compatible endpoint is documented

## Official links

- Website: https://deepinfra.com
- Documentation: https://docs.deepinfra.com
- Source: https://deepinfra.com/pricing (Per-token, per-image, per-audio-minute and execution-time pricing; service tiers; GPU-hour prices; card or prepay required; Llama, Qwen, DeepSeek, Mistral, Gemma, FLUX and embedding models listed)
- Source: https://docs.deepinfra.com/ (What DeepInfra offers, OpenAI-compatible base URL, model types including Whisper and video generation, private deployments)
- Source: https://deepinfra.com/claude (Claude models (Haiku, Sonnet, Opus) listed with per-token prices via the OpenAI-compatible endpoint)
- Source: https://deepinfra.com/gemini (Gemini models (2.5, 3.x) listed with per-token prices)
