Status: [LIVE]
Endpoints found:
https://www.coralbricks.ai/api/public/models).*
https://inference.coralbricks.ai/v1/models`
https://www.coralbricks.ai/api/public/models
Source: https://github.com/monotykamary/pi-coralbricks-provider
# 🪸 pi-coralbricks-provider
**GLM 5.3 & DeepSeek V4.1 Flash through [Coral Bricks](https://www.coralbricks.ai)**
_A [pi](https://github.com/earendil-works/pi-coding-agent) provider extension for Coral's OpenAI-compatible inference gateway — up to **1M context** on open models._
[](https://github.com/earendil-works/pi-coding-agent)
[](https://www.npmjs.com/package/pi-coralbricks-provider)
[](./LICENSE)
[](https://github.com/synthetic-lab/synbad)
## Pi 1.0 compatibility
Tested with Pi **1.0.0**. Host-provided packages remain wildcard peers; development uses exact SDK pins.
Run `bun run test:pi` for offline manifest, catalog, lifecycle and streaming checks. To test an installed host, set `PI1_HOST_PACKAGE` to its package directory; add `PI1_HOST_ENTRY=bundle` for its bundled CLI runtime. The probe stubs all network requests and never uses a live provider endpoint.
---
## Features
- **2 reasoning models** from Coral's live catalog — GLM 5.3 and DeepSeek V4.1 Flash
- **1M token context** on GLM and DeepSeek, with vision (image input) on DeepSeek V4.1 Flash
- **OpenAI-compatible API** — standard `/v1/chat/completions`, streaming, and tool calling
- **Per-family thinking levels** — zai-style `thinking` control for GLM (including a *real* off switch), `reasoning_effort` for DeepSeek V4.1 Flash
- **Accurate cost tracking** — input, cache-write and output rates mirror Coral's [published pricing](https://www.coralbricks.ai/pricing), and cached reads are **$0 on every model**
- **Cache-optimized pricing on demand** — toggle the `X-Coral-Pricing: cache-optimized` header with `ctrl+alt+c` or `/coralbricks-settings` (see [Cache-optimized pricing](#cache-optimized-pricing-cach