AxonHub image API and pricing excerpt
Sources:
- /home/ubuntu/repos/axonhub-v0.9.31/README.zh-CN.md
- /home/ubuntu/repos/axonhub-v0.9.31/docs/en/api-reference/image-generation.md
- /home/ubuntu/repos/axonhub-v0.9.31/docs/zh/guides/cost-tracking.md
- /home/ubuntu/repos/axonhub-v0.9.31/internal/objects/price.go
- /home/ubuntu/repos/axonhub-v0.9.31/internal/server/biz/cost_calc.go
Captured on: 2026-04-11
Status: immutable raw excerpt
Excerpt(摘录)
AxonHub describes itself as an AI gateway / unified API platform.
Key statements:
- README.zh-CN: “AxonHub 是 AI 网关,让你无需改动一行代码即可切换模型供应商。”
- README.zh-CN: “一个 API 格式对接 10+ 供应商”
- docs/en/api-reference/image-generation.md: supports image generation via the OpenAI-compatible
/v1/images/generationsendpoint - docs/zh/guides/cost-tracking.md: supports three pricing modes: flat_fee, usage_per_unit, usage_tiered
- docs/zh/guides/cost-tracking.md: flat_fee means fixed fee per request
- internal/objects/price.go: PricingModeFlatFee = “flat_fee”
- internal/server/biz/cost_calc.go: in flat_fee mode, subtotal ignores quantity and directly uses FlatFee
Interpretation note:
AxonHub clearly supports per-request fixed-fee billing in its cost model.
It also supports OpenAI-compatible image generation routing.