CreateWithAIHub

Tool DeepInfra

DeepInfra

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

What it is

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.

What it's 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

How to use it

Before you start

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

Limitations to know

  • 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

Alternatives

AI cloud with an OpenAI-compatible LLM API for open models, image/video/audio APIs, agent sandboxes and GPU instances.

Paid

Inference and training platform with OpenAI- and Anthropic-compatible Model APIs, dedicated GPU deployments and fine-tuning.

Paid

Inference platform for open models with serverless per-token pricing, on-demand GPU deployments and fine-tuning.

Paid

Cloud for running open models via serverless or dedicated endpoints, plus fine-tuning and GPU clusters.

Paid

See all 7 DeepInfra alternatives →

MCP servers for this

Hugging Face's hosted MCP server that lets agents search models, datasets, Spaces and papers and call Gradio Spaces.

Free plan + paidOpen source

Skills for this

Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.

FreeOpen source

Related resources

OpenAI's proprietary GPT model family, with frontier, efficient, image and speech variants served through the OpenAI API.

Paid

Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.

Free plan + paid

OpenAI's developer API for GPT, image, audio and embedding models, with official SDKs in several languages.

Paid

Alibaba Cloud's Qwen model family, with many open-weight models and an OpenAI-compatible API.

Free plan + paid

Type to search. Use ↑ ↓ and Enter.