Skip to main content

Free, serverless LLM observability SDK. Track cost, latency, and behavior with a single decorator.

Project description

Runetrace

Because you shouldn't need a $500/month tool to know what your AI is doing.

Free, serverless LLM observability. Track cost, latency, and behavior of every LLM call with a single decorator.

Quick Start

pip install runetrace
import runetrace
from openai import OpenAI

runetrace.configure(
    api_url="https://your-api-gateway-url.amazonaws.com",
    project_id="my-app"
)

client = OpenAI()

@runetrace.track_llm
def ask(prompt):
    return client.chat.completions.create(
        model="gpt-4o",
        messages=[{"role": "user", "content": prompt}]
    )

response = ask("What is the meaning of life?")
# Cost, latency, and tokens are automatically tracked!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runetrace-0.1.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runetrace-0.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file runetrace-0.1.1.tar.gz.

File metadata

  • Download URL: runetrace-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for runetrace-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ef5dc0e397be9edcda2012be84a684d748ee07f30c69059612d2456df58e33f4
MD5 3aeff40b644534995092a5747accabb9
BLAKE2b-256 10bbdf9a48d2edab7beaebfd6720815b93ae430923ff8c7c1c0566b64c4fe24a

See more details on using hashes here.

File details

Details for the file runetrace-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: runetrace-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for runetrace-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e23e381f0aa7d1cc250001512d071adacd268d37fd3f82ef221e71ec5333457a
MD5 597df3f7fb67eaaf0576cecb0368f64a
BLAKE2b-256 eb9056541f66c8848fc521e47e5e222f90fc0bad0c1af578774d11dcd8c391ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page