CoBuddy

BaiduMCP Tool CallReasoning
baidu/cobuddyClosed API

Baidu Qianfan model optimized for code generation and tool-using coding agents

Benchmark Pricing$0.28 / 1M in$1.13 / 1M out$0.07 cache read
Context: 131,072 tokens•Max Output: 65,536 tokens•Released: 2026-05-06

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output65,53665.5K tokens
LicenseProprietaryCloud API only
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ CoBuddy natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

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 CoBuddy via OpenAI SDK
import OpenAI from "openai";

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

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

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

PRICING BY PROVIDER

1 providers
Novita AIbaidu/cobuddy
$0.28 / $1.13$0.07 cache

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

Prompt Caching Active

This model supports prompt caching at $0.07 / 1M tokens, saving up to 75% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES