{"id":19000,"date":"2026-09-08T07:52:59","date_gmt":"2026-09-08T11:52:59","guid":{"rendered":"https:\/\/wp.glbgpt.com\/?p=19000"},"modified":"2026-09-08T08:10:19","modified_gmt":"2026-09-08T12:10:19","slug":"grok-4-api-pricing","status":"publish","type":"post","link":"https:\/\/wp.glbgpt.com\/hub\/zh\/grok-4-api-pricing","title":{"rendered":"Grok 4 API \u5b9a\u4ef7\uff1a\u8d39\u7528\u3001\u9650\u989d\u53ca\u5165\u95e8\u6307\u5357"},"content":{"rendered":"<aside aria-label=\"\u5feb\u901f\u56de\u7b54\" style=\"padding:22px;border-left:5px solid #17806b;background:#edf6f1;color:#1b362c;font:18px\/1.65 system-ui,sans-serif;margin:0 0 22px\"><strong style=\"display:block;font-size:15px;margin-bottom:8px;color:#126954\">\u5feb\u901f\u56de\u7b54<\/strong>Grok 4 API \u7684\u5b9a\u4ef7\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u578b\u53f7 ID\u3002\u622a\u81f3 2026 \u5e74 9 \u6708 8 \u65e5\uff0c\u5df2\u505c\u7528\u7684 <code>grok-4-0709<\/code> ID \u91cd\u5b9a\u5411\u5230 <code>grok-4.3<\/code>: <strong>\u6bcf\u767e\u4e07\u4e2a\u4ee4\u724c\u5305\u542b $1.25 \u4e2a\u8f93\u5165\u3001$0.20 \u4e2a\u7f13\u5b58\u8f93\u5165\u548c $2.50 \u4e2a\u8f93\u51fa<\/strong> \u9002\u7528\u4e8e\u5c11\u4e8e 200K \u4e2a\u4ee4\u724c\u7684\u63d0\u793a\u8bcd\u3002\u5f53\u524d\u7684\u65d7\u8230\u4ea7\u54c1\uff0c, <code>grok-4.6<\/code>, \u8d39\u7528 <strong>$2.00 \/ $0.50 \/ $6.00<\/strong>, \uff0c\u5206\u522b\u3002\u5f53\u63d0\u793a\u8bcd\u4ee4\u724c\u6570\u8fbe\u5230200K\u6216\u4ee5\u4e0a\u65f6\uff0c\u8fd9\u4e9b\u8d39\u7387\u5c06\u7ffb\u500d\u3002\u63a8\u7406\u90e8\u5206\u6309\u8f93\u51fa\u8d39\u7387\u8ba1\u8d39\u3002. <a href=\"https:\/\/docs.x.ai\/developers\/pricing\">xAI \u5b98\u65b9\u5b9a\u4ef7<\/a>.<\/aside>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u8fd8\u662f\u4e3a\u4ee3\u7406\u5236\u5b9a\u9884\u7b97\uff1f\u8bf7\u4ece\u60a8\u5b9e\u9645\u8981\u8fd0\u884c\u7684\u6a21\u578b\u5f00\u59cb\u3002\u8be5 <a href=\"https:\/\/docs.x.ai\/developers\/migration\/may-15-retirement\">2026\u5e745\u670815\u65e5\u8fc1\u79fb\u901a\u77e5<\/a> \u6307\u51fa\uff0c\u539f\u59cb\u7684 Grok 4 ID \u73b0\u5728\u53ea\u9700\u7b80\u5355\u7684\u63a8\u7406\u5373\u53ef\u89e3\u6790\u4e3a Grok 4.3\u3002\u6210\u529f\u8c03\u7528\u65e7\u7684 ID \u5df2\u4e0d\u518d\u80fd\u8bc1\u660e\u8be5 ID \u7531\u539f\u59cb\u6a21\u578b\u63d0\u4f9b\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">API \u7684\u4f7f\u7528\u91cf\u4e0e Grok \u7684\u6d88\u8d39\u8005\u8ba2\u9605\u5206\u5f00\u8ba1\u8d39\u3002. <a href=\"https:\/\/www.glbgpt.com\/hub\/how-much-is-grok-4\/\">Grok \u8ba2\u9605\u548c\u8bbf\u95ee\u5b9a\u4ef7<\/a> \u6db5\u76d6\u4e86\u804a\u5929\u5957\u9910\uff1b\u8fd9\u4e9b\u6708\u8d39\u5e76\u975e\u7528\u4e8e\u76f4\u63a5\u96c6\u6210xAI\u7684\u4ee3\u5e01\u79ef\u5206\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u60f3\u5728\u5c06\u63d0\u793a\u8bcd\u96c6\u6210\u5230\u5e94\u7528\u4e2d\u4e4b\u524d\u5148\u8bd5\u7528\u4e00\u4e0b\u5417\uff1f <a href=\"https:\/\/www.glbgpt.com\/home\/grok-4-6?inviter=hub_grk46&amp;login=1\">\u5728 GlobalGPT \u4e0a\u5c1d\u8bd5 Grok 4.6<\/a> \u7528\u4e8e\u57fa\u4e8e\u804a\u5929\u7684\u6d41\u7a0b\u3002\u4f7f\u7528 xAI API \u5bc6\u94a5\u8fdb\u884c\u81ea\u5b9a\u4e49\u96c6\u6210\uff0c\u5e76\u76f4\u63a5\u901a\u8fc7 xAI \u8fdb\u884c\u7ed3\u7b97\u3002\u672c\u6587\u7531 GlobalGPT \u53d1\u5e03\uff1b\u4ea7\u54c1\u94fe\u63a5\u5305\u542b\u63a8\u8350\u8ffd\u8e2a\u529f\u80fd\u3002.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.glbgpt.com\/home\/grok-4-6?inviter=hub_grk46&amp;login=1\"><img alt=\"\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"581\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-1024x581.png\" class=\"wp-image-18146\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-1024x581.png 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-300x170.png 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-768x436.png 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-1536x872.png 1536w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-2048x1162.png 2048w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/08\/image-15-18x10.png 18w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-3e41869c wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.glbgpt.com\/home\/grok-4-6?inviter=hub_grk46&amp;login=1\">\u7acb\u5373\u8bd5\u7528 Grok 4.6<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<nav aria-label=\"\u76ee\u5f55\" style=\"margin:28px 0;padding:24px;border-left:5px solid #a84b62;background:#f8edf0;color:#41232e;font:16px\/1.6 system-ui,sans-serif\"><strong style=\"display:block;font-size:20px;margin-bottom:12px\">\u76ee\u5f55<\/strong><ol style=\"margin:0;padding-left:23px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:8px 28px\"><li><a href=\"#current-api-pricing\">Grok 4 API\u5b9a\u4ef7\uff1a\u5f53\u524d\u8d39\u7387\u53ca\u5df2\u505c\u7528\u7684\u539f\u59cb\u8d39\u7387<\/a><\/li><li><a href=\"#token-billing\">\u8f93\u5165\u3001\u7f13\u5b58\u8f93\u5165\u548c\u63a8\u7406\u5982\u4f55\u5f71\u54cd\u8d26\u5355<\/a><\/li><li><a href=\"#cost-examples\">\u4e09\u4e2a\u900f\u660e\u7684API\u6210\u672c\u793a\u4f8b<\/a><\/li><li><a href=\"#api-limits\">\u4e0a\u4e0b\u6587\u3001\u8f93\u51fa\u3001\u901f\u7387\u9650\u5236\u548c\u652f\u51fa\u9650\u5236\u662f\u4e0d\u540c\u7684<\/a><\/li><li><a href=\"#real-usage\">\u4e24\u9879\u771f\u5b9e\u7684 Grok 4.6 \u4efb\u52a1\uff1a\u4f7f\u7528\u8bb0\u5f55\u63ed\u793a\u4e86\u4ec0\u4e48<\/a><\/li><li><a href=\"#developer-feedback\">\u72ec\u7acbAPI\u7528\u6237\u6ce8\u610f\u5230\u4e86\u4ec0\u4e48<\/a><\/li><li><a href=\"#get-started\">\u5982\u4f55\u5f00\u59cb\u4f7f\u7528\u5b98\u65b9 xAI API<\/a><\/li><li><a href=\"#errors-and-controls\">\u5e38\u89c1\u7684\u96c6\u6210\u9519\u8bef\u4e0e\u6210\u672c\u63a7\u5236<\/a><\/li><li><a href=\"#faq\">Grok 4 API \u5b9a\u4ef7\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/a><\/li><\/ol><\/nav>\n\n\n\n<h2 id=\"current-api-pricing\" class=\"wp-block-heading\">Grok 4 API\u5b9a\u4ef7\uff1a\u5f53\u524d\u8d39\u7387\u53ca\u5df2\u505c\u7528\u7684\u539f\u59cb\u8d39\u7387<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u8868\u4f7f\u7528\u4e86 <a href=\"https:\/\/docs.x.ai\/developers\/pricing\">xAI \u5efa\u8bae\u96f6\u552e\u4ef7\uff082026\u5e749\u67088\u65e5\u6838\u67e5\uff09<\/a>. \u6bcf\u4e2a\u91d1\u989d\u5747\u4e3a\u6bcf\u767e\u4e07\u4ee3\u5e01\u7684\u7f8e\u5143\u91d1\u989d\u3002\u8f93\u5165\u3001\u7f13\u5b58\u8f93\u5165\u548c\u8f93\u51fa\u5c5e\u4e8e\u4e0d\u540c\u7684\u8ba1\u8d39\u7c7b\u522b\uff0c\u56e0\u6b64\u5355\u4e00\u7684\u6df7\u5408\u201c\u6bcf\u767e\u4e07\u4ee3\u5e01\u4ef7\u683c\u201d\u63a9\u76d6\u4e86\u5de5\u4f5c\u8d1f\u8f7d\u7684\u5b9e\u9645\u6210\u672c\u3002.<\/p>\n\n\n\n<section aria-label=\"\u5f53\u524dAPI\u4ef7\u683c\u8868\" style=\"margin:24px 0;font:16px\/1.55 system-ui,sans-serif;color:#22352d\"><p style=\"margin:0 0 16px;font-weight:700\">\u6bcf100\u4e07\u679a\u4ee3\u5e01\u7684\u7f8e\u5143\u91d1\u989d \u00b7 \u6807\u51c6\u5904\u7406<\/p><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px\"><article style=\"min-width:0;padding:20px;border:1px solid #cddbd4;border-top:4px solid #197862;border-radius:6px\"><h3 style=\"font-size:22px;margin:0 0 4px\">grok-4.3<\/h3><p style=\"margin:0 0 16px;color:#4e6056\">\u539f\u59cb Grok 4 \u4e2a\u91cd\u5b9a\u5411\u76ee\u6807<\/p><p style=\"margin:0 0 12px\"><strong>\u80cc\u666f\uff1a<\/strong> 1,000,000 \u4ee3\u5e01<\/p><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &lt; 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$1.25<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$0.20<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$2.50<\/dd><\/dl><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &gt;= 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$2.50<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$0.40<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$5.00<\/dd><\/dl><\/article><article style=\"min-width:0;padding:20px;border:1px solid #cddbd4;border-top:4px solid #ae5266;border-radius:6px\"><h3 style=\"font-size:22px;margin:0 0 4px\">grok-4.6<\/h3><p style=\"margin:0 0 16px;color:#4e6056\">\u5f53\u524d\u65d7\u8230<\/p><p style=\"margin:0 0 12px\"><strong>\u80cc\u666f\uff1a<\/strong> 500,000 \u4e2a\u4ee3\u5e01<\/p><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &lt; 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$2.00<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$0.50<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$6.00<\/dd><\/dl><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &gt;= 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$4.00<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$1.00<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$12.00<\/dd><\/dl><\/article><article style=\"min-width:0;padding:20px;border:1px solid #cddbd4;border-top:4px solid #197862;border-radius:6px\"><h3 style=\"font-size:22px;margin:0 0 4px\">grok-4.5<\/h3><p style=\"margin:0 0 16px;color:#4e6056\">\u5f53\u524d\u4e00\u4ee3\u7684\u65e9\u671f\u9009\u9879<\/p><p style=\"margin:0 0 12px\"><strong>\u80cc\u666f\uff1a<\/strong> 500,000 \u4e2a\u4ee3\u5e01<\/p><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &lt; 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$2.00<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$0.30<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$6.00<\/dd><\/dl><h4 style=\"font-size:15px;margin:18px 0 8px\">\u63d0\u793a\u8bcd &gt;= 200K<\/h4><dl style=\"display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0\"><dt>\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$4.00<\/dd><dt>\u7f13\u5b58\u8f93\u5165<\/dt><dd style=\"margin:0;font-weight:700\">$0.60<\/dd><dt>\u8f93\u51fa \/ \u63a8\u7406<\/dt><dd style=\"margin:0;font-weight:700\">$12.00<\/dd><\/dl><\/article><\/div><p style=\"font-size:14px;color:#4d6156;margin:14px 0 0\">\u4e00\u65e6\u63d0\u793a\u8bcd\u8fbe\u5230 200K \u4e2a\u4ee4\u724c\uff0c\u957f\u4e0a\u4e0b\u6587\u8d39\u7387\u5c06\u9002\u7528\u4e8e\u8be5\u8bf7\u6c42\u4e2d\u7684\u6240\u6709\u4ee4\u724c\uff0c\u5305\u62ec\u8f93\u51fa\u3002.<\/p><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4ed6\u5217\u51fa\u7684 Grok \u7b2c 4 \u5bb6\u65cf ID \u5305\u62ec\uff1a <code>grok-4.20-0309-reasoning<\/code>, <code>grok-4.20-0309-\u975e\u63a8\u7406\u7248<\/code> \u548c <code>grok-4.20-multi-agent-0309<\/code>. \u6bcf\u4e2a\u6a21\u578b\u5747\u91c7\u7528100\u4e07\u4ee4\u724c\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\uff0c\u4e14\u5176\u77ed\u4ee4\u724c\/\u957f\u4ee4\u724c\u901f\u7387\u4e0eGrok 4.3\u4e2d\u5217\u51fa\u7684\u76f8\u540c\u3002\u5339\u914d\u7684\u5355\u4ef7\u5e76\u4e0d\u610f\u5473\u7740\u5339\u914d\u7684\u603b\u4ee4\u724c\u6d88\u8017\u91cf\uff0c\u7279\u522b\u662f\u5728\u591a\u4ee3\u7406\u4efb\u52a1\u4e2d\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u9700\u8981\u4e00\u79cd\u4e13\u95e8\u9488\u5bf9\u7f16\u7a0b\u7684\u66ff\u4ee3\u65b9\u6848\uff0c, <code>grok-build-0.1<\/code> \u5177\u6709 256K \u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\uff0c\u77ed\u4e0a\u4e0b\u6587\u7684\u8f93\u5165\/\u7f13\u5b58\/\u8f93\u51fa\u901f\u7387\u5206\u522b\u4e3a $1.00\/$0.20\/$2.00\uff0c \u5728200K\u63d0\u793a\u8bcd\u9608\u503c\u4e0b\uff0c\u8fd9\u4e9b\u901f\u7387\u5c06\u5347\u81f3$2.00\/$0.20\/$2.00\u3002\u6709\u5173\u66f4\u5e7f\u6cdb\u7684\u884c\u4e3a\u548c\u4f7f\u7528\u573a\u666f\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/grok-4-6-review\/\">Grok 4.6 \u8bc4\u6d4b<\/a>.<\/p>\n\n\n\n<figure id=\"grok-api-media-catalog\" style=\"margin:28px 0\"><a href=\"https:\/\/static.futureshareai.com\/glb_features\/grok-official-model-catalog_2d8f5ebf7bf94fe3a8f48ad8c718010d.webp\"><img loading=\"lazy\" src=\"https:\/\/static.futureshareai.com\/glb_features\/grok-official-model-catalog_2d8f5ebf7bf94fe3a8f48ad8c718010d.webp\" width=\"1280\" height=\"581\" alt=\"xAI \u5b98\u65b9\u6587\u6863\u4e2d\u5217\u51fa\u4e86 Grok 4.6\uff0c\u5305\u62ec\u5176\u6a21\u578b ID\u300150 \u4e07\u5b57\u8282\u7684\u4e0a\u4e0b\u6587\u5bb9\u91cf\u4ee5\u53ca\u53ef\u914d\u7f6e\u7684\u63a8\u7406\u529f\u80fd\u3002.\" decoding=\"async\" style=\"display:block;width:100%;height:auto;max-width:100%\"><\/a><figcaption style=\"font:14px\/1.6 system-ui,sans-serif;color:#4c5855;margin-top:10px\"><a href=\"https:\/\/docs.x.ai\/developers\/models\">\u5b98\u65b9 xAI \u6a21\u578b\u76ee\u5f55<\/a>, \uff0c\u4e8e2026\u5e749\u67087\u65e5\u91c7\u96c6\uff0c\u5e76\u4e8e9\u67088\u65e5\u91cd\u65b0\u6838\u5bf9\u3002$2\/$6\u7684\u6807\u9898\u4e3a\u201cGrok 4.6 \u77ed\u4e0a\u4e0b\u6587\u8f93\u5165\/\u8f93\u51fa\u5b9a\u4ef7\u201d\uff1b\u7f13\u5b58\u548c\u957f\u4e0a\u4e0b\u6587\u901f\u7387\u5982\u4e0a\u6240\u793a\u3002.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u6700\u521d\u7684 $3 \/ $15 \u4ef7\u683c\u600e\u4e48\u4e86\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f83\u65e9\u7684\u53c2\u8003\u6587\u732e\uff0c\u5305\u62ec\u6211\u4eec\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/grok-4-api-guide\/\">Grok 4 API \u96c6\u6210\u6307\u5357<\/a>, \uff0c\u539f\u7248 Grok \u7684\u62a5\u4ef7\u4e3a\uff1a\u6bcf\u767e\u4e07\u8f93\u5165\u4ee3\u5e01 $3\uff0c\u6bcf\u767e\u4e07\u8f93\u51fa\u4ee3\u5e01 $15\u3002\u8bf7\u5c06\u6b64\u89c6\u4e3a\u5386\u53f2\u62a5\u4ef7\uff0c\u800c\u975e\u5df2\u505c\u7528\u7684 ID \u5f53\u524d\u7684\u8d26\u5355\u3002 \u65e7\u7684\u5b98\u65b9\u578b\u53f7\u7f51\u5740\u73b0\u5df2\u8df3\u8f6c\u81f3\u901a\u7528\u578b\u53f7\u76ee\u5f55\uff0c\u56e0\u6b64\u8fd9\u5e76\u975e\u4e00\u4efd\u65b0\u9a8c\u8bc1\u7684\u5b58\u6863\u4ef7\u683c\u8868\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <a href=\"https:\/\/x.ai\/news\/grok-4\">\u539f\u59cb Grok 4 \u516c\u544a<\/a> \u63cf\u8ff0\u4e86\u4e00\u4e2a\u5305\u542b 256,000 \u4e2a\u4ee4\u724c\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u8be5\u5386\u53f2\u5bb9\u91cf\uff0c\u4ee5\u53ca\u8f83\u65e9\u7248\u672c\u7684 Fast \u6a21\u578b\u4ef7\u683c\u6216\u9608\u503c\uff0c\u7edd\u4e0d\u80fd\u88ab\u590d\u5236\u5230\u66ff\u6362\u65b9\u6848\u7684\u9884\u7b97\u4e2d\u3002\u5173\u4e8e <code>grok-4-0709<\/code> \u76ee\u524d\u4e3a Grok 4.3\uff0c\u63a8\u7406\u5de5\u4f5c\u91cf\u8f83\u4f4e\uff0c\u6309 Grok 4.3 \u7684\u8d39\u7387\u8ba1\u8d39\u3002.<\/p>\n\n\n\n<figure id=\"grok-api-media-retirement\" style=\"margin:28px 0\"><a href=\"https:\/\/static.futureshareai.com\/glb_features\/grok-api-retirement_931d106956cb4e78be50acac7166f538.webp\"><img loading=\"lazy\" src=\"https:\/\/static.futureshareai.com\/glb_features\/grok-api-retirement_931d106956cb4e78be50acac7166f538.webp\" width=\"1280\" height=\"784\" alt=\"\u5217\u51fa grok-4-0709 \u53ca\u5176\u91cd\u5b9a\u5411\u81f3 grok-4.3 \u7684\u5b98\u65b9\u505c\u7528\u901a\u77e5\" decoding=\"async\" style=\"display:block;width:100%;height:auto;max-width:100%\"><\/a><figcaption style=\"font:14px\/1.6 system-ui,sans-serif;color:#4c5855;margin-top:10px\"><a href=\"https:\/\/docs.x.ai\/developers\/migration\/may-15-retirement\">xAI \u505c\u7528\u901a\u77e5<\/a>, \uff0c2026\u5e749\u67087\u65e5\u6536\u5f55\uff1b9\u67088\u65e5\u91cd\u65b0\u6838\u5bf9\u6587\u672c\u3002\u6240\u5217\u7684\u539f\u59cb\u6761\u76ee\u201cGrok 4 ID\u201d\u91cd\u5b9a\u5411\u81f3\u201cGrok 4.3\u201d\u3002\u5b8c\u6574\u901a\u77e5\u4e2d\u53e6\u884c\u5217\u51fa\u4e86\u9488\u5bf9\u7f16\u7801\u548c\u56fe\u50cf\u6a21\u578b\u7684\u4f8b\u5916\u60c5\u51b5\u3002.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Grok 4 \u662f\u4e00\u4e2a\u578b\u53f7\uff0c\u800c Grok \u4e5f\u662f\u67d0\u6b3e\u6d88\u8d39\u7c7b\u4ea7\u54c1\u7684\u540d\u79f0\u3002\u6211\u4eec\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/what-is-grok-4-the-ultimate-2026-full-guide-to-flagship-reasoning-model\/\">\u5173\u4e8e\u201cGrok 4\u201d\u7684\u8bf4\u660e<\/a> \u63d0\u4f9b\u4e86\u8be5\u4ea7\u54c1\u7684\u80cc\u666f\u4fe1\u606f\u3002\u5bf9\u4e8e\u65b0\u4ee3\u7801\uff0c\u8bf7\u660e\u786e\u9009\u62e9\u53d7\u652f\u6301\u7684\u6a21\u578b\uff0c\u800c\u4e0d\u662f\u4f9d\u8d56\u4e8e\u505c\u7528\u91cd\u5b9a\u5411\uff0c\u6216\u5047\u8bbe\u63d0\u4f9b\u5546\u7684\u522b\u540d\u4fdd\u6301\u4e0d\u53d8\u3002.<\/p>\n\n\n\n<h2 id=\"token-billing\" class=\"wp-block-heading\">\u8f93\u5165\u3001\u7f13\u5b58\u8f93\u5165\u548c\u63a8\u7406\u5982\u4f55\u5f71\u54cd\u8d26\u5355<\/h2>\n\n\n\n<section aria-label=\"\u4e00\u9879\u8bf7\u6c42\uff0c\u4e09\u6b21\u8c61\u5f81\u6027\u6536\u8d39\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #167862;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u4e00\u9879\u8bf7\u6c42\uff0c\u4e09\u6b21\u8c61\u5f81\u6027\u6536\u8d39<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u672a\u7f13\u5b58\u7684\u8f93\u5165<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">(I \u2013 C) \u00d7 \u8f93\u5165\u901f\u7387<\/p><p style=\"margin:0\">I = \u6240\u6709\u63d0\u793a\u7b26\u4ee4\u724c\uff1bC = \u7f13\u5b58\u7684\u63d0\u793a\u7b26\u4ee4\u724c\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u7f13\u5b58\u8f93\u5165<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">C \u00d7 \u7f13\u5b58\u901f\u7387<\/p><p style=\"margin:0\">\u7f13\u5b58\u7684\u4ee4\u724c\u662f\u8f93\u5165\u7684\u4e00\u90e8\u5206\uff0c\u800c\u4e0d\u662f\u989d\u5916\u7684\u8f93\u5165\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u53ef\u8ba1\u8d39\u4ea7\u51fa<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">O \u00d7 \u4ea7\u51fa\u7387<\/p><p style=\"margin:0\">O \u5305\u62ec\u5728\u7aef\u70b9\u5c06\u5176\u5305\u542b\u5728\u8f93\u51fa\u4e2d\u65f6\u8fdb\u884c\u7684\u63a8\u7406\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4ee3\u5e01\u4f30\u7b97\u503c\uff08\u4ee5\u7f8e\u5143\u8ba1\uff09= [(I \u2013 C) \u00d7 \u8f93\u5165\u8d39\u7387 + C \u00d7 \u7f13\u5b58\u8f93\u5165\u8d39\u7387 + O \u00d7 \u8f93\u51fa\u8d39\u7387] \/ 1,000,000\u3002.<\/strong> \u7136\u540e\u52a0\u4e0a\u76f8\u5e94\u7684\u5de5\u5177\u8d39\u3001\u4ed3\u50a8\u8d39\u6216\u5176\u4ed6\u8d39\u7528\u3002\u5728\u8fdb\u884c\u8ba1\u7b97\u4e4b\u524d\uff0c\u8bf7\u4f7f\u7528\u5305\u542b\u7f13\u5b58\u4ee4\u724c\u7684\u201c\u603b\u8ba1\u201d\u63d0\u793a\uff0c\u9009\u62e9\u957f\u4e0a\u4e0b\u6587\u8d39\u7387\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u5165\u5305\u62ec\u53d1\u9001\u7ed9\u6a21\u578b\u7684\u6d88\u606f\u3001\u6307\u4ee4\u548c\u5bf9\u8bdd\u5386\u53f2\u8bb0\u5f55\u3002\u7f13\u5b58\u673a\u5236\u4f1a\u5728\u4e0d\u540c\u8bf7\u6c42\u95f4\u590d\u7528\u76f8\u540c\u7684\u8d77\u59cb\u524d\u7f00\uff1b\u8be5\u673a\u5236\u662f\u81ea\u52a8\u7684\uff0cxAI \u4f1a\u63a8\u8350\u4e00\u4e2a\u5bf9\u8bdd\u6807\u8bc6\u7b26\u4ee5\u63d0\u9ad8\u590d\u7528\u7387\u3002\u5916\u89c2\u76f8\u4f3c\u7684\u63d0\u793a\u8bcd\u5e76\u4e0d\u4e00\u5b9a\u80fd\u4fdd\u8bc1\u7f13\u5b58\u547d\u4e2d\u3002\u8be5 <a href=\"https:\/\/docs.x.ai\/developers\/advanced-api-usage\/prompt-caching\">\u63d0\u793a\u8bcd\u7f13\u5b58\u6587\u6863<\/a> \u89e3\u91ca\u4e86\u5339\u914d\u884c\u4e3a\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u201c\u804a\u5929\u8865\u5168\u201d\u4e2d\uff0c\u9605\u8bfb <code>prompt_tokens_details.cached_tokens<\/code>; \uff1b\u5728\u201c\u56de\u590d\u201d\u4e2d\uff0c\u8bf7\u9605\u8bfb <code>input_tokens_details.cached_tokens<\/code>. .......\u3002 <a href=\"https:\/\/docs.x.ai\/developers\/advanced-api-usage\/prompt-caching\/usage-and-pricing\">\u7f13\u5b58\u4f7f\u7528\u53ca\u5b9a\u4ef7\u53c2\u8003<\/a> bills \u6309\u5b8c\u5168\u5b8c\u6210\u7387\u8ba1\u7b97\u63a8\u7406\u4ee3\u5e01\u3002\u5982\u679c\u8f93\u51fa\u603b\u6570\u4e2d\u5df2\u5305\u542b\u63a8\u7406\uff0c\u5219\u6dfb\u52a0 <code>\u63a8\u7406\u4ee4\u724c<\/code> \u518d\u6b21\u8ba1\u7b97\u7684\u8bdd\u5c31\u4f1a\u51fa\u73b0\u91cd\u590d\u8ba1\u7b97\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Grok 4.6 \u652f\u6301\u4f4e\u3001\u4e2d\u3001\u9ad8\u548c x\u9ad8 \u63a8\u7406\u5f00\u9500\uff1b\u5176\u6587\u6863\u8bb0\u5f55\u7684\u9ed8\u8ba4\u503c\u4e3a\u9ad8\uff0c\u4e14\u65e0\u6cd5\u7981\u7528\u63a8\u7406\u529f\u80fd\u3002Grok 4.3 \u652f\u6301\u65e0\u3001\u4f4e\u3001\u4e2d\u548c\u9ad8\u3002 \u56e0\u6b64\uff0c\u5bf9\u4e8e\u4e25\u683c\u7684\u63d0\u53d6\u4efb\u52a1\uff0c\u503c\u5f97\u8bc4\u4f30\u5c06\u63a8\u7406\u96be\u5ea6\u8bbe\u4e3a\u201c\u65e0\u201d\u7684 Grok 4.3 \u7248\u672c\uff1b\u800c Grok 4.6 \u5373\u4f7f\u5728\u53ef\u89c1\u7b54\u6848\u8f83\u77ed\u7684\u60c5\u51b5\u4e0b\uff0c\u4e5f\u53ef\u80fd\u6d88\u8017\u66f4\u591a\u7684\u4ee4\u724c\u3002\u53c2\u89c1 <a href=\"https:\/\/docs.x.ai\/developers\/model-capabilities\/text\/reasoning\">\u63a8\u7406\u8bbe\u7f6e<\/a> \u4ee5\u53ca\u4e0a\u6587\u63d0\u5230\u7684 Grok 4.3 \u7684\u578b\u53f7\u6761\u76ee\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5de5\u5177\u8c03\u7528\u3001\u6279\u5904\u7406\u4efb\u52a1\u548c\u4f18\u5148\u7ea7\u8bf7\u6c42<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6839\u636e <a href=\"https:\/\/docs.x.ai\/developers\/pricing\">\u5b98\u65b9\u5de5\u5177\u4ef7\u683c\u8868<\/a>, \u7f51\u9875\u641c\u7d22\u3001X \u641c\u7d22\u548c\u4ee3\u7801\u6267\u884c\u6bcf 1,000 \u6b21\u8c03\u7528\u5206\u522b\u6d88\u8017 $5\uff0c\u5373\u6bcf\u6b21\u8c03\u7528\u6d88\u8017 $0.005\uff0c\u6b64\u5916\u8fd8\u9700\u6d88\u8017\u4ee3\u5e01\u3002\u4e00\u4e2a\u8bf7\u6c42\u53ef\u4ee5\u591a\u6b21\u8c03\u7528\u8fd9\u4e9b\u5de5\u5177\u3002 \u5341\u6b21\u641c\u7d22\u8c03\u7528\u4f1a\u5728\u6a21\u578b\u4ee3\u5e01\u6d88\u8017\u4e4b\u524d\u589e\u52a0 $0.05\uff1b\u542f\u7528\u67d0\u9879\u5de5\u5177\u5e76\u4e0d\u80fd\u9884\u77e5\u8be5\u5de5\u5177\u5c06\u88ab\u4f7f\u7528\u591a\u5c11\u6b21\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9644\u4ef6\u68c0\u7d22\u8d39\u7528\u4e3a\u6bcf1,000\u6b21\u67e5\u8be2$10\uff1b\u9986\u85cf\u68c0\u7d22\u8d39\u7528\u4e3a\u6bcf1,000\u6b21\u67e5\u8be2$2.50\u3002\u5b58\u50a8\u7684\u6587\u4ef6\u548c\u9986\u85cf\u8fd8\u9700\u652f\u4ed8\u6bcf\u65e5\u5b58\u50a8\u8d39\u548c\u4e0b\u8f7d\u8d39\u3002 \u56fe\u7247\u548c\u89c6\u9891\u91c7\u7528\u72ec\u7acb\u7684\u8ba1\u4ef7\u5355\u4f4d\uff0c\u56e0\u6b64\u5728\u4ec5\u6587\u672c\u7684\u4ee3\u5e01\u4f30\u7b97\u4e2d\u8bf7\u52ff\u5c06\u5176\u7eb3\u5165\u8ba1\u7b97\u3002\u6211\u4eec\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/how-to-generate-image-and-video-in-grok\/\">Grok \u56fe\u50cf\u548c\u89c6\u9891\u5de5\u4f5c\u6d41\u6559\u7a0b<\/a> \u6db5\u76d6\u4e86\u8fd9\u4e00\u72ec\u7acb\u7684\u53d1\u7535\u8def\u5f84\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <a href=\"https:\/\/docs.x.ai\/developers\/advanced-api-usage\/batch-api\">\u6279\u5904\u7406\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/a> \u9488\u5bf9 Grok 4.3 \u4ee5\u53ca\u6240\u5217\u51fa\u7684\u4e09\u79cd Grok 4.20 \u53d8\u4f53\uff0c\u63d0\u4f9b 20% \u4ee4\u724c\u6298\u6263\u3002 \u8be5\u6298\u6263\u9002\u7528\u4e8e\u8f93\u5165\u3001\u7f13\u5b58\u8f93\u5165\u3001\u8f93\u51fa\u548c\u63a8\u7406\u4ee4\u724c\u3002Grok 4.6 \u7684\u6a21\u578b\u9875\u9762\u6ce8\u660e\u4e0d\u652f\u6301\u6279\u91cf API\u3002\u8bf7\u52ff\u4e00\u6982\u9002\u7528 50% \u7684\u6298\u6263\uff0c\u4e5f\u4e0d\u8981\u5047\u8bbe\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u6a21\u578b\u90fd\u652f\u6301\u6279\u91cf\u5904\u7406\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.x.ai\/developers\/advanced-api-usage\/priority-processing\">\u4f18\u5148\u5904\u7406<\/a> \u5f53\u8fd4\u56de\u65f6\uff0c\u5176\u6d88\u8017\u7684\u4ee4\u724c\u6570\u91cf\u4e3a\u6807\u51c6\u4ee4\u724c\u8d39\u7387\u7684 2 \u500d\uff0c\u5305\u62ec\u7f13\u5b58\u4ee4\u724c\u548c\u63a8\u7406\u4ee4\u724c\uff0c <code>\u670d\u52a1\u7b49\u7ea7<\/code> \u8bc1\u5b9e <code>\u4f18\u5148\u7ea7<\/code>. \u82e5\u56de\u9000\u5230\u9ed8\u8ba4\u5c42\u7ea7\uff0c\u5219\u9002\u7528\u6807\u51c6\u8d39\u7387\u3002\u4f18\u5148\u7ea7\u4ec5\u9002\u7528\u4e8e\u804a\u5929\u5b8c\u6210\u548c\u56de\u590d\uff0c\u4e0d\u9002\u7528\u4e8e\u6279\u91cf API\u3002.<\/p>\n\n\n\n<h2 id=\"cost-examples\" class=\"wp-block-heading\">\u4e09\u4e2a\u900f\u660e\u7684API\u6210\u672c\u793a\u4f8b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e9b\u662f\u5efa\u8bae\u96f6\u552e\u4ef7\u7684\u4f30\u7b97\u503c\uff0c\u5e76\u975e\u5b9e\u9645\u53d1\u7968\u91d1\u989d\u3002\u4ee5\u4e0b\u6240\u6709\u8bf7\u6c42\u5747\u91c7\u7528\u6807\u51c6\u5904\u7406\u6d41\u7a0b\uff0c\u4ec5\u9650\u6587\u672c\uff0c\u4e0d\u4f7f\u7528\u4efb\u4f55\u5de5\u5177\uff0c\u4e0d\u63d0\u4f9b\u5b58\u50a8\u7a7a\u95f4\uff0c\u4e0d\u8fdb\u884c\u91cd\u8bd5\uff0c\u4e14\u4e0d\u542b\u7a0e\u3002\u201c\u8f93\u51fa\u201d\u5305\u62ec\u4efb\u4f55\u53ef\u8ba1\u8d39\u7684\u63a8\u7406\u5185\u5bb9\u3002\u524d\u4e24\u4e2a\u5de5\u4f5c\u8d1f\u8f7d\u5047\u8bbe\u63d0\u793a\u8bcd\u957f\u5ea6\u4f4e\u4e8e200K\u4e2a\u4ee4\u724c\u3002.<\/p>\n\n\n\n<section aria-label=\"\u6bcf\u6b21\u8bf7\u6c42\u7684\u6210\u672c\u548c\u6bcf10,000\u6b21\u8bf7\u6c42\u7684\u6210\u672c\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #a74d65;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u6bcf\u6b21\u8bf7\u6c42\u7684\u6210\u672c\u548c\u6bcf10,000\u6b21\u8bf7\u6c42\u7684\u6210\u672c<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">Grok 4.3 \u00b7 \u65e0\u7f13\u5b58<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">$0.005 \/ \u6b21\u8bf7\u6c42<\/p><p style=\"margin:0\">2,000 \u4e2a\u8f93\u5165 \u00d7 $1.25 + 1,000 \u4e2a\u8f93\u51fa \u00d7 $2.50\uff0c\u9664\u4ee5 1M\u300210,000 \u4e2a\u8bf7\u6c42 = $50\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">Grok 4.6 \u00b7 \u65e0\u7f13\u5b58<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">$0.010 \/ \u6b21\u8bf7\u6c42<\/p><p style=\"margin:0\">2,000 \u4e2a\u8f93\u5165 \u00d7 $2 + 1,000 \u4e2a\u8f93\u51fa \u00d7 $6\uff0c\u9664\u4ee5 1M\u300210,000 \u4e2a\u8bf7\u6c42 = $100\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">Grok 4.6 \u00b7 90% \u5df2\u7f13\u5b58<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">$0.0073 \/ \u8bf7\u6c42<\/p><p style=\"margin:0\">200 \u4e2a\u672a\u7f13\u5b58 \u00d7 $2 + 1,800 \u4e2a\u5df2\u7f13\u5b58 \u00d7 $0.50 + 1,000 \u4e2a\u8f93\u51fa \u00d7 $6\uff0c\u9664\u4ee5 1M\u300210,000 \u4e2a\u8bf7\u6c42 = $73\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u8f93\u5165\u5728\u5de5\u4f5c\u8d1f\u8f7d\u4e2d\u5360\u4e3b\u5bfc\u5730\u4f4d\u65f6\uff0c\u8f83\u9ad8\u7684\u7f13\u5b58\u547d\u4e2d\u7387\u6700\u4e3a\u6709\u6548\u3002 \u5728\u90a3\u4e2a Grok 4.6 \u7684\u793a\u4f8b\u4e2d\uff0c\u5c3d\u7ba1\u6709 90% \u7684\u8f93\u5165\u4ee4\u724c\u88ab\u7f13\u5b58\uff0c\u4f46\u7f13\u5b58\u4ecd\u53ef\u4e3a\u6bcf\u6b21\u8c03\u7528\u8282\u7701 $0.0027\uff0c\u5373\u603b\u91cf\u7684 27%\u3002 \u8f93\u51fa\u5f00\u9500\u4fdd\u6301\u5728 $0.006\u3002\u8bc4\u4f30\u8282\u7701\u6548\u679c\u65f6\u5e94\u4ee5\u6574\u4e2a\u8bf7\u6c42\u4e3a\u57fa\u51c6\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u7f13\u5b58\u90e8\u5206\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">200K\u7684\u63d0\u793a\u8bcd\u9608\u503c\u53ef\u80fd\u4f1a\u6539\u53d8\u6574\u4e2a\u8bf7\u6c42<\/h3>\n\n\n\n<section aria-label=\"\u53c8\u6709\u4e00\u4e2a\u8f93\u5165\u4ee4\u724c\u7a81\u7834\u4e86\u4ef7\u683c\u95e8\u69db\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #306b9c;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u53c8\u6709\u4e00\u4e2a\u8f93\u5165\u4ee4\u724c\u7a81\u7834\u4e86\u4ef7\u683c\u95e8\u69db<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">199,999 \u4e2a\u63d0\u793a\u4ee4\u724c<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">$0.459998<\/p><p style=\"margin:0\">Grok 4.6\uff1a(199,999 \u00d7 $2 + 10,000 \u8f93\u51fa \u00d7 $6) \/ 1M\u3002\u65e0\u7f13\u5b58\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">200,000 \u4e2a\u63d0\u793a\u4ee4\u724c<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">$0.920000<\/p><p style=\"margin:0\">Grok 4.6\uff1a(200,000 \u00d7 $4 + 10,000 \u8f93\u51fa \u00d7 $12) \/ 1M\u3002\u65e0\u7f13\u5b58\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3b\u8981 <a href=\"https:\/\/docs.x.ai\/developers\/pricing\">\u5b9a\u4ef7\u8868\u4e2d\u660e\u786e\u4f7f\u7528\u4e86\u201c\u957f\u6587\u672c &gt;= 200k \u4e2a\u4ee4\u724c\u201d\u8fd9\u4e00\u8868\u8ff0\u201d<\/a> \u5e76\u6307\u51fa\uff0c\u4e00\u65e6\u63d0\u793a\u8bcd\u8fbe\u5230\u9608\u503c\uff0c\u6240\u6709\u4ee4\u724c\u90fd\u5c06\u6309\u8f83\u9ad8\u8d39\u7387\u8ba1\u8d39\u3002\u90e8\u5206\u6a21\u578b\u8be6\u60c5\u6587\u672c\u4e2d\u63d0\u5230\u201c\u8d85\u8fc7\u201d20\u4e07\u3002\u82e5\u9884\u7b97\u8bbe\u5b9a\u4e3a\u6070\u597d200,000\uff0c\u8bf7\u4f7f\u7528\u5b9a\u4ef7\u8868\u4e2d\u660e\u786e\u7684\u9608\u503c\uff1b\u5207\u52ff\u5047\u8bbe\u4ecd\u9002\u7528\u8f83\u4f4e\u8d39\u7387\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u6708\u5ea6\u9884\u6d4b\uff0c\u8bf7\u5206\u522b\u9488\u5bf9\u6bcf\u4e2a\u5de5\u4f5c\u8d1f\u8f7d\u3001\u4e0a\u4e0b\u6587\u533a\u95f4\u3001\u7f13\u5b58\u547d\u4e2d\u6a21\u5f0f\u548c\u63a8\u7406\u8bbe\u7f6e\uff0c\u4f30\u7b97\u8bf7\u6c42\u91cf\u3002\u52a0\u4e0a\u9884\u671f\u7684\u91cd\u8bd5\u6b21\u6570\u548c\u5de5\u5177\u8c03\u7528\u6b21\u6570\u3002\u7136\u540e\u5c06\u8be5\u4f30\u7b97\u503c\u4e0e\u60a8\u5728\u5c0f\u578b\u8bd5\u70b9\u540e\u83b7\u5f97\u7684\u5b9e\u9645\u6210\u672c\u6570\u636e\u8fdb\u884c\u5bf9\u6bd4\u3002\u6bcf\u547c\u53eb\u51e0\u7f8e\u5206\u7684\u6210\u672c\u6570\u636e\u53ea\u6709\u5728\u5047\u8bbe\u6761\u4ef6\u4e0e\u751f\u4ea7\u73af\u5883\u76f8\u7b26\u65f6\u624d\u6709\u53c2\u8003\u4ef7\u503c\u3002.<\/p>\n\n\n\n<h2 id=\"api-limits\" class=\"wp-block-heading\">\u4e0a\u4e0b\u6587\u3001\u8f93\u51fa\u3001\u901f\u7387\u9650\u5236\u548c\u652f\u51fa\u9650\u5236\u662f\u4e0d\u540c\u7684<\/h2>\n\n\n\n<section aria-label=\"\u8c03\u6574\u89c4\u6a21\u524d\u9700\u68c0\u67e5\u7684\u56db\u4e2a\u9650\u5236\u6761\u4ef6\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #306b9c;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u8c03\u6574\u89c4\u6a21\u524d\u9700\u68c0\u67e5\u7684\u56db\u4e2a\u9650\u5236\u6761\u4ef6<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">\u4e0a\u4e0b\u6587\u7a97\u53e3<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">\u5e94\u8981\u6c42<\/p><p style=\"margin:0\">Grok 4.3\uff1a100\u4e07\u4ee3\u5e01\u3002Grok 4.6\uff1a50\u4e07\u3002\u8fd9\u5e76\u975e\u6bcf\u6708\u914d\u989d\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">\u8f93\u51fa\u9884\u7b97<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">\u6bcf\u6761\u56de\u590d<\/p><p style=\"margin:0\">\u8bbe\u7f6e\u4e00\u4e2a\u53d7\u652f\u6301\u7684\u8f93\u51fa\u4e0a\u9650\u3002\u4e0a\u4e0b\u6587\u5bb9\u91cf\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u80fd\u4ea7\u751f\u5982\u6b64\u660e\u663e\u7684\u8f93\u51fa\u6548\u679c\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">RPS \/ TPM<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">\u541e\u5410\u91cf<\/p><p style=\"margin:0\">\u6bcf\u79d2\u8bf7\u6c42\u6570\u548c\u6bcf\u5206\u949f\u4ee4\u724c\u6570\u3002\u4e24\u8005\u90fd\u5fc5\u987b\u4fdd\u6301\u5728\u56e2\u961f\u5c42\u7ea7\u8303\u56f4\u5185\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#306b9c;font-weight:700\">\u652f\u51fa\u63a7\u5236<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">\u91d1\u94b1<\/p><p style=\"margin:0\">\u9884\u4ed8\u4f59\u989d\u3001\u81ea\u52a8\u5145\u503c\u548c\u8d26\u5355\u7ed3\u7b97\u9650\u989d\u5206\u522b\u63a7\u5236\u4e0d\u540c\u7684\u5145\u503c\u884c\u4e3a\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u4f17 <a href=\"https:\/\/docs.x.ai\/developers\/rate-limits\">\u901f\u7387\u9650\u5236\u8868<\/a> \u5176\u4e2d\uff0cGrok 4.3 \u7684 Tier 0 \u89c4\u683c\u4e3a\u6bcf\u79d2 37 \u6b21\u8bf7\u6c42\u3001\u6bcf\u5206\u949f 1000 \u4e07\u4e2a\u4ee4\u724c\uff1bGrok 4.6 \u7684\u89c4\u683c\u4e3a\u6bcf\u79d2 150 \u6b21\u8bf7\u6c42\u3001\u6bcf\u5206\u949f 5000 \u4e07\u4e2a\u4ee4\u724c\u3002 \u8fd9\u4e9b\u662f\u5df2\u53d1\u5e03\u7684\u5c42\u7ea7\u6761\u76ee\uff0c\u5e76\u4e0d\u4fdd\u8bc1\u6bcf\u4e2a\u5bc6\u94a5\u90fd\u5177\u6709\u76f8\u540c\u7684\u53ef\u7528\u5bb9\u91cf\u3002\u60a8\u56e2\u961f\u7684\u63a7\u5236\u53f0\u624d\u662f\u5176\u5f53\u524d\u6a21\u578b\u8bbf\u95ee\u6743\u9650\u548c\u9650\u5236\u7684\u6743\u5a01\u6765\u6e90\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5206\u7ea7\u6807\u51c6\u57fa\u4e8e\u81ea2026\u5e741\u67081\u65e5\u4ee5\u6765\u7684\u7d2f\u8ba1API\u652f\u51fa\uff1a \u7b2c0\u81f3\u7b2c4\u5c42\u5206\u522b\u4e3a$0\u3001$50\u3001$250\u3001$1,000\u548c$5,000\u3002 \u8bf7\u6c42\u9650\u6d41\u6309\u6bcf\u79d2\u8ba1\u7b97\uff0c\u8ba1\u7b97\u65b9\u5f0f\u4e3a\u6bcf\u5206\u949f\u8bf7\u6c42\u914d\u989d\u9664\u4ee5 60\uff0c\u56e0\u6b64\u60a8\u65e0\u6cd5\u5728\u4e00\u6b21\u7a81\u53d1\u8bf7\u6c42\u4e2d\u8017\u5c3d\u6574\u6574\u4e00\u5206\u949f\u7684\u914d\u989d\u3002\u8f93\u5165\u3001\u8f93\u51fa\u3001\u63a8\u7406\u548c\u7f13\u5b58\u4ee4\u724c\u5747\u8ba1\u5165 TPM\uff0c\u5373\u4f7f\u5176\u4e2d\u67d0\u4e9b\u9879\u7684\u6d88\u8017\u8f83\u4f4e\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5df2\u6838\u5bf9\u7684 Grok 4.3 \u548c 4.6 \u578b\u53f7\u9875\u9762\u63d0\u4f9b\u4e86\u4e0a\u4e0b\u6587\u5927\u5c0f\uff0c\u4f46\u672a\u5355\u72ec\u5217\u51fa\u786c\u6027\u6700\u5927\u8f93\u51fa\u503c\u3002\u5f53\u524d\u7684 <a href=\"https:\/\/docs.x.ai\/developers\/rest-api-reference\/inference\/responses\">\u54cd\u5e94\u7aef\u70b9\u53c2\u8003<\/a> \u5b9a\u4e49 <code>max_output_tokens<\/code> \u4f5c\u4e3a\u8f93\u51fa\u4e0e\u63a8\u7406\u7684\u5408\u5e76\u914d\u989d\uff1a\u82e5\u672a\u8bbe\u7f6e\uff0c\u9ed8\u8ba4\u503c\u4e3a 128,000\uff1b\u4e3a\u751f\u6210\u66f4\u957f\u7684\u5185\u5bb9\uff0c\u53ef\u8bbe\u7f6e\u66f4\u5927\u7684\u503c\u3002\u8be5\u9ed8\u8ba4\u503c\u5e76\u4e0d\u4fdd\u8bc1\u4f1a\u751f\u6210 128,000 \u4e2a\u53ef\u89c1\u7684\u7b54\u6848\u4ee4\u724c\uff0c\u4e5f\u4e0d\u610f\u5473\u7740\u4e0a\u4e0b\u6587\u914d\u989d\u65e0\u9650\u3002\u8bf7\u663e\u5f0f\u8bbe\u7f6e\u914d\u989d\uff0c\u5e76\u68c0\u67e5\u4e0d\u5b8c\u6574\u7684\u54cd\u5e94\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.x.ai\/console\/billing\">xAI \u8ba1\u8d39\u6587\u6863<\/a> \u5c06\u9884\u4ed8\u8d39\u989d\u5ea6\u4e0e\u6309\u6708\u5f00\u7968\u8ba1\u8d39\u533a\u5206\u5f00\u6765\uff0c\u540e\u8005\u9ed8\u8ba4\u5904\u4e8e\u7981\u7528\u72b6\u6001\u3002\u81ea\u52a8\u5145\u503c\u529f\u80fd\u53ef\u8865\u5145\u9884\u4ed8\u8d39\u989d\u5ea6\uff0c\u5e76\u8bbe\u6709\u72ec\u7acb\u7684\u9608\u503c\u548c\u6bcf\u6708\u9650\u989d\u3002\u6309\u6708\u5f00\u7968\u8ba1\u8d39\u9650\u989d\u7528\u4e8e\u63a7\u5236\u540e\u4ed8\u8d39\u7684\u4f7f\u7528\uff1b\u5b83\u4e0e\u9488\u5bf9\u9884\u4ed8\u8d39\u8d2d\u4e70\u3001\u5145\u503c\u548c\u8bf7\u6c42\u8bbe\u7f6e\u7684\u5355\u4e00\u7efc\u5408\u4e0a\u9650\u5e76\u975e\u540c\u4e00\u6982\u5ff5\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u8fdb\u884c\u9996\u6b21\u96c6\u6210\u65f6\uff0c\u8bf7\u5148\u4f7f\u7528\u6709\u9650\u7684\u9884\u4ed8\u91d1\u989d\uff0c\u5e76\u4ed4\u7ec6\u68c0\u67e5\u4efb\u4f55\u81ea\u52a8\u5145\u503c\u8bbe\u7f6e\u3002\u82e5\u60f3\u5728\u4e0d\u7f16\u5199\u96c6\u6210\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\u8fdb\u884c\u65e5\u5e38\u804a\u5929\uff0c\u53ef\u4f7f\u7528\u72ec\u7acb\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/how-to-use-grok-4\/\">Grok \u4f7f\u7528\u6307\u5357<\/a> \u6db5\u76d6\u4e86\u4ea7\u54c1\u5de5\u4f5c\u6d41\u3002\u804a\u5929\u8ba2\u9605\u548c API \u56e2\u961f\u7684\u63a7\u5236\u673a\u5236\u5404\u4e0d\u76f8\u540c\u3002.<\/p>\n\n\n\n<h2 id=\"real-usage\" class=\"wp-block-heading\">\u4e24\u9879\u771f\u5b9e\u7684 Grok 4.6 \u4efb\u52a1\uff1a\u4f7f\u7528\u8bb0\u5f55\u63ed\u793a\u4e86\u4ec0\u4e48<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u901a\u8fc7 Broly \u805a\u5408 API\uff0c\u91cd\u65b0\u4f7f\u7528\u4e86 2026 \u5e74 9 \u6708 7 \u65e5\u7684\u4e24\u9879\u5df2\u5b8c\u6210\u6d4b\u8bd5\uff0c\u5730\u5740\u4e3a <code>https:\/\/anywhere.broly.ai\/v1<\/code>, \uff0c\u4f7f\u7528\u201c\u804a\u5929\u8865\u5168\u201d\u529f\u80fd\u3002\u65e0\u8bba\u662f\u8bf7\u6c42\u8fd8\u662f\u8fd4\u56de\u7684 <code>grok-4.6<\/code>; \uff1b\u4e0a\u6e38\u6a21\u578b\u7684\u8eab\u4efd\u5c1a\u672a\u7ecf\u8fc7\u72ec\u7acb\u9a8c\u8bc1\u3002\u8fd9\u4e9b\u662f Grok 4.6 \u7f51\u5173\u7684\u6d4b\u8bd5\u7ed3\u679c\uff0c\u5e76\u975e\u539f\u59cb\u7684 Grok 4 \u6d4b\u8bd5\u7ed3\u679c\uff0c\u4e5f\u4e0d\u662f\u4e0d\u540c\u6a21\u578b\u4e4b\u95f4\u7684\u5bf9\u6bd4\u7ed3\u679c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf\u4e2a\u4efb\u52a1\u8fd0\u884c\u4e86\u4e00\u6b21\uff0c\u4f7f\u7528 <code>\u6e29\u5ea6=0<\/code>, <code>max_tokens=2048<\/code> \u548c <code>stream=false\u7b80\u4f53\u4e2d\u6587\uff08\u5927\u9646\uff09<\/code>. \u672a\u53d1\u9001\u4efb\u4f55\u5de5\u5177\u6216\u660e\u786e\u7684\u63a8\u7406\u52aa\u529b\u8bbe\u7f6e\u3002\u8fd9\u4e24\u4e2a\u8bf7\u6c42\u90fd\u4f7f\u7528\u4e86\u76f8\u540c\u7684\u7cfb\u7edf\u6307\u4ee4\uff1a<\/p>\n\n\n\n<section id=\"system-prompt\" aria-label=\"\u5171\u4eab\u7cfb\u7edf\u8bf4\u660e\" style=\"margin:22px 0;padding:20px;border-radius:6px;background:#1e2925;color:#f5faf6;font:15px\/1.6 system-ui,sans-serif;min-width:0\"><div style=\"display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px\"><strong>\u5171\u4eab\u7cfb\u7edf\u8bf4\u660e<\/strong><button type=\"button\" title=\"\u590d\u5236\u5171\u4eab\u7cfb\u7edf\u6307\u4ee4\" aria-label=\"\u590d\u5236\u5171\u4eab\u7cfb\u7edf\u6307\u4ee4\" style=\"min-width:44px;min-height:36px;padding:6px 12px;border:1px solid #7a9c8d;background:#d9ebe1;color:#173729;border-radius:4px;cursor:pointer\" onclick=\"(async(button)=>{const area=button.closest(&#8216;section&#8217;).querySelector(&#8216;textarea&#8217;);const status=button.closest(&#8216;section&#8217;).querySelector(&#8216;[role=status]&#8217;);try{if(!navigator.clipboard)throw Error();await Promise.race([navigator.clipboard.writeText(area.value),new Promise((_,reject)=>setTimeout(reject,700))]);status.textContent=&#8217;Copied&#8217;;}catch{area.focus();area.select();status.textContent=&#8217;Press Ctrl\/Cmd+C&#8217;;}})(this)&#8221;>Copy<\/button><\/div><textarea readonly aria-label=\"shared system instruction text\">\u4ec5\u4f7f\u7528\u63d0\u4f9b\u7684\u4fe1\u606f\u5b8c\u6210\u7528\u6237\u7684\u72ec\u7acb\u4efb\u52a1\u3002\u8bf7\u4e25\u683c\u9075\u5faa\u8981\u6c42\u7684\u8f93\u51fa\u683c\u5f0f\u3002\u8bf7\u52ff\u58f0\u79f0\u4f7f\u7528\u4e86\u5916\u90e8\u5de5\u5177\u3002.<\/textarea><span role=\"status\" aria-live=\"polite\" style=\"display:block;min-height:24px;font-size:13px;margin-top:7px\"><\/span><\/section>\n\n\n\n<h3 class=\"wp-block-heading\">\u8d39\u7528\u63d0\u53d6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u4efb\u52a1\u5c06\u4e94\u5f20\u5408\u6210\u8d39\u7528\u5355\u8f6c\u6362\u4e3a\u683c\u5f0f\u89c4\u8303\u7684JSON\u6570\u636e\uff0c\u5176\u4e2d\u5206\u503c\u4ee5\u6574\u6570\u5f62\u5f0f\u8868\u793a\uff0c\u5e76\u5305\u542b\u4e00\u7b14\u8d1f\u6570\u9000\u6b3e\u3002\u54cd\u5e94\u4fdd\u7559\u4e86\u6240\u6709\u8bf7\u6c42\u5b57\u6bb5\uff0c\u5e76\u6b63\u786e\u8ba1\u7b97\u51fa\u4e86$209.00\u7684\u51c0\u603b\u989d\u3002.<\/p>\n\n\n\n<section id=\"prompt-expense-extraction\" aria-label=\"\u786e\u5207\u7684\u63d0\u793a\u8bcd\uff1a\u8d39\u7528\u63d0\u53d6\" style=\"margin:22px 0;padding:20px;border-radius:6px;background:#1e2925;color:#f5faf6;font:15px\/1.6 system-ui,sans-serif;min-width:0\"><div style=\"display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px\"><strong>\u786e\u5207\u7684\u63d0\u793a\u8bcd\uff1a\u8d39\u7528\u63d0\u53d6<\/strong><button type=\"button\" title=\"\u201c\u7cbe\u786e\u590d\u5236\u201d\u63d0\u793a\uff1a\u8d39\u7528\u63d0\u53d6\" aria-label=\"\u201c\u7cbe\u786e\u590d\u5236\u201d\u63d0\u793a\uff1a\u8d39\u7528\u63d0\u53d6\" style=\"min-width:44px;min-height:36px;padding:6px 12px;border:1px solid #7a9c8d;background:#d9ebe1;color:#173729;border-radius:4px;cursor:pointer\" onclick=\"(async(button)=>{const area=button.closest(&#8216;section&#8217;).querySelector(&#8216;textarea&#8217;);const status=button.closest(&#8216;section&#8217;).querySelector(&#8216;[role=status]&#8217;);try{if(!navigator.clipboard)throw Error();await Promise.race([navigator.clipboard.writeText(area.value),new Promise((_,reject)=>setTimeout(reject,700))]);status.textContent=&#8217;Copied&#8217;;}catch{area.focus();area.select();status.textContent=&#8217;Press Ctrl\/Cmd+C&#8217;;}})(this)&#8221;>Copy<\/button><\/div><textarea readonly aria-label=\"exact prompt: expense extraction text\">\u5c06\u8fd9\u4e9b\u5408\u6210\u7f8e\u5143\u8d39\u7528\u51ed\u8bc1\u89c4\u8303\u5316\u3002\u4ec5\u8fd4\u56de\u6709\u6548\u7684 JSON \u6570\u636e\uff0c\u4e0d\u5305\u542b Markdown \u6216\u989d\u5916\u6587\u672c\uff0c\u4e14\u5fc5\u987b\u5305\u542b\u4ee5\u4e0b\u8fd9\u4e9b\u9876\u7ea7\u952e\uff1acurrency\u3001items\u3001net_total_cents\u3002currency \u5fc5\u987b\u4e3a USD\u3002\u6bcf\u4e2a\u9879\u76ee\u5fc5\u987b\u6070\u597d\u5305\u542b label \u548c amount_cents\u3002\u4fdd\u7559\u51ed\u8bc1\u7684\u987a\u5e8f\u3002\u91d1\u989d\u5fc5\u987b\u4e3a\u6574\u6570\u7f8e\u5206\uff1b\u9000\u6b3e\u91d1\u989d\u4e3a\u8d1f\u6570\u3002 \u8bf7\u52ff\u6dfb\u52a0\u989d\u5916\u7684\u8d39\u7528\u9879\u76ee\u3002\n\n\u660e\u7ec6\uff1a\n\u706b\u8f66\u7968\uff1a$46.80\n\u9152\u5e97\uff1a$128.00\n\u665a\u9910\uff1a$27.45\n\u5df2\u6536\u5230\u7684\u7968\u6b3e\u9000\u6b3e\uff1a$12.50\n\u51fa\u79df\u8f66\uff1a$19.25\n\n\u8bf7\u5206\u522b\u4f7f\u7528\u4ee5\u4e0b\u6807\u7b7e\uff1a\u706b\u8f66\u3001\u9152\u5e97\u3001\u665a\u9910\u3001\u9000\u6b3e\u3001\u51fa\u79df\u8f66\u3002.<\/textarea><span role=\"status\" aria-live=\"polite\" style=\"display:block;min-height:24px;font-size:13px;margin-top:7px\"><\/span><\/section>\n\n\n\n<section aria-label=\"\u5b8c\u6574\u7684\u8fd4\u56de\u7ed3\u679c\uff1a\u8d39\u7528\u63d0\u53d6\" style=\"margin:20px 0;padding:18px;border-left:4px solid #258773;background:#edf5f1;color:#173729\"><h4 style=\"font:700 16px\/1.5 system-ui,sans-serif;margin:0 0 12px\">\u5b8c\u6574\u7684\u8fd4\u56de\u7ed3\u679c\uff1a\u8d39\u7528\u63d0\u53d6<\/h4><pre style=\"margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px\/1.65 Consolas,monospace\">{\n  \"currency\": \"USD\",\n  \"items\": [\n    {\n \"label\": \"\u706b\u8f66\",\n \"amount_cents\": 4680\n    },\n    {\n \"label\": \"\u9152\u5e97\",\n \"amount_cents\": 12800\n    },\n    {\n      \"label\": \"\u665a\u9910\",\n \"amount_cents\": 2745\n    },\n    {\n \"label\": \"\u9000\u6b3e\",\n \"amount_cents\": -1250\n    },\n    {\n \"label\": \"\u51fa\u79df\u8f66\",\n \"amount_cents\": 1925\n    }\n  ],\n  \"net_total_cents\": 20900\n}<\/pre><\/section>\n\n\n\n<section aria-label=\"\u62a5\u544a\u7684\u4f7f\u7528\u60c5\u51b5 \u00b7 \u8d39\u7528\u63d0\u53d6\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #167862;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u62a5\u544a\u7684\u4f7f\u7528\u60c5\u51b5 \u00b7 \u8d39\u7528\u63d0\u53d6<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u8f93\u5165 \/ \u5df2\u7f13\u5b58<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">364 \/ 192<\/p><p style=\"margin:0\">\u7f13\u5b58\u7684\u4ee4\u724c\u8ba1\u5165\u8f93\u5165\u603b\u6570\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u5b8c\u6210 \/ \u63a8\u7406<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">991 \/ 857<\/p><p style=\"margin:0\">\u63a8\u7406\u8fc7\u7a0b\u4f1a\u5728\u5b8c\u6210\u8be6\u60c5\u4e2d\u4e88\u4ee5\u8bf4\u660e\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#167862;font-weight:700\">\u5899\u4e0a\u65f6\u949f\u663e\u793a\u7684\u65f6\u95f4<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">22.753\u79d2<\/p><p style=\"margin:0\">\u5305\u62ec\u7f51\u7edc\u548c\u7f51\u5173\u5f00\u9500\uff1b\u4e00\u6b21\u8fd0\u884c\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e26\u7ea6\u675f\u6392\u7a0b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u4efb\u52a1\u8981\u6c42\u5728\u516b\u5c0f\u65f6\u7684\u9884\u7b97\u5185\uff0c\u5728\u6ee1\u8db3\u5148\u51b3\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u9009\u62e9\u4e0d\u53ef\u5206\u5272\u7684\u5de5\u4f5c\u3002\u7ed9\u51fa\u7684\u7b54\u6848\u9009\u4e2d\u4e86A\u3001B\u3001C\u548cE\uff0c\u603b\u8ba1\u516b\u5c0f\u65f6\uff0c\u503c\u4e3a24\u3002\u6211\u4eec\u72ec\u7acb\u679a\u4e3e\u4e86\u6240\u670964\u4e2a\u5b50\u96c6\uff1a\u5176\u4e2d17\u4e2a\u662f\u53ef\u884c\u7684\uff0c\u800c\u8fd9\u6b63\u662f\u552f\u4e00\u7684\u6700\u4f18\u89e3\u3002.<\/p>\n\n\n\n<section id=\"prompt-constrained-scheduling\" aria-label=\"\u786e\u5207\u7684\u63d0\u793a\uff1a\u53d7\u7ea6\u675f\u8c03\u5ea6\" style=\"margin:22px 0;padding:20px;border-radius:6px;background:#1e2925;color:#f5faf6;font:15px\/1.6 system-ui,sans-serif;min-width:0\"><div style=\"display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px\"><strong>\u786e\u5207\u7684\u63d0\u793a\uff1a\u53d7\u7ea6\u675f\u8c03\u5ea6<\/strong><button type=\"button\" title=\"\u201c\u7cbe\u786e\u590d\u5236\u201d\u63d0\u793a\uff1a\u53d7\u7ea6\u675f\u7684\u8c03\u5ea6\" aria-label=\"\u201c\u7cbe\u786e\u590d\u5236\u201d\u63d0\u793a\uff1a\u53d7\u7ea6\u675f\u7684\u8c03\u5ea6\" style=\"min-width:44px;min-height:36px;padding:6px 12px;border:1px solid #7a9c8d;background:#d9ebe1;color:#173729;border-radius:4px;cursor:pointer\" onclick=\"(async(button)=>{const area=button.closest(&#8216;section&#8217;).querySelector(&#8216;textarea&#8217;);const status=button.closest(&#8216;section&#8217;).querySelector(&#8216;[role=status]&#8217;);try{if(!navigator.clipboard)throw Error();await Promise.race([navigator.clipboard.writeText(area.value),new Promise((_,reject)=>setTimeout(reject,700))]);status.textContent=&#8217;Copied&#8217;;}catch{area.focus();area.select();status.textContent=&#8217;Press Ctrl\/Cmd+C&#8217;;}})(this)&#8221;>Copy<\/button><\/div><textarea readonly aria-label=\"exact prompt: constrained scheduling text\">\u4e3a\u4e00\u540d\u5de5\u4eba\u76848\u5c0f\u65f6\u5de5\u4f5c\u9884\u7b97\uff0c\u9009\u62e9\u8fd9\u4e9b\u5408\u6210\u4efb\u52a1\u4e2d\u4ef7\u503c\u6700\u9ad8\u7684\u53ef\u884c\u7ec4\u5408\u3002\u4efb\u52a1\u4e0d\u53ef\u5206\u5272\uff0c\u4e0d\u80fd\u91cd\u53e0\uff0c\u4e14\u5fc5\u987b\u5148\u9009\u5b9a\u5e76\u5b8c\u6210\u5148\u51b3\u4efb\u52a1\uff0c\u5176\u4f9d\u8d56\u4efb\u52a1\u624d\u80fd\u5f00\u59cb\u3002\u5141\u8bb8\u6709\u5269\u4f59\u65f6\u95f4\u3002\u6bcf\u4e2a\u4efb\u52a1\u6700\u591a\u53ea\u80fd\u6267\u884c\u4e00\u6b21\u3002\n\n\u4efb\u52a1 A\uff1a3 \u5c0f\u65f6\uff0c\u4ef7\u503c 8\uff0c\u65e0\u5148\u51b3\u6761\u4ef6\u3002\n\u4efb\u52a1 B\uff1a2 \u5c0f\u65f6\uff0c\u4ef7\u503c 7\uff0c\u5148\u51b3\u6761\u4ef6\u4e3a A\u3002\n\u4efb\u52a1 C\uff1a2 \u5c0f\u65f6\uff0c\u4ef7\u503c 6\uff0c\u65e0\u5148\u51b3\u6761\u4ef6\u3002\n\u4efb\u52a1 D\uff1a4 \u5c0f\u65f6\uff0c\u4ef7\u503c 12\uff0c\u5148\u51b3\u6761\u4ef6\u4e3a C\u3002\n\u4efb\u52a1 E\uff1a1 \u5c0f\u65f6\uff0c\u4ef7\u503c 3\uff0c\u65e0\u5148\u51b3\u6761\u4ef6\u3002\n\u4efb\u52a1 F\uff1a3 \u5c0f\u65f6\uff0c\u4ef7\u503c 10\uff0c\u5148\u51b3\u6761\u4ef6\u4e3a E\u3002\n\n\u4ec5\u8fd4\u56de\u4e0d\u542b Markdown \u683c\u5f0f\u7684\u6709\u6548 JSON \u6570\u636e\uff0c\u4e14\u5fc5\u987b\u5305\u542b\u4ee5\u4e0b\u952e\uff1aselected\u3001order\u3001total_hours\u3001total_value\u3002selected \u952e\u5fc5\u987b\u6309\u5b57\u6bcd\u987a\u5e8f\u5217\u51fa\u6240\u9009\u4efb\u52a1\u7684 ID\u3002order \u952e\u5fc5\u987b\u662f\u8fd9\u4e9b\u4efb\u52a1\u7684\u6709\u6548\u65f6\u95f4\u987a\u5e8f\u3002\u8bf7\u52ff\u5305\u542b\u4efb\u4f55\u7406\u7531\u8bf4\u660e\u3002.<\/textarea><span role=\"status\" aria-live=\"polite\" style=\"display:block;min-height:24px;font-size:13px;margin-top:7px\"><\/span><\/section>\n\n\n\n<section aria-label=\"\u5b8c\u6574\u7684\u8fd4\u56de\u7ed3\u679c\uff1a\u53d7\u7ea6\u675f\u8c03\u5ea6\" style=\"margin:20px 0;padding:18px;border-left:4px solid #258773;background:#edf5f1;color:#173729\"><h4 style=\"font:700 16px\/1.5 system-ui,sans-serif;margin:0 0 12px\">\u5b8c\u6574\u7684\u8fd4\u56de\u7ed3\u679c\uff1a\u53d7\u7ea6\u675f\u8c03\u5ea6<\/h4><pre style=\"margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px\/1.65 Consolas,monospace\">{\n  \"selected\": [\"A\", \"B\", \"C\", \"E\"],\n  \"order\": [\"A\", \"B\", \"C\", \"E\"],\n  \"total_hours\": 8,\n  \"total_value\": 24\n}<\/pre><\/section>\n\n\n\n<section aria-label=\"\u62a5\u544a\u7684\u4f7f\u7528\u60c5\u51b5 \u00b7 \u53d7\u9650\u8c03\u5ea6\" style=\"margin:24px 0;padding:22px 0;border-top:3px solid #a74d65;border-bottom:1px solid #d4dfda;font:16px\/1.55 system-ui,sans-serif;color:#23332d\"><h3 style=\"font-size:21px;line-height:1.35;margin:0 0 18px\">\u62a5\u544a\u7684\u4f7f\u7528\u60c5\u51b5 \u00b7 \u53d7\u9650\u8c03\u5ea6<\/h3><div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px\"><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">\u8f93\u5165 \/ \u5df2\u7f13\u5b58<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">428 \/ 192<\/p><p style=\"margin:0\">\u7f13\u5b58\u7684\u4ee4\u724c\u8ba1\u5165\u8f93\u5165\u603b\u6570\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">\u5b8c\u6210 \/ \u63a8\u7406<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">4267 \/ 4217<\/p><p style=\"margin:0\">\u63a8\u7406\u8fc7\u7a0b\u4f1a\u5728\u5b8c\u6210\u8be6\u60c5\u4e2d\u4e88\u4ee5\u8bf4\u660e\u3002.<\/p><\/div><div style=\"min-width:0\"><p style=\"margin:0 0 5px;color:#a74d65;font-weight:700\">\u5899\u4e0a\u65f6\u949f\u663e\u793a\u7684\u65f6\u95f4<\/p><p style=\"font-size:26px;font-weight:700;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere\">61.980\u79d2<\/p><p style=\"margin:0\">\u5305\u62ec\u7f51\u7edc\u548c\u7f51\u5173\u5f00\u9500\uff1b\u4e00\u6b21\u8fd0\u884c\u3002.<\/p><\/div><\/div><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u8c03\u5ea6\u7ed3\u679c\u7684\u957f\u5ea6\u6bd4\u8d39\u7528 JSON \u66f4\u77ed\uff0c\u4f46\u5176\u62a5\u544a\u7684\u603b\u6d88\u8017\u91cf\u4e3a 4,267 \u4e2a\u4ee4\u724c\uff0c\u5176\u4e2d\u5305\u62ec 4,217 \u4e2a\u63a8\u7406\u4ee4\u724c\u3002\u8fd9\u5c31\u662f\u9884\u7b97\u7ba1\u7406\u4e2d\u7684\u4e00\u4e2a\u6559\u8bad\uff1a\u53ef\u89c1\u7ed3\u679c\u7684\u957f\u5ea6\u5e76\u4e0d\u80fd\u5f88\u597d\u5730\u53cd\u6620\u63a8\u7406\u6a21\u578b\u7684\u6d88\u8017\u60c5\u51b5\u3002\u8fd9\u4e24\u4e2a\u4efb\u52a1\u662f\u4f7f\u7528\u6a21\u5f0f\u7684\u6709\u7528\u793a\u4f8b\uff0c\u800c\u975e\u5ef6\u8fdf\u57fa\u51c6\u6d4b\u8bd5\u6216\u901a\u7528\u8d28\u91cf\u6392\u540d\u3002.<\/p>\n\n\n\n<section aria-label=\"\u7f51\u5173\u4f7f\u7528\u793a\u4f8b\uff1a\u53d7\u9650\u8c03\u5ea6\" style=\"margin:20px 0;padding:18px;border-left:4px solid #258773;background:#edf5f1;color:#173729\"><h4 style=\"font:700 16px\/1.5 system-ui,sans-serif;margin:0 0 12px\">\u7f51\u5173\u4f7f\u7528\u793a\u4f8b\uff1a\u53d7\u9650\u8c03\u5ea6<\/h4><pre style=\"margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px\/1.65 Consolas,monospace\">{\n  \"prompt_tokens\": 428,\n  \"completion_tokens\": 4267,\n  \"total_tokens\": 4695,\n  \"\u63d0\u793a\u8bcd\u4ee4\u724c\u8be6\u60c5\": {\n    \"\u7f13\u5b58\u4ee4\u724c\": 192\n  },\n  \"\u751f\u6210\u4ee4\u724c\u8be6\u60c5\": {\n    \"\u63a8\u7406\u4ee4\u724c\": 4217\n  }\n}<\/pre><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u7f51\u5173\u8fd8\u8fd4\u56de\u4e86\u503c\u4e3a\u96f6\u7684 <code>input_tokens<\/code> \u548c <code>output_tokens<\/code> \u5b57\u6bb5\uff0c\u5c3d\u7ba1\u201c\u804a\u5929\u8865\u5168\u201d\u8ba1\u6570\u5668\u4e0d\u4e3a\u96f6\u3002\u5bf9\u4e8e\u8fd9\u4e9b\u8bb0\u5f55\uff0c\u6211\u4eec\u4f7f\u7528\u4e86 <code>\u63d0\u793a\u8bcd\u7247\u6bb5<\/code> \u548c <code>completion_tokens<\/code>. \u6211\u4eec\u6ca1\u6709\u5c06\u96f6\u503c\u522b\u540d\u89c6\u4e3a\u514d\u8d39\u8bf7\u6c42\uff0c\u4e5f\u6ca1\u6709\u6839\u636e\u5176\u4ed6\u96f6\u503c\u5b57\u6bb5\u63a8\u65ad\u53ef\u89c1\u4ee4\u724c\u7684\u6570\u91cf\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u91c7\u7528\u5b98\u65b9\u8d39\u7387\u4f46\u4e0d\u5c06\u5176\u79f0\u4e3a\u53d1\u7968<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6309\u7167 Grok 4.6 \u5f53\u524d\u7684\u77ed\u4e0a\u4e0b\u6587 xAI \u5efa\u8bae\u96f6\u552e\u4ef7\u5bf9\u8fd9\u4e9b\u7f51\u5173\u8ba1\u6570\u8fdb\u884c\u8ba1\u8d39\uff0c\u5219\u8be5\u63d0\u53d6\u4efb\u52a1\u7684\u8d39\u7528\u5c06\u4e3a <strong>[(364 \u2013 192) \u00d7 $2 + 192 \u00d7 $0.50 + 991 \u00d7 $6] \/ 1M = $0.006386\u7b80\u4f53\u4e2d\u6587\uff08\u5927\u9646\uff09<\/strong>. \u6392\u7a0b\u5c06\u5982\u4e0b\uff1a <strong>[(428 \u2013 192) \u00d7 $2 + 192 \u00d7 $0.50 + 4,267 \u00d7 $6] \/ 1M = $0.026170\u7b80\u4f53\u4e2d\u6587\uff08\u5927\u9646\uff09<\/strong>. \u8fd9\u4e9b\u662f\u5047\u8bbe\u6027\u7684xAI\u901f\u7387\u4f30\u8ba1\u503c\uff0c\u5e76\u975e\u5728\u5e03\u7f57\u5229\u89c2\u6d4b\u5230\u7684\u6570\u636e\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c3d\u7ba1\u8bf7\u6c42\u4e2d\u53d1\u9001\u7684\u662f\u2026\u2026\uff0c\u4f46\u8c03\u5ea6\u54cd\u5e94\u62a5\u544a\u4e86 4,267 \u4e2a\u5b8c\u6210\u6807\u8bb0 <code>max_tokens=2048<\/code>. \u8be5\u7f51\u5173\u7684\u4e0a\u9650\u8bed\u4e49\u5c1a\u672a\u7ecf\u8fc7\u9a8c\u8bc1\u3002\u8fd9\u4e00\u5dee\u5f02\u5e76\u4e0d\u80fd\u8bf4\u660e xAI \u81ea\u8eab\u7684\u8f93\u51fa\u4e0a\u9650\u662f\u5982\u4f55\u8fd0\u4f5c\u7684\uff0c\u4e14\u6240\u8bf7\u6c42\u7684\u4e0a\u9650\u4e0d\u80fd\u88ab\u89c6\u4e3a\u8be5\u7f51\u5173\u5df2\u8bc1\u5b9e\u7684\u652f\u51fa\u4e0a\u9650\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Direct xAI \u7684\u56de\u590d\u5305\u542b\u66f4\u6709\u7528\u7684\u8ba1\u8d39\u4fe1\u53f7\uff1a <a href=\"https:\/\/docs.x.ai\/developers\/cost-tracking\">cost_in_usd_ticks<\/a>. \u5b98\u65b9\u6587\u6863\u5c06 1 USD \u5b9a\u4e49\u4e3a 10,000,000,000 \u4e2a tick\uff0c\u5e76\u6307\u51fa\u8be5\u5b57\u6bb5\u5305\u542b\u8be5\u8bf7\u6c42\u7684\u4ee3\u5e01\u8d39\u7528\u3001\u6298\u6263\u4ee5\u53ca\u670d\u52a1\u5668\u7aef\u5de5\u5177\u8c03\u7528\u8d39\u7528\u3002\u91cd\u590d\u4f7f\u7528\u7684\u7f51\u5173\u54cd\u5e94\u4e2d\u4e0d\u5305\u542b\u8be5\u5b57\u6bb5\u3002 \u5bf9\u4e8e\u4f1a\u8bdd\uff0c\u5e94\u5c06\u6bcf\u6b21\u8bf7\u6c42\u7684 tick \u503c\u76f8\u52a0\uff0c\u800c\u4e0d\u662f\u5047\u8bbe\u6bcf\u4e2a\u54cd\u5e94\u90fd\u5305\u542b\u4f1a\u8bdd\u603b\u8ba1\u3002.<\/p>\n\n\n\n<h2 id=\"developer-feedback\" class=\"wp-block-heading\">\u72ec\u7acbAPI\u7528\u6237\u6ce8\u610f\u5230\u4e86\u4ec0\u4e48<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">2026\u5e748\u670821\u65e5\uff0cHacker News\u7528\u6237 <a href=\"https:\/\/news.ycombinator.com\/item?id=49394980\">mediaman<\/a> \u6307\u51fa\uff0cGrok 4.6 \u7684 $0.50\/\u767e\u4e07\u7f13\u5b58\u8f93\u5165\u7387\u662f\u5176 $2 \u975e\u7f13\u5b58\u8f93\u5165\u7387\u7684 25%\u3002\u4ed6\u4eec\u62c5\u5fc3\u7684\u662f\u4ee3\u7406\u5f0f\u5de5\u4f5c\u4e2d\u91cd\u590d\u7684\u7f13\u5b58\u8bfb\u53d6\u3002 \u8fd9\u4e24\u4e2a Grok \u901f\u7387\u4e0e\u5f53\u524d\u5b98\u65b9\u6570\u636e\u8868\u4e00\u81f4\uff1b\u8bc4\u8bba\u8005\u66f4\u5e7f\u6cdb\u7684\u6bd4\u8f83\u548c\u63a8\u6d4b\u5747\u4e3a\u5176\u4e2a\u4eba\u8bc4\u4f30\u3002.<\/p>\n\n\n\n<figure id=\"grok-api-media-developer-review-1\" style=\"margin:28px 0\"><a href=\"https:\/\/static.futureshareai.com\/glb_features\/developer-review-1_345c99350c9941658de7b0d2b6ebb8a3.webp\"><img loading=\"lazy\" src=\"https:\/\/static.futureshareai.com\/glb_features\/developer-review-1_345c99350c9941658de7b0d2b6ebb8a3.webp\" width=\"1280\" height=\"226\" alt=\"Hacker News \u7528\u6237 mediaman \u8ba8\u8bba Grok API \u7f13\u5b58\u5b9a\u4ef7\" decoding=\"async\" style=\"display:block;width:100%;height:auto;max-width:100%\"><\/a><figcaption style=\"font:14px\/1.6 system-ui,sans-serif;color:#4c5855;margin-top:10px\">mediaman \u5173\u4e8e Grok 4.6 \u7f13\u5b58\u5b9a\u4ef7\u7684\u8bc4\u8bba\uff0c2026 \u5e74 8 \u6708 21 \u65e5\u3002\u4e2a\u4eba\u6210\u672c\u8bc4\u4f30\uff1b\u6bd4\u8f83\u548c\u63a8\u6d4b\u5747\u4e3a\u8bc4\u8bba\u8005\u672c\u4eba\u89c2\u70b9\u30022026 \u5e74 9 \u6708 8 \u65e5\u5b58\u6863\u3002.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b64\u524d\uff0c\u57282025\u5e7411\u67089\u65e5\uff0c, <a href=\"https:\/\/news.ycombinator.com\/item?id=45870486\">XCSme<\/a> \u6587\u4e2d\u63cf\u8ff0\u4e86\u4f7f\u7528Grok 4 Fast\u901a\u8fc7API\u8fdb\u884c\u6570\u636e\u89e3\u6790\u548c\u63d0\u53d6\uff0c\u79f0\u5176\u201c\u7ecf\u6d4e\u5b9e\u60e0\u4e14\u5feb\u901f\u201d\u3002\u8fd9\u662f\u4e00\u4efd\u5173\u4e8e\u73b0\u5df2\u505c\u4ea7\u7684Fast\u578b\u53f7\u7684\u5386\u53f2\u62a5\u544a\u3002 \u8be5\u62a5\u544a\u5e76\u672a\u8bf4\u660e\u5f53\u524d Grok 4.3 \u6216 Grok 4.6 \u7684\u4ef7\u683c\u3001\u901f\u5ea6\u6216\u8d28\u91cf\u3002.<\/p>\n\n\n\n<figure id=\"grok-api-media-developer-review-2\" style=\"margin:28px 0\"><a href=\"https:\/\/static.futureshareai.com\/glb_features\/developer-review-2_00910b83138c4d11bd189750241e31ff.webp\"><img loading=\"lazy\" src=\"https:\/\/static.futureshareai.com\/glb_features\/developer-review-2_00910b83138c4d11bd189750241e31ff.webp\" width=\"1280\" height=\"125\" alt=\"XCSme \u5728 Hacker News \u4e0a\u8ba8\u8bba Grok API \u6570\u636e\u63d0\u53d6\" decoding=\"async\" style=\"display:block;width:100%;height:auto;max-width:100%\"><\/a><figcaption style=\"font:14px\/1.6 system-ui,sans-serif;color:#4c5855;margin-top:10px\">XCSme \u5173\u4e8e\u4f7f\u7528 Grok 4 Fast \u8fdb\u884c\u63d0\u53d6\u7684\u8ba8\u8bba\uff0c2025\u5e7411\u67089\u65e5\u3002\u5173\u4e8e\u4e00\u6b3e\u73b0\u5df2\u505c\u4ea7\u673a\u578b\u7684\u4e2a\u4eba\u5386\u53f2\u7ecf\u9a8c\u30022026\u5e749\u67088\u65e5\u8bb0\u5f55\u3002.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e24\u6bb5\u4e2a\u4eba\u7ecf\u5386\u5f15\u53d1\u4e86\u4e00\u4e9b\u6709\u7528\u7684\u521d\u6b65\u95ee\u9898\uff1a\u4f60\u7684\u4ee3\u7801\u5f00\u9500\u4e2d\u6709\u591a\u5c11\u6765\u81ea\u7f13\u5b58\u4e0a\u4e0b\u6587\uff0c\u53c8\u6709\u591a\u5c11\u6765\u81ea\u63a8\u7406\u548c\u91cd\u8bd5\uff1f\u8fd9\u4e9b\u7ecf\u5386\u5e76\u4e0d\u80fd\u5f62\u6210\u5f00\u53d1\u8005\u5171\u8bc6\u3002\u5982\u679c\u4f60\u4e5f\u5728\u6bd4\u8f83\u7531\u6b64\u4ea7\u751f\u7684\u5de5\u4f5c\u91cf\uff0c\u6211\u4eec\u7684 <a href=\"https:\/\/www.glbgpt.com\/hub\/grok-vs-chatgpt-which-one-actually-fits-your-work\/\">Grok \u4e0e ChatGPT \u7684\u5de5\u4f5c\u3001\u641c\u7d22\u548c\u7f16\u7801\u5bf9\u6bd4<\/a> \u9488\u5bf9\u8be5\u9879\u5355\u72ec\u51b3\u5b9a\u4f5c\u51fa\u7684\u5904\u7406\u3002.<\/p>\n\n\n\n<h2 id=\"get-started\" class=\"wp-block-heading\">\u5982\u4f55\u5f00\u59cb\u4f7f\u7528\u5b98\u65b9 xAI API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <a href=\"https:\/\/docs.x.ai\/developers\/quickstart\">xAI \u5b98\u65b9\u5feb\u901f\u5165\u95e8\u6307\u5357<\/a> \u4f7f\u7528\u4f4d\u4e8e <code>https:\/\/api.x.ai\/v1\/responses<\/code>. \u8fd9\u4e0e\u6211\u4eec\u57289\u67087\u65e5\u6d4b\u8bd5\u4e2d\u4f7f\u7528\u7684\u805a\u5408\u5e73\u53f0\u6240\u4f7f\u7528\u7684\u7aef\u70b9\u548c\u8d26\u6237\u4e0d\u540c\u3002.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u6216\u767b\u5f55\u60a8\u7684 xAI Console \u8d26\u6237\uff0c\u7136\u540e\u9009\u62e9\u6b63\u786e\u7684\u56e2\u961f\u3002.<\/li>\n\n\n\n<li>\u6dfb\u52a0 API \u79ef\u5206\u5e76\u67e5\u770b\u652f\u51fa\u8bbe\u7f6e\u3002\u786e\u8ba4\u6240\u9009\u6a21\u578b\u5bf9\u60a8\u7684\u56e2\u961f\u5f00\u653e\u3002.<\/li>\n\n\n\n<li>\u521b\u5efa\u4e00\u4e2a API \u5bc6\u94a5\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a XAI_API_KEY \u4f20\u9012\u7ed9\u670d\u52a1\u5668\u8fdb\u7a0b\u3002\u8bf7\u52ff\u5c06\u8be5\u5bc6\u94a5\u5305\u542b\u5728\u6d4f\u89c8\u5668\u4ee3\u7801\u3001\u6e90\u4ee3\u7801\u63a7\u5236\u3001\u5c4f\u5e55\u622a\u56fe\u548c\u65e5\u5fd7\u4e2d\u3002.<\/li>\n\n\n\n<li>\u4f7f\u7528\u660e\u786e\u7684\u5f53\u524d\u6a21\u578b ID \u53d1\u9001\u4e00\u4e2a\u5c0f\u578b\u8bf7\u6c42\uff0c\u7136\u540e\u8bb0\u5f55\u8fd4\u56de\u7684\u6a21\u578b\u3001\u4f7f\u7528\u60c5\u51b5\u3001\u670d\u52a1\u5c42\u7ea7\u548c\u8bf7\u6c42\u6807\u8bc6\u7b26\u3002.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u7684\u793a\u4f8b\u4f7f\u7528 Node.js 18 \u6216\u66f4\u9ad8\u7248\u672c\u53ca\u5176\u5185\u7f6e\u7684 fetch \u529f\u80fd\uff0c\u56e0\u6b64\u65e0\u9700\u5b89\u88c5 SDK\u3002\u8fd0\u884c\u524d\u8bf7\u5728\u8fdb\u7a0b\u73af\u5883\u4e2d\u8bbe\u7f6e XAI_API_KEY\u3002\u8be5\u793a\u4f8b\u91c7\u7528\u5f53\u524d\u5b98\u65b9\u7684 Responses \u8bf7\u6c42\u683c\u5f0f\uff0c\u5e76\u4f7f\u7528\u4f4e\u63a8\u7406\u5f3a\u5ea6\uff1b\u4ee3\u7801\u5df2\u5728\u672c\u5730\u7ecf\u8fc7\u9a8c\u8bc1\uff0c\u672a\u53d1\u9001\u989d\u5916\u7684\u4ed8\u8d39 API \u8bf7\u6c42\u3002.<\/p>\n\n\n\n<section id=\"first-request\" aria-label=\"\u9996\u4e2a\u5b98\u65b9\u8bf7\u6c42 \u00b7 Node.js\" style=\"margin:22px 0;padding:20px;border-radius:6px;background:#1e2925;color:#f5faf6;font:15px\/1.6 system-ui,sans-serif;min-width:0\"><div style=\"display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px\"><strong>\u9996\u4e2a\u5b98\u65b9\u8bf7\u6c42 \u00b7 Node.js<\/strong><button type=\"button\" title=\"\u590d\u5236 \u7b2c\u4e00\u4efd\u6b63\u5f0f\u8bf7\u6c42 \u00b7 Node.js\" aria-label=\"\u590d\u5236 \u7b2c\u4e00\u4efd\u6b63\u5f0f\u8bf7\u6c42 \u00b7 Node.js\" style=\"min-width:44px;min-height:36px;padding:6px 12px;border:1px solid #7a9c8d;background:#d9ebe1;color:#173729;border-radius:4px;cursor:pointer\" onclick=\"(async(button)=>{const area=button.closest(&#8216;section&#8217;).querySelector(&#8216;textarea&#8217;);const status=button.closest(&#8216;section&#8217;).querySelector(&#8216;[role=status]&#8217;);try{if(!navigator.clipboard)throw Error();await Promise.race([navigator.clipboard.writeText(area.value),new Promise((_,reject)=>setTimeout(reject,700))]);status.textContent=&#8217;Copied&#8217;;}catch{area.focus();area.select();status.textContent=&#8217;Press Ctrl\/Cmd+C&#8217;;}})(this)&#8221;>Copy<\/button><\/div><textarea readonly aria-label=\"first official request \u00b7 node.js text\">const apiKey = process.env.XAI_API_KEY;\nif (!apiKey) throw new Error(\u2018\u8bf7\u5148\u8bbe\u7f6e XAI_API_KEY\u2019);\n\nconst response = await fetch(\u2018https:\/\/api.x.ai\/v1\/responses\u2019, {\n  method: \u2018POST\u2019,\n  headers: {\n    Authorization: \u2018Bearer \u2018 + apiKey,\n    \u2018Content-Type\u2019: \u2018application\/json\u2019,\n  },\n  body: JSON.stringify({\n    model: \u2018grok-4.6\u2019,\n    reasoning: { effort: \u2018low\u2019 },\n    max_output_tokens: 2048,\n    input: \u2018\u4ec5\u8fd4\u56de 12 \u548c 30 \u7684\u548c\u3002\u2019,\n  }),\n  signal: AbortSignal.timeout(120_000),\n});\n\nif (!response.ok) {\n  throw new Error(\u2018xAI HTTP \u2018 + response.status);\n}\nconst data = await response.json();\nconst text = (data.output ?? [])\n  .filter(item =&gt; item.type === \u2018message\u2019)\n  .flatMap(item =&gt; item.content ?? [])\n  .filter(item =&gt; item.type === \u2018output_text\u2019)\n  .map(item =&gt; item.text)\n  .join(\u2018\\n\u2019);\n\nconsole.log(text);\nconsole.log(\u2018\u72b6\u6001\uff1a\u2019, data.status);\nconsole.log(\u2018\u6a21\u578b:\u2019, data.model);\nconsole.log(\u2018\u670d\u52a1\u7b49\u7ea7:\u2019, data.service_tier);\nconsole.log(\u2018\u4f7f\u7528\u60c5\u51b5:\u2019, data.usage);\nconst ticks = data.usage?.cost_in_usd_ticks;\nif (typeof ticks === \u2018number\u2019) {\n  console.log(\u2018\u8bf7\u6c42\u6210\u672c\uff08\u7f8e\u5143\uff09\uff1a\u2019, ticks \/ 1e10);\n} else {\n  console.log(\u2018\u672a\u8fd4\u56de\u8bf7\u6c42\u6210\u672c\u5b57\u6bb5\u2019);\n}<\/textarea><span role=\"status\" aria-live=\"polite\" style=\"display:block;min-height:24px;font-size:13px;margin-top:7px\"><\/span><\/section>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u8fdb\u884c\u6269\u5bb9\u4e4b\u524d\uff0c\u8bf7\u786e\u8ba4\u72b6\u6001\u5df2\u53d8\u4e3a\u201c\u5df2\u5b8c\u6210\u201d\uff0c\u5e76\u68c0\u67e5\u4f7f\u7528\u5bf9\u8c61\u3002\u672c\u793a\u4f8b\u901a\u8fc7\u5b98\u65b9\u7684 Responses \u5b57\u6bb5\u9884\u7559\u4e86 2,048 \u4e2a\u8f93\u51fa\u548c\u63a8\u7406\u4ee4\u724c\u3002\u8d85\u65f6\u4ec5\u662f\u5ba2\u6237\u7aef\u7684\u622a\u6b62\u65f6\u95f4\uff0c\u5e76\u4e0d\u610f\u5473\u7740\u670d\u52a1\u5668\u7aef\u7684\u5de5\u4f5c\u5df2\u88ab\u53d6\u6d88\u6216\u672a\u8ba1\u8d39\u3002 \u8be5\u793a\u4f8b\u4e0d\u4f1a\u81ea\u52a8\u91cd\u8bd5\uff1b\u4ee4\u724c\u4e0a\u9650\u5e76\u975e\u9488\u5bf9\u540c\u65f6\u53d1\u9001\u8f93\u5165\u6216\u8c03\u7528\u5de5\u5177\u7684\u5e94\u7528\u7a0b\u5e8f\u6240\u8bbe\u7684\u5168\u9762\u7f8e\u5143\u4e0a\u9650\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u517c\u5bb9 OpenAI \u7684 SDK\uff0c\u5176\u57fa\u7840 URL \u4e3a <code>https:\/\/api.x.ai\/v1<\/code> \u800c\u4e14\u51ed\u8bc1\u4ecd\u7136\u662f\u60a8\u7684 <strong>xAI<\/strong> API \u5bc6\u94a5\u3002Responses API \u4f7f\u7528 <code>\u8f93\u5165<\/code> \u548c <code>\u7406\u7531\uff1a{ \u52aa\u529b\u7a0b\u5ea6\uff1a\"\u4f4e\" }<\/code>; \u201c\u804a\u5929\u81ea\u52a8\u8865\u5168\u201d\u529f\u80fd\u4f7f\u7528 <code>\u4fe1\u606f<\/code> \u4ee5\u53ca\u5176\u81ea\u8eab\u7684\u53c2\u6570\u540d\u79f0\u3002\u5373\u4f7f\u4e24\u4e2a\u7aef\u70b9\u90fd\u652f\u6301 JSON\uff0c\u5c06\u7f51\u5173\u8bf7\u6c42\u539f\u6837\u590d\u5236\u5230\u53e6\u4e00\u4e2a\u7aef\u70b9\u65f6\uff0c\u4e5f\u53ef\u80fd\u5bfc\u81f4\u8bf7\u6c42\u5931\u8d25\u3002.<\/p>\n\n\n\n<h2 id=\"errors-and-controls\" class=\"wp-block-heading\">\u5e38\u89c1\u7684\u96c6\u6210\u9519\u8bef\u4e0e\u6210\u672c\u63a7\u5236<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.x.ai\/developers\/debugging\">401 \u672a\u7ecf\u6388\u6743<\/a>: \u8bf7\u68c0\u67e5 Bearer \u5934\u3001\u5bc6\u94a5\u548c\u8fd0\u884c\u73af\u5883\u3002403 \u9519\u8bef\u53ef\u80fd\u8868\u660e\u5b58\u5728\u56e2\u961f\u6743\u9650\u6216\u8bbf\u95ee\u9650\u5236\u3002\u91cd\u590d\u53d1\u9001\u76f8\u540c\u7684\u4e0d\u6709\u6548\u8bf7\u6c42\u5e76\u4e0d\u80fd\u89e3\u51b3\u95ee\u9898\u3002.<\/li>\n\n\n\n<li>404 \u672a\u627e\u5230\uff1a\u8bf7\u68c0\u67e5\u786e\u5207\u7684\u7aef\u70b9\u548c\u6a21\u578b ID\u3002\u533a\u5206\u65e0\u6548\u7684 ID \u4e0e\u5df2\u8bb0\u5f55\u7684\u5df2\u505c\u7528 ID\uff08\u540e\u8005\u4ecd\u53ef\u901a\u8fc7\u91cd\u5b9a\u5411\u89e3\u6790\uff09\u3002.<\/li>\n\n\n\n<li>400 \u6216 422\uff1a\u8bf7\u9a8c\u8bc1\u8bf7\u6c42\u67b6\u6784\u548c\u652f\u6301\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u5f53\u524d\u7684\u63a8\u7406\u6587\u6863\u4e0d\u652f\u6301\u5bf9\u63a8\u7406\u6a21\u578b\u5e94\u7528\u201c\u5b58\u5728\u6027\/\u9891\u7387\u201d\u60e9\u7f5a\u548c\u505c\u6b62\u8bbe\u7f6e\u3002.<\/li>\n\n\n\n<li>429 \u8bf7\u6c42\u8fc7\u591a\uff1a\u5c06\u8bf7\u6c42\u52a0\u5165\u961f\u5217\uff0c\u5e73\u6ed1\u7a81\u53d1\u8bf7\u6c42\uff0c\u5e76\u4f7f\u7528\u5e26\u6296\u52a8\u7684\u6709\u9650\u6307\u6570\u9000\u907f\u7b97\u6cd5\u3002\u540c\u65f6\u8ddf\u8e2a RPS \u548c TPM\uff0c\u5e76\u5c06\u91cd\u8bd5\u6b21\u6570\u8ba1\u5165\u5de5\u4f5c\u8d1f\u8f7d\u9884\u7b97\u4e2d\u3002.<\/li>\n\n\n\n<li>\u8f93\u51fa\u7ed3\u679c\u5f02\u5e38\u6216\u72b6\u6001\u4e0d\u5b8c\u6574\uff1a\u8bf7\u68c0\u67e5\u54cd\u5e94\u3001\u63a8\u7406\u8bbe\u7f6e\u548c\u9002\u7528\u7684\u8f93\u51fa\u4e0a\u9650\u3002\u5728\u4f7f\u7528\u673a\u5668\u53ef\u8bfb\u7684\u8f93\u51fa\u7ed3\u679c\u4e4b\u524d\uff0c\u8bf7\u5148\u5bf9\u5176\u8fdb\u884c\u9a8c\u8bc1\uff1b\u6210\u529f\u7684 HTTP \u54cd\u5e94\u5e76\u4e0d\u4fdd\u8bc1\u4efb\u52a1\u8d28\u91cf\u3002.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u63a7\u5236\u6210\u672c\uff0c\u8bf7\u9009\u62e9\u80fd\u591f\u901a\u8fc7\u60a8\u81ea\u8eab\u4efb\u52a1\u6d4b\u8bd5\u4e14\u4ef7\u683c\u6700\u4f4e\u7684\u6a21\u578b\u548c\u63a8\u7406\u8bbe\u7f6e\uff1b\u5728\u5f00\u59cb\u65f6\u4fdd\u6301\u7a33\u5b9a\u7684\u6307\u4ee4\u4ee5\u5b9e\u73b0\u7f13\u5b58\u590d\u7528\uff1b\u5220\u9664\u65e0\u5173\u7684\u5386\u53f2\u8bb0\u5f55\uff1b\u76d1\u63a720\u4e07\u5b57\u7684\u63d0\u793a\u7b26\u9650\u5236\uff1b\u5e76\u9650\u5236\u4ee3\u7406\u5de5\u5177\u5faa\u73af\u7684\u6b21\u6570\u3002\u4ec5\u5f53\u8be5\u6a21\u578b\u652f\u6301\u6279\u5904\u7406\u4e14\u4efb\u52a1\u53ef\u4ee5\u5ef6\u540e\u5904\u7406\u65f6\uff0c\u624d\u4f7f\u7528\u6279\u5904\u7406\u3002\u5c06\u4f18\u5148\u7ea7\u89c6\u4e3a\u4e00\u9879\u72ec\u7acb\u7684\u91c7\u8d2d\u51b3\u7b56\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u4fdd\u7559\u4ee4\u724c\u4f30\u7b97\u503c\u4ee5\u4f9b\u89c4\u5212\uff0c\u5e76\u4fdd\u7559\u5df2\u8fd4\u56de\u7684\u6210\u672c\u589e\u91cf\u503c\u4ee5\u4fbf\u8fdb\u884c\u5bf9\u8d26\u3002\u5728\u6c47\u603b\u5927\u91cf\u8bf7\u6c42\u65f6\uff0c\u8bf7\u5b58\u50a8\u6574\u6570\u589e\u91cf\u503c\uff0c\u5e76\u5c06\u8bf7\u6c42\u603b\u6570\u4e0e\u63a7\u5236\u53f0\u7684\u4f7f\u7528\u60c5\u51b5\u53ca\u8d26\u5355\u8fdb\u884c\u5bf9\u6bd4\u3002\u6210\u672c\u5b57\u6bb5\u7f3a\u5931\u8868\u793a\u201c\u672a\u77e5\u201d\uff0c\u800c\u975e\u96f6\uff1b\u56de\u590d\u4e2d\u663e\u793a\u7684\u6570\u503c\u8f83\u5c0f\uff0c\u5e76\u4e0d\u610f\u5473\u7740\u8d26\u5355\u91d1\u989d\u4e5f\u5c0f\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5173\u4e8e\u4eca\u65e5 Grok 4 API \u7684\u5b9a\u4ef7\uff0c\u8bf7\u6839\u636e\u5b9e\u9645\u5904\u7406\u8bf7\u6c42\u7684\u6a21\u578b\u3001\u63d0\u793a\u8bcd\u7684\u4ef7\u683c\u533a\u95f4\u4ee5\u53ca\u603b\u8ba1\u8d39\u8f93\u51fa\u91cf\u6765\u5236\u5b9a\u9884\u7b97\u3002\u5efa\u8bae\u5148\u53d1\u8d77\u4e00\u4e2a\u89c4\u6a21\u8f83\u5c0f\u7684\u6b63\u5f0f\u8bf7\u6c42\uff0c\u68c0\u67e5\u5176\u4f7f\u7528\u60c5\u51b5\u548c\u8d39\u7528\u5b57\u6bb5\uff0c\u7136\u540e\u6839\u636e\u901a\u8fc7\u60a8\u81ea\u8eab\u5ba1\u6838\u7684\u5de5\u4f5c\u8d1f\u8f7d\u8fdb\u884c\u6269\u5c55\u3002\u82e5\u8981\u5728\u804a\u5929\u5de5\u4f5c\u533a\u4e2d\u63a2\u7d22\u63d0\u793a\u8bcd\uff0c, <a href=\"https:\/\/www.glbgpt.com\/home\/grok-4-6?inviter=hub_grk46&amp;login=1\">\u5728 GlobalGPT \u4e0a\u6253\u5f00 Grok 4.6<\/a>.<\/p>\n\n\n\n<h2 id=\"faq\" class=\"wp-block-heading\">Grok 4 API \u5b9a\u4ef7\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Grok 4 API \u73b0\u5728\u591a\u5c11\u94b1\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u622a\u81f32026\u5e749\u67088\u65e5\uff0c\u5df2\u505c\u7528\u7684grok-4-0709 ID\u4f1a\u91cd\u5b9a\u5411\u81f3Grok 4.3\u3002 \u5f53\u63d0\u793a\u8bcd\u4ee4\u724c\u6570\u4f4e\u4e8e20\u4e07\u65f6\uff0c\u5176\u6bcf\u767e\u4e07\u7f8e\u5143\u7684\u8d39\u7387\u5206\u522b\u4e3a\uff1a\u8f93\u5165\u7aef$1.25\u3001\u7f13\u5b58\u8f93\u5165\u7aef$0.20\u4ee5\u53ca\u8f93\u51fa\u7aef$2.50\u3002\u957f\u4e0a\u4e0b\u6587\u7684\u8d39\u7387\u7ffb\u500d\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u539f\u7248 Grok 4 API \u8fd8\u6709\u8d27\u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u59cb\u7684 grok-4-0709 \u6a21\u578b\u5df2\u4e8e 2026 \u5e74 5 \u6708 15 \u65e5\u4ece xAI API \u4e2d\u79fb\u9664\u3002\u8be5\u6a21\u578b\u7684 ID \u4ecd\u53ef\u89e3\u6790\uff0c\u4f46\u8bf7\u6c42\u5c06\u7531 Grok 4.3 \u5904\u7406\uff0c\u5176\u63a8\u7406\u5f00\u9500\u8f83\u4f4e\uff0c\u4e14\u6309\u66ff\u4ee3\u8d39\u7387\u8ba1\u8d39\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grok 4.6 API \u7684\u4ef7\u683c\u662f\u591a\u5c11\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Grok 4.6 \u7684\u8d39\u7528\u4e3a\uff1a\u6bcf\u767e\u4e07\u4e2a\u63d0\u793a\u8bcd\u4ee4\u724c\uff08\u4f4e\u4e8e 200K \u63d0\u793a\u8bcd\u4ee4\u724c\u65f6\uff09\uff0c\u6d88\u8017 $2 \u7684\u8f93\u5165\u3001$0.50 \u7684\u7f13\u5b58\u8f93\u5165\u548c $6 \u7684\u8f93\u51fa\u3002 \u5f53\u63d0\u793a\u8bcd\u4ee4\u724c\u6570\u8fbe\u5230200K\u6216\u4ee5\u4e0a\u65f6\uff0c\u6d88\u8017\u7387\u5206\u522b\u4e3a$4\u3001$1\u548c$12\u3002\u5de5\u5177\u8c03\u7528\u8d39\u53ca\u5176\u4ed6\u9002\u7528\u8d39\u7528\u53e6\u8ba1\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u63a8\u7406\u4ee4\u724c\u9700\u8981\u4ed8\u8d39\u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u3002xAI \u6839\u636e\u5b8c\u6210\u7387\u5bf9\u63a8\u7406\u4ee3\u5e01\u8fdb\u884c\u8ba1\u8d39\u3002\u5f53\u63a8\u7406\u5df2\u5305\u542b\u5728\u62a5\u544a\u7684\u8f93\u51fa\u6216\u5b8c\u6210\u603b\u91cf\u4e2d\u65f6\uff0c\u8bf7\u52ff\u5728\u4f30\u7b97\u4e2d\u91cd\u590d\u8ba1\u7b97\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7f13\u5b58\u7684\u8f93\u5165\u662f\u5426\u8ba1\u516520\u4e07\u9608\u503c\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u3002\u8bf7\u5c06\u6574\u4e2a\u63d0\u793a\u8bcd\uff08\u5305\u62ec\u7f13\u5b58\u7684\u4ee4\u724c\uff09\u90fd\u8ba1\u5165\u5176\u4e2d\u3002\u6839\u636e\u5b98\u65b9\u5b9a\u4ef7\u8868\uff0c200K\u4e2a\u4ee4\u724c\u53ca\u4ee5\u4e0a\u7684\u63d0\u793a\u8bcd\u5c5e\u4e8e\u201c\u957f\u4e0a\u4e0b\u6587\u201d\u8303\u7574\uff0c\u4e14\u8be5\u8bf7\u6c42\u4e2d\u7684\u6240\u6709\u4ee4\u724c\u5747\u9002\u7528\u66f4\u9ad8\u7684\u8d39\u7387\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8ba2\u9605\u804a\u5929\u670d\u52a1\u540e\uff0c\u662f\u5426\u4f1a\u63d0\u4f9b\u514d\u8d39\u7684 Grok API \u914d\u989d\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u4e0d\u8981\u4ee5\u4e3a\u804a\u5929\u8ba2\u9605\u5305\u542b xAI API \u79ef\u5206\u3002\u5b98\u65b9 API \u5feb\u901f\u5165\u95e8\u6307\u5357\u4f7f\u7528\u7684\u662f\u72ec\u7acb\u7684\u63a7\u5236\u53f0\u8d26\u6237\u548c\u79ef\u5206\u3002\u4efb\u4f55\u4fc3\u9500\u6d3b\u52a8\u90fd\u5fc5\u987b\u9488\u5bf9\u8be5 API \u56e2\u961f\u8fdb\u884c\u9a8c\u8bc1\uff1b\u9762\u5411\u6d88\u8d39\u8005\u7684\u514d\u8d39\u8bbf\u95ee\u662f\u53e6\u4e00\u9879\u4f18\u60e0\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grok API \u7684\u901f\u7387\u9650\u5236\u6709\u54ea\u4e9b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9650\u5236\u53d6\u51b3\u4e8e\u6a21\u578b\u548c\u56e2\u961f\u7b49\u7ea7\u3002\u6240\u67e5\u9605\u7684 0 \u7ea7\u8868\u683c\u4e2d\u5217\u51fa\u4e86 Grok 4.3\uff0837 RPS \u548c 10M TPM\uff09\u4ee5\u53ca Grok 4.6\uff08150 RPS \u548c 50M TPM\uff09\u3002 \u8bf7\u4f7f\u7528\u60a8\u7684\u56e2\u961f\u63a7\u5236\u53f0\u786e\u8ba4\u9002\u7528\u4e8e\u60a8\u5bc6\u94a5\u7684\u9650\u5236\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6211\u53ef\u4ee5\u5728 GlobalGPT \u4e0a\u4f7f\u7528 Grok 4.6 \u5417\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u662f\u7684\u3002GlobalGPT \u5305\u542b\u4e00\u4e2a\u7ecf\u8fc7\u9a8c\u8bc1\u7684 Grok 4.6 \u804a\u5929\u6761\u76ee\u3002\u8fd9\u5c5e\u4e8e\u4e00\u4e2a\u72ec\u7acb\u7684\u5e73\u53f0\u5de5\u4f5c\u6d41\uff1b\u5b83\u4e0d\u4f1a\u53d6\u4ee3 xAI API \u5bc6\u94a5\u3001\u76f4\u63a5 API \u8ba1\u8d39\u6216\u60a8\u5728 xAI \u63a7\u5236\u53f0\u4e2d\u7684\u63a7\u5236\u529f\u80fd\u3002.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5982\u4f55\u67e5\u770b xAI \u8bf7\u6c42\u7684\u5b9e\u9645\u8d39\u7528\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u5b98\u65b9\u54cd\u5e94\u4e2d\u8bfb\u53d6 usage.cost_in_usd_ticks\uff0c\u5e76\u9664\u4ee5 10,000,000,000 \u4ee5\u8f6c\u6362\u4e3a\u7f8e\u5143\u3002\u8be5\u5b57\u6bb5\u6db5\u76d6\u4e86\u8be5\u8bf7\u6c42\u7684\u76f8\u5173\u8d39\u7528\uff0c\u5305\u62ec\u4ee3\u5e01\u6298\u6263\u548c\u670d\u52a1\u5668\u7aef\u5de5\u5177\u7684\u8d39\u7528\u3002\u5c06\u5404\u8bf7\u6c42\u7684\u8d39\u7528\u76f8\u52a0\u5373\u53ef\u8ffd\u8e2a\u6574\u4e2a\u5bf9\u8bdd\u7684\u603b\u8d39\u7528\u3002.<\/p>\n\n\n\n<script type=\"application\/ld+json\">{\n    \"@context\": \"https:\\\/\\\/schema.org\",\n    \"@type\": \"FAQPage\",\n    \"mainEntity\": [\n        {\n            \"@type\": \"Question\",\n            \"name\": \"How much does the Grok 4 API cost now?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"As of September 8, 2026, the retired grok-4-0709 ID redirects to Grok 4.3. Below 200K prompt tokens, its USD-per-million rates are $1.25 input, $0.20 cached input and $2.50 output. Long-context rates double.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"Is the original Grok 4 API still available?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"The original grok-4-0709 model was retired from the xAI API on May 15, 2026. Its ID continues to resolve, but requests are served by Grok 4.3 with low reasoning effort and billed at the replacement rates.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"How much is the Grok 4.6 API?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Grok 4.6 costs $2 input, $0.50 cached input and $6 output per million tokens below 200K prompt tokens. At 200K or more, the rates are $4, $1 and $12. Tool calls and other applicable charges are separate.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"Are reasoning tokens charged?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Yes. xAI bills reasoning tokens at the completion rate. When reasoning is already included in the reported output or completion total, do not add it a second time in your estimate.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"Does cached input count toward the 200K threshold?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Yes. Count the full prompt, including cached tokens. The official pricing table puts a prompt of 200K tokens or more in the long-context band, and the higher rates apply to all tokens in that request.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"Is there a free Grok API allowance with a chat subscription?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Do not assume a chat subscription includes xAI API credits. The official API quickstart uses a separate Console account and credits. Any promotion must be verified for that API team; consumer free access is a different offer.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"What are the Grok API rate limits?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Limits depend on the model and team tier. The checked Tier 0 table lists Grok 4.3 at 37 RPS and 10M TPM, and Grok 4.6 at 150 RPS and 50M TPM. Use your team Console to confirm the limits that apply to your key.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"Can I use Grok 4.6 on GlobalGPT?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Yes. GlobalGPT has a verified Grok 4.6 chat entry. That is a separate platform workflow; it does not replace an xAI API key, direct API billing or the controls in your xAI Console.\"\n            }\n        },\n        {\n            \"@type\": \"Question\",\n            \"name\": \"How do I check the actual cost of an xAI request?\",\n            \"acceptedAnswer\": {\n                \"@type\": \"Answer\",\n                \"text\": \"Read usage.cost_in_usd_ticks from the official response and divide by 10,000,000,000 for USD. The field covers that request, including token discounts and server-side tools. Sum requests to track a conversation.\"\n            }\n        }\n    ]\n}<\/script>","protected":false},"excerpt":{"rendered":"<p>Quick AnswerGrok 4 API pricing depends on the exact model ID. As of September 8, 2026, the retired grok-4-0709 ID redirects to grok-4.3: $1.25 input, $0.20 cached input and $2.50 output per million tokens for prompts below 200K tokens. The current flagship, grok-4.6, costs $2.00 \/ $0.50 \/ $6.00, respectively. At 200K prompt tokens or [&hellip;]<\/p>","protected":false},"author":16,"featured_media":19009,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"Grok 4 API Pricing: Token Costs, Limits & Setup","_seopress_titles_desc":"Budget Grok 4 API pricing with real usage records and worked cost examples. Spot reasoning charges and the 200K price jump before you scale your app.","_seopress_robots_index":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-19000","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-chat"],"_links":{"self":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/19000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/comments?post=19000"}],"version-history":[{"count":2,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/19000\/revisions"}],"predecessor-version":[{"id":19005,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/posts\/19000\/revisions\/19005"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/media\/19009"}],"wp:attachment":[{"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/media?parent=19000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/categories?post=19000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh\/wp-json\/wp\/v2\/tags?post=19000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}