This Add-on is using gemini 1.0 pro model for chatting.
Get API key in Google AI studio
create new project
Note that: Vertex api is a SaaS (paid service) from Google so you will pay your own queries and you should know theese:
PROJECT_ID
from Google Dev Consolegcloud-cli
you need to login via: gcloud auth login
gcloud auth application-default print-access-token
on terminal
Gemini API key
on addon settings, the addon will automaticly create new JWT's when token was expiredVertex has internet access and it can be search on internet but Gemini API has no internet accsess and model update date is (06-2023) so it can not react to recent events. Basicly Gemini is free but outdated, Vertex is paid, outated but it can search on internet when info isn't in the model.
GCP > Cloud AI and Industry Solutions > Vertex AI Model Garden > Language > Gemini > Gemini Pro
Per Unit 1K output: 0.00036$
Per Unit 1K input: 0.00012$
- The SKU's pricing tier unit quantity. For example, if the tier price is \$1 per 1000000 Bytes, then this column will show 1000000.
For reference: When I developed this addon, I sent 248 requests (it means 248 inputs and 248 outputs) and the cost was 0.019$.