FluxA AgentMarket

Models are provided by FluxA, while TokenPlan is a Baidu product with its own list of supported models. Check the model list below for the models a TokenPlan supports.

Official partnership

Baidu AI Cloud TokenPlan

Purchase Baidu AI Cloud TokenPlan at partner pricing. Choose a monthly allowance, purchase it through AgentMarket, then use Baidu AI Cloud's endpoint and API key directly.

Lite

20,000 credits
Valid for 1 month
$32$18/mo
Partner

Standard

60,000 credits
Valid for 1 month
$88$56/mo
Partner

Advanced

150,000 credits
Valid for 1 month
$208$131.5/mo
Partner
  • Your first TokenPlan comes with $2 AgentMarket Balance free. Claim it in your console after you buy.
  • Context length, max output and capabilities for every model are in the Model list tab below.
  • Works with Claude Code, OpenCode, and other mainstream developer tools.
Up to
43% OFF
Included models8
  • GLM-5.1
  • GLM-5.2
  • GLM-5.3
  • DeepSeek-V4-Flash-0731
  • DeepSeek-V4.1-Flash
  • DeepSeek-V4.1-Flash-1017
  • DeepSeek-V4-Pro
  • DeepSeek-V4-Pro-0813
Full list →

Your API key appears at the top of this page once the plan is active. Point any tool that accepts a custom endpoint at one of the two base URLs below.

Try it with

curl -sS https://api.baiduqianfan.ai/v2/tokenplan/team/chat/completions \
  -H "Authorization: Bearer <your-token-plan-key>" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.2","messages":[{"role":"user","content":"hello"}]}'

Full reference: the official Baidu AI Cloud Token Plan documentation.

Endpoints

The same key works on both. Which one you need depends on the tool, and they are not interchangeable: an Anthropic-protocol tool pointed at the OpenAI URL will not connect.

Anthropic protocol
https://api.baiduqianfan.ai/anthropic/tokenplan/team/v1/messages
OpenAI protocol
https://api.baiduqianfan.ai/v2/tokenplan/team/chat/completions

Supported coding tools

Pick a tool to load its configuration. Use these snippets as written: each one was verified against a live plan. Baidu's own setup docs target the personal plan and its /personal endpoints, which a team-seat key rejects with a 401.

Claude CodeSetup docs ↗
export ANTHROPIC_BASE_URL="https://api.baiduqianfan.ai/anthropic/tokenplan/team"
export ANTHROPIC_AUTH_TOKEN="<your-token-plan-key>"
export ANTHROPIC_MODEL="glm-5.2"
TokenPlan | FluxA AgentMarket