codestral-embed
codestral-embed
Overview
codestral-embed is available on MAX through the OpenAI-compatible API.
Pricing
Official list prices: token prices are per 1M tokens.All requests
- Input
- $0.15
- Output
- $0
- Cache read
- $0.015
| Tier | Input | Output | Cache read |
|---|---|---|---|
| All requests | $0.15 | $0 | $0.015 |
Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.
Example request
curl https://api.link-io.cloud/v1/embeddings \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "codestral-embed",
"input": ["The quick brown fox", "jumps over the lazy dog"]
}'