Skip to content

Instantly share code, notes, and snippets.

View saist1993's full-sized avatar

Gaurav Maheshwari saist1993

View GitHub Profile
#!/usr/bin/env python3
"""
probe_openrouter_variance.py
Call a Chat Completions–compatible endpoint multiple times to probe response
variance, then write a JSONL file and print a small summary.
Works with OpenRouter by default, but you can point it at any OpenAI-compatible
base URL and choose which environment variable provides the API key.