id: friendli
npm: @ai-sdk/openai-compatible
env: FRIENDLI_TOKEN
api: https://api.friendli.ai/serverless/v1
Models
GLM-5
zai-org/GLM-5in $1.00/M
out $3.20/M
cache read $0.50/M
ctx: 202,752
max out: 202,752
in: text
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
Llama 3.1 8B Instruct
meta-llama/Llama-3.1-8B-Instructin $0.10/M
out $0.10/M
ctx: 131,072
max out: 8,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Llama 3.3 70B Instruct
meta-llama/Llama-3.3-70B-Instructin $0.60/M
out $0.60/M
ctx: 131,072
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
Qwen3 235B A22B Instruct 2507
Qwen/Qwen3-235B-A22B-Instruct-2507in $0.20/M
out $0.80/M
ctx: 262,144
max out: 262,144
in: text
out: text
reasoning
tools
vision
structured
temp
open weights