Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/core/src/family.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ export const ModelFamilyValues = [

// Elephant
"elephant",

// Celeris Labs
"celeris",
] as const;

export const ModelFamily = z.enum(ModelFamilyValues);
Expand Down
1 change: 1 addition & 0 deletions providers/celeris/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions providers/celeris/models/celeris-1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name = "Celeris 1"
description = "General-purpose diffusion language model that generates tokens in parallel blocks rather than one at a time, for substantially lower latency"
family = "celeris"
release_date = "2026-07-23"
last_updated = "2026-07-23"
attachment = false
reasoning = false
temperature = true
tool_call = true
# The API does not implement `response_format`, so JSON mode and JSON-schema
# output are unavailable; structured output must go through tool calling.
structured_output = false
open_weights = false

[cost]
# Pay-as-you-go rates, USD per million tokens, from the vendor's pricing page
# (accessed 2026-07-26): https://celeris.ai/pricing.html
# "$2 / M input tokens", "$6 / M output tokens". Input and output are metered
# separately; no cache pricing is published.
input = 2.0
output = 6.0

[limit]
context = 8_192
# Shared budget: prompt + completion must together stay under `context`. Declared
# as a 256-aligned value below `context` so that consumers which forward this
# field as `max_tokens` send a value the API accepts.
output = 4_096

[modalities]
input = ["text"]
output = ["text"]
11 changes: 11 additions & 0 deletions providers/celeris/provider.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name = "Celeris"
env = ["CELERIS_API_KEY"]
npm = "@ai-sdk/openai-compatible"
# Celeris namespaces the base URL per model: https://inference.celeris.ai/<model>/v1
# `celeris-1` is the only served model today, so the base URL is pinned to it.
# API exception (accessed 2026-07-26): POST /chat/completions requires `max_tokens`
# to be 1 (warm ping) or a positive multiple of 256; any other value returns 400.
# Prompt + max_tokens must also stay within the 8,192-token window.
# https://docs.celeris.ai/api-reference
api = "https://inference.celeris.ai/celeris-1/v1/"
doc = "https://docs.celeris.ai"
Loading