Inkling 2 Mini on DeepInfra

Inkling · Thinking Machines Lab

Serverless
Open Source

Last refreshed 2026-11-24. Next refresh: weekly.

Why use Inkling 2 Mini on DeepInfra?

DeepInfra offers Inkling 2 Mini with pay-as-you-go pricing at $0.07/1M input tokens. DeepInfra is a cloud inference platform offering cost-effective access to open-source AI models.

Compare Inkling 2 Mini across 4 providers to find the best fit for your use case
Input / 1M
$0.075
Output / 1M
$0.30
Cache
read $0.015
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export DEEPINFRA_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
Model ID
thinkingmachines/Inkling-2-Mini

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
    base_url="https://api.deepinfra.com/v1/openai"
)
response = client.chat.completions.create(
    model="thinkingmachines/Inkling-2-Mini",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "thinkingmachines/Inkling-2-Mini", not the LLMReference slug "inkling-2-mini".
  • DeepInfra uses "organization/model-name" format, e.g. "meta-llama/Meta-Llama-3-8B-Instruct" or "mistralai/Mistral-7B-Instruct-v0.3". See the DeepInfra model catalog for exact IDs.
  • The examples expect DEEPINFRA_API_KEY; rename it only if your application config maps the new variable.

Compare Inkling 2 Mini Across Providers

ProviderInput (per 1M)Output (per 1M)
Tinker$0.15$0.50
Vercel AI Gateway$0.07$0.30
OpenRouter——
DeepInfra$0.07$0.30

Pricing

TypePrice (per 1M)
Input tokens$0.07
Output tokens$0.30

Capabilities

VisionMultimodalReasoningFine-tuning

About Inkling 2 Mini

Inkling 2 Mini is Thinking Machines Lab’s open-weight multimodal looped transformer. It has 26.4B stored parameters and 3.4B active parameters. It runs its middle layers three times per token, giving 5.4B weight activations per token. It accepts text and images and produces text.

Get Started

Model Specs

Released2026-11-20
Parameters26.4B (3.4B active)
Context1M
ArchitectureMixture of Experts

Related Models on DeepInfra