DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

Inference LoRA adapter model

Published on 2024.12.06 by Askar Aitzhan
Inference LoRA adapter model

Understanding LoRA inference

Concepts

  • Base model: The original model that is used as a starting point.
  • LoRA adapter model: A small model that is used to adapt the base model for a specific task.
  • LoRA Rank: The rank of the matrix that is used to adapt the model.

What you need to inference with LoRA adapter model

  1. Supported base model
  2. LoRA adapter model hosted on HuggingFace
  3. HuggingFace token if the LoRA adapter model is private
  4. DeepInfra account

How to inference with LoRA adapter in DeepInfra

  1. Go to the dashboard
  2. Click on the 'New Deployment' button
  3. Click on the 'LoRA Model' tab
  4. Fill the form:
    • LoRA model name: model name used to reference the deployment
    • Hugging Face Model Name: Hugging Face model name
    • Hugging Face Token: (optional) Hugging Face token if the LoRA adapter model is private
  5. Click on the 'Upload' button

Note: The list of supported base models is listed on the same page. If you need a base model that is not listed, please contact us at feedback@deepinfra.com

Rate limits on LoRA adapter model

Rate limit will apply on combined traffic of all LoRA adapter models with the same base model. For example, if you have 2 LoRA adapter models with the same base model, and have rate limit of 200. Those 2 LoRA adapter models combined will have rate limit of 200.

Pricing on LoRA adapter model

Pricing is 50% higher than base model.

How is LoRA adapter model speed compared to base model speed?

LoRA adapter model speed is lower than base model, because there is additional compute and memory overhead to apply the LoRA adapter. From our benchmarks, the LoRA adapter model speed is about 50-60% slower than base model.

How to make LoRA adapter model faster?

You could merge the LoRA adapter with the base model to reduce the overhead. And use custom deployment, the speed will be close to the base model.

Related articles
Gemini 3.7 Flash: What's New, Benchmarks & API GuideGemini 3.7 Flash: What's New, Benchmarks & API Guide<p>Gemini 3.7 Flash is Google&#8217;s Flash-tier reasoning model. It takes text, images, video, audio and PDF files as input, returns text, and has a 1,000,000-token context window on DeepInfra. Google DeepMind released it on August 13, 2026, about three weeks after Gemini 3.6 Flash, and positioned it as its workhorse model for coding and agents. [&hellip;]</p>
GLM-5.3 API Providers: Speed, Latency & CostGLM-5.3 API Providers: Speed, Latency & Cost<p>GLM-5.3 API Review Summary GLM-5.3 is Z AI’s flagship coding and agentic reasoning model, released on August 14, 2026, and available on DeepInfra since launch. The model is built on the same ~753-billion parameter Mixture of Experts (MoE) base architecture as GLM-5.2, with all performance gains derived entirely from scaled post-training rather than architectural changes. [&hellip;]</p>
DeepInfra Partners with Opper AI: 100+ Models on the Opper GatewayDeepInfra Partners with Opper AI: 100+ Models on the Opper Gateway<p>Palo Alto, California, November 2026. DeepInfra and Opper AI are partnering to make DeepInfra&#8217;s open-model inference available through Opper&#8217;s EU-hosted AI gateway. Developers can now call more than 100 DeepInfra-hosted models through the Opper API, from Kimi K3, GLM-5.3 and DeepSeek V4.1 Flash to MiniMax M3, Nemotron 3.5 Super VL and FLUX.2 Pro, and apply [&hellip;]</p>