Skip to content

Commit

Permalink
[Workers AI] Fix Speech-to-text pricing table (#17157)
Browse files Browse the repository at this point in the history
* Fix table formatting

* Fix grammar
  • Loading branch information
eartharoid authored Oct 15, 2024
1 parent 1ad94d9 commit 70141a0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/content/docs/workers-ai/platform/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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 |
Expand All @@ -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
Expand All @@ -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.
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.

0 comments on commit 70141a0

Please sign in to comment.