DeepInfra

DeepInfra Free Tier · Gemini 3.1 Flash Lite —— High-Speed Dialogue

🟢 265ms Official 0-Cost · Daily refreshed 📏 32k 30 RPM 👁️ Vision

🛡️ 🛡️ Free Tier Policy & Rate Limits

Low Cost Pay-per-Token & Trial Credit Card Required Email Only · No ID Daily Replenish
Context Window 32k
Rate Limit RPM 30 RPM
Daily Quota & Reset 1000 RPD · One-Time Micro Credits
Auth & Card Requirement Credit Card Required
Supported Capabilities:
📝 Text Generation 👁️ Multimodal Vision

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://api.deepinfra.com/v1/openai
Model ID
google/gemini-3.1-flash-lite
🟢 [No Card Required] Register a standard account to generate an API key on the platform
👉 Get DeepInfra Key

💡 Caveats & Rate Limits

🎯 Official 0-Cost Tier · 32k Context · High performance & low latency

📋 Free Tier Quota Rules and Constraints

  • 1.80 USD trial credit granted upon account setup
  • Extremely low pricing per million tokens with high concurrency
  • Prepaid deposit required once trial credit is depleted

🛡️ Zero-Billing Protection and Risk Prevention

Low-cost commercial platform. Requires deposit once credits run out.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://api.deepinfra.com/v1/openai/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/gemini-3.1-flash-lite",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deepinfra.com/v1/openai",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="google/gemini-3.1-flash-lite",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deepinfra.com/v1/openai",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "google/gemini-3.1-flash-lite",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://api.deepinfra.com/v1/openai",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "google/gemini-3.1-flash-lite"
}
AUTHORITATIVE

Benchmark Overview

Authoritative Measured Benchmark Signals
Intelligence 15.6/100

General reasoning and instruction following

Coding 34.7/100

Programming and code generation

Agentic 1.6/100

Tool use and multi-step tasks

Speed 362 tok/s

Observed generation speed

Context 1.0M

Maximum listed context window

✓ ✓ Copied