Audio and multimodal models

Distinguish audio output from audio-input chat models.

https://api.hanrouter.ai/v1Manage API keys

URL and authentication

Use https://api.hanrouter.ai/v1 as the OpenAI-compatible Base URL and Authorization: Bearer $HANROUTER_API_KEY. Do not duplicate /v1. All manufacturers use your HanRouter key, not an upstream vendor key.

For the Anthropic SDK and Claude Code, use https://api.hanrouter.ai without /v1; the client appends /v1/messages. Use the OpenAI-compatible interface for Google models.

Choose a protocol

Use Chat Completions modalities and audio only for models supporting OpenAI audio chat. Standalone TTS, ASR and vendor-native audio APIs are not supported by every channel. Catalog presence does not guarantee every endpoint; check key group and channel capabilities.