PithToken CLI — One API key for 200+ AI models
Project description
PithToken CLI
One API key. 200+ AI models. Zero hassle.
Install
pip install pithtoken
Quick Start
# Create your free account
pith signup
# Or log in
pith login
# Check your account
pith whoami
# List available models
pith models
# Send a test request
pith test
pith test claude-sonnet-4-20250514
Use with OpenAI SDK
from openai import OpenAI
client = OpenAI(
api_key="your-pith-api-key", # from `pith whoami`
base_url="https://api.pithtoken.ai/v1"
)
response = client.chat.completions.create(
model="gpt-4o", # or any of 200+ models
messages=[{"role": "user", "content": "Hello!"}]
)
Commands
| Command | Description |
|---|---|
pith signup |
Create a new account |
pith login |
Log into your account |
pith whoami |
Show account info & API key |
pith models |
List available AI models |
pith test [model] |
Send a test API request |
pith config |
Show saved config path |
pith logout |
Clear saved credentials |
Links
- Website: https://pithtoken.ai
- Docs: https://pithtoken.ai/docs
- Support: hello@pithtoken.ai
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
pithtoken-0.1.0.tar.gz
(5.4 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
File details
Details for the file pithtoken-0.1.0.tar.gz.
File metadata
- Download URL: pithtoken-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f59ad3d1914f29d4ea78b367e0b1edb75c91bae1a0e60dbaa0a07c6079638d4
|
|
| MD5 |
0e5897c8864104eb28d3d00ecfeb74b6
|
|
| BLAKE2b-256 |
57c9e67c517367c702106c2b478583ae25d197c1b25a571b95834e949a7f5c75
|
File details
Details for the file pithtoken-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pithtoken-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e6eb8e33ab282a43aa5e29fa4b4af697aa46c477d911d3e7d0183a8545e8af1
|
|
| MD5 |
839c19b29fd6e777964e506bf6151703
|
|
| BLAKE2b-256 |
941988be8c3545f117f1e6bb3444eea3777ea32e01dde88abd9d0538f3a7666f
|