Get API key

Anthropic SDK

Anthropic's official client libraries for the Messages API.

Set up Anthropic SDK

The examples use MoonshotAI: Kimi K3, a live model on llm.buzz. Any model name from the Models page works.

  1. Create a key in the llm.buzz console under Keys, and keep it in the LLM_BUZZ_KEY environment variable.

  2. Pass the base URL without /v1, since the SDK adds /v1/messages itself.

    Python
    import os
    from anthropic import Anthropic
     
    Added: client = Anthropic(base_url="https://api.llm.buzz/api", api_key=os.environ["LLM_BUZZ_KEY"])
    message = client.messages.create(
        model="moonshotai/kimi-k3",
        max_tokens=1024,
        messages=[{"role": "user", "content": "Hello"}],
    )
    print(message.content[0].text)
    
  3. To name your app, send X-Title and HTTP-Referer with every request, as OpenRouter apps do.

    Python
    client = Anthropic(
    Added:     base_url="https://api.llm.buzz/api",
        api_key=os.environ["LLM_BUZZ_KEY"],
        default_headers={"X-Title": "Your app", "HTTP-Referer": "https://your-app.example"},
    )
    

Usage on llm.buzz

Weekly tokens from requests that name this app.

Rankings
Tokens last week
–Below the publishing floor
Rank last week
–Below the publishing floor
among apps on llm.buzz
vs prior week
–Below the publishing floor
Tokens, 12 weeks
–Below the publishing floor

Tokens by week

Usage is published weekly, once at least 5 organizations use a model. The current week closes Monday, Nov 2, 2026, 00:00 UTC.

Top models

No model's usage is published for Anthropic SDK yet.

A model or app appears only when at least 5 organizations used it that week and no single one sent more than 80% of its tokens.

Popular models for coding agents

Live models that call tools, the most used and most widely served first.

All tool-calling models

More SDKs and frameworks

View all 13
Point Anthropic SDK at llm.buzzOne key for every model here; each request pays the price of the provider that answered it.