Files
openrouter-python-sdk-retry…/docs/components/pricing.md
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
08e796401a chore: 🐝 Update SDK - Generate (spec change merged) 0.10.2 (#368)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-06-25 22:33:28 +00:00

8.1 KiB
Raw Blame History

Pricing

Fields

Field Type Required Description
audio Optional[str] Price in USD per audio input token
audio_output Optional[str] Price in USD per audio output token
completion str ✔️ Price in USD per token for completion (output) generation
discount Optional[float] Fractional discount applied to this endpoint's pricing; the price is multiplied by (1 - discount) (0 = no discount, 1 = free)
image Optional[str] Price in USD per input image
image_output Optional[str] Price in USD per output image
image_token Optional[str] Price in USD per image token
input_audio_cache Optional[str] Price in USD per cached audio input token
input_cache_read Optional[str] Price in USD per cached input token (read)
input_cache_write Optional[str] Price in USD per cached input token (write)
internal_reasoning Optional[str] Price in USD per internal reasoning token
prompt str ✔️ Price in USD per token for prompt (input) processing
request Optional[str] Price in USD per request
web_search Optional[str] Price in USD per web search