GoldBean

Baidu AI APIs for Global Developers — Pay per Call
56 AI Endpoints 7 LLM Models 25 Free Endpoints $0.01 Starting at
⚡ Try Free Demo — No Sign-up 🧠 Try LLM Playground Buy Credits
🎁 2,000 Free API Calls / Day
Per IP address · No signup · No credit card · Includes all 7 LLM models
⚡ Try Free Now 🧠 LLM Playground 📋 Quick Start
🤖 ERNIE LLM · OCR · TTS · ASR 🌱 Plant/Animal/Dish/Currency Recognition 🎨 Image Colorize · Style Transfer · Anime 🧠 NLP · Face Liveness · HelixFold 💳 PayPal · Alipay · USDC on Base 📦 MCP: npx goldbean-mcp

🚀 Quick Start — 3 Ways to Call

curl
Python
Node.js
bash
# 1. Get your API key (free, no signup needed)
curl -X POST https://goldbean-api.xyz/paid/user/register

# 2. Call any endpoint — e.g., Chinese OCR
curl -X POST https://goldbean-api.xyz/paid/baidu-ocr \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_KEY" \
  -d '{"image_url":"https://example.com/photo.jpg"}'

# 3. Try LLM chat (DeepSeek / Kimi / Doubao / Qwen / Hunyuan / ERNIE / GLM)
curl -X POST https://goldbean-api.xyz/ai/ds/chat \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_KEY" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
python
import requests

API_KEY = "YOUR_KEY"  # Get free at https://goldbean-api.xyz/paid/user/register
BASE_URL = "https://goldbean-api.xyz"

# Chinese OCR
response = requests.post(
    f"{BASE_URL}/paid/baidu-ocr",
    headers={"x-api-key": API_KEY},
    json={"image_url": "https://example.com/photo.jpg"}
)
print(response.json())

# LLM Chat (DeepSeek)
response = requests.post(
    f"{BASE_URL}/ai/ds/chat",
    headers={"x-api-key": API_KEY},
    json={
        "model": "deepseek-chat",
        "messages": [{"role": "user", "content": "Hello"}]
    }
)
print(response.json())
javascript
const axios = require('axios');

const API_KEY = 'YOUR_KEY';  // Get free at https://goldbean-api.xyz/paid/user/register
const BASE_URL = 'https://goldbean-api.xyz';

// Chinese OCR
const ocr = await axios.post(`${BASE_URL}/paid/baidu-ocr`, {
  image_url: 'https://example.com/photo.jpg'
}, { headers: { 'x-api-key': API_KEY } });
console.log(ocr.data);

// LLM Chat (Kimi)
const chat = await axios.post(`${BASE_URL}/ai/kimi/chat`, {
  model: 'kimi-latest',
  messages: [{ role: 'user', content: 'Hello' }]
}, { headers: { 'x-api-key': API_KEY } });
console.log(chat.data);

📖 Full docs: English Docs · Chinese Docs · OpenAPI Spec

🌍 The Problem We Solve

Baidu has world-class AI APIs — especially for Chinese language processing (OCR, NLP, ASR, TTS). But using them directly requires:

GoldBean removes that barrier. Same Baidu AI APIs, accessible globally with just PayPal, Alipay, or USDC. No Chinese ID, no Baidu account, no subscription.

🤖 Baidu AI Endpoints — The Core

These are the APIs you can't easily get outside China. Each one is powered by Baidu's production-grade AI models.

