Private AI

Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
Search
 
 
 
 
All conversations

Create

Chat
Studio

Explore

Models
Pricing
AI Apps
Blog

Library

Gallery
Workspace
Usage
API
Suggestions and bugs
Terms

|

Privacy

|

Refunds
Balance
Subscription
Teams
Referrals
Presets
Settings
FAQPress & mediaBrand assetsBenchmarksEarn crypto
All providers
Cerebras

Cerebras

US
5 models available

Data handling can vary by model and deployment. The privacy badge above shows the more conservative of the provider-wide fallback and the policies for routes on this page; each model page shows the policy for that specific route.

Models served by Cerebras

ModelContextInput /MOutput /MCache read /MTTFTThroughput
Gemma 4 31B
FP16
262k$1.04/M$1.56/MN/A1.5s1851 tps
Gemma 4 31B (Thinking)
FP16
262k$1.04/M$1.56/MN/A1.5s1851 tps
GPT OSS 120B
FP16
128k$0.367/M$0.787/MSupported0.2s626 tps
Qwen3.8 27B
FP16
131k$1.04/M$1.56/MSupported0.4s272 tps
Qwen3.8 27B Thinking
FP16
131k$1.04/M$1.56/MSupported0.4s272 tps
Gemma 4 31B
FP16
Context
262k
Input /M
$1.04/M
Output /M
$1.56/M
Cache read /M
N/A
TTFT
1.5s
Throughput
1851 tps
Gemma 4 31B (Thinking)
FP16
Context
262k
Input /M
$1.04/M
Output /M
$1.56/M
Cache read /M
N/A
TTFT
1.5s
Throughput
1851 tps
GPT OSS 120B
FP16
Context
128k
Input /M
$0.367/M
Output /M
$0.787/M
Cache read /M
Supported
TTFT
0.2s
Throughput
626 tps
Qwen3.8 27B
FP16
Context
131k
Input /M
$1.04/M
Output /M
$1.56/M
Cache read /M
Supported
TTFT
0.4s
Throughput
272 tps
Qwen3.8 27B Thinking
FP16
Context
131k
Input /M
$1.04/M
Output /M
$1.56/M
Cache read /M
Supported
TTFT
0.4s
Throughput
272 tps

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 Cerebras via the API

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

cURL

curl https://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:cerebras",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

For models with provider selection, append :cerebras to the model ID, set "provider": "cerebras" in the request body, or send an X-Provider: cerebras 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.

Cerebras terms of useCerebras privacy policy