Skip to main content

How billing is shown

User-facing balance uses 积分 (points). Internal raw quota converts as:
  • raw_quota ÷ 500000 = USD
  • 1 USD = 10 积分
Use the console for balance and usage. Account APIs (access token) expose profile/quota fields.

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 B: HTTP Header (Ideal for backend service integration)


How to reduce cost

  1. Pick the right model — cheaper/smaller models for simple jobs; enum lists capability, not equal price.
  2. Cap generation — set sensible max_tokens / max_completion_tokens.
  3. Bound multipliers — image n, video duration, resolution affect precharge/settlement; out-of-range values return 400.
  4. Async video — create often precharges, then settles on completion/refund path. Use realistic duration/specs.
  5. Cache — cache identical chat or social-data reads on the client.
  6. Streamingstream: true can improve UX; abort early only if your product allows and you understand billing still follows live settlement.
  7. 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