noodelapi
Local OpenAI-compatible API for chat.deepseek.com.
noodelapi uses your existing DeepSeek web session and exposes
/v1/chat/completions on your machine. Any agent harness that accepts an
OpenAI-compatible base URL can use it.
Requirements
- Windows, macOS, or Linux
- Python 3.9 or newer
- A browser profile logged in at https://chat.deepseek.com. Supported: Brave, Chrome, Edge, Chromium, Vivaldi, Arc.
Install
pipx install noodelapi
or:
python3 -m pip install --user noodelapi
On Windows use py -m pip install --user noodelapi.
Setup
-
Open https://chat.deepseek.com in your browser and sign in.
-
Run:
noodelapi setup -
Paste the
ds_session_idcookie value when asked. The CLI finds theuserTokenfrom the browser profile automatically. If it cannot find it, the CLI asks for that value instead. -
Start the server:
noodelapi start
The command prints the base URL, API key, and model names.
Use
Base URL: http://127.0.0.1:8787/v1
API key: printed by noodelapi setup and noodelapi status.
Models:
deepseek-v4.1-flashdeepseek-v4.1-flash-thinking
Example:
curl http://127.0.0.1:8787/v1/chat/completions \
-H "Authorization: Bearer $NOODELAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"hello"}]}'
Streaming is supported with "stream": true.
Commands
noodelapi setup save browser credentials
noodelapi start start in the background
noodelapi stop stop the background server
noodelapi status show status and base URL
noodelapi logs -f follow logs
noodelapi check verify saved credentials
noodelapi config show config with secrets masked
noodelapi models list model names
Notes
This is an unofficial bridge. It uses the same web endpoints as the DeepSeek chat app and can stop working when DeepSeek changes them.
Sessions are deleted after each request by default. Set keep_sessions
to true in the config if you want to keep them in your DeepSeek history.
Only use it with your own account.
Metadata
Release files for noodelapi 0.1.0
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 |
|---|---|---|---|---|
| noodelapi-0.1.0.tar.gz | 25.5 kB | Without provenance | Details for noodelapi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| noodelapi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for noodelapi-0.1.0-py3-none-any.whl |
Total release size: 51.4 kB
Release files / noodelapi-0.1.0.tar.gz
| Download URL | noodelapi-0.1.0.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0ad983da5063d474b5471dad18bdb627d2ec7a17705d802103199d89bede116
|
|
BLAKE2b-256 checksum How to use checksums |
d86fd0e1ac922feb2bbbe9704385a087c9d59a29d22f1a7f8fed308728268e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / noodelapi-0.1.0-py3-none-any.whl
| Download URL | noodelapi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39c40b975ba996f69a5ed7510b92331b61830b31540b85a878b495500aafd4d8
|
|
BLAKE2b-256 checksum How to use checksums |
01c5528342b9a07f92974b4984c1adbe7b4a39a7d6c5b485f04bbcaa5cfe70ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for noodelapi 0.1.0
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.