Baichuan M2 32B

BaichuanReasoning
baichuan/baichuan-m2-32bOpen Weights

Open medical model trained for clinical reasoning and patient interaction with on, off, and auto thinking modes

Benchmark Pricing$0.07 / 1M in$0.07 / 1M out
Context: 131,072 tokens•Max Output: 131,072 tokens•Released: 2025-08-13

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output131,072131.1K tokens
LicenseApache-2.0Self-hostable
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Baichuan M2 32B does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Baichuan M2 32B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.BAICHUAN_API_KEY,
});

const response = await client.chat.completions.create({
  model: "baichuan/baichuan-m2-32b",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

1 providers
Novita AIbaichuan/baichuan-m2-32b
$0.07 / $0.07

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.