Normally check the SDK's repository for updates and very best tactics to make certain protection and functionality.
Full the registration system by offering your e mail, selecting a password, and verifying your e-mail handle.
Recent model availability and for each-token costs are mentioned around the pricing webpage plus the design catalog. Integration takes advantage of the standard OpenAI SDK; aspects within the OpenAI compatibility reference.
Very first Use: The first time you deliver a message, a little popup will show up asking you to authenticate with Puter. Be sure to enable the popup to empower the free AI accessibility.
No usage cap on your aspect. Just about every person runs against their own account, so your “limit” scales linearly together with your consumer base.
Whilst several platforms feature subscription costs or fork out-as-you-go models, you will discover strategies to utilize the Claude API important without having expending a dime—at the least within the initial stages. This information will help you navigate 3 unique strategies:
You may gain usage of Claude types applying Puter.js without having to arrange an Anthropic account you. And because of the Person-Pays product, your consumers deal with their particular AI usage, not you because the developer. This suggests you'll be able to Make potent programs without stressing about AI usage prices.
The CDN tag is The trail of least resistance for just a static internet site or a quick prototype. The NPM import will give you tree-shaking and TypeScript varieties inside a Vite or Webpack Establish.
All providers under expose an OpenAI-compatible endpoint. Any Resource that accepts baseURL + apiKey works — just swap the base URL and vital.
Puter phone calls materialize during the browser, so You can't script them from a backend test runner directly. The sample that works:
Or alternatively, incorporate our script by using CDN In case you are Functioning instantly with HTML, just insert it towards the or area within your code:
Securely retailer your API critical by setting it as an ecosystem variable as part of your serverless ecosystem.
Does Claude by way of Puter perform identically on the Formal API?The model output is similar; Puter phone calls the Formal Anthropic API about the person’s behalf. Latency might be marginally better as a result of extra hop, though the model habits is free claude api key generator unchanged.
Soon after installation, configure your local ecosystem by placing the acquired API important being an ecosystem variable.