Models and pricing
| Model ID | Input / 1M tokens | Output / 1M tokens | Cache read / 1M tokens | Cache write / 1M tokens |
|---|---|---|---|---|
| google/gemma-4-31B-it | $0.14 | $0.4 | — | — |
| zai-org/GLM-5.1 | $1.4 | $4.4 | $0.26 | — |
| zai-org/GLM-5.2 | $1.4 | $4.4 | $0.26 | — |
| zai-org/GLM-5.3 | $1.26 | $3.96 | $0.234 | — |
| zai-org/GLM-5.3-Flash | $0.15 | $0.5 | $0.03 | — |
curl --request GET \
--url 'https://api.narev.ai/v1/prices?provider_id=friendli&model_id=google%2Fgemma-4-31B-it'
{
"model_id": "google/gemma-4-31B-it",
"provider_id": "friendli",
"pricing": {
"prompt": 1.4e-7,
"completion": 4e-7,
"discount": 0,
"request": 0,
"web_search": 0,
"input_cache_read": 0,
"input_cache_write": 0,
"image": 0,
"image_output": 0,
"audio": 0,
"audio_output": 0,
"input_audio_cache": 0,
"internal_reasoning": 0
}
}
Provider details
| Property | Value |
|---|---|
| Headquarters | US |
| API base URL | https://api.friendli.ai/serverless/v1 |
| SDK package | @ai-sdk/openai-compatible |
| Environment variables | [“FRIENDLI_TOKEN”] |
Data policies
| Policy | Value |
|---|---|
| Uses data for training | No |
| Retains prompts | Yes |
| Can publish data | No |