👁 Baidu OCR General-purpose Chinese/English text extraction from images GET /paid/baidu-ocr
🔍 OCR High-Accuracy Enhanced OCR for complex layouts, low quality GET /paid/baidu-ocr-accurate
📊 Table OCR Extract structured data from tables in images GET /paid/baidu-ocr-table
✍ Handwriting OCR Recognize handwritten Chinese and English text GET /paid/baidu-ocr-handwrite
🪪 ID Card Recognition Extract name, ID number, address from Chinese ID cards GET /paid/baidu-idcard
🚗 VIN Code OCR Extract Vehicle Identification Numbers from photos GET /paid/baidu-ocr-vin
🎙 Speech-to-Text (ASR) Convert Chinese/English audio to text POST /paid/baidu-asr
🔊 Text-to-Speech (TTS) Natural-sounding Chinese voice synthesis POST /paid/baidu-tts
🌐 Translation Chinese ↔ English, Japanese, Korean, and more POST /paid/baidu-translate
🧬 HelixFold Protein structure prediction (Baidu's AlphaFold alternative) POST /paid/baidu-helixfold
👤 Face Comparison Compare two faces for similarity scoring POST /paid/baidu-face-compare
😊 Face Liveness Detect if a face is real (not a photo/video spoof) POST /paid/baidu-face-liveness

And many more: Content Moderation, NLP (sentiment, keyword, entity), Image Search, Landmark Recognition, Plant/Animal/Dish/Currency Recognition, Image Colorize, Style Transfer, Anime Generation, Gesture Recognition, Car Damage Detection, Driving License OCR, and more.

🧠 LLM Gateway — 7 Models, One API

Chat with DeepSeek, Kimi, Doubao, Qwen, Hunyuan, ERNIE, and GLM — all through a single OpenAI-compatible API. No need to register 7 different accounts.

ProviderModelsContextPrice / 1M tokens
DeepSeekdeepseek-chat, deepseek-reasoner64K$0.05 - $0.50
Kimi (Moonshot)kimi-latest, kimi-k1.5256K$0.10 - $1.20
Doubao (ByteDance)doubao-pro, doubao-lite, doubao-vision256K$0.05 - $0.80
Qwen (Alibaba)qwen-max, qwen-plus, qwen-turbo128K$0.08 - $1.50
Hunyuan (Tencent)hunyuan-standard, hunyuan-pro32K$0.05 - $1.00
ERNIE (Baidu)ernie-4.5, ernie-speed, ernie-lite128K$0.05 - $2.00
GLM (Zhipu)glm-4, glm-4-flash128K$0.05 - $1.00
🧠 Try All 7 Models in Playground

💰 Pricing — Pay Only for What You Use

TierPriceWhat You Get
Free$02,000 calls/day/IP · All endpoints · No signup
Starter$5500 credits · Valid forever · All endpoints
Pro$19.9/moUnlimited standard endpoints · Premium endpoints at 50% off
Business$89/moUnlimited everything · Priority support · Custom SLA
EnterpriseCustomDedicated infrastructure · White-label · Reseller discounts

💳 Pay with PayPal, Alipay, or USDC on Base. Credits never expire.

Why GoldBean?

Live Demo — Try It Now (Free)

These free endpoints work instantly — no API key needed. 50 calls/day per IP.

Click to see live weather
Click to see live BTC price
Click to see live gas fee
✅ Get 20 Extra Free Credits — No Credit Card, No Wallet
Click the button above to get 20 free credits instantly
50 free calls/day per IP (no signup). Register for 20 extra credits. Buy credits from $1 → — PayPal, Alipay, or USDC on Base.

📦 MCP — Use GoldBean in Your AI Agent

GoldBean is a Model Context Protocol (MCP) server. Connect it to Cursor, Claude, and other AI agents that support MCP.

# Install the MCP server
npx goldbean-mcp

# Or add to your MCP config
{
  "mcpServers": {
    "goldbean": {
      "command": "npx",
      "args": ["goldbean-mcp"]
    }
  }
}

Your AI agent can now call 56+ AI endpoints directly — OCR, translation, TTS, LLM chat, and more.

💬 What Developers Say

"Finally, a way to use Baidu OCR without a Chinese phone number. The API just works."

— Developer from Singapore

"The x402 micropayment is genius. I pay $0.01 per OCR call instead of a $50/month subscription."

— Indie developer from Berlin

"I integrated the MCP server into my Cursor workflow. Now my AI agent can do Chinese OCR automatically."

— AI researcher from Tokyo