← All providers

Cerebras API Pricing, Models & Rate Limits (2026)

Cerebras hosts other labs' open-weight models — gpt-oss-120b and Z.ai's GLM 4.7 — on its wafer-scale inference hardware. Like Groq, the product is speed, not training; Cerebras' wafer-scale engine is the fastest hosting option on this site for the models it serves.

Current models
2
Legacy models
0
Price range /M
$0.45–$2.38
Max context
200K
Median tok/s
2215
Next retirement

Models and prices

ModelInput /MOutput /MBlended /M
GPT-OSS 120B (Cerebras)$0.35$0.75$0.45
GLM 4.7 (Cerebras)$2.25$2.75$2.38

Speed

Fastest measured Cerebras model is GPT-OSS 120B (Cerebras) at 2450 tokens/sec (90ms TTFT), median across measured Cerebras models is 2215 tokens/sec. See the full speed benchmark methodology.

Operational facts

Verified 2026-08-08 against source.

OpenAI-compatibleYes
API base URLhttps://api.cerebras.ai/v1
Auth modelBearer API key
Prompt cachingNot documented
Batch discountNot documented
Free tierFree tier with a daily token cap
Rate-limit modelPer-model requests/minute and tokens/minute caps by tier
Data residencyUS
Trains on API dataNot documented
SLA publishedNo
DocsOfficial pricingStatus page

Switching to and from Cerebras

The closest-priced current model to GLM 4.7 (Cerebras) ($2.38/M) outside Cerebras is GLM-5.2 ($2.15/M, -9.5%). Same request shape through All AI Ask — swap the model id, keep the rest of your code.
The closest-priced current model to GPT-OSS 120B (Cerebras) ($0.45/M) outside Cerebras is Codestral ($0.45/M, 0%). Same request shape through All AI Ask — swap the model id, keep the rest of your code.

Calling Cerebras through All AI Ask

curl https://allaiask.com/api/v1/chat \
  -H "Authorization: Bearer $ALLAIASK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "cerebras-gpt-oss-120b", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

Is Cerebras OpenAI-compatible?

Yes — Cerebras's API base (https://api.cerebras.ai/v1) accepts the OpenAI SDK request/response shape, so existing OpenAI client code works with a base-URL and key swap.

Does Cerebras support prompt caching?

Not documented as of 2026-08-08 — we did not find a published prompt-caching feature for Cerebras. If that changes, this page updates.

Does Cerebras have a free tier?

Yes — Free tier with a daily token cap.

How much does the Cerebras API cost?

Current Cerebras models range from $0.45 to $2.38 per million blended tokens (3:1 input:output). Full per-model pricing is in the table below.

Where is Cerebras API data hosted?

US

Try Cerebras for free

Run real prompts against every current Cerebras model, and every other provider on this site, in one workspace.

Try It Free