Get API key

OpenAI SDK

OpenAI's official client libraries for Python and TypeScript.

Set up OpenAI 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 and your key to the client.

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

    Python
    client = OpenAI(
    Added:     base_url="https://api.llm.buzz/api/v1",
        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 OpenAI 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 OpenAI SDK at llm.buzzOne key for every model here; each request pays the price of the provider that answered it.