Back to Lobehub

Using Zhipu ChatGLM API Key in LobeHub

docs/usage/providers/zhipu.mdx

2.1.561.8 KB
Original Source

Using Zhipu ChatGLM in LobeHub

<Image alt={'Using Zhipu AI in LobeHub'} cover src={'/blog/assets34400653/497e3b20-57ca-4963-b6f4-897c9710c16e.webp'} />

Zhipu AI is a high-tech company founded in 2019, originating from the Department of Computer Science at Tsinghua University. It focuses on natural language processing, machine learning, and big data analytics, aiming to push the boundaries of AI technology in the field of cognitive intelligence.

This guide will walk you through how to use Zhipu AI in LobeHub:

<Steps> ### Step 1: Get Your Zhipu AI API Key
  • Visit and log in to the Zhipu AI Open Platform
  • Upon your first login, the system will automatically generate an API key for you and grant a free 25M token package
  • Navigate to the top menu and click on API Key to view your key

<Image alt={'Get your Zhipu AI API Key'} inStep src={'/blog/assets34400653/6d6f2bc5-1407-471d-95a8-fb03193edbdb.webp'} />

Step 2: Configure Zhipu AI in LobeHub

  • Go to the Settings page in LobeHub
  • Under AI Providers, find the configuration section for Zhipu AI

<Image alt={'Enter your Zhipu AI API Key in LobeHub'} inStep src={'/blog/assets34400653/2afffe79-1d37-423c-9363-f09605d5e640.webp'} />

  • Enable Zhipu AI and paste in your API key
  • Choose a Zhipu AI model for your assistant to start chatting

<Image alt={'Select and use a Zhipu AI model'} inStep src={'/blog/assets34400653/b83da559-73d1-4734-87d5-5e22955a9da2.webp'} />

<Callout type={'warning'}> You may need to pay for API usage depending on your usage. Please refer to Zhipu AI’s pricing policy for more details. </Callout> </Steps>

And that’s it! You’re now ready to start chatting with models provided by Zhipu AI in LobeHub.