Brave Search API 宣布支持通过开源的 x402 协议进行即时、按量付费的 AI 代理(Agent)支付 1。开发者及自主 AI 代理无需创建传统账户或管理 API 密钥,即可通过向基于 Base 网络的钱包转入 USDC 稳定币来实时调用搜索接口 1。该机制消除了传统身份验证步骤,使 AI 代理能直接以程序化方式获取搜索结果并即时结算费用 1。
在具体定价方面,LLM Context 和通用 Web 搜索的价格均为 $0.005 ($5 per 1,000) 1。未支付请求会返回 HTTP 402 Payment Required 状态码,附带价格和支付详情 1。官方推荐使用 Stripe 开发的 CLI 钱包 Purl Wallet 进行集成 1。此外,Base 区块链上的交易 Gas 费在有限时间内由 Brave 承担 1。
Brave has updated its Search API to support agentic payments through the open-source x402 protocol, enabling developers and autonomous AI agents to access search services without traditional account creation or API key management 1. The new system allows users to make instant, pay-as-you-go transactions by sending USDC stablecoins to an agent-specific wallet operating on the Base blockchain network 1. This approach eliminates conventional authentication steps, allowing AI agents to programmatically retrieve search results while settling costs in real time 1.
Pricing for both LLM Context and general web search endpoints is set at $0.005 per request, equivalent to $5 for every 1,000 calls 1. If a request is made without prior payment, the API responds with an HTTP 402 "Payment Required" status code that includes details on the price and necessary payment information 1. To facilitate integration, Brave recommends using Purl Wallet, a CLI-based wallet developed by Stripe 1. Additionally, the company has stated that it will cover the transaction gas fees on the Base blockchain for a limited period 1.
评论
还没有评论,欢迎留下第一条。