How billing is shown
User-facing balance uses 积分 (points). Internal raw quota converts as:raw_quota ÷ 500000 = USD- 1 USD = 10 积分
How to control cost and quality via model tiers & dynamic groups
OmniMux provides native stateless per-request group routing, allowing you to choose between cost optimization and production stability with a single API key:1. Three invocation modes
2. Code examples
Method A: Model Suffix Syntax (Recommended for all clients/SDKs)
Method B: HTTP Header (Ideal for backend service integration)
How to reduce cost
- Pick the right model — cheaper/smaller models for simple jobs; enum lists capability, not equal price.
- Cap generation — set sensible
max_tokens/max_completion_tokens. - Bound multipliers — image
n, video duration, resolution affect precharge/settlement; out-of-range values return 400. - Async video — create often precharges, then settles on completion/refund path. Use realistic duration/specs.
- Cache — cache identical chat or social-data reads on the client.
- Streaming —
stream: truecan improve UX; abort early only if your product allows and you understand billing still follows live settlement. - Watch 402 — insufficient balance fails pre-consume with 402
insufficient_quota.
Avoid
- Load-testing expensive video/image models with production keys
- Calling raw_quota “积分” in product UI
- Guessing non-live model ids
Console
Balance, logs, and model access