Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Package Manager

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Manual

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Webhook Method

Websockets Method

WeCom Application

WeCom AI Bot

WeChat Official Account

Lark

DingTalk

Telegram

LINE

Slack

Misskey

Discord

OneBot v11

NapCat

Lagrange

Other Clients

Satori

Using LLOneBot

Using server-satori

Community-provided

Matrix

KOOK

VoceChat

AI Integration

✨ Model Providers

NewAPI

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

Usage

WebUI

Plugins

Built-in Commands

Tool Use

Anthropic Skills

SubAgent Orchestration

Proactive Tasks

MCP

Web Search

Knowledge Base

Custom Rules

Agent Runner

Unified Webhook Mode

Auto Context Compression

Agent Sandbox

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

AI

Storage

HTML to Image

Session Control

Publish Plugin

Platform Adapter Integration

AstrBot HTTP API

AstrBot Configuration File

Others

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

Connecting to TokenPony ​

Configuring the Chat Model ​

Register and log in to TokenPony.

Navigate to the TokenPony API Keys page and create a new API Key. Save it for later use.

Visit the TokenPony Models page to select your desired model. Note down the model name for later use.

Open the AstrBot WebUI, click Service Providers in the left sidebar -> Add Provider -> select TokenPony (requires version >= 4.3.3)

Configuring Chat Model

If you don't see the TokenPony option, you can also click Connect to OpenAI as shown in the image and change the API Base URL to https://api.tokenpony.cn/v1.

Paste the API Key and Model Name you obtained earlier, then click Save to complete the setup. You can click the Refresh button under Service Provider Availability to verify whether the configuration is successful.

Applying the Chat Model ​

In the AstrBot WebUI, click Configuration in the left sidebar, find Default Chat Model under AI Configuration, select the tokenpony (TokenPony) provider you just created, and click Save.

Configuring Chat Model 2

Edit this page on GitHub

Last updated:

Pager
PreviousSiliconFlow
Next302.AI

Deployed on Rainyun Logo