From 70141a02449f58e19d13d563ba86a4229274f6f4 Mon Sep 17 00:00:00 2001 From: Isaac Date: Tue, 15 Oct 2024 10:06:30 +0100 Subject: [PATCH] [Workers AI] Fix Speech-to-text pricing table (#17157) * Fix table formatting * Fix grammar --- .../docs/workers-ai/platform/pricing.mdx | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/content/docs/workers-ai/platform/pricing.mdx b/src/content/docs/workers-ai/platform/pricing.mdx index c9a56cdb083e59..64f81db002f8a5 100644 --- a/src/content/docs/workers-ai/platform/pricing.mdx +++ b/src/content/docs/workers-ai/platform/pricing.mdx @@ -31,7 +31,7 @@ Vision models will convert the image input into tokens for billing. Depending on | Model Size | Pricing | | ---------------- | ------------------------ | -| \<= 3B | $0.10 per Million Tokens | +| \<= 3B | $0.10 per Million Tokens | | 3.1B - 8B | $0.15 per Million Tokens | | 8.1B - 20B | $0.20 per Million Tokens | | 20.1B - 40B | $0.50 per Million Tokens | @@ -41,18 +41,18 @@ Vision models will convert the image input into tokens for billing. Depending on Model size is measured in parameters. Pricing is based on input tokens. -| Model Size | Pricing | -| ------------------ | ------------------------- | +| Model Size | Pricing | +| ------------------- | ------------------------- | | \<= 150M parameters | $0.008 per Million Tokens | -| 151M+ parameters | $0.015 per Million Tokens | +| 151M+ parameters | $0.015 per Million Tokens | ## Image Generation Standard models are large image models such as `@cf/stabilityai/stable-diffusion-xl-base-1.0` Fast models are usually smaller image models that require fewer steps to generate an image, such as `@cf/black-forest-labs/flux-1-schnell` and `@cf/bytedance/stable-diffusion-xl-lightning` We take the maximum of the image height and width to calculate pricing. For example, and image of 1024x768 would fall under 1024x1024 pricing. -| Image Size | Model Type | Price | -| ----------- | ---------- | --------------------- | +| Image Size | Model Type | Price | +| ------------ | ---------- | --------------------- | | \<=256x256 | Standard | $0.00125 per 25 steps | | \<=256x256 | Fast | $0.00025 per 5 steps | | \<=512x512 | Standard | $0.0025 per 25 steps | @@ -63,10 +63,11 @@ We take the maximum of the image height and width to calculate pricing. For exam | \<=2048x2048 | Fast | $0.002 per 5 steps | ## Speech-to-text -Speech to text models like `@cf/openai/whisper` is billed on minutes of audio input. +Speech-to-text models like `@cf/openai/whisper` are billed on minutes of audio input. -| Price | -| $0.0039 per minute of audio input| +| Price | +| --------------------------------- | +| $0.0039 per minute of audio input | ## Free Allocation @@ -86,4 +87,4 @@ All limits reset daily at 00:00 UTC. If you exceed any one of the above limits, ## Archived Pricing -Workers AI was previously metered by Neurons. We deprecated this in favor of unit-based pricing on September 26, 2024. We wanted to make it simple for people to compare and contrast Workers AI with other providers, and we also generally updated pricing to be cheaper with these new units. \ No newline at end of file +Workers AI was previously metered by Neurons. We deprecated this in favor of unit-based pricing on September 26, 2024. We wanted to make it simple for people to compare and contrast Workers AI with other providers, and we also generally updated pricing to be cheaper with these new units.