Private AI

Bitcoin.com AI logo
Bitcoin.com AI logo
Bitcoin.com AI logoBitcoin.com AI logo
 
 
 
 
All conversations

Create

Chat
Studio

Explore

Models
Pricing
AI Apps

Library

Gallery
Workspace
Usage
API
Suggestions and bugs
Terms

|

Privacy

|

Refunds
Balance
Teams
Referrals
Presets
Settings
FAQBenchmarks
All providers
Friendli

Friendli

US
3 models available
All routes not ZDR

Privacy can differ by model. See each model’s label.

Models served by Friendli

ModelContextInput /MOutput /MTTFTThroughput
Gemma 4 31B
Not ZDR
262k$0.147/M$0.42/MN/AN/A
Gemma 4 31B (Thinking)
Not ZDR
262k$0.147/M$0.42/MN/AN/A
GLM 5
Not ZDR
200k$1.05/M$3.36/MN/AN/A
Gemma 4 31B
Not ZDR
Context
262k
Input /M
$0.147/M
Output /M
$0.42/M
TTFT
N/A
Throughput
N/A
Gemma 4 31B (Thinking)
Not ZDR
Context
262k
Input /M
$0.147/M
Output /M
$0.42/M
TTFT
N/A
Throughput
N/A
GLM 5
Not ZDR
Context
200k
Input /M
$1.05/M
Output /M
$3.36/M
TTFT
N/A
Throughput
N/A

Prices are per million tokens. TTFT is the observed time to first token. Selectable routes include the applicable provider-selection markup; fixed routes show the standard model price. Availability and pricing refresh continuously; each model page shows the live provider comparison.

Using Friendli via the API

Call a model served by Friendli using its displayed model ID, including the provider suffix when selection is supported.

cURL

curl https://api.nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31b-it:friendli",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

For models with provider selection, append :friendli to the model ID, set "provider": "friendli" in the request body, or send an X-Provider: friendli header. Explicit provider selection adds a route-specific markup over that provider's base price; the prices in the table above already include it. Models without provider selection use the displayed model ID without a provider suffix or selection surcharge.

See the API documentation for provider preferences, price-aware routing, and error behavior.

Friendli terms of useFriendli privacy policy