sufianetaouil/every on GitHub
- Stars
- 7
- Forks
- 0
- Language
- Python
- License
- MIT
- Last push
- 17 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
except ImportError:
sys.exit("Missing dependency. Run: pip install httpx")
API_URL = os.environ.get("TYPESAFE_BASE_URL", "https://api.typesafe.ai").rstrip("/") + "/v1/systemone"
MODEL = os.environ.get("TYPESAFE_MODEL", "jev-latest")
USD_PER_INPUT_TOKEN = 0.042 / 1_000_000 # output tokens are free
WIDTH_LADDER = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
DEPTH_LADDER = [1, 2, 4, 8, 16, 32, 64, 96, 128]
# Prior token model, measured 2026-09-16 against jev-latest: input tokens per
# request ~= PRIOR_FIXED + PRIOR_VAR * width. Used only for the pre-flight cost
# estimate; refit from live data after phase 1 and reported at the end.
PRIOR_FIXED = 260
PRIOR_VAR = 165View in reference/probe_jev.py



