Commit 523d3b0
feat: reprice Stars from real provider costs and refresh the model lineup
Pricing was not derived from anything. It had inversions — DeepSeek R1, a
32B distill with no tool support, cost 80 Stars while Kimi K2.6 cost 45 — and
markups ranging from ~60x on chat to ~4000x on image generation, so the ladder
told users nothing about relative value.
Prices are now set from measured provider rates. Assuming ~$0.009 net per Star
(the mobile figure, after the app-store cut) and ~6k input / 800 output tokens
for a tool-using turn once the multi-turn loop is counted, every model is
priced at ~40x break-even:
glm-4.7-flash 5 -> 3 nemotron-3 20 -> 18
gemma4 8 -> 4 kimi-k2.6 45 -> 40
llama-3.2-vision 8 -> 4 glm-5.2 - -> 55
llama-4-scout - -> 10 gemini-3.1-pro 150 -> 100
gpt-oss-120b - -> 12 /photo 100 -> 20
gemini-3-flash 25 -> 12 voice surcharge 20 -> 3
upload 5 -> 2
Capability flags are now verified against the live API instead of assumed, and
two of them were wrong in the dangerous direction:
- glm-4.7-flash, the DEFAULT model, claimed supportsVision. The API rejects
images outright ("GLM-4.7-Flash is not a multimodal model"), so the vision
fallback in chargeStars never fired and photos from default users failed.
- gemma4 and llama-3.2-vision claimed supportsTools. Both accept a tools array
and never emit a tool call.
Lineup changes: added llama-4-scout (the only model confirmed to do both
vision and tool calls, so it is also the new vision fallback), gpt-oss-120b and
glm-5.2; dropped deepseek-r1-32b (no tools, dearest output in the catalogue)
and gemini-3.1-flash-lite (unpublished third-party rate). Stored preferences
for removed models fall through to the default rather than erroring.
Photo and voice were the worst offenders: flux-1-schnell costs ~$0.0002 an
image and Whisper $0.0005 a minute, so 100 Stars made an image five times
dearer than a full conversation with the best model available.
Note: @cf/* rates come from Cloudflare's published pricing; the gemini-* models
are third-party and Cloudflare does not publish their rates, so Google list
prices are used as the basis. The 40x multiple absorbs that uncertainty.
Also fixes the Telegram link on the docs site to https://t.me/TuxRobot.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GaLeuxVikb3iH2Etw2tHe71 parent b7b8046 commit 523d3b0
4 files changed
Lines changed: 69 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
460 | 464 | | |
461 | | - | |
462 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
463 | 470 | | |
464 | | - | |
465 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
466 | 477 | | |
467 | 478 | | |
468 | 479 | | |
469 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
470 | 497 | | |
471 | 498 | | |
472 | 499 | | |
473 | 500 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
479 | 513 | | |
480 | 514 | | |
481 | 515 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
486 | 520 | | |
487 | 521 | | |
488 | 522 | | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
497 | 533 | | |
498 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
499 | 542 | | |
500 | 543 | | |
501 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments