How billing works
You pay per token. Three rates apply to each request: input for the tokens you send, cached for input tokens served from a prefix cache, and output for the tokens the model generates. Claude and OpenAI models add a fourth, cache write, for input tokens written into the prompt cache; see Cache writes. Every figure in the table below is in USD per 1M tokens. Caching is automatic: Valar matches shared prompt prefixes for you and charges the lower cached rate on the tokens that hit. Prompt Caching explains how to raise your hit rate, but nothing is required to get the cached rate. The rate you pay also depends on the completion window you request. Faster scheduling carries a higher rate: the on-demand Now window costs the most, Priority about 25% less, Standard about 50% less, and Flex the least. The table prices out the windows available for each model; coverage varies, and you can mix windows per request. Completion Windows explains the trade-offs.Window coverage differs by model, and we keep adding models and widening window support. If a model or window you want isn’t shown, get in touch.
GET /v1/models returns a pricing array on every model, one entry per window. Those figures are resolved for your organization, so if you’re on negotiated rates the API quotes yours rather than the table below.
Cache writes
When a request writes part of its prompt into the prompt cache, those tokens are counted separately from input and billed at the model’s cache-write rate:
The written tokens are reported apart from input tokens, for example as
cache_creation_input_tokens on the Anthropic Messages API and cache_write_tokens in the Usage API. A later request that reuses the cached prefix pays the lower cached rate on those tokens. Organizations on negotiated rates may have a different cache-write rate.
Use pricing from an agent
Read Pricing for agents for a compact Markdown table of the same public rates. Your agent can retrieve it through the docs MCP server, or you can open the Markdown export directly. No API key is required. Both tables are generated from the same public model catalog and update when the docs are published. They show list prices, not organization-specific rates.Rate table
USDper 1M tokens
| Model | Window | Input | Cached | Output |
|---|---|---|---|---|
| Now | 1.056 | 0.0352 | 3.168 | |
| Priority | 0.792 | 0.0264 | 2.376 | |
| Standard | 0.528 | 0.0176 | 1.584 | |
| Flex | 0.3696 | 0.01232 | 1.1088 | |
| Now | 0.5 | 0.1 | 2.2 | |
| Priority | 0.375 | 0.075 | 1.65 | |
| Standard | 0.25 | 0.05 | 1.1 | |
| Flex | 0.175 | 0.035 | 0.77 | |
| Now | 0.255 | 0.0255 | 1.02 | |
| Priority | 0.19125 | 0.019125 | 0.765 | |
| Standard | 0.1275 | 0.01275 | 0.51 | |
| Flex | 0.08925 | 0.008925 | 0.357 | |
| Now | 0.75 | 0.15 | 3.5 | |
| Priority | 0.6 | 0.12 | 2.8 | |
| Standard | 0.375 | 0.075 | 1.75 | |
| Flex | 0.2625 | 0.0525 | 1.225 | |
| Now | 2.25 | 0.225 | 11.25 | |
| Priority | 1.6875 | 0.16875 | 8.4375 | |
| Standard | 1.125 | 0.1125 | 5.625 | |
| Flex | 0.7875 | 0.07875 | 3.9375 | |
| Now | 3.375 | 0.225 | 16.875 | |
| Priority | 2.53125 | 0.16875 | 12.65625 | |
| Standard | 1.6875 | 0.1125 | 8.4375 | |
| Flex | 1.18125 | 0.07875 | 5.90625 | |
| Now | 0.98 | 0.112 | 3.4 | |
| Priority | 0.784 | 0.0896 | 2.72 | |
| Standard | 0.49 | 0.091 | 1.54 | |
| Flex | 0.343 | 0.064 | 1.078 | |
| Now | 1.68 | 0.168 | 5.28 | |
| Priority | 1.26 | 0.126 | 3.96 | |
| Standard | 0.84 | 0.084 | 2.64 | |
| Flex | 0.588 | 0.0588 | 1.848 | |
| Now | 1.12 | 0.208 | 3.52 | |
| Priority | 0.84 | 0.156 | 2.64 | |
| Standard | 0.56 | 0.104 | 1.76 | |
| Flex | 0.392 | 0.0728 | 1.232 | |
| Now | 1.785 | 0.3315 | 5.61 | |
| Priority | 1.33875 | 0.248625 | 4.2075 | |
| Standard | 0.8925 | 0.16575 | 2.805 | |
| Flex | 0.62475 | 0.116025 | 1.9635 | |
| Now | 0.12 | 0.0232 | 0.4 | |
| Priority | 0.09 | 0.0174 | 0.3 | |
| Standard | 0.06 | 0.0116 | 0.2 | |
| Flex | 0.042 | 0.00812 | 0.14 | |
| Now | 0.06 | 0.03 | 0.4 | |
| Priority | 0.045 | 0.023 | 0.3 | |
| Standard | 0.04 | 0.02 | 0.3 | |
| Flex | 0.024 | 0.012 | 0.155 | |
| Now | 0.27 | 0.054 | 2.2 | |
| Priority | 0.203 | 0.041 | 1.65 | |
| Standard | 0.135 | 0.027 | 1.1 | |
| Flex | 0.0945 | 0.0189 | 0.77 | |
| Now | 0.45 | 0.09 | 1.35 | |
| Priority | 0.338 | 0.068 | 1.013 | |
| Standard | 0.25 | 0.05 | 0.75 | |
| Flex | 0.175 | 0.035 | 0.525 | |
| Now | 0.225 | 0.045 | 0.9 | |
| Priority | 0.169 | 0.0338 | 0.675 | |
| Standard | 0.13 | 0.026 | 0.52 | |
| Flex | 0.0925 | 0.0185 | 0.37 | |
| Now | 2 | 0.25 | 6 | |
| Priority | 2 | 0.25 | 6 | |
| Standard | 1 | 0.125 | 3 | |
| Flex | 0.7 | 0.0875 | 2.1 | |
| Now | 0.14 | 0.06 | 0.4 | |
| Priority | 0.105 | 0.045 | 0.3 | |
| Standard | 0.07 | 0.03 | 0.2 | |
| Flex | 0.049 | 0.021 | 0.14 | |
| Now | 0.072 | 0.0144 | 0.216 | |
| Priority | 0.054 | 0.0108 | 0.162 | |
| Standard | 0.036 | 0.0072 | 0.108 | |
| Flex | 0.0252 | 0.00504 | 0.0756 | |
| Now | 0.2 | 0.06 | 1.2 | |
| Priority | 0.15 | 0.045 | 0.9 | |
| Standard | 0.1 | 0.03 | 0.6 | |
| Flex | 0.07 | 0.021 | 0.42 |