Moonshot
Kimi K3.1 Pro
The most capable open model in the catalog, with a 1M context window. Premium pricing, premium reasoning.
1.0M context128K max outputFrontierStreaming + tools
Input
$1.50 / 1M
Output
$3.00 / 1M
Context
1.0M
Max output
128K
Use it
Change the base URL, keep your SDK.
typescript
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://dreaminference.com/v1",
apiKey: process.env.DREAM_API_KEY,
});
const response = await client.chat.completions.create({
model: "kimi-k3.1-pro",
messages: [{ role: "user", content: "Hello" }],
stream: true,
});