SimplyLLM
OpenAI SDK compatible multi-provider LLM client with automatic fallback and rate limiting.
Quick Start
from simplyllm import SimplyLLM
llm = SimplyLLM()
result = llm.chat([{"role": "user", "content": "hello"}])
print(result.content)
API
# Chat completion (OpenAI format)
result = llm.chat(messages, model=None, temperature=None, max_tokens=None,
debug_provider=None, max_wait=None)
# Shortcut for single prompt
result = llm.complete("hello", max_tokens=500)
Parameters
| Parameter | Type | Description |
|---|---|---|
messages |
list[dict] |
OpenAI format message list |
model |
str |
Model override (optional) |
temperature |
float |
0.0-2.0 (optional) |
max_tokens |
int |
Max output tokens (optional) |
debug_provider |
str |
Force provider: "cerebras" "groq" "openrouter" "nvidia_nim" (optional) |
max_wait |
float |
Max wait for capacity in seconds, default 80 (optional) |
Result
| Field | Type | Description |
|---|---|---|
content |
str |
Generated text |
provider |
str |
Provider that fulfilled the request |
model |
str |
Model used |
latency |
float |
Time taken in seconds |
attempts |
list[dict] |
Failed attempts before success |
Providers
| Provider | Model | RPM |
|---|---|---|
| cerebras | zai-glm-4.7 | 5 |
| groq | openai/gpt-oss-120b | 30 |
| openrouter | google/gemma-4-31b-it:free | 20 |
| nvidia_nim | openai/gpt-oss-120b | 40 |
Server
make up # start server on :10000
make down # stop server
make test # run benchmark
Metadata
Release files for simplyllm 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplyllm-0.1.4.tar.gz | 52.7 kB | Without provenance | Details for simplyllm-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simplyllm-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for simplyllm-0.1.4-py3-none-any.whl |
Total release size: 71.1 kB
Release files / simplyllm-0.1.4.tar.gz
| Download URL | simplyllm-0.1.4.tar.gz |
|---|---|
| Size | 52.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59d368ca5728c88ee0431e4b6d31d1971772be6d6596cc5edcbfe7fcd808c196
|
|
BLAKE2b-256 checksum How to use checksums |
d78625d7d71deb9f65e8ad8a6fb3b7833c185d44cac5ac25a026d1f125238ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.7","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / simplyllm-0.1.4-py3-none-any.whl
| Download URL | simplyllm-0.1.4-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a79f0fb323ac9e18e0002b2e08a6890f264273873eb8f146e0bf6d4fc32c3282
|
|
BLAKE2b-256 checksum How to use checksums |
fcdd69bb78d39bdc2e37d5a37e66591dc5f7fb25f16b2bf9843af342920dd53c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.7","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for simplyllm 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.