80trust / 100

Prices Deepinfra

by modelprices.xyz in AI models & inference

x402 APIPassing, checked 3 h ago

DeepInfra pricing table: per-token cost of every AI model DeepInfra serves, in one call — input, output, cache and batch USD per 1M tokens, ranked cheapest first, with context window and capability flags joined in. Compare LLM token cost inside DeepInfra and against other providers hosting the same model. Normalized from public sources, cross-checked, refreshed hourly.

GET https://modelprices.xyz/llm/prices/deepinfra

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
12 ms typical, 30 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://modelprices.xyz/llm/prices/deepinfra"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmodelprices.xyz%2Fllm%2Fprices%2Fdeepinfra
const res = await pay("https://modelprices.xyz/llm/prices/deepinfra");
console.log(await res.json());

Example input

{}

Example output

{
  "board": "DeepInfra model pricing",
  "generated_at": "2026-07-14T02:00:00.000Z",
  "model_count": 24,
  "models": [
    {
      "context_window": 200000,
      "id": "deepinfra/llama-4-scout",
      "input_per_mtok": 3,
      "output_per_mtok": 15,
      "provider": "anthropic"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40229 ms$0.01
7 h agoPassed40212 ms$0.01
10 h agoPassed40225 ms$0.01
14 h agoPassed40217 ms$0.01
18 h agoPassed4027 ms$0.01
21 h agoPassed4026 ms$0.01
25 h agoPassed40230 ms$0.01
29 h agoPassed402110 ms$0.01
32 h agoPassed4028 ms$0.01
37 h agoPassed4026 ms$0.01