Skip to main content
DeepInfra routes requests to popular open source and frontier models behind a single OpenAI-compatible endpoint and API key. Most OpenAI SDKs work against it by switching the base URL.

Install plugin

Get an API key

  1. Sign in at deepinfra.com
  2. Go to Dashboard / Keys and generate a key, or use the auto-created one

CLI setup

Or set the environment variable:

Config snippet

Supported surfaces

Chat, image generation, and video generation refresh their model catalogs live from https://api.deepinfra.com/v1/openai/models?sort_by=openclaw&filter=with_meta once DEEPINFRA_API_KEY is configured. Other surfaces use the static defaults below until they move onto the same live catalog. DeepInfra also exposes reranking, classification, object-detection, and other native model types. OpenClaw has no provider contract for those categories yet, so this plugin does not register them.

Available models

OpenClaw discovers DeepInfra models dynamically once a key is configured. Use /models deepinfra or openclaw models list --provider deepinfra to see the current list. Any model on deepinfra.com works with the deepinfra/ prefix:

Notes

  • Model refs are deepinfra/<provider>/<model> (for example deepinfra/Qwen/Qwen3-Max).
  • Default chat model: deepinfra/deepseek-ai/DeepSeek-V4-Flash
  • Base URL: https://api.deepinfra.com/v1/openai
  • Native video generation uses https://api.deepinfra.com/v1/inference/<model>.