DeepInfra AI API key for 100 open source models from 0.01c an article

Add a DeepInfra AI API key to SCM and pick from 100 open source models. Llama, DeepSeek, Qwen, Gemma and gpt-oss, from 0.01c an article.

Pay as you go, no subscription.

This is similar to OpenRouter. One key, to access models across different vendors.

Why use this?

  • 1 key gets you every open source model on 1 bill, no separate accounts for Meta, DeepSeek or Alibaba
  • Cheapest way to run the small models. Llama 3.1 8B is $0.04 per 1M output tokens, 1,500 words for under 0.01c
  • The model list comes from DeepInfra live, so a new release shows up in SCM the day it lands
  • Models tagged for tools work as the agent in SEO Workspace, the others write pages

Requires a DeepInfra account with credit on it.

DeepInfra or OpenRouter?

Both give you 1 key for the open source models. The price is close, the difference is what each one is.

DeepInfra OpenRouter
What it is Runs its own GPUs Router, sends you to the cheapest host
Fee on top up None 5.5%
Llama 3.1 8B, per 1M out $0.04 $0.08
gpt-oss-120b, per 1M out $0.17 $0.17
DeepSeek V4 Flash, per 1M out $0.18 $0.13
Models About 100 open About 450, Claude, GPT and Gemini included
Free models None 19
Requests at once 200 per model Depends on the host

Pick DeepInfra if you have settled on an open model and want the lowest steady price. Pick OpenRouter if you want the closed models on the same key or want failover.

Notes

Per 1M tokens, in and out.

  • Llama 3.1 8B Turbo $0.02, $0.04
  • gpt-oss-120b $0.04, $0.17
  • DeepSeek V4 Flash $0.09, $0.18
  • Gemma 4 31B $0.09, $0.34

Start with gpt-oss-120b. It writes well and it is under 0.05c an article.

Where to get DeepInfra

DeepInfra:

Sign up, add credit under Billing, then create a key under API Keys.

How to connect DeepInfra

Settings > API Logins > AI > Deepinfra

Paste in your API key.

Thats all. Model selection etc is done at the task level.

How to use DeepInfra as an agent in SEO Workspace

Select deepinfra as the Agent model.

Warning: Open source models tend to not be as good as closed frontier models for following directions.
Expect long responses and incorrect output.

The dropdown only shows models that can use tools.

Want to try DeepInfra in SEO Content Machine? Start SEO Content Machine free trial

How to use DeepInfra to generate articles

Page pipeline

Select DeepInfra

Select model

Selection complete

Now you are using DeepInfra for bulk article generation.

Related guides