New

    Introducing AutoEvals: Find the right model for your task

    AnthropicMultimodal Model

    Claude Opus 4.7

    An Opus-class Claude tuned for software engineering and multi-step agentic work, with a 1M-token context window and extended thinking. Superseded by Opus 4.8 for new projects but still served for teams pinned to this version in production.

    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: "claude-opus-4-7",
      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 Claude Opus 4.7 today

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