Back to Lobehub

Using the 01.AI API Key in LobeHub

docs/usage/providers/zeroone.mdx

2.1.562.1 KB
Original Source

Using Zero One AI in LobeHub

<Image alt={'Using Zero One AI in LobeHub'} cover src={'/blog/assets34400653/4485fbc3-c309-4c4e-83ee-cb82392307a1.webp'} />

01.AI (Zero One AI) is a global company focused on AI 2.0 large language models and their applications. Its proprietary Yi-Large model, with over 100 billion parameters, has achieved top rankings alongside GPT-4 on Stanford’s English benchmark AlpacaEval 2.0.

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

<Steps> ### Step 1: Get Your 01.AI API Key
  • Register and log in to the 01.AI Developer Platform
  • Go to the Dashboard and navigate to the API Key Management section
  • An API key is automatically generated for you. You can also create a new one if needed

<Image alt={'Create an API Key on 01.AI'} inStep src={'/blog/assets34400653/72f165f4-d529-4f01-a3ac-163c66e5ea73.webp'} />

  • First-time users will need to complete account verification

<Image alt={'Complete Account Verification'} inStep src={'/blog/assets34400653/e6058456-8f9d-40c1-9ae5-1e9d5eeb9476.webp'} />

  • Click on the API key you created
  • In the pop-up dialog, copy and save your API key securely

<Image alt={'Save Your API Key'} inStep src={'/blog/assets34400653/f892fe64-c734-4944-91ff-9916a41bd1c9.webp'} />

Step 2: Configure 01.AI in LobeHub

  • Open the Settings panel in LobeHub
  • Under AI Providers, locate the configuration section for 01.AI

<Image alt={'Enter Your API Key'} inStep src={'/blog/assets34400653/f539d104-6d64-4cc7-8781-3b36b00d32d0.webp'} />

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

<Image alt={'Select a 01.AI Model and Start Chatting'} inStep src={'/blog/assets34400653/8bf73498-4649-4c4d-a95b-b68447599781.webp'} />

<Callout type={'warning'}> You may incur charges when using the API. Please refer to 01.AI’s pricing policy for more details. </Callout> </Steps>

And that’s it! You’re now ready to use 01.AI’s models in LobeHub for intelligent conversations.