id: friendli
npm: @ai-sdk/openai-compatible
env: FRIENDLI_TOKEN
api: https://api.friendli.ai/serverless/v1
Models
DeepSeek-V3.2
deepseek-ai/DeepSeek-V3.2in $0.50/M
out $1.50/M
cache read $0.25/M
ctx: 163,840
max out: 163,840
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Gemma 4 31B IT
google/gemma-4-31B-itin $0.14/M
out $0.40/M
ctx: 262,144
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.1
zai-org/GLM-5.1in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 202,752
max out: 202,752
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.2
zai-org/GLM-5.2in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 1,000,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M2.5
MiniMaxAI/MiniMax-M2.5in $0.30/M
out $1.20/M
cache read $0.06/M
ctx: 196,608
max out: 196,608
in: text
out: text
reasoning
tools
vision
structured
temp
open weights