Compare commits

..
Author SHA1 Message Date
Shroominic 60e0eebd05 tiny docs fixes 2026-01-24 21:16:58 +08:00
shroominicandGitHub 8fff716bb2 Merge pull request #321 from Routstr/fix-readme
fix readme
2026-01-24 18:14:45 +08:00
Shroominic b2ef15a406 fix readme 2026-01-24 18:12:32 +08:00
shroominicandGitHub f8fdcf3bf3 Merge pull request #320 from Routstr/improved-docs
Improved docs
2026-01-24 18:10:41 +08:00
3 changed files with 6 additions and 10 deletions
+3 -7
View File
@@ -13,7 +13,7 @@ This repo contains Routstr Core: a FastAPI-based reverse proxy that sits in fron
- **Overview**: <https://docs.routstr.com/overview/>
- **Provider Guide**: <https://docs.routstr.com/provider/quickstart/>
- **User Guide**: <https://docs.routstr.com/user-guide/>
- **User Guide**: <https://docs.routstr.com/user-guide/introduction/>
## Basic Usage
@@ -40,7 +40,7 @@ print(response.choices[0].message.content)
### cURL
```bash
curl http://localhost:8000/v1/chat/completions \
curl https://api.routstr.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "x-cashu: cashuBo2FteCJodHRwczovL21..." \
-d '{
@@ -65,9 +65,5 @@ docker run -d \
```bash
make setup
cp .env.example .env
fastapi run routstr --host 0.0.0.0 --port 8000
fastapi run routstr
```
## License
GPLv3. See `LICENSE`.
+1 -1
View File
@@ -17,7 +17,7 @@ Cashu ([cashu.me](https://cashu.me)) or Lightning ([Strike](https://strike.me),
### 🌐 Provider
A Routstr node, e.g. `https://api.routstr.com/v1`
A Routstr node, e.g. `https://api.routstr.com`
### 🤖 Client
+2 -2
View File
@@ -110,5 +110,5 @@ Higher margins, fewer clients:
### Mixed Strategy
- Cheap models (GPT-3.5, Haiku): Low margin to attract volume
- Premium models (GPT-4, Opus): High margin for profit
- Cheap models (GLM-4.7-Flash, Seed-1.6): Low margin to attract volume
- Premium models (GPT-5-Pro, Claude-Opus): High margin for profit