{"id":105603,"date":"2025-05-23T12:42:12","date_gmt":"2025-05-23T05:42:12","guid":{"rendered":"https:\/\/wiki.tino.org\/?p=105603"},"modified":"2026-10-30T10:57:28","modified_gmt":"2026-10-30T03:57:28","slug":"cach-lay-api-key-cua-google-gemini","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cach-lay-api-key-cua-google-gemini\/","title":{"rendered":"C\u00e1ch l\u1ea5y API Key Gemini mi\u1ec5n ph\u00ed tr\u00ean Google AI Studio (c\u1eadp nh\u1eadt 10\/2026)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>\u0110\u1ec3 l\u1ea5y API key Gemini mi\u1ec5n ph\u00ed, b\u1ea1n \u0111\u0103ng nh\u1eadp Google AI Studio (aistudio.google.com) b\u1eb1ng t\u00e0i kho\u1ea3n Google, ch\u1ecdn Get API key, nh\u1ea5n Create API key r\u1ed3i sao ch\u00e9p key.<\/strong> Kh\u00f4ng c\u1ea7n t\u1ea1o t\u00e0i kho\u1ea3n Google Cloud; key d\u00f9ng ngay \u0111\u01b0\u1ee3c Free tier c\u1ee7a c\u00e1c model Gemini Flash.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">API key l\u00e0 &#8220;ch\u00eca kho\u00e1&#8221; \u0111\u1ec3 n8n, OpenClaw hay \u1ee9ng d\u1ee5ng c\u1ee7a b\u1ea1n g\u1ecdi Gemini. Gemini l\u00e0 m\u1ed9t trong 11 n\u1ec1n t\u1ea3ng c\u00f3 g\u00f3i mi\u1ec5n ph\u00ed \u0111\u01b0\u1ee3c t\u1ed5ng h\u1ee3p \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/llm-lay-api-key-mien-phi\/\">LLM API key mi\u1ec5n ph\u00ed cho AI Agent<\/a>; gi\u1edbi thi\u1ec7u v\u1ec1 model c\u00f3 \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/gemini-ai-la-gi\/\">Gemini AI l\u00e0 g\u00ec<\/a>. D\u1eef ki\u1ec7n v\u1ec1 model v\u00e0 h\u1ea1n m\u1ee9c trong b\u00e0i \u0111\u1ed1i chi\u1ebfu trang ch\u00ednh th\u1ee9c c\u1ee7a Google ng\u00e0y 29\/10\/2026.<\/p>\n\n\n\n<h2 id=\"L\u1ea5y_API_Key_Gemini_c\u00f3_c\u1ea7n_t\u00e0i_kho\u1ea3n_Google_Cloud_kh\u00f4ng?\">L\u1ea5y API Key Gemini c\u00f3 c\u1ea7n t\u00e0i kho\u1ea3n Google Cloud kh\u00f4ng?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. L\u1ea5y API key Gemini qua Google AI Studio kh\u00f4ng y\u00eau c\u1ea7u t\u00e0i kho\u1ea3n Google Cloud Platform (GCP). V\u1ec1 m\u1eb7t k\u1ef9 thu\u1eadt, h\u1ec7 th\u1ed1ng s\u1ebd t\u1ef1 \u0111\u1ed9ng t\u1ea1o m\u1ed9t &#8220;d\u1ef1 \u00e1n ng\u1ea7m&#8221; (Google Cloud Project) \u0111\u1ec3 g\u00e1n API Key \u0111\u00f3 v\u00e0o. M\u1ecdi thao t\u00e1c th\u1ef1c hi\u1ec7n ngay t\u1ea1i <a href=\"https:\/\/aistudio.google.com\/\" target=\"_blank\" rel=\"noopener nofollow\">Google AI Studio<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Google Cloud ch\u1ec9 c\u1ea7n khi b\u1ea1n mu\u1ed1n v\u01b0\u1ee3t h\u1ea1n m\u1ee9c mi\u1ec5n ph\u00ed, d\u00f9ng model kh\u00f4ng c\u00f3 Free tier ho\u1eb7c d\u00f9ng Gemini qua Vertex AI. Khi \u0111\u00f3 b\u1ea1n c\u1ea7n:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u1ea1o m\u1ed9t d\u1ef1 \u00e1n tr\u00ean Google Cloud Platform.<\/li>\n\n\n<li>K\u00edch ho\u1ea1t t\u00e0i kho\u1ea3n thanh to\u00e1n (Cloud Billing) cho d\u1ef1 \u00e1n \u0111\u00f3.<\/li>\n\n\n<li>Khi d\u1ef1 \u00e1n \u0111\u00e3 b\u1eadt thanh to\u00e1n, request qua Gemini API (k\u1ec3 c\u1ea3 t\u1eeb Google AI Studio) \u0111\u01b0\u1ee3c t\u00ednh theo gi\u00e1 tr\u1ea3 ph\u00ed v\u00e0 c\u00f3 h\u1ea1n m\u1ee9c cao h\u01a1n.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Chi_ph\u00ed_v\u00e0_thanh_to\u00e1n_nh\u01b0_th\u1ebf_n\u00e0o?\">Chi ph\u00ed v\u00e0 thanh to\u00e1n nh\u01b0 th\u1ebf n\u00e0o?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Gemini API mi\u1ec5n ph\u00ed trong h\u1ea1n m\u1ee9c Free tier c\u1ee7a m\u1ed9t s\u1ed1 model, v\u01b0\u1ee3t h\u1ea1n m\u1ee9c ho\u1eb7c d\u00f9ng model tr\u1ea3 ph\u00ed th\u00ec t\u00ednh ti\u1ec1n theo token (pay-as-you-go). Token \u0111\u1ea7u v\u00e0o v\u00e0 \u0111\u1ea7u ra t\u00ednh gi\u00e1 ri\u00eang; token &#8220;thinking&#8221; t\u00ednh v\u00e0o \u0111\u1ea7u ra. H\u1ea1n m\u1ee9c t\u0103ng theo b\u1eadc t\u00e0i kho\u1ea3n.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Model c\u00f3 Free tier:<\/strong> theo <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/pricing\" target=\"_blank\" rel=\"noopener nofollow\">trang gi\u00e1 Gemini API<\/a> (c\u1eadp nh\u1eadt 28\/10\/2026), Gemini 3.8 Flash v\u00e0 Gemini 3.5 Flash-Lite c\u00f3 Free tier; model flagship Gemini 4 Argon kh\u00f4ng c\u00f3 Free tier. Danh s\u00e1ch \u0111\u1ea7y \u0111\u1ee7 \u1edf trang gi\u00e1.<\/li>\n\n\n<li><strong>H\u1ea1n m\u1ee9c Free tier:<\/strong> s\u1ed1 request m\u1ed7i ph\u00fat (RPM), m\u1ed7i ng\u00e0y (RPD) v\u00e0 token m\u1ed7i ph\u00fat hi\u1ec3n th\u1ecb trong AI Studio, m\u1ee5c Rate Limit, theo t\u1eebng model v\u00e0 d\u1ef1 \u00e1n.<\/li>\n\n\n<li><strong>D\u1eef li\u1ec7u:<\/strong> n\u1ed9i dung g\u1eedi qua Free tier \u0111\u01b0\u1ee3c Google d\u00f9ng \u0111\u1ec3 c\u1ea3i thi\u1ec7n s\u1ea3n ph\u1ea9m; Paid tier th\u00ec kh\u00f4ng.<\/li>\n\n\n<li><strong>Gemini 2.5:<\/strong> t\u1eeb 18\/09\/2026 ch\u1ec9 ng\u01b0\u1eddi \u0111\u00e3 d\u00f9ng g\u1ea7n \u0111\u00e2y m\u1edbi truy c\u1eadp \u0111\u01b0\u1ee3c (<a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/models\" target=\"_blank\" rel=\"noopener nofollow\">trang models<\/a>); ng\u01b0\u1eddi m\u1edbi n\u00ean ch\u1ecdn d\u00f2ng 3.x.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-api-key-cua-google-gemini-bac-han-muc.webp\" alt=\"S\u01a1 \u0111\u1ed3 c\u00e1c b\u1eadc h\u1ea1n m\u1ee9c Gemini API: Free tier khi ch\u01b0a b\u1eadt billing; Tier 1 khi li\u00ean k\u1ebft t\u00e0i kho\u1ea3n billing; Tier 2 khi \u0111\u00e3 tr\u1ea3 100 USD v\u00e0 sau 3 ng\u00e0y; Tier 3 khi \u0111\u00e3 tr\u1ea3 1.000 USD v\u00e0 sau 30 ng\u00e0y; b\u1eadc c\u00e0ng cao RPM, RPD c\u00e0ng l\u1edbn\" class=\"wp-image-132862\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-api-key-cua-google-gemini-bac-han-muc.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-api-key-cua-google-gemini-bac-han-muc-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-api-key-cua-google-gemini-bac-han-muc-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-api-key-cua-google-gemini-bac-han-muc-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Theo <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/rate-limits\" target=\"_blank\" rel=\"noopener nofollow\">trang rate limits<\/a>, Tier 1 c\u00f2n c\u00f3 tr\u1ea7n chi ti\u00eau 250 USD v\u00e0 gi\u1edbi h\u1ea1n 10 USD m\u1ed7i 10 ph\u00fat cho t\u00e0i kho\u1ea3n m\u1edbi li\u00ean k\u1ebft billing. Gi\u00e1 c\u0169ng c\u00f3 th\u1ec3 \u0111\u1ed5i: Google \u0111\u00e3 th\u00f4ng b\u00e1o gi\u00e1 Gemini 4 Argon t\u0103ng t\u1eeb 2\/10 USD l\u00ean 4\/20 USD cho m\u1ed7i 1 tri\u1ec7u token \u0111\u1ea7u v\u00e0o\/\u0111\u1ea7u ra t\u1eeb 01\/12\/2026, Gemini 3.8 Flash t\u0103ng t\u1eeb 0,75\/3,75 USD l\u00ean 1,50\/7,50 USD t\u1eeb 01\/01\/2027. H\u00e3y xem l\u1ea1i trang gi\u00e1 tr\u01b0\u1edbc khi t\u00ednh ng\u00e2n s\u00e1ch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Token l\u00e0 g\u00ec v\u00e0 v\u00ec sao ti\u1ebfng Vi\u1ec7t th\u01b0\u1eddng t\u1ed1n token h\u01a1n ti\u1ebfng Anh \u0111\u01b0\u1ee3c gi\u1ea3i th\u00edch \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/phan-biet-chat-voi-token-credit-cua-ai\/\">ph\u00e2n bi\u1ec7t g\u00f3i chat v\u1edbi token, credit<\/a>.<\/p>\n\n\n\n<h2 id=\"C\u00e1ch_l\u1ea5y_API_Key_Google_Gemini_mi\u1ec5n_ph\u00ed\">C\u00e1ch l\u1ea5y API Key Google Gemini mi\u1ec5n ph\u00ed<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ea5y API key Gemini mi\u1ec5n ph\u00ed m\u1ea5t kho\u1ea3ng m\u1ed9t ph\u00fat: \u0111\u0103ng nh\u1eadp Google AI Studio, m\u1edf m\u1ee5c Get API key, t\u1ea1o key m\u1edbi trong d\u1ef1 \u00e1n m\u1eb7c \u0111\u1ecbnh r\u1ed3i sao ch\u00e9p. Vi\u1ec7t Nam n\u1eb1m trong danh s\u00e1ch khu v\u1ef1c \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3, n\u00ean kh\u00f4ng c\u1ea7n \u0111\u1ed5i v\u00f9ng hay d\u00f9ng c\u00f4ng c\u1ee5 trung gian.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 1: <\/strong>M\u1edf tr\u00ecnh duy\u1ec7t web v\u00e0 truy c\u1eadp v\u00e0o trang web c\u1ee7a Google AI Studio: <a href=\"https:\/\/aistudio.google.com\/\" target=\"_blank\" rel=\"noopener nofollow\">https:\/\/aistudio.google.com\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u0103ng nh\u1eadp b\u1eb1ng t\u00e0i kho\u1ea3n Google. Danh s\u00e1ch qu\u1ed1c gia d\u00f9ng \u0111\u01b0\u1ee3c Gemini API \u1edf trang <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/available-regions\" target=\"_blank\" rel=\"noopener nofollow\">available regions<\/a> c\u1ee7a Google.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 2: <\/strong>Sau khi \u0111\u0103ng nh\u1eadp th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd th\u1ea5y giao di\u1ec7n c\u1ee7a Google AI Studio. T\u00ecm v\u00e0 nh\u1ea5p v\u00e0o m\u1ee5c &#8220;<strong>Get API key<\/strong>&#8221; \u1edf g\u00f3c d\u01b0\u1edbi b\u00ean tr\u00e1i.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"643\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/1-3-1024x643-che.webp\" alt=\"\u1ea2nh ch\u1ee5p giao di\u1ec7n Google AI Studio, m\u0169i t\u00ean ch\u1ec9 m\u1ee5c Get API key \u1edf g\u00f3c d\u01b0\u1edbi b\u00ean tr\u00e1i; email t\u00e0i kho\u1ea3n \u0111\u00e3 \u0111\u01b0\u1ee3c che\" class=\"wp-image-132840\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/1-3-1024x643-che.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/1-3-1024x643-che-300x188.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/1-3-1024x643-che-768x482.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">M\u1ee5c Get API key trong Google AI Studio. \u1ea2nh ch\u1ee5p giao di\u1ec7n t\u1ea1i th\u1eddi \u0111i\u1ec3m vi\u1ebft b\u00e0i; giao di\u1ec7n c\u00f3 th\u1ec3 \u0111\u00e3 \u0111\u1ed5i.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Trong trang qu\u1ea3n l\u00fd API Key, b\u1ea1n s\u1ebd th\u1ea5y t\u00f9y ch\u1ecdn &#8220;<strong>+ Create API key<\/strong>&#8220;. Nh\u1ea5p v\u00e0o \u0111\u00f3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1-1024x538.png\" alt=\"\u1ea2nh ch\u1ee5p trang API Keys tr\u1ed1ng trong Google AI Studio, m\u0169i t\u00ean ch\u1ec9 n\u00fat Create API key\" class=\"wp-image-123956\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1-1024x538.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1-300x158.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1-768x403.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1-1536x807.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/2-1.png 1588w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Trang API Keys, n\u00fat Create API key.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 3: <\/strong>\u0110\u1eb7t t\u00ean cho API Key v\u00e0 ch\u1ecdn <strong>Project<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu \u0111ang s\u1eed d\u1ee5ng t\u00e0i kho\u1ea3n Google \u0111\u00e3 t\u1ea1o Google Cloud, b\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn m\u1ed9t project hi\u1ec7n c\u00f3.<\/li>\n\n\n<li>\u0110\u1ed1i v\u1edbi t\u00e0i kho\u1ea3n Google b\u00ecnh th\u01b0\u1eddng, b\u1ea1n h\u00e3y \u0111\u1ec3 m\u1eb7c \u0111\u1ecbnh.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3, nh\u1ea5n <strong>Create key.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"919\" height=\"490\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/3-1.png\" alt=\"\u1ea2nh ch\u1ee5p h\u1ed9p tho\u1ea1i Create a new key: \u00f4 Name your key ghi Gemini API Key, ch\u1ecdn Default Gemini Project, n\u00fat Create key\" class=\"wp-image-123957\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/3-1.png 919w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/3-1-300x160.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/3-1-768x409.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><figcaption class=\"wp-element-caption\">\u0110\u1eb7t t\u00ean key v\u00e0 ch\u1ecdn project.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Key m\u1edbi xu\u1ea5t hi\u1ec7n trong danh s\u00e1ch, c\u1ed9t Quota Tier ghi Free tier. Nh\u1ea5n bi\u1ec3u t\u01b0\u1ee3ng sao ch\u00e9p v\u00e0 l\u01b0u key v\u00e0o bi\u1ebfn m\u00f4i tr\u01b0\u1eddng ho\u1eb7c tr\u00ecnh qu\u1ea3n l\u00fd m\u1eadt kh\u1ea9u.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"563\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1-1024x563.png\" alt=\"\u1ea2nh ch\u1ee5p danh s\u00e1ch API Keys c\u00f3 key m\u1edbi, d\u1ef1 \u00e1n Default Gemini Project, Quota Tier Free tier, n\u00fat sao ch\u00e9p key\" class=\"wp-image-123958\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1-1024x563.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1-300x165.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1-768x423.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1-1536x845.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/4-1.png 1594w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Key m\u1edbi \u1edf b\u1eadc Free tier, n\u00fat sao ch\u00e9p b\u00ean ph\u1ea3i.<\/figcaption><\/figure>\n\n\n\n<h2 id=\"C\u00e1ch_n\u00e2ng_API_key_Gemini_l\u00ean_Tier_1_b\u1eb1ng_Google_Cloud\">C\u00e1ch n\u00e2ng API key Gemini l\u00ean Tier 1 b\u1eb1ng Google Cloud<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Mu\u1ed1n d\u00f9ng model kh\u00f4ng c\u00f3 Free tier nh\u01b0 Gemini 4 Argon, ho\u1eb7c c\u1ea7n h\u1ea1n m\u1ee9c cao h\u01a1n Free tier, b\u1ea1n n\u00e2ng key l\u00ean Tier 1 b\u1eb1ng c\u00e1ch t\u1ea1o d\u1ef1 \u00e1n <strong>Google Cloud Platform<\/strong>, li\u00ean k\u1ebft t\u00e0i kho\u1ea3n thanh to\u00e1n, r\u1ed3i t\u1ea1o key trong d\u1ef1 \u00e1n \u0111\u00f3. T\u1eeb l\u00fac n\u00e0y request \u0111\u01b0\u1ee3c t\u00ednh ph\u00ed theo token.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Xem h\u01b0\u1edbng d\u1eabn t\u1ea1i b\u00e0i vi\u1ebft: <a href=\"https:\/\/tino.vn\/blog\/tao-tai-khoan-google-cloud-platform\/\">H\u01b0\u1edbng d\u1eabn t\u1ea1o t\u00e0i kho\u1ea3n Google Cloud Platform v\u00e0 s\u1eed d\u1ee5ng c\u01a1 b\u1ea3n<\/a><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3, khi l\u1ea5y API Key nh\u01b0 h\u01b0\u1edbng d\u1eabn \u1edf ph\u1ea7n tr\u00ean, b\u1ea1n h\u00e3y ch\u1ecdn Project t\u1ea1o trong <strong>Google Cloud Platform <\/strong>thay v\u00ec Project m\u1eb7c \u0111\u1ecbnh.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/5-1-1024x566.png\" alt=\"\u1ea2nh ch\u1ee5p h\u1ed9p tho\u1ea1i Create a new key, danh s\u00e1ch project c\u00f3 Import project, Create project, Default Gemini Project v\u00e0 project Tung \u0111\u01b0\u1ee3c khoanh \u0111\u1ecf\" class=\"wp-image-123961\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/5-1-1024x566.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/5-1-300x166.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/5-1-768x425.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/5-1.png 1034w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">L\u00fac n\u00e0y, c\u1ed9t Quota Tier c\u1ee7a key hi\u1ec3n th\u1ecb <strong>Tier 1<\/strong>. N\u00ean \u0111\u1eb7t ng\u00e2n s\u00e1ch v\u00e0 c\u1ea3nh b\u00e1o chi ti\u00eau trong Google Cloud Billing ngay sau b\u01b0\u1edbc n\u00e0y.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"404\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/6-1-1024x404.png\" alt=\"\u1ea2nh ch\u1ee5p danh s\u00e1ch API Keys: key thu\u1ed9c project Tung \u0111\u00e3 li\u00ean k\u1ebft billing hi\u1ec3n th\u1ecb Tier 1, hai key c\u00f2n l\u1ea1i \u1edf Free tier\" class=\"wp-image-123964\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/6-1-1024x404.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/6-1-300x118.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/6-1-768x303.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/05\/6-1.png 1520w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Key trong d\u1ef1 \u00e1n c\u00f3 billing hi\u1ec3n th\u1ecb Tier 1. \u1ea2nh ch\u1ee5p giao di\u1ec7n t\u1ea1i th\u1eddi \u0111i\u1ec3m vi\u1ebft b\u00e0i; giao di\u1ec7n c\u00f3 th\u1ec3 \u0111\u00e3 \u0111\u1ed5i.<\/figcaption><\/figure>\n\n\n\n<h2 id=\"D\u00f9ng_API_key_Gemini_trong_n8n,_OpenClaw_v\u00e0_Hermes_Agent\">D\u00f9ng API key Gemini trong n8n, OpenClaw v\u00e0 Hermes Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00f3 key, b\u1ea1n d\u00e1n key v\u00e0o ph\u1ea7n c\u1ea5u h\u00ecnh provider Google Gemini (Google AI Studio) c\u1ee7a c\u00f4ng c\u1ee5 \u0111ang d\u00f9ng v\u00e0 ch\u1ecdn t\u00ean model, v\u00ed d\u1ee5 m\u1ed9t model Flash c\u00f3 Free tier. H\u1ea7u h\u1ebft c\u00f4ng c\u1ee5 agent hi\u1ec7n nay \u0111\u1ec1u c\u00f3 s\u1eb5n provider n\u00e0y, kh\u00f4ng c\u1ea7n vi\u1ebft code.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>n8n:<\/strong> t\u1ea1o credential Google Gemini (PaLM) API, d\u00e1n key; c\u00e1ch l\u01b0u key an to\u00e0n \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/bao-mat-credentials-va-api-keys-trong-n8n\/\">b\u1ea3o m\u1eadt credentials v\u00e0 API key trong n8n<\/a>.<\/li>\n\n\n<li><strong>OpenClaw:<\/strong> th\u00eam provider v\u00e0 key theo b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/doi-provider-model-va-api-key-trong-openclaw\/\">\u0111\u1ed5i provider, model v\u00e0 API key trong OpenClaw<\/a>.<\/li>\n\n\n<li><strong>Hermes Agent:<\/strong> ch\u1ea1y l\u1ec7nh <code>hermes model<\/code>, ch\u1ecdn Google AI Studio v\u00e0 nh\u1eadp key; c\u00e0i \u0111\u1eb7t \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cai-dat-va-su-dung-hermes-agent-tren-vps\/\">c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent tr\u00ean VPS<\/a>.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"C\u00e1ch_gi\u1eef_API_key_Gemini_an_to\u00e0n\">C\u00e1ch gi\u1eef API key Gemini an to\u00e0n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">API key Gemini cho ph\u00e9p b\u1ea5t k\u1ef3 ai c\u1ea7m n\u00f3 g\u1ecdi API d\u01b0\u1edbi d\u1ef1 \u00e1n c\u1ee7a b\u1ea1n: v\u1edbi Free tier l\u00e0 l\u00e0m c\u1ea1n h\u1ea1n m\u1ee9c, v\u1edbi d\u1ef1 \u00e1n \u0111\u00e3 b\u1eadt billing l\u00e0 ph\u00e1t sinh ph\u00ed. H\u00e3y gi\u1eef key \u1edf ph\u00eda m\u00e1y ch\u1ee7, gi\u1edbi h\u1ea1n chi ti\u00eau v\u00e0 xo\u00e1 key ngay khi nghi b\u1ecb l\u1ed9.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kh\u00f4ng d\u00e1n key v\u00e0o JavaScript ch\u1ea1y tr\u00ean tr\u00ecnh duy\u1ec7t hay \u1ee9ng d\u1ee5ng di \u0111\u1ed9ng, kh\u00f4ng commit l\u00ean GitHub c\u00f4ng khai; d\u00f9ng bi\u1ebfn m\u00f4i tr\u01b0\u1eddng ho\u1eb7c secret manager.<\/li>\n\n\n<li>D\u1ef1 \u00e1n c\u00f3 billing: \u0111\u1eb7t ng\u00e2n s\u00e1ch v\u00e0 c\u1ea3nh b\u00e1o trong Google Cloud Billing; Tier 1 \u0111\u00e3 c\u00f3 tr\u1ea7n chi ti\u00eau m\u1eb7c \u0111\u1ecbnh nh\u01b0ng kh\u00f4ng thay \u0111\u01b0\u1ee3c ng\u00e2n s\u00e1ch b\u1ea1n t\u1ef1 \u0111\u1eb7t.<\/li>\n\n\n<li>M\u1ed7i \u1ee9ng d\u1ee5ng m\u1ed9t key, \u0111\u1eb7t t\u00ean r\u00f5 r\u00e0ng \u0111\u1ec3 d\u1ec5 xo\u00e1 \u0111\u00fang key khi c\u1ea7n.<\/li>\n\n\n<li>L\u1ed9 key: xo\u00e1 key trong AI Studio, t\u1ea1o key m\u1edbi v\u00e0 ki\u1ec3m tra m\u1ee5c Usage.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Khi_n\u00e0o_kh\u00f4ng_n\u00ean_d\u00f9ng_Free_tier_c\u1ee7a_Gemini?\">Khi n\u00e0o kh\u00f4ng n\u00ean d\u00f9ng Free tier c\u1ee7a Gemini?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng n\u00ean d\u00f9ng Free tier khi g\u1eedi d\u1eef li\u1ec7u kh\u00e1ch h\u00e0ng ho\u1eb7c t\u00e0i li\u1ec7u n\u1ed9i b\u1ed9, v\u00ec Google d\u00f9ng d\u1eef li\u1ec7u Free tier \u0111\u1ec3 c\u1ea3i thi\u1ec7n s\u1ea3n ph\u1ea9m. Free tier c\u0169ng kh\u00f4ng h\u1ee3p cho s\u1ea3n ph\u1ea9m c\u00f3 nhi\u1ec1u ng\u01b0\u1eddi d\u00f9ng: h\u1ea1n m\u1ee9c RPM, RPD th\u1ea5p v\u00e0 c\u00f3 th\u1ec3 thay \u0111\u1ed5i, model flagship kh\u00f4ng c\u00f3 Free tier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu c\u1ea7n l\u1ef1a ch\u1ecdn kh\u00e1c, b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/llm-lay-api-key-mien-phi\/\">LLM API key mi\u1ec5n ph\u00ed<\/a> c\u00f3 b\u1ea3ng so s\u00e1nh 11 n\u1ec1n t\u1ea3ng; c\u00e1c d\u00f2ng model Gemini hi\u1ec7n c\u00f3 \u0111\u01b0\u1ee3c li\u1ec7t k\u00ea \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/model-cua-gemini\/\">c\u00e1c model c\u1ee7a Gemini<\/a>.<\/p>\n\n\n\n<h2 id=\"Ch\u1ea1y_agent_d\u00f9ng_Gemini_24\/7\">Ch\u1ea1y agent d\u00f9ng Gemini 24\/7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Agent nh\u01b0 OpenClaw c\u1ea7n ch\u1ea1y li\u00ean t\u1ee5c \u0111\u1ec3 nh\u1eadn tin nh\u1eafn v\u00e0 g\u1ecdi Gemini; m\u00e1y t\u00ednh c\u00e1 nh\u00e2n t\u1eaft l\u00e0 agent d\u1eebng. \u0110\u1eb7t agent tr\u00ean VPS gi\u1ea3i quy\u1ebft vi\u1ec7c n\u00e0y, c\u00f2n ph\u1ea7n suy lu\u1eadn v\u1eabn do Gemini x\u1eed l\u00fd; so s\u00e1nh c\u1ea5u h\u00ecnh c\u00f3 \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/vps-chay-ai-agent\/\">VPS ch\u1ea1y AI Agent<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y OpenClaw 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-openclaw\">VPS OpenClaw c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n OpenClaw tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n\n\n\n<h2 id=\"C\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"API_Key_Gemini_c\u00f3_th\u1eddi_h\u1ea1n_kh\u00f4ng?\">API Key Gemini c\u00f3 th\u1eddi h\u1ea1n kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Key t\u1ea1o trong Google AI Studio kh\u00f4ng c\u00f3 ng\u00e0y h\u1ebft h\u1ea1n ghi s\u1eb5n; key b\u1ecb v\u00f4 hi\u1ec7u khi b\u1ea1n xo\u00e1, khi d\u1ef1 \u00e1n b\u1ecb xo\u00e1 ho\u1eb7c khi vi ph\u1ea1m ch\u00ednh s\u00e1ch c\u1ee7a Google. N\u00ean t\u1ea1o key m\u1edbi \u0111\u1ecbnh k\u1ef3 v\u00e0 xo\u00e1 key kh\u00f4ng d\u00f9ng.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"API_Key_Gemini_c\u00f3_mi\u1ec5n_ph\u00ed_kh\u00f4ng?\">API Key Gemini c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">T\u1ea1o key mi\u1ec5n ph\u00ed, v\u00e0 key g\u1ecdi mi\u1ec5n ph\u00ed \u0111\u01b0\u1ee3c c\u00e1c model c\u00f3 Free tier nh\u01b0 Gemini 3.8 Flash, 3.5 Flash-Lite trong h\u1ea1n m\u1ee9c (\u0111\u1ed1i chi\u1ebfu <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/pricing\" target=\"_blank\" rel=\"noopener nofollow\">trang gi\u00e1<\/a> 29\/10\/2026). Model kh\u00f4ng c\u00f3 Free tier nh\u01b0 Gemini 4 Argon, ho\u1eb7c khi v\u01b0\u1ee3t h\u1ea1n m\u1ee9c, c\u1ea7n li\u00ean k\u1ebft billing v\u00e0 tr\u1ea3 theo token.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"V\u00ec_sao_API_key_Gemini_b\u00e1o_l\u1ed7i_429?\">V\u00ec sao API key Gemini b\u00e1o l\u1ed7i 429?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">L\u1ed7i 429 ngh\u0129a l\u00e0 \u0111\u00e3 ch\u1ea1m h\u1ea1n m\u1ee9c RPM, RPD ho\u1eb7c token c\u1ee7a model trong b\u1eadc hi\u1ec7n t\u1ea1i. Ch\u1edd h\u1ea1n m\u1ee9c \u0111\u1eb7t l\u1ea1i, gi\u1ea3m t\u1ed1c \u0111\u1ed9 g\u1eedi request, \u0111\u1ed5i sang model kh\u00e1c c\u00f3 Free tier ho\u1eb7c n\u00e2ng l\u00ean Tier 1. Xem h\u1ea1n m\u1ee9c \u0111ang \u00e1p d\u1ee5ng trong AI Studio, m\u1ee5c Rate Limit.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"API Key Gemini c\u00f3 th\u1eddi h\u1ea1n kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Key t\u1ea1o trong Google AI Studio kh\u00f4ng c\u00f3 ng\u00e0y h\u1ebft h\u1ea1n ghi s\u1eb5n; key b\u1ecb v\u00f4 hi\u1ec7u khi b\u1ea1n xo\u00e1, khi d\u1ef1 \u00e1n b\u1ecb xo\u00e1 ho\u1eb7c khi vi ph\u1ea1m ch\u00ednh s\u00e1ch c\u1ee7a Google. N\u00ean t\u1ea1o key m\u1edbi \u0111\u1ecbnh k\u1ef3 v\u00e0 xo\u00e1 key kh\u00f4ng d\u00f9ng.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"API Key Gemini c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>T\u1ea1o key mi\u1ec5n ph\u00ed, v\u00e0 key g\u1ecdi mi\u1ec5n ph\u00ed \u0111\u01b0\u1ee3c c\u00e1c model c\u00f3 Free tier nh\u01b0 Gemini 3.8 Flash, 3.5 Flash-Lite trong h\u1ea1n m\u1ee9c (\u0111\u1ed1i chi\u1ebfu <a>trang gi\u00e1<\/a> 29\/10\/2026). Model kh\u00f4ng c\u00f3 Free tier nh\u01b0 Gemini 4 Argon, ho\u1eb7c khi v\u01b0\u1ee3t h\u1ea1n m\u1ee9c, c\u1ea7n li\u00ean k\u1ebft billing v\u00e0 tr\u1ea3 theo token.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"V\u00ec sao API key Gemini b\u00e1o l\u1ed7i 429?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>L\u1ed7i 429 ngh\u0129a l\u00e0 \u0111\u00e3 ch\u1ea1m h\u1ea1n m\u1ee9c RPM, RPD ho\u1eb7c token c\u1ee7a model trong b\u1eadc hi\u1ec7n t\u1ea1i. Ch\u1edd h\u1ea1n m\u1ee9c \u0111\u1eb7t l\u1ea1i, gi\u1ea3m t\u1ed1c \u0111\u1ed9 g\u1eedi request, \u0111\u1ed5i sang model kh\u00e1c c\u00f3 Free tier ho\u1eb7c n\u00e2ng l\u00ean Tier 1. Xem h\u1ea1n m\u1ee9c \u0111ang \u00e1p d\u1ee5ng trong AI Studio, m\u1ee5c Rate Limit.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ec3 l\u1ea5y API key Gemini mi\u1ec5n ph\u00ed, b\u1ea1n \u0111\u0103ng nh\u1eadp Google AI Studio (aistudio.google.com) b\u1eb1ng t\u00e0i kho\u1ea3n Google, ch\u1ecdn Get API key, nh\u1ea5n Create API key r\u1ed3i sao ch\u00e9p key. Kh\u00f4ng c\u1ea7n t\u1ea1o t\u00e0i kho\u1ea3n Google Cloud; key d\u00f9ng ngay \u0111\u01b0\u1ee3c Free tier c\u1ee7a c\u00e1c model Gemini Flash. API key l\u00e0 &#8220;ch\u00eca kho\u00e1&#8221; \u0111\u1ec3 n8n, [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":105619,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7674],"tags":[7570],"class_list":["post-105603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-model-ai","tag-api-key-gemini"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/105603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=105603"}],"version-history":[{"count":8,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/105603\/revisions"}],"predecessor-version":[{"id":132973,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/105603\/revisions\/132973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/105619"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=105603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=105603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=105603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}