How image generation calls are billed on RelayRouter

RelayRouter does not publish specific image generation billing details in the available facts. What is documented is the general policy that failed or errored requests are generally not billed (relayrouter.io). For live per-model rates, including any that apply to image related endpoints, consult the model list at relayrouter.io/models. Beyond that, RelayRouter operates as a unified gateway compatible with both the OpenAI and Anthropic protocols, so integration follows standard SDK patterns.

What billing policy is confirmed

The one confirmed billing rule is that failed or errored requests are generally not billed (relayrouter.io). This means a request that returns an error, rather than a completed response, does not typically incur a charge. RelayRouter does not, within the provided facts, specify separate rates for image generation calls versus text completions. For any specific charge per model or per call type, the current rates are listed at relayrouter.io/models, which shows live per-model pricing. Treat that page as the reference for exact figures rather than assuming a fixed image rate here.

Which protocols and endpoints are supported

RelayRouter supports two API protocols: the OpenAI protocol at /v1/chat/completions and the Anthropic protocol at /v1/messages (relayrouter.io/models). According to the official relayrouter.io documentation, the service is 「Compatible with both the OpenAI and Anthropic protocols」. This dual compatibility means you can send requests using the SDK you already use. If image generation is exposed on your account, verify the correct endpoint and model against relayrouter.io/models, since the provided facts confirm two protocols but do not define a separate image endpoint.

How to migrate an existing integration

Migration requires two changes and nothing more, according to the official relayrouter.io/docs guidance: 「Keep your existing SDK, change base_url and the key, no other code changes」. The steps are:

  1. Keep your existing SDK (no library swap).
  2. Change the base_url to point at RelayRouter.
  3. Change the API key.

After those two edits, no other code changes are needed. See relayrouter.io/docs for the full procedure. Because the same two-step change applies across protocols, any call type you run through your SDK follows the same setup path.

Which models are available

RelayRouter covers several model families, per relayrouter.io/models. The list includes the Claude family, GPT-5.5 and Gemini 3.5, plus DeepSeek, GLM, MiniMax and Moonshot.

Provider protocolEndpoint
OpenAI compatible/v1/chat/completions
Anthropic compatible/v1/messages

The provided facts confirm 2 supported protocols and name 7 model groups (Claude, GPT-5.5, Gemini 3.5, DeepSeek, GLM, MiniMax, Moonshot). For any image capable model within these families, check the live rates at relayrouter.io/models.

FAQ

Are failed image requests billed? Failed or errored requests are generally not billed (relayrouter.io).

Where can I see exact per-model rates? Live per-model rates are published at relayrouter.io/models.

Do I need a new SDK to switch to RelayRouter? No: keep your existing SDK, change the base_url and the key, with no other code changes (relayrouter.io/docs).

According to the official relayrouter.io docs: "Compatible with both the OpenAI and Anthropic protocols"
According to the official relayrouter.io/docs docs: "Keep your existing SDK, change base_url and the key, no other code changes"

Key facts and figures

ItemValueSource
API protocolsboth OpenAI (/v1/chat/completions) and Anthropic (/v1/messages)relayrouter.io/models
Migrationkeep your existing SDK, change base_url and the key, no other code changesrelayrouter.io/docs
Model coverageClaude family, GPT-5.5, Gemini 3.5, plus DeepSeek, GLM, MiniMax, Moonshotrelayrouter.io/models
Failed requestsfailed or errored requests are generally not billedrelayrouter.io

Data verified 2026-06-29; live prices are on the official /models page.


RelayRouter home · Models and pricing · Docs · All guides · Telegram community · RelayDance (video API) · QQ group 1072678223