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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
runetrace-0.1.1-py3-none-any.whl
(10.1 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef5dc0e397be9edcda2012be84a684d748ee07f30c69059612d2456df58e33f4
|
|
| MD5 |
3aeff40b644534995092a5747accabb9
|
|
| BLAKE2b-256 |
10bbdf9a48d2edab7beaebfd6720815b93ae430923ff8c7c1c0566b64c4fe24a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e23e381f0aa7d1cc250001512d071adacd268d37fd3f82ef221e71ec5333457a
|
|
| MD5 |
597df3f7fb67eaaf0576cecb0368f64a
|
|
| BLAKE2b-256 |
eb9056541f66c8848fc521e47e5e222f90fc0bad0c1af578774d11dcd8c391ac
|