New

    DeepSeek V4.1 Flash 1017 is now available on Inference.net

    Moonshot AIReasoning Model

    Kimi K3.1 Pro

    Moonshot AI's Kimi K3.1 Pro: the next release of the Kimi K3 open-weight reasoning family, with a 1M-token context window, native vision, tool calling, and a controllable reasoning-effort dial, served on an OpenAI-compatible API.

    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: "kimi-k3.1-pro",
      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);
    }
    Prompt caching
    1. No special request field is needed. Keep the prompt prefix stable and byte-identical across calls.
    2. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.

    Start building with Kimi K3.1 Pro today

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