Use Qwen 3.8 Flash for FREE in Claude Code (FREE API Key)

Code With Yousaf www.youtube.com

Brief Summary

This video provides a step-by-step guide for obtaining and using a free API key for the Queen 3.8 Flash model. The tutorial covers how to access the B.AI platform, generate an API key, and implement it within cloud code. It illustrates the process of setting up the environment, running commands, and creating a travel agency website based on user specifications through the generated model.

  • Instructions on obtaining a free API key from B.AI.
  • Detailed steps for using the API key in cloud code.
  • Demonstration of creating and implementing a travel agency website using the model.

How to Get a Free API Key

The video opens with a clear intention to offer a free API key for the Queen 3.8 Flash model. Viewers are encouraged to watch until the end for details on how to utilize this key within various agents including cloud code and client applications.

The presenter details the steps for searching "B.AI" in the Chrome browser. Upon accessing the site, users will see a user interface that provides free access to different models, including Queen 3.8 Flash, which is identified as a frontier model. The presenter highlights that accessing this model does not incur any charges.

The process continues as the presenter clicks to create an API key, ensuring the viewers understand they can name their key for easy reference and how to store it for later use.

Setting Up Cloud Code

In this section, the presenter explains how to install cloud code, which is essential for using the API key effectively. Viewers are instructed to search for the "CL quick start" and run a simple command to install the necessary software. The presenter provides specific commands for both Mac and Windows users and verifies the installation by checking the cloud code version.

After confirming the installation, the presenter navigates to a specific working directory on their computer and opens cloud code there. They highlight how to run the cloud command in terminal, indicating a need to replace default settings with the user-specific model configuration.

Configuration and Usage

The video moves into configuring the settings needed to use the API key and model effectively. The presenter meticulously describes how to locate the relevant settings.json file, and if it's missing, how to create it.

Detailed instructions are provided on writing the necessary JSON code to configure the chosen model. The presenter explains how to copy the appropriate base URL and model names from the B.AI website to enable the API key successfully. After saving these changes, the presenter demonstrates how to restart the terminal to reinitialize the cloud code settings.

Implementing a Travel Agency Website

The final chapter showcases how to interact with the Queen 3.8 Flash model to create a travel agency website. The presenter enters queries to get planning suggestions and specifies preferences such as the type of website and technologies used.

The model responds by generating a complete plan, prompting the user for additional preferences before finalizing the website structure. The presenter illustrates the success of the implementation by showing the simplified, clean design of the website that has been generated.

The section concludes with the presenter reflecting on the quality of the output and encouraging viewers to try the process themselves.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the App Store
Get it on Google Play

Transcript

YouTube Transcript Generator

0:00 If you are looking for the free API key for the model of Queen 3.8 Flash, so watch this video until the end and you will get a free API key to use it inside your own agent. You can use it inside cloud code, open code, kilo code, client or any other agent. So let's get started directly to get the API key for free and use it inside cloud code. So first of all, search bar in your Chrome browser B.A. AI. So after searching for this you will see this user interface of B.AI one of the generous provider which give free access to the uh frontier models. So at the top you can see the notification right now they give free access to queen

0:47 3.8 mimo 2.5 and high3 but we are looking for the queen 3.8 flash which is a frontier model. So let fresh this try B AI. So click that button and we will move directly to their dashboard. So as you can see here you can directly chat in their website as a V code or you can select here your model select drop-down and here you can see all the models are listed but let's move to the queen 3.8 flash I will show you. As you can see this is free zero input zero output. It means totally free to use it and uh on the left side you can see the menu

1:33 bars like new chart usage. Here you can see your usage but let me first of all uh get the API key and we will use it. Let's press the API key and we will create an API key and use that. Here also you can see the free models. Let me move to the queen 3.8 it flash. As you can see, this is the input and output price is zero for this one. So, let's go and create an API key. I have already created this API key, but I would like to delete this one and create a fresh one. I will name it testing. API key has been created and I copied

2:20 that. Now I will store it somewhere. So after storing your API key somewhere now we need to use it inside our own agent. So for the agent you can choose cloud code, open code or any other agent but I would like to use it inside cloud code. So first you need to install cloud code. The installation is very simple. Simply search CL quick start and you will see just one command uh to install cloud code on your computer. Come here and this is the installation method you can use for Mac and Windows. These are the commands to use and install cloud code on your computer. So I have already installed cloud code. I will just verify it. Let me

3:06 move to the command prompt and write cloud version. As you can see 2.1 this is the cloud version. So let me now use it inside my own directory. So first of all I will move to a directory then I will open cloud code there. This is a directory AI test. I will right click and open terminal inside this. As you can see the path this is the path of this directory. So after opening this now to run cloud code for that simply write the cloud command. So it will run the CLI of cloud code. So by default I have the setting of cloud code but I would like to remove that setting and replace by my own queen 3.8. So to remove that setting for that we need to move to the C drive. Move to

3:53 C drive users your name and find directory in your Mac in Linux also. move to the docloud directory and find that and there find settings.json JSON file this file if this file was not existed you can create by your own cell inside this startcloud directory let me now open this file so after opening this settings dojson file as you can see write this JSON code inside this file first one is anthropic base URL anthropic o token and anthropic has uh three models oppose sonet and eco you can write just anthropic model or in Or you can write everyone like like this default to post default sun default eco.

4:39 So after writing this now first of all let's copy the base URL come here to the B website B.AI and here you can see at the start you can come here to the Python script or https copy this. If you are using inside open code or kilo code or client open ai compatible then copy until version one. But for cloud code we will just copy until bead.ai. Copy this website URL and come here and paste it here. I will paste my uh key later. Let me first of all paste the model names. So for the model names let's come here to the models and this queen 3.8 flash is free. I will copy the name of this

5:26 model and use it instead of oos and instead of sonit we can use you can use the same model or we can use other free models which they give axis like mimo 2.5 I would like to use this and also high3 this is also free so that's it after writing this now I will paste my API I key also. So that's it. Save this file and close it. And also uh let's move back to the AI test directory. So before we had the cloud code was running. So let's close this once. Close

6:14 the terminal. Relaunch the terminal and again write here cloud command. Press enter. Now as you can see our default model is queen 3.8. 8 flash. Now we can chat with this also. If you would like to check /mod move to uh the model you can see we have queen 3.8 mimu version 2.5 and i3. These are our custom models that we replaced by the default models. Press escape button. Now let's start chatting with this like hello. So we got our first response. Hello, how can I help you? Let me ask from this plan for building a travel agency website. So I just want a plan. So it

7:01 will give a plan for us. Then you can implement it. So the plan has been completed. So as you can see this is the structure. It asked me some questions that would you like a complete website or just a brusher type. So I selected I want a brusher type and other like which technology you want to use. I answer that I want plain HTML and also for the content I choose that placeholder content. So now the give me the plan complete plan. Now let's implement it. So they are asking that would you like to okay it is ready the plan is ready would you like to proceed. So let's me implement it. Press yes and implement it. So our uh tribal agency website has been

7:49 completed and this is the whole structure and the code that he has implemented. Now let's check it. Let's minimize it. As you can see this is the all all files which has been created right now. Let me double click on index html and we will see. As you can see this is a very clean and minimal design. Very good design as we expected from twin 3.8 8 flash destination packages about contact everything send in query I really like this type of simple designs so here you can select your region and win and just search it so it was all about the free API key for queen 3.8 at flash. I hope this was helpful for you. Please hit the like button and also leave a comment and subscribe to my YouTube channel. Thanks for watching.

8:35 See you in the next one.

Share

YouTube Video Summaries