New

    Introducing AutoEvals: Find the right model for your task

    GoogleMultimodal Model

    Gemini 3.1 Flash Lite

    The low-cost, high-throughput tier of Google's Gemini 3.1 generation. Built for volume — subagent fleets, bulk document extraction, structured parsing — across a 1M-token multimodal context at the lowest price in its family.

    import OpenAI from "openai";
    
    const openai = new OpenAI({
      baseURL: "https://api.inference.net/v1",
      apiKey: "<YOUR_API_KEY>",
    });
    
    const completion = await openai.chat.completions.create({
      model: "gemini-3.1-flash-lite",
      messages: [
        {
          role: "user",
          content: "What is the meaning of life?"
        }
      ],
      stream: true,
    });
    
    for await (const chunk of completion) {
      process.stdout.write(chunk.choices[0]?.delta.content as string);
    }

    Start building with Gemini 3.1 Flash Lite today

    Serverless, OpenAI-compatible, and billed per token. No commitments.