开始使用
三步上手
- 充值预付余额不会事后计费
- 调用chat completions每个请求在模型运行前预留
- 为每个密钥设置上限可以低于项目限额;支出到此为止
- 通过 MCP、CLI 或 API 使用
- 预付,绝不事后扣费
- 你设的上限,75% 时提醒
curl -X POST https://api.galon.ai/v1/ai/chat/completions \ -H "Authorization: Bearer gln_test_••••" \ -H "Content-Type: application/json" \ -d '{"model": "{model}", "messages": [{"role": "user", "content": "Write a two-line menu description for an espresso."}]}' # the models served, with their prices curl https://api.galon.ai/v1/ai/models \ -H "Authorization: Bearer gln_test_••••"
# your coding agent, Galon's MCP server connected > Which models can I call, and what do they cost per million tokens? # the agent calls list_ai_models, get_pricing
基于以下服务构